Contact emails
[email protected]

Explainer
None


Specification
https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle


Summary

When iterating over window.getComputedStyle(element) in Chromium, there is a 
bug where it forgets to include any custom properties set on the element. 
(length() on the returned object forgets to account for the number of custom 
properties set.) We would like to fix this bug; it brings us closer to web 
standards, and to Firefox and Safari, which have never had this bug. There is a 
performance interaction with JavaScript libraries html2canvas and 
html-to-image; see the document below. More information: 
https://docs.google.com/document/d/17zz_asZ7E5ITjejp6Q6p4vqzETE3nEa28k2AC01X--s/edit?tab=t.0



Blink component
Blink>CSS


TAG review
None


TAG review status
Not applicable


Risks




Interoperability and Compatibility

None


Gecko: Shipped/Shipping

WebKit: Shipped/Shipping

Web developers: No signals

Other signals:


WebView application risks

Does this intent deprecate or change behavior of existing APIs, such that it 
has potentially high risk for Android WebView-based applications?

None




Debuggability

None



Will this feature be supported on all six Blink platforms (Windows, Mac, Linux, 
ChromeOS, Android, and Android WebView)?
Yes


Is this feature fully tested by web-platform-tests?
No


Flag name on about://flags
None


Finch feature name
CSSEnumeratedCustomProperties


Rollout plan
(RARE) Experiment users ramp up over time


Requires code in //chrome?
False


Estimated milestones


Shipping on desktop 141




Anticipated spec changes

Open questions about a feature may be a source of future web compat or interop 
issues. Please list open issues (eg links to known github issues in the project 
for the feature specification) whose resolution may introduce web 
compat/interop risk (eg, changing to naming or structure of the API in a 
non-backward-compatible way).
None


Link to entry on the Chrome Platform Status
https://chromestatus.com/feature/5070655645155328?gate=5190614048178176


This intent message was generated by Chrome Platform Status.

-- 
You received this message because you are subscribed to the Google Groups 
"blink-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/68b959bd.050a0220.3291f8.0804.GAE%40google.com.

Reply via email to