Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b564ed1fb7d6716892d3931b5401fba3c9ed02f7
      
https://github.com/WebKit/WebKit/commit/b564ed1fb7d6716892d3931b5401fba3c9ed02f7
  Author: Tim Nguyen <[email protected]>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M Source/WebCore/css/StyleProperties.cpp
    M Source/WebCore/css/StyleProperties.h

  Log Message:
  -----------
  Remove StyleProperties::textDecorationSkipValue()
https://bugs.webkit.org/show_bug.cgi?id=248386
rdar://102708232

Reviewed by Antti Koivisto.

text-decoration-skip can share the serialization handling with other shorthands 
with single longhands.

- We don't ever need to serialize `ink` because it gets changed to `auto` at 
parse-time
- We don't need to take care of implicit property references, since we never 
add text-decoration-skip-ink as implicit in `consumeTextDecorationSkip()`.

This part of an effort to remove the implicit flag for property references.

* Source/WebCore/css/StyleProperties.cpp:
(WebCore::StyleProperties::getPropertyValue const):
(WebCore::canUseShorthandForLonghand):
(WebCore::StyleProperties::textDecorationSkipValue const): Deleted.
* Source/WebCore/css/StyleProperties.h:

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


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

Reply via email to