Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c379c056f604bb93b731e512c76d7011dca13096
      
https://github.com/WebKit/WebKit/commit/c379c056f604bb93b731e512c76d7011dca13096
  Author: Tim Nguyen <[email protected]>
  Date:   2023-08-31 (Thu, 31 Aug 2023)

  Changed paths:
    M Source/WebCore/css/ComputedStyleExtractor.cpp
    M Source/WebCore/css/parser/CSSPropertyParser.cpp

  Log Message:
  -----------
  Cleanup code for shorthand parsing and font-variant computed style
https://bugs.webkit.org/show_bug.cgi?id=260985
rdar://114780529

Reviewed by Myles C. Maxfield.

* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle const):
(WebCore::fontVariantPositionPropertyValue): Deleted.
(WebCore::fontVariantCapsPropertyValue): Deleted.

The toCSSValueID methods in CSSPrimitiveValueMappings.h allow us to remove this 
redundant code.

* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeFontVariantShorthand):
(WebCore::CSSPropertyParser::consumeListStyleShorthand):

This is consistent with style used for the columns property.

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


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

Reply via email to