Bug 190685 - color-interpolation-filters keywords should serialize in lower case
Summary: color-interpolation-filters keywords should serialize in lower case
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: Safari 12
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords: FromImplementor, InRadar
Depends on:
Blocks:
 
Reported: 2018-10-17 13:26 PDT by Eric Willigers
Modified: 2022-07-01 16:49 PDT (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.