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

Unified Diff: LayoutTests/animations/visited-link-color-animation-expected.html

Issue 1312983003: Apply CSS Animations on color properties to visited and unvisited link computed styles (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fix test Created 5 years, 4 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
Index: LayoutTests/animations/visited-link-color-animation-expected.html
diff --git a/LayoutTests/animations/visited-link-color-animation-expected.html b/LayoutTests/animations/visited-link-color-animation-expected.html
new file mode 100644
index 0000000000000000000000000000000000000000..331ad8d529ab0140fbc6e68ef89bbe00a325cdc1
--- /dev/null
+++ b/LayoutTests/animations/visited-link-color-animation-expected.html
@@ -0,0 +1,30 @@
+<!DOCTYPE html>
+<style>
+a {
+ border: solid;
+ outline: solid;
+
+ background-color: rgba(0, 128, 0, 0.5);
+ border-color: green;
+ color: green;
+ fill: rgba(0, 128, 0, 0.5);
+ outline-color: green;
+ stroke: green;
+ text-decoration-color: green;
+}
+</style>
+
+<a id="visited" href="">
+ This should be completely green.
+ <svg width="14" height="14">
+ <rect x="2" y="2" width="10" height="10" stroke-width="4"></rect>
+ </svg>
+</a>
+<br>
+<br>
+<a id="unvisited" href="#">
+ This should also be completely green.
+ <svg width="14" height="14">
+ <rect x="2" y="2" width="10" height="10" stroke-width="4"></rect>
+ </svg>
+</a>

Powered by Google App Engine
This is Rietveld 408576698