Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(260)

Unified Diff: LayoutTests/transitions/text-decoration-color-transition.html

Issue 197223002: Fix broken transition for text-decoration-color. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | LayoutTests/transitions/text-decoration-color-transition-expected.txt » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: LayoutTests/transitions/text-decoration-color-transition.html
diff --git a/LayoutTests/transitions/text-decoration-color-transition.html b/LayoutTests/transitions/text-decoration-color-transition.html
new file mode 100644
index 0000000000000000000000000000000000000000..11fec61ddea4f9672dc39b5881b95b520914c61f
--- /dev/null
+++ b/LayoutTests/transitions/text-decoration-color-transition.html
@@ -0,0 +1,25 @@
+<!doctype html>
+<style>
+ #target {
+ font-size: 50px;
+ text-decoration: underline solid black;
+ transition: all 1s linear;
+ }
+
+ #target.final { text-decoration-color: red; }
+</style>
+<script src="../animations/resources/animation-test-helpers.js" type="text/javascript"></script>
+<script>
+ const expectedValues = [
+ // [time, element-id, property, expected-value, tolerance]
+ [0.5, 'target', 'text-decoration-color', [128, 0, 0], 64]
+ ];
+
+ function setupTest()
+ {
+ document.getElementById('target').className = 'final';
+ }
+
+ runTransitionTest(expectedValues, setupTest);
+</script>
+<span id="target">filler text</span>
« no previous file with comments | « no previous file | LayoutTests/transitions/text-decoration-color-transition-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698