Open
Bug 1382550
Opened 6 years ago
Updated 8 months ago
stylo: elements using NS_STYLE_COLOR_INHERIT_FROM_BODY don't get restyled when the body color changes
Categories
(Core :: CSS Parsing and Computation, defect, P4)
Core
CSS Parsing and Computation
Tracking
()
NEW
People
(Reporter: heycam, Unassigned)
References
Details
Attachments
(2 files)
See attached test. I'm not sure where Gecko handles this.
Comment 1•6 years ago
|
||
With this slightly modified test-case, I can't repro for Gecko either, on click it doesn't update the style of the table. <body style="color: red;"> <div style="color: blue"> <div> <table><tbody><tr><td>This text should be green.</td></tr></tbody></table> </div> </div> </body> <script> document.onclick = function() { document.body.style.color = "green"; } </script>
Comment 2•6 years ago
|
||
Actually, this is not for the test that passes, but for the test-case I pasted in the previous comment, but doing the restyle just the same way after the original test-case, after an offsetTop.
Reporter | ||
Comment 3•6 years ago
|
||
Good point, I needed the <div> in there for Gecko since that's the element we'd stop cascading style at. If Gecko doesn't handle this, then maybe we don't have to bother for stylo.
Comment 4•6 years ago
|
||
Yeah, I don't think we should bother. Blink also seems to ignore this... We can fix it eventually, but probably not a huge priority.
Updated•6 years ago
|
Priority: P3 → --
Updated•6 years ago
|
Priority: -- → P2
Comment 5•6 years ago
|
||
I don't believe this needs P2 given that Blink doesn't do correctly either, and this is a pretty old quirks...
Priority: P2 → P4
Updated•6 years ago
|
status-firefox57:
--- → wontfix
status-firefox58:
--- → fix-optional
Comment 6•5 years ago
|
||
https://wiki.mozilla.org/Bug_Triage/Projects/Bug_Handling/Bug_Husbandry#Move_fix-optionals
status-firefox59:
--- → ?
Updated•8 months ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•