This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse the repository at this point in the history
[css-properties-values-api] non-inherited custom property fails to in…
…herit from parent when "inherit" is set https://bugs.webkit.org/show_bug.cgi?id=251590 Reviewed by Antti Koivisto. We would only look at the map of inherited custom properties when applying the "inherit" value for a custom property. However, a non-inherited value should also use its parent's value in that case. * LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/registered-properties-inheritance-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/css/css-properties-values-api/registered-properties-inheritance.html: * Source/WebCore/style/StyleBuilderCustom.h: (WebCore::Style::BuilderCustom::applyInheritCustomProperty): Canonical link: https://commits.webkit.org/259809@main
- Loading branch information
Showing 3 changed files with 10 additions and 0 deletions.