[webkit-changes] [WebKit/WebKit] 4ab7e5: [cssom-view] Root element with `content-visibility...
Tim Nguyen
noreply at github.com
Fri Oct 27 11:11:23 PDT 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 4ab7e598dff32df7c6ed36ea81cbb2945a3d966f
https://github.com/WebKit/WebKit/commit/4ab7e598dff32df7c6ed36ea81cbb2945a3d966f
Author: Tim Nguyen <ntim at apple.com>
Date: 2023-10-27 (Fri, 27 Oct 2023)
Changed paths:
M LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/checkVisibility-expected.txt
M LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/checkVisibility.html
M Source/WebCore/dom/Element.cpp
Log Message:
-----------
[cssom-view] Root element with `content-visibility: hidden` should be considered visible by `checkVisibility`
https://bugs.webkit.org/show_bug.cgi?id=263765
rdar://117570564
Reviewed by Simon Fraser.
An element with `content-visibility: hidden` only has its contents hidden. It is not itself hidden, since it has a size and can have a background/border.
* LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/checkVisibility-expected.txt:
* LayoutTests/imported/w3c/web-platform-tests/css/cssom-view/checkVisibility.html:
* Source/WebCore/dom/Element.cpp:
(WebCore::Element::checkVisibility):
Canonical link: https://commits.webkit.org/269860@main
More information about the webkit-changes
mailing list