Closed
Bug 28926
Opened 25 years ago
Closed 25 years ago
Wrong CSS selector wins
Categories
(Core :: CSS Parsing and Computation, defect, P3)
Tracking
()
People
(Reporter: braden, Assigned: pierre)
References
()
Details
Attachments
(1 file)
(deleted),
text/html
|
Details |
Mozilla renders the second instance of "red in amaya" in blue. Amaya is right.
The rulesets that affect this element are
BLOCKQUOTE BLOCKQUOTE BLOCKQUOTE { color: blue }
DIV > BLOCKQUOTE BLOCKQUOTE { color: red }
Both of these selectors have a specificity of '030'. So, the last one declared
wins--the text should be red.
Assignee | ||
Comment 1•25 years ago
|
||
*** This bug has been marked as a duplicate of 24031 ***
Status: NEW → RESOLVED
Closed: 25 years ago
Resolution: --- → DUPLICATE
Assignee | ||
Comment 3•25 years ago
|
||
You need to log in
before you can comment on or make changes to this bug.
Description
•