[wpt-sync] Sync PR 45858 - Remove DCHECK() that is no longer valid with calc-size().
Categories
(Core :: CSS Parsing and Computation, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox127 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
167.37 KB,
text/plain
|
Details |
Sync web-platform-tests PR 45858 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45858
Details from upstream follow.
L. David Baron <dbaron@chromium.org> wrote:
Remove DCHECK() that is no longer valid with calc-size().
The rules for animation of calc-size() intentionally allow animation
between calc-size() expressions typed as something other than a
percentage (e.g., a sizing keyword) and a percentage. This animation
erases the percentage-ness from the type at all intermediate values.
This means the animation works correctly when the percentage basis is
definite, but is incorrect when the percentage basis is indefinite.
This is an intentional behavior compromise discussed in
https://github.com/w3c/csswg-drafts/issues/10220 .This adds a few tests that would hit the removed DCHECK().
Bug: 313072
Change-Id: If5abd44475742272a4635293ddc12837f3ae7153
Reviewed-on: https://chromium-review.googlesource.com/5480311
WPT-Export-Revision: ce134f2808670b3c18886322ed590e2b7dec3454
Assignee | ||
Updated•6 months ago
|
Assignee | ||
Comment 1•6 months ago
|
||
Assignee | ||
Comment 2•6 months ago
|
||
Assignee | ||
Comment 3•6 months ago
|
||
Comment 5•6 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/569849b9209d
https://hg.mozilla.org/mozilla-central/rev/4502af77bdba
Description
•