Skip to content

Commit 4853e98

Browse files
wolfibDevtools-frontend LUCI CQ
authored andcommitted
CSS: global interpolate-size: allow-keywords
This allows animation of intrinsic-sizing keywords such as `auto`. This makes it easy to e.g. animate the transition of `height` attributes. Detailed explainer: https://developer.chrome.com/docs/css-ui/animate-to-height-auto An audit of existing animations/transitions discovered no instances of intrinsic-sizing keywords used for animations. This CL should therefore not introduce any regressions. Bug: none Change-Id: Ia2bac4f96fd330a427643bd817d0b5957ecaa87a Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6105675 Auto-Submit: Wolfgang Beyer <[email protected]> Commit-Queue: Alex Rudenko <[email protected]> Reviewed-by: Alex Rudenko <[email protected]>
1 parent 5fc506c commit 4853e98

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

front_end/ui/legacy/inspectorCommon.css

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
:root {
1717
height: 100%;
1818
overflow: hidden;
19+
/* stylelint-disable-next-line property-no-unknown */
20+
interpolate-size: allow-keywords;
1921
/**
2022
* NOTE: please don't add to these colours!
2123
* We are migrating to a new set of theme colors (see below for details) and over time these colors will be deprecated / removed.

0 commit comments

Comments
 (0)