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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/svgdom-manipulation-of-svg-root-width-before-attach.html

Issue 2747153002: Dirty pres. attribute style on <svg> dimension change when not attached (Closed)
Patch Set: Created 3 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 unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/custom/svgdom-manipulation-of-svg-root-width-before-attach-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 <style>
3 svg { height: 200px }
4 </style>
5 <body>
6 <script>
7 var rect = document.createElementNS('http://www.w3.org/2000/svg', 'rect');
8 rect.setAttribute('width', '100');
9 rect.setAttribute('height', '100');
10 rect.setAttribute('fill', 'green');
11 var svg = document.createElementNS('http://www.w3.org/2000/svg', 'svg');
12 svg.appendChild(rect);
13 svg.setAttribute('viewBox', '0 0 200 100');
14 svg.setAttribute('preserveAspectRatio', 'xMinYMin');
15 svg.width.baseVal.valueAsString = '200';
16 document.body.appendChild(svg);
17 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/custom/svgdom-manipulation-of-svg-root-width-before-attach-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698