[webkit-changes] [WebKit/WebKit] 3c2445: [content-visibility] Make c-v: auto add auto to co...

Rob Buis noreply at github.com
Tue Aug 22 23:30:59 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 3c2445f3450d97ed4cd9d3400b09352f051ce241
      https://github.com/WebKit/WebKit/commit/3c2445f3450d97ed4cd9d3400b09352f051ce241
  Author: Rob Buis <rbuis at igalia.com>
  Date:   2023-08-22 (Tue, 22 Aug 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-068-expected.txt
    M Source/WebCore/rendering/style/RenderStyle.h
    M Source/WebCore/rendering/style/RenderStyleSetters.h
    M Source/WebCore/style/StyleAdjuster.cpp

  Log Message:
  -----------
  [content-visibility] Make c-v: auto add auto to contain-intrinsic-size
https://bugs.webkit.org/show_bug.cgi?id=259645

Reviewed by Tim Nguyen.

This was approved here:
https://github.com/w3c/csswg-drafts/issues/8407#issuecomment-1440466558

Already implemented in Chromium and gecko.

* LayoutTests/imported/w3c/web-platform-tests/css/css-contain/content-visibility/content-visibility-068-expected.txt:
* Source/WebCore/rendering/style/RenderStyle.h:
* Source/WebCore/rendering/style/RenderStyleSetters.h:
(WebCore::RenderStyle::containIntrinsicWidthAddAuto):
(WebCore::RenderStyle::containIntrinsicHeightAddAuto):
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjust const):

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




More information about the webkit-changes mailing list