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

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

  Log Message:
  -----------
  Cleanup StyleProperties::fontSynthesisValue()
https://bugs.webkit.org/show_bug.cgi?id=248127
rdar://102544812

Reviewed by Darin Adler.

- Use `propertyAsValueID` instead of custom lambda, it is possible since 
longhands are never added implicitly.
- Always do checks against the value ID (it is now possible now that we include 
the `isCSSWideKeyword()` function)
- Use pattern consistent with other methods for appending the strings to the 
string builder.

* Source/WebCore/css/StyleProperties.cpp:
(WebCore::StyleProperties::fontSynthesisValue const):

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


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

Reply via email to