Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 w3c/csswg-drafts#10220 . This adds a few tests that would hit the removed DCHECK(). Bug: 313072 Change-Id: If5abd44475742272a4635293ddc12837f3ae7153 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5480311 Reviewed-by: Robert Flack <flackr@chromium.org> Commit-Queue: David Baron <dbaron@chromium.org> Cr-Commit-Position: refs/heads/main@{#1292038}
- Loading branch information