[webkit-changes] [WebKit/WebKit] cb0fa6: Fix content-visibility-fieldset-size.html

Rob Buis noreply at github.com
Sat Jul 22 03:35:28 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: cb0fa67e33bc47fb72c20643543e57bde40aaee6
      https://github.com/WebKit/WebKit/commit/cb0fa67e33bc47fb72c20643543e57bde40aaee6
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2023-07-22 (Sat, 22 Jul 2023)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/RenderBlock.cpp

  Log Message:
  -----------
  Fix content-visibility-fieldset-size.html
https://bugs.webkit.org/show_bug.cgi?id=258935

Reviewed by Alan Baradlay.

Fix content-visibility-fieldset-size.html by preventing painting
fieldset contents where content-visibility causes the content to
be skipped.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/RenderBlock.cpp:
(WebCore::RenderBlock::adjustBorderBoxRectForPainting):
(WebCore::RenderBlock::paintRectToClipOutFromBorder):
(WebCore::RenderBlock::paintExcludedChildrenInBorder):

Canonical link: https://commits.webkit.org/266226@main




More information about the webkit-changes mailing list