Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4ab7e598dff32df7c6ed36ea81cbb2945a3d966f
      
https://github.com/WebKit/WebKit/commit/4ab7e598dff32df7c6ed36ea81cbb2945a3d966f
  Author: Tim Nguyen <[email protected]>
  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


_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to