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

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: Tweak old test. 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
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

Powered by Google App Engine
This is Rietveld 408576698