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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/attribute-default-value-after-removal.html

Issue 1901673003: Improve default value handling for SVGSVGElement.width/height (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Move to parseAttribute 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/attribute-default-value-after-removal-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 <div style="width: 100px">
3 <svg viewBox="0 0 100 100">
4 <rect width="100" height="100" fill="green"/>
5 </svg>
6 </div>
7 <script>
8 document.querySelector('svg').setAttribute('width', 200);
9 document.querySelector('svg').removeAttribute('width');
10 </script>
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/LayoutTests/svg/custom/attribute-default-value-after-removal-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698