[Webkit-unassigned] [Bug 248790] New: [content-visibility] it should trigger a layout if the value of content-visibility is changed from hidden to others

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Dec 5 14:31:55 PST 2022


https://bugs.webkit.org/show_bug.cgi?id=248790

            Bug ID: 248790
           Summary: [content-visibility] it should trigger a layout if the
                    value of content-visibility is changed from hidden to
                    others
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: cathiechen at igalia.com

Per[1], content-visibility: hidden turns on contain:size.
Contain:size would change the layout size of an element.
So when an element's content-visibility value changes from hidden to other, it should trigger a layout, vice versa. 

[1] https://w3c.github.io/csswg-drafts/css-contain-2/#skips-its-contents

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20221205/afe30b8a/attachment.htm>


More information about the webkit-unassigned mailing list