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

Unified Diff: third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html

Issue 1771773002: Handle '<something>' to 'none' changes of 'transform' for SVG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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 | third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape-expected.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html
diff --git a/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html b/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html
new file mode 100644
index 0000000000000000000000000000000000000000..bc8f608d3f60a3cfdc1ff8ec01eb99ea633c8781
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape.html
@@ -0,0 +1,10 @@
+<!DOCTYPE html>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<svg>
+ <rect width="100" height="100" fill="green" style="transform: translate(100px, 100px)"/>
+</svg>
+<script>
+runAfterLayoutAndPaint(function() {
+ document.querySelector('rect').style.transform = 'none';
+}, true);
+</script>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/transforms/change-transform-to-none-shape-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698