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

Unified Diff: third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements.html

Issue 2251073002: CSS: SVG use elements replicate updates to style (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: tidy Created 4 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
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements.html
diff --git a/third_party/WebKit/LayoutTests/animations/svg-animation-affects-use-elements.html b/third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements.html
similarity index 68%
copy from third_party/WebKit/LayoutTests/animations/svg-animation-affects-use-elements.html
copy to third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements.html
index 3fcb8adf6d103302e223bab6b3eeb268e8f7a884..ca8bbc7421b3ee9fc1cc8b57f8d90843f839716b 100644
--- a/third_party/WebKit/LayoutTests/animations/svg-animation-affects-use-elements.html
+++ b/third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements.html
@@ -1,4 +1,5 @@
<!DOCTYPE html>
+<script src="../resources/run-after-layout-and-paint.js"></script>
<svg>
<defs>
<rect x="0" y="0" width="100" height="40" id="target" fill="green" />
@@ -13,5 +14,7 @@
<use y="100" xlink:href="#use"/>
</svg>
<script>
-target.animate([{'svg-x': '100'}, {'svg-x': '100'}], {fill: 'forwards'});
+runAfterLayoutAndPaint(function() {
+ target.animate([{'x': '100px'}, {'x': '100px'}], {fill: 'forwards'});
+}, true);
</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/animations/css-animation-affects-use-elements-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698