-
Notifications
You must be signed in to change notification settings - Fork 3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CSSTransitionDiscrete: Add tests part 5
Bug: 1399631 Change-Id: I5dcd86199053d0408060106d50f87579b480ff01
- Loading branch information
1 parent
dc091ce
commit ec1c077
Showing
14 changed files
with
219 additions
and
0 deletions.
There are no files selected for viewing
17 changes: 17 additions & 0 deletions
17
css/compositing/isolation/animation/isolation-no-interpolation.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://drafts.fxtf.org/compositing/#isolation"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<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: 'isolation', | ||
from: 'initial', | ||
to: 'isolate' | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://w3c.github.io/csswg-drafts/css-align/#justify-items-property"> | ||
<link rel=help href="https://w3c.github.io/csswg-drafts/css-align/#justify-self-property"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<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: 'justify-items', | ||
from: 'initial', | ||
to: 'baseline' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'justify-self', | ||
from: 'initial', | ||
to: 'baseline' | ||
}); | ||
</script> |
File renamed without changes.
17 changes: 17 additions & 0 deletions
17
css/css-color-adjust/animation/forced-color-adjust-no-interpolation.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> | ||
<link rel=help href="https://w3c.github.io/csswg-drafts/css-color-adjust/#forced-color-adjust-prop"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<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: 'forced-color-adjust', | ||
from: 'initial', | ||
to: 'none' | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,58 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<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: 'grid-auto-columns', | ||
from: 'initial', | ||
to: '123px' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'grid-auto-flow', | ||
from: 'initial', | ||
to: 'column' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'grid-auto-rows', | ||
from: 'initial', | ||
to: '123px' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'grid-column-end', | ||
from: 'initial', | ||
to: '123' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'grid-column-start', | ||
from: 'initial', | ||
to: '123' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'grid-row-end', | ||
from: 'initial', | ||
to: '123' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'grid-row-start', | ||
from: 'initial', | ||
to: '123' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'grid-template-areas', | ||
from: 'initial', | ||
to: '"."' | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<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: 'image-orientation', | ||
from: 'initial', | ||
to: 'none' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'image-rendering', | ||
from: 'initial', | ||
to: 'pixelated' | ||
}); | ||
</script> |
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<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: 'initial-letter', | ||
from: 'initial', | ||
to: '123' | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<script src="/resources/testharness.js"></script> | ||
<script src="/resources/testharnessreport.js"></script> | ||
<script src="/css/support/interpolation-testcommon.js"></script> | ||
|
||
<body> | ||
<script> | ||
// height is interpolable, but height:auto is not. | ||
test_no_interpolation({ | ||
property: 'height', | ||
from: '0px', | ||
to: 'auto' | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,31 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> | ||
<link rel=help href="https://w3c.github.io/csswg-drafts/css-text-4/#propdef-hyphenate-character"> | ||
<link rel=help href="https://w3c.github.io/csswg-drafts/css-text-4/#propdef-hyphenate-limit-chars"> | ||
<link rel=help href="https://w3c.github.io/csswg-drafts/css-text/#hyphens-property"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<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: 'hyphenate-character', | ||
from: 'initial', | ||
to: '"e"' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'hyphenate-limit-chars', | ||
from: 'initial', | ||
to: '10' | ||
}); | ||
|
||
test_no_interpolation({ | ||
property: 'hyphens', | ||
from: 'initial', | ||
to: 'auto' | ||
}); | ||
</script> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
<!DOCTYPE html> | ||
<link rel=author href="mailto:jarhar@chromium.org"> | ||
<link rel=help href="https://github.com/w3c/csswg-drafts/issues/4441"> | ||
<link rel=help href="https://w3c.github.io/csswg-drafts/css-text/#line-break-property"> | ||
<link rel=help href="https://drafts.csswg.org/css-transitions-2/#transition-property-property"> | ||
<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: 'line-break', | ||
from: 'initial', | ||
to: 'anywhere' | ||
}); | ||
</script> |