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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html

Issue 1827793003: Support currentScale for embedded SVG (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Align with review comments 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/custom/object-current-scale-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/custom/object-current-scale.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html b/third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html
new file mode 100644
index 0000000000000000000000000000000000000000..5d07edb87c5a044cd5a68ea7c08b2095b54009dd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/svg/custom/object-current-scale.html
@@ -0,0 +1,16 @@
+<!DOCTYPE html>
+<script src="../../resources/run-after-layout-and-paint.js"></script>
+<script>
+ function test()
+ {
+ var obj = document.querySelector("object");
+ var svgdoc = obj.contentDocument;
+ var svgroot = svgdoc.documentElement;
+ svgroot.currentScale = 0.5;
+ }
+</script>
+<object onload="runAfterLayoutAndPaint(test,true)" data="resources/green-rect.svg" type="image/svg+xml">
+</object>
+<svg>
+ <rect width='100' height='100' fill='green'/>
+</svg>
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/custom/object-current-scale-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698