Bug 311355
| Summary: | Invert random() caching behavior to match spec | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | fantasai <fantasai.bugs> |
| Component: | CSS | Assignee: | fantasai <fantasai.bugs> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
fantasai
The CSS spec for random() changed so that the `--foo` in `random(--foo)` is matched globally to the document rather than scoped to the element. This is the opposite of the behavior shipping in WebKit, and will create significant compat problems for this feature if it's not updated soon.
See https://github.com/w3c/csswg-drafts/issues/13132#issuecomment-3998898114 and https://github.com/w3c/csswg-drafts/commit/54b0b4f123ca2dd6c1af33bfc08eca64cf8e1640
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/173943833>
fantasai
Pull request: https://github.com/WebKit/WebKit/pull/61964
EWS
Committed 310532@main (e3d530f9ce57): <https://commits.webkit.org/310532@main>
Reviewed commits have been landed. Closing PR #61964 and removing active labels.
EWS
Committed 305413.621@safari-7624-branch (4542967296eb): <https://commits.webkit.org/305413.621@safari-7624-branch>
Reviewed commits have been landed. Closing PR #4894 and removing active labels.