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

Unified Diff: third_party/WebKit/LayoutTests/canvas/resources/green-flash-at-50ms.svg

Issue 1493883002: Add layout test canvas/synchronous-create-pattern.html back (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: better testing Created 5 years 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 | third_party/WebKit/LayoutTests/canvas/synchronous-create-pattern.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/canvas/resources/green-flash-at-50ms.svg
diff --git a/third_party/WebKit/LayoutTests/svg/repaint/resources/animate-center.svg b/third_party/WebKit/LayoutTests/canvas/resources/green-flash-at-50ms.svg
similarity index 50%
copy from third_party/WebKit/LayoutTests/svg/repaint/resources/animate-center.svg
copy to third_party/WebKit/LayoutTests/canvas/resources/green-flash-at-50ms.svg
index 150869feaade3bf8e534973c967f94e03c8dad3d..f9099b741d9cb4f43cfe154db99a00ce8d3b856e 100644
--- a/third_party/WebKit/LayoutTests/svg/repaint/resources/animate-center.svg
+++ b/third_party/WebKit/LayoutTests/canvas/resources/green-flash-at-50ms.svg
@@ -1,19 +1,18 @@
-<svg xmlns="http://www.w3.org/2000/svg" width="10" height="10">
+<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100">
<defs>
<style type="text/css"><![CDATA[
#square {
fill: red;
- -webkit-animation: keyframes 0.01s;
+ -webkit-animation: keyframes 0.05s;
-webkit-animation-fill-mode: forwards;
-webkit-animation-timing-function: step-end;
}
@-webkit-keyframes keyframes {
- 0% { fill: pink }
- /* To prevent flakiness, rapidly switch to green */
- 1% { fill: green }
+ 0% { fill: blue }
+ 99% { fill: blue }
100% { fill: green }
}
]]></style>
</defs>
- <rect id="square" width="5" height="5" x="5" y="5"></rect>
-</svg>
+ <rect id="square" width="100" height="100" x="0" y="0"></rect>
+</svg>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/canvas/synchronous-create-pattern.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698