Hey Daniil:

Thanks for filing for this change while the feature is still low-use; it'll 
be much more challenging to make this switch later.

Something that wasn't clear from the use counters you linked was the use of 
the IDL properties vs. the CSS names. Given that it seems like we have 
use-counters for the latter but not the former, it seems reasonable to 
consider CSS usage to be a hard cap on potential use of the JS interface.

Would you be willing to manually inspect some content (say 10-20 sites) 
that use the CSS `container-name` and `container-query` attributes to look 
for script access? Presumably it's a fraction that population, but 
verifying would be helpful.

Thanks

On Tuesday, January 17, 2023 at 8:31:42 AM UTC-8 Daniil Sakhapov wrote:

> Contact [email protected]
>
> Specification
> https://w3c.github.io/csswg-drafts/css-contain-3/#the-csscontainerrule-interface
>
> Summary
>
> Updates the CSSContainerRule interface to match the specs. Implements 
> containerName and containerQuery, updates conditionText for @container to 
> be up-to-date with specs.
>
> Blink componentBlink>CSS 
> <https://bugs.chromium.org/p/chromium/issues/list?q=component:Blink%3ECSS>
>
> TAG reviewhttps://github.com/w3ctag/design-reviews/issues/592
>
> TAG review statusIssues addressed
>
> Risks
>
> Activation
>
> Previous conditionText attribute contained only container-query part, but 
> now it's both container-name and container-query. But it should not break a 
> lot of sites due to low current usage as per: 
> https://chromestatus.com/metrics/css/timeline/popularity/697 
> https://chromestatus.com/metrics/css/timeline/popularity/699 The real 
> breakage is hard to measure, as it's not possible to track the how result 
> of conditionText is used and the usage of container-name is low compared to 
> the container-type usage. Also, conditionText is readonly, so there are no 
> round-trip issues
>
> Will this feature be supported on all six Blink platforms (Windows, Mac, 
> Linux, Chrome OS, 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>
> ?Yes
>
> https://wpt.fyi/css/css-contain/container-queries/at-container-style-serialization.html
>
> https://wpt.fyi/css/css-contain/container-queries/at-container-serialization.html
> https://wpt.fyi/css/css-contain/container-queries/idlharness.html
> https://wpt.fyi/css/cssom/CSSContainerRule.tentative.html
>
> Requires code in //chrome?False
>
> Tracking bughttps://crbug.com/1393577
>
> Estimated milestones
> DevTrial on desktop 112
> DevTrial on Android 112
> Link to entry on the Chrome Platform Status
> https://chromestatus.com/feature/5159369837117440
>
> 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 on the web visit 
https://groups.google.com/a/chromium.org/d/msgid/blink-dev/bc554b3e-0666-4e70-a0de-83a49887d70fn%40chromium.org.

Reply via email to