[webkit-changes] [WebKit/WebKit] 7fecf9: [content-visibility] Fix content-visibility-canvas...

Rob Buis noreply at github.com
Fri Nov 4 02:45:47 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 7fecf966b582302044c20fddb4b71e3c41053824
      https://github.com/WebKit/WebKit/commit/7fecf966b582302044c20fddb4b71e3c41053824
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2022-11-04 (Fri, 04 Nov 2022)

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

  Log Message:
  -----------
  [content-visibility] Fix content-visibility-canvas.html
https://bugs.webkit.org/show_bug.cgi?id=247370

Reviewed by Alan Baradlay.

Enabling content-visibility also enables inline-size
containment, but that does not do the right thing
for computing replaced logical width, the specified
width should have priority over the inline-size
containment.

* LayoutTests/TestExpectations:
* Source/WebCore/rendering/RenderReplaced.cpp:
(WebCore::RenderReplaced::computeReplacedLogicalWidth const):

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




More information about the webkit-changes mailing list