Open
Bug 1382550
Opened 7 years ago
Updated 2 years 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•7 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•7 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•7 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•7 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•7 years ago
|
Priority: P3 → --
Updated•7 years ago
|
Priority: -- → P2
Comment 5•7 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•7 years ago
|
status-firefox57:
--- → wontfix
status-firefox58:
--- → fix-optional
Comment 6•7 years ago
|
||
status-firefox59:
--- → ?
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•