Bug 190685

Summary: color-interpolation-filters keywords should serialize in lower case
Product: WebKit Reporter: Eric Willigers <ericwilligers>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: NEW ---    
Severity: Normal CC: bfulgham, simon.fraser, webkit-bug-importer
Priority: P2 Keywords: FromImplementor, InRadar
Version: Safari 12   
Hardware: Unspecified   
OS: Unspecified   

Description Eric Willigers 2018-10-17 13:26:38 PDT
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/
Comment 1 Eric Willigers 2018-11-17 01:50:03 PST
This is also affecting the properties color-interpolation, color-rendering, image-rendering, shape-rendering, text-rendering with their keywords like geometricprecision, optimizelegibility, optimizequality, optimizespeed
Comment 2 Radar WebKit Bug Importer 2022-07-01 16:49:23 PDT
<rdar://problem/96321532>
Comment 3 Brent Fulgham 2022-07-01 16:49:44 PDT
We still do not match Firefox or Chrome behavior here.