Closed
Bug 75724
Opened 24 years ago
Closed 24 years ago
duplicate data in stylesheets associated to XHTML documents !
Categories
(Core :: CSS Parsing and Computation, defect)
Core
CSS Parsing and Computation
Tracking
()
RESOLVED
FIXED
mozilla0.9
People
(Reporter: glazou, Assigned: pierre)
Details
Attachments
(2 files)
290 bytes,
text/xml
|
Details | |
504 bytes,
patch
|
Details | Diff | Splinter Review |
I discovered this bug writing CSS tests for the W3C CSS WG.
If an XHTML document contains two <style> elements, the first one containing
two rules a and b, and the second one a rule c, Mozilla will in fact
internally keep a first stylesheet made of a and b, and a second one made
of a b and c !!!!!
Demo with the test case attached in the viewer, select Dump Stylesheet in
Debug menu. If you don't trust the viewer, switch to a windows box with Document
Inspector compiled (/mozilla/extensions/inspector) : same result.
Reporter | ||
Comment 1•24 years ago
|
||
Comment 2•24 years ago
|
||
We're not resetting mStyleText in the nsXMLContentSink. Attaching a patch.
Comment 3•24 years ago
|
||
Reporter | ||
Comment 4•24 years ago
|
||
r=glazman :-) Tested on windows for the test case
Comment 5•24 years ago
|
||
sr=attinasi if you need it.
Comment 7•24 years ago
|
||
Checked in.
Status: NEW → RESOLVED
Closed: 24 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla0.9
You need to log in
before you can comment on or make changes to this bug.
Description
•