| Summary: | [css-properties-values-api] non-inherited custom property fails to inherit from parent when "inherit" is set | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Antoine Quint <graouts> |
| Component: | CSS | Assignee: | Antoine Quint <graouts> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| See Also: | https://github.com/web-platform-tests/wpt/pull/38330 | ||
Pull request: https://github.com/WebKit/WebKit/pull/9522 Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/38330 Committed 259809@main (06e3540a49d0): <https://commits.webkit.org/259809@main> Reviewed commits have been landed. Closing PR #9522 and removing active labels. Committed 259548.78@safari-7615-branch (a4202f6cb63a): <https://commits.webkit.org/259548.78@safari-7615-branch> Reviewed commits have been landed. Closing PR #379 and removing active labels. |
This fails: <div style="--foo: 100px"> <div style="--foo: inherit"></div> </div> The value for --foo on the child is the initial value for that custom property rather than its parent's value.