Closed
Bug 211371
Opened 22 years ago
Closed 22 years ago
undo unneeded nsChangeHint_AttrChange optimization?
Categories
(Core :: XUL, defect, P2)
Core
XUL
Tracking
()
RESOLVED
FIXED
mozilla1.5alpha
People
(Reporter: dbaron, Assigned: dbaron)
References
Details
(Whiteboard: [patch])
Attachments
(1 file)
22.46 KB,
patch
|
Details | Diff | Splinter Review |
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.
Assignee | ||
Comment 1•22 years ago
|
||
This also requires understanding what the fix to bug 157210 was attempting to do.
Assignee | ||
Comment 2•22 years ago
|
||
(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.)
![]() |
||
Comment 3•22 years ago
|
||
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. ;)
Assignee | ||
Comment 4•22 years ago
|
||
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.
Assignee | ||
Updated•22 years ago
|
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.
Assignee | ||
Comment 6•22 years ago
|
||
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.
Description
•