Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: b733d192e11b8379df67740799a87cecaa565a85
      
https://github.com/WebKit/WebKit/commit/b733d192e11b8379df67740799a87cecaa565a85
  Author: Antti Koivisto <[email protected]>
  Date:   2023-08-16 (Wed, 16 Aug 2023)

  Changed paths:
    M Source/WebCore/style/ElementRuleCollector.cpp
    M Source/WebCore/style/PropertyCascade.cpp
    M Source/WebCore/style/PropertyCascade.h
    M Source/WebCore/style/StyleResolver.cpp

  Log Message:
  -----------
  Allow explicit inherit in matched declarations cache
https://bugs.webkit.org/show_bug.cgi?id=260199
rdar://113902520

Reviewed by Alan Baradlay.

If explicit inherit is involved we just need to apply it on top of the cached 
value.

* Source/WebCore/style/ElementRuleCollector.cpp:
(WebCore::Style::ElementRuleCollector::addMatchedProperties):
* Source/WebCore/style/PropertyCascade.cpp:
(WebCore::Style::PropertyCascade::addMatch):

Check for explicit inherit if needed.

* Source/WebCore/style/PropertyCascade.h:
* Source/WebCore/style/StyleResolver.cpp:
(WebCore::Style::Resolver::applyMatchedProperties):

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


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

Reply via email to