Primary eng (and PM) emails
Link to “Intent to Deprecate” thread
Remove CSSValue (and all subclasses, including CSSPrimitiveValue, CSSValueList, Rect, RGBColor, WebKitCSSTransformValue, WebKitCSSFilterValue, etc.)
CSSValue and friends were deprecated by the W3C waaay back in 2003 (probably before WebKit even added many of them):
We are the only engine (besides WebKit) to fully implement these. Firefox exposes a limited set of CSSValues and only when accessed via getComputedStyle:
Usage information from UseCounter
Usage of getPropertyCSSValue is at 0.0076%, lower than the threshold of 0.03% we commonly use.
Entry on chromestatus.com
Compatibility RiskThis removal has low compatibility risk. getPropertyCSSValue is not implemented by IE, and the usage is quite low. We don’t have UseCounter data for usage of CSSValue/etc., but it is unlikely that these will be depended on separately from getPropertyCSSValue.
I assume you're referring to crbug.com/390065? We'll still keep CSSValues for representing values internally, although these will no longer be web-exposed (perhaps eventually they'll be replaced by something else).
I assume you're referring to crbug.com/390065? We'll still keep CSSValues for representing values internally, although these will no longer be web-exposed (perhaps eventually they'll be replaced by something else).Yes.Then we need to keep CSSValue in Blink implementation, but we no longer need to make CSSValue derive ScriptWrappable because CSSValue is no longer exposed to JS. In other words, we can mark crbug.com/390065 as WONTFIX. Am I understanding correctly?
Hi Timothy,Are you going to remove CSSValue.idl, etc. as well? As we will no longer expose CSSValue to web, I think they will be gone, too. We're especially interested in- core/css/CSSValue.idl- core/css/CSSRule.idl- core/css/RGBColor.idl- core/css/Rect.idl(implicitly including their subclasses. If you remove above 4 IDLs, then their subclasses should be gone, too.)These 4 IDLs (and their subclasses) were our targets to make ScriptWrappable.Will you remove them?Cheers,Yuki Shiino