Bug 217626

Summary: "-apple-color-filter" but not "AppleColorFilter" in CSSStyleDeclaration
Product: WebKit Reporter: Sam Sneddon [:gsnedders] <gsnedders>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: aestes, koivisto, simon.fraser
Priority: P2    
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   
See Also: https://bugs.webkit.org/show_bug.cgi?id=217622
https://bugs.webkit.org/show_bug.cgi?id=217623
https://bugs.webkit.org/show_bug.cgi?id=217802

Sam Sneddon [:gsnedders]
Reported 2020-10-12 11:43:59 PDT
This is just odd and surprising. Per CSSOM, for all supported properties, all the different property name to attribute name conversions should always exist. Found via https://github.com/web-platform-tests/wpt/pull/26086.
Attachments
Simon Fraser (smfr)
Comment 1 2020-10-12 13:24:21 PDT
-apple-color-filter should not be exposed by default.
Sam Sneddon [:gsnedders]
Comment 2 2020-10-12 14:02:05 PDT
I should've posted the whole list of properties in this category here: -apple-color-filter -apple-pay-button-style -apple-pay-button-type -apple-trailing-word I suspect the answer is we want none of these to be exposed?
Simon Fraser (smfr)
Comment 3 2020-10-12 14:04:20 PDT
The "-apple-pay" ones are different (the "-apple" isn't really a vendor prefix and they should have been called "-webkit-apple-pay-" or "-apple-apple-pay" :| About -apple-trailing-word, CSSProperties.json has this to say: "Needed for feature-detecting the Safari browser"
Sam Sneddon [:gsnedders]
Comment 4 2020-10-15 20:00:31 PDT
Fixed as part of Bug 217623.
Sam Sneddon [:gsnedders]
Comment 5 2021-01-19 11:22:04 PST
reopened along with Bug 217623.
Sam Sneddon [:gsnedders]
Comment 6 2021-04-29 12:06:12 PDT
and fixed again
Note You need to log in before you can comment on or make changes to this bug.