Closed Bug 70406 Opened 24 years ago Closed 21 years ago

Setting attrs on HTML elements should not go through stylesheet

Categories

(Core :: Layout, defect, P3)

defect

Tracking

()

RESOLVED FIXED

People

(Reporter: jst, Assigned: jst)

Details

(Keywords: helpwanted)

Currently when an attribute is set on an HTML element the elements asks the stylesheet to set the attribute for the element. This is ass backwards, and it complicates the attribute code and has caused bugs when using HTML elements in XML documents that are loaded w/o being displayed (this bug has been worked around). This should be changed so that the attribute setting code in nsGenericHTMLElement simply does the setting itself and if there is a stylesheet then the stylssheet should be notified, this way the code would be much cleaner and modifying the unerlying attribute storeage would be modified easier...
This won't happend until past mozilla0.9.1 unless someone wants to jump in and fix this...
Priority: -- → P3
Target Milestone: --- → mozilla1.0
jst, hope you don't mind my adding the helpwanted keyword. /be
Keywords: helpwanted
Bugs targeted at mozilla1.0 without the mozilla1.0 keyword moved to mozilla1.0.1 (you can query for this string to delete spam or retrieve the list of bugs I've moved)
Target Milestone: mozilla1.0 → mozilla1.0.1
Target Milestone: mozilla1.0.1 → ---
sicking, you're working on this stuff, right? ;)
Isn't this fixed at this point?
yay, this was fixed a *long* time ago. Specifically on march 26th 2002 as part of bug 41983.
Status: NEW → RESOLVED
Closed: 21 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.