Bug 245138
Summary: | Some color related CSS properties are not properly initialized | ||
---|---|---|---|
Product: | WebKit | Reporter: | Matthieu Dubet <m_dubet> |
Component: | WebCore Misc. | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED FIXED | ||
Severity: | Normal | CC: | webkit-bug-importer |
Priority: | P2 | Keywords: | InRadar |
Version: | WebKit Nightly Build | ||
Hardware: | Unspecified | ||
OS: | Unspecified |
Matthieu Dubet
At least textFillColor, textStrokeColor, textDecorationColor, textEmphasisColor.
They all should have a proper initialization function in RenderStyle which should initialize them to currentcolor (per spec).
Currently, they don't have their own initialization function and default-initialized to Color {}, which is invalid and thus is later "interpreted" as currentcolor. This is working "by accident".
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Matthieu Dubet
Pull request: https://github.com/WebKit/WebKit/pull/4308
EWS
Committed 254458@main (466a830e85aa): <https://commits.webkit.org/254458@main>
Reviewed commits have been landed. Closing PR #4308 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/99889356>