Bug 190685
| Summary: | color-interpolation-filters keywords should serialize in lower case | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Willigers <ericwilligers> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | bfulgham, karlcow, simon.fraser, webkit-bug-importer |
| Priority: | P2 | Keywords: | FromImplementor, InRadar |
| Version: | Safari 12 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Eric Willigers
CSS keywords serialize in lower case.
https://drafts.csswg.org/cssom/#serializing-css-values
"To serialize a CSS component value depends on the component, as follows:
keyword
The keyword converted to ASCII lowercase."
A test page shows that 'sRGB' and 'linearRGB' are serialized in lower case in Firefox and Chrome Canary, but not Safari or Edge:
https://jsfiddle.net/ericwilligers/0y4m7h9x/
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Eric Willigers
This is also affecting the properties color-interpolation, color-rendering, image-rendering, shape-rendering, text-rendering with their keywords like geometricprecision, optimizelegibility, optimizequality, optimizespeed
Radar WebKit Bug Importer
<rdar://problem/96321532>
Brent Fulgham
We still do not match Firefox or Chrome behavior here.
Karl Dubost
This is also solved. And everything is passing as expected.