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

Side by Side 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, 8 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 unified diff | 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../resources/run-after-layout-and-paint.js"></script>
3 <script>
4 function test()
5 {
6 var obj = document.querySelector("object");
7 var svgdoc = obj.contentDocument;
8 var svgroot = svgdoc.documentElement;
9 svgroot.currentScale = 0.5;
10 }
11 </script>
12 <object onload="runAfterLayoutAndPaint(test,true)" data="resources/green-rect.sv g" type="image/svg+xml">
13 </object>
14 <svg>
15 <rect width='100' height='100' fill='green'/>
16 </svg>
OLDNEW
« 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