Closed
Bug 154887
Opened 22 years ago
Closed 22 years ago
XHTML closing tag not well parsed by stylesheet
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: mozilla, Assigned: dbaron)
References
Details
From Bugzilla Helper: User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 BuildID: 20020530 When I have <a name="foobar"/><h3>foobar</h3> (XHTML) and I have a stylesheet defining "A" (the anchor object) H3 is also parsed as if it is within the anchor tag that is already closed with the slash. Reproducible: Always Steps to Reproduce: 1. create a stylesheet redefining the existing A, don't redefine h3!! 2. create a page with <a name="foorbar"/><h3>foobar</h3> that also includes the stylesheet. 3. view the page :) Actual Results: the header (h3) is stylished as the anchor. Expected Results: stop stylishing the anchor when i reaches the closing tag (that's within the opening tag in this case) workaround: <a name="foobar"></a> instead of <a name="foobar"/>
Comment 1•22 years ago
|
||
Sending an XHTML document as text/html when it doesn't comply with the backwards compatibility guidelines is INVALID.
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → INVALID
Comment 2•19 years ago
|
||
*** Bug 294085 has been marked as a duplicate of this bug. ***
You need to log in
before you can comment on or make changes to this bug.
Description
•