Closed
Bug 192151
Opened 22 years ago
Closed 22 years ago
When using document.write in an li while using last-child css, the css is ignored
Categories
(Core :: DOM: CSS Object Model, defect)
Core
DOM: CSS Object Model
Tracking
()
People
(Reporter: raarbugzilla, Assigned: jst)
References
()
Details
User-Agent: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20021220 Chimera/0.6+ Build Identifier: Mozilla/5.0 (Macintosh; U; PPC Mac OS X Mach-O; en-US; rv:1.0.1) Gecko/20021220 Chimera/0.6+ Summary at: http://mrtall.com/bugzilla/last-child/ When using document.write within an <li></li> inside a <ul></ul> or <ol></ol>, the last-child css is ignored. The first-child css works just fine. This has been verified on all platforms with the latest nightlies. Withouth the document.write, everything works as expected. Reproducible: Always Steps to Reproduce: 1. Open Moz 2. Visit http://mrtall.com/bugzilla/last-child/ 3. Check to see if the 'written with javascript' item has a black border underneath it 4. If it does - the bug is fixed, if not the bug exists. Actual Results: The last-child css was ignored for the <li></li> child holding the document.write Expected Results: draw the border under the apropriate <li></li> children.
Comment 1•22 years ago
|
||
*** This bug has been marked as a duplicate of 73586 ***
Status: UNCONFIRMED → RESOLVED
Closed: 22 years ago
Resolution: --- → DUPLICATE
You need to log in
before you can comment on or make changes to this bug.
Description
•