Implement CSS Containment content-visibility: auto
Categories
(Core :: Layout, enhancement)
Tracking
()
Tracking | Status | |
---|---|---|
firefox109 | --- | fixed |
People
(Reporter: mrobinson, Assigned: mrobinson)
References
(Blocks 2 open bugs)
Details
(Keywords: dev-doc-complete)
Attachments
(2 files)
This bug tracks implementing the auto
value of the content-visibility
property.
Assignee | ||
Comment 1•2 years ago
|
||
This change adds support for content-visibilty: auto
as well as
showing and hiding content based on the relevancy of the content as
defined in the specification. Changes to relevancy are handled by
triggering updates in a set of content-visibility: auto
frames stored
in PresShell at the appropriate time in the document lifecycle.
Some tests are updated. In the case of content-visibility-068.html a new
node is added in order to properly test focus() and blur() without only
having a single focusable element on the page.
Updated•2 years ago
|
Pushed by mrobinson@igalia.com: https://hg.mozilla.org/integration/autoland/rev/c428c3ad7725 Add support for `content-visibility: auto` r=emilio
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/37183 for changes under testing/web-platform/tests
Comment 4•2 years ago
|
||
Backed out changeset c428c3ad7725 (Bug 1791759) for causing wpt failures on auto-012.html.
Backout link
Push with failures <--> wpt29
Failure Log
Upstream PR was closed without merging
Pushed by mrobinson@igalia.com: https://hg.mozilla.org/integration/autoland/rev/c1e64e8e4665 Add support for `content-visibility: auto` r=emilio
Assignee | ||
Comment 7•2 years ago
|
||
I uploaded a new version of this change which fixed the failing test and landed it after confirming with emilio that it looked okay.
Comment 8•2 years ago
|
||
bugherder |
Upstream PR merged by moz-wptsync-bot
Comment 10•2 years ago
|
||
Docs worked can be tracked here https://github.com/mdn/content/issues/22736
Updated•2 years ago
|
Comment 11•2 years ago
|
||
Associated Pull Requests
mdn/browser-compat-data:
- CSS
content-visibility: auto;
- https://github.com/mdn/browser-compat-data/pull/18627
mdn/content:
- CSS
content-visibility: auto;
- https://github.com/mdn/content/pull/23555
releases
- CSS
content-visibility: auto;
- https://github.com/mdn/content/pull/23556
Comment 12•2 years ago
|
||
Updated•2 years ago
|
Comment 13•2 years ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/62c1b893b282 remove unused ContentRelevancyReason::DescendantOfTopLayerElement r=emilio
Comment 14•2 years ago
|
||
A patch has been attached on this bug, which was already closed. Filing a separate bug will ensure better tracking. If this was not by mistake and further action is needed, please alert the appropriate party. (Or: if the patch doesn't change behavior -- e.g. landing a test case, or fixing a typo -- then feel free to disregard this message)
Comment 15•2 years ago
|
||
bugherder |
Updated•1 year ago
|
Description
•