Skip to content

Commit

Permalink
Implement CSSTransitionDiscrete which enables transitions on discrete…
Browse files Browse the repository at this point in the history
… properties.

This feature enables transitioning discrete properties.

This is based on the resolved CSSWG issue:
- Transition discrete properties: w3c/csswg-drafts#4441

You can test display transitions with this CL on:
https://output.jsbin.com/buquher/quiet

Original patch: http://crrev.com/c/4182089

Bug: 1399631, 1413556
Change-Id: Icf5364b970233186794fa9faaa016e0e6542ec2b
  • Loading branch information
josepharhar authored and chromium-wpt-export-bot committed Feb 7, 2023
1 parent d4af42b commit b541026
Showing 1 changed file with 20 additions and 0 deletions.
20 changes: 20 additions & 0 deletions css/css-animations/discrete-no-interpolation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<!DOCTYPE html>
<link rel=author href="mailto:jarhar@chromium.org">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/interpolation-testcommon.js"></script>

<body>
<script>
test_no_interpolation({
property: 'background-attachment',
from: 'initial',
to: 'fixed'
});

test_no_interpolation({
property: 'background-blend-mode',
from: 'initial',
to: 'fixed'
});
</script>

0 comments on commit b541026

Please sign in to comment.