Bug 251590
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 |
Antoine Quint
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.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Antoine Quint
Pull request: https://github.com/WebKit/WebKit/pull/9522
Antoine Quint
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/38330
EWS
Committed 259809@main (06e3540a49d0): <https://commits.webkit.org/259809@main>
Reviewed commits have been landed. Closing PR #9522 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/104998661>
EWS
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.