On Thu, Sep 4, 2025 at 11:20 AM Chromestatus <
[email protected]> wrote:

> 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
>
Thanks for the description of the issue!
Is there any way to estimate how many sites will be impacted by the
slowness here? Do we have a use counter of some sorts? For ones that are
impacted, how much slower do they become? Are they still usable?
Would we have some way of pointing the developers of such sites to snapDOM
or other solutions?


>
>
> Blink component Blink>CSS
> <https://issues.chromium.org/issues?q=customfield1222907:%22Blink%3ECSS%22>
>
> 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
> <https://chromium.googlesource.com/chromium/src/+/main/docs/testing/web_platform_tests.md>
> ? 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 (e.g. links to known github issues
> in the project for the feature specification) whose resolution may
> introduce web compat/interop risk (e.g., 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
> <https://chromestatus.com>.
>
> --
> 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
> <https://groups.google.com/a/chromium.org/d/msgid/blink-dev/68b959bd.050a0220.3291f8.0804.GAE%40google.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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/CAOmohSJHUjcaMUShv%2BFEGpWt_PzSvOR%2B8NGh2qJ2eQiZGGYFGg%40mail.gmail.com.

Reply via email to