Skip to content

Commit

Permalink
CSSTransitionDiscrete: Add tests part 4
Browse files Browse the repository at this point in the history
Bug: 1399631
Change-Id: I235bf94cb793fb2979b69cc77f5ba5005a57320b
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4375500
Reviewed-by: Mason Freed <[email protected]>
Commit-Queue: Joey Arhar <[email protected]>
Auto-Submit: Joey Arhar <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1124837}
  • Loading branch information
josepharhar authored and cookiecrook committed Apr 8, 2023
1 parent 5e4dbf5 commit aa1f956
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 0 deletions.
15 changes: 15 additions & 0 deletions css/CSS2/floats/float-no-interpolation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<link rel=author href="mailto:[email protected]">
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
<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: 'float',
from: 'initial',
to: 'right'
});
</script>
15 changes: 15 additions & 0 deletions css/CSS2/tables/empty-cells-no-interpolation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<link rel=author href="mailto:[email protected]">
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
<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: 'empty-cells',
from: 'initial',
to: 'hide'
});
</script>
21 changes: 21 additions & 0 deletions css/css-flexbox/animation/discrete-no-interpolation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<!DOCTYPE html>
<link rel=author href="mailto:[email protected]">
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
<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: 'flex-direction',
from: 'initial',
to: 'column'
});

test_no_interpolation({
property: 'flex-wrap',
from: 'initial',
to: 'wrap'
});
</script>
15 changes: 15 additions & 0 deletions css/css-inline/dominant-baseline-no-interpolation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<link rel=author href="mailto:[email protected]">
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
<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: 'dominant-baseline',
from: 'initial',
to: 'middle'
});
</script>
15 changes: 15 additions & 0 deletions svg/painting/fill-rule-no-interpolation.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
<!DOCTYPE html>
<link rel=author href="mailto:[email protected]">
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441">
<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: 'fill-rule',
from: 'initial',
to: 'evenodd'
});
</script>

0 comments on commit aa1f956

Please sign in to comment.