Closed Bug 211371 Opened 22 years ago Closed 22 years ago

undo unneeded nsChangeHint_AttrChange optimization?

Categories

(Core :: XUL, defect, P2)

defect

Tracking

()

RESOLVED FIXED
mozilla1.5alpha

People

(Reporter: dbaron, Assigned: dbaron)

References

Details

(Whiteboard: [patch])

Attachments

(1 file)

I think the optimization in bug 68103 is now no longer needed thanks to the patch for bug 163556. I need to investigate this a little more, though.
This also requires understanding what the fix to bug 157210 was attempting to do.
(Regarding bug 157210 -- NS_STYLE_HINT_CONTENT is the default -- unmapped -- NS_STYLE_HINT_ATTRCHANGE says not to attempt to reresolve style. I think it's just a bug and the whole thing can be removed.)
Indeed, since it looks like that will break style rules using the "value" attr selector on some input types.... We just want the hint to be "content" for that attr, period. Perhaps the CONTENT/ATTRCHANGE hints need to be better documented; you description in this bug is a lot clearer than what the header says. ;)
Attached patch patchSplinter Review
Here's a first attempt at a patch. There's been a lot of "right hand doesn't know what the left hand is doing" in this part of the code, and this is an attempt to clean some of it up.
Status: NEW → ASSIGNED
Priority: -- → P2
Whiteboard: [patch]
Target Milestone: --- → mozilla1.5alpha
as i recall it, the change in bug 157210 was only made to make the value-attribute not be considered a mapped attribute, therefor making it not shared across elements. It did not intend to actually affect layout in any way.
Subsumed by bug 211308.
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
Component: XP Toolkit/Widgets: XUL → XUL
QA Contact: shrir → xptoolkit.widgets
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: