[webkit-changes] [WebKit/WebKit] dc361d: [contain-intrinsic-size] Use CSSValuePair for comp...

Tim Nguyen noreply at github.com
Thu Jun 29 15:42:02 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: dc361dd85a3531fbf05b96c2ee7e2ed6cfd3937b
      https://github.com/WebKit/WebKit/commit/dc361dd85a3531fbf05b96c2ee7e2ed6cfd3937b
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2023-06-29 (Thu, 29 Jun 2023)

  Changed paths:
    M Source/WebCore/css/ComputedStyleExtractor.cpp
    M Source/WebCore/style/StyleBuilderCustom.h

  Log Message:
  -----------
  [contain-intrinsic-size] Use CSSValuePair for computed style
https://bugs.webkit.org/show_bug.cgi?id=258695
rdar://111533680

Reviewed by Simon Fraser.

Since 265617 at main, parsing uses CSSValuePair instead of CSSValueList, change the computed style extractor code to be consistent.

* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::valueForContainIntrinsicSize):
* Source/WebCore/style/StyleBuilderCustom.h:
(WebCore::Style::BuilderCustom::applyValueContainIntrinsicWidth):
(WebCore::Style::BuilderCustom::applyValueContainIntrinsicHeight):

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




More information about the webkit-changes mailing list