Other browsers:
- Blink: Shipped since Chromium 85.
- WebKit: Shipped in tech preview, implemented behind a flag.
web-platform-tests: Many tests are available in
https://wpt.fyi/results/css/css-contain/content-visibility ; a few
Gecko-only tests were introduced:
- a11y tests:
browser_css_content_visibility.js/browser_treeupdate_csscontentvisibility.js
- performance tests:
content-visibility-auto-relevancy-updates-stop-ticking.html,
test_dynamic_change_causing_reflow.html
As of 2024-01-22 I intend to turn intent on content-visibility by
default. It has been developed behind the
layout.css.content-visibility.enabled preference. Status in other
browsers is as described above.
On bug 1874874 you can find an overview of the remaining WPT failures
and bugs, but the TL;DR is that the performance bug 1765615 is the only
one that seems serious enough.
Frédéric Wang
Frédéric Wang
unread,
Mar 4, 2024, 1:45:25 AMMar 4
Reply to author
Sign in to reply to author
Forward
Sign in to forward
Delete
You do not have permission to delete messages in this group
Copy link
Report message
Show original message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to dev-pl...@mozilla.org
Hello,
content-visibility has been disabled in beta 124 (but remains enabled in
nightly 125). This was decided due to a serious regression affecting a
common use case of pages combining content-visbility: auto and
contain-intrinsic-size. For details see
https://bugzilla.mozilla.org/show_bug.cgi?id=1880928