Bug
1882197 [wpt PR 44800] - In a few cases, check whether calc() values have percents rather than assuming they do., a=testonly
Automatic update from web-platform-tests
In a few cases, check whether calc() values have percents rather than assuming they do.
This starts the path of treating calc() values that don't have percent
values within them (but instead have intrinsic sizes in them) as not
having percents.
This gets height: calc-size() working in a few useful cases.
This adds tests for height animation. Of the four sets of tests, only
the second set currently passes. The last two sets require further work
on correctly propagating whether a value has percentages through
animations. The first set requires implementing support for 'auto'
values in 'calc-size()'.
This also adds tests for static values of height. These all pass except
for the tests that depend on percentages resolving to zero in the cases
where the value was not treated as being a percentage value.
Bug: 313072
Change-Id: Iecf12450ac7df0c7c347a50f0f3664ae388cbfae
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/
5316787
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: David Baron <dbaron@chromium.org>
Cr-Commit-Position: refs/heads/main@{#
1266054}
--
wpt-commits:
ac566fe54a10c30567c9427e68ddf348c5460a3a
wpt-pr: 44800