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

Unified Diff: third_party/WebKit/LayoutTests/svg/custom/use-attribute-invalidations.html

Issue 1757993007: Correct initial width/height for <use>d <symbol>s (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 10 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
Index: third_party/WebKit/LayoutTests/svg/custom/use-attribute-invalidations.html
diff --git a/third_party/WebKit/LayoutTests/svg/custom/use-attribute-invalidations.html b/third_party/WebKit/LayoutTests/svg/custom/use-attribute-invalidations.html
index 7817ca481f4b3abfc8809b365e366a7a0e95ac68..8d4470b69acde639979feaa6b8246b68c4a3d863 100644
--- a/third_party/WebKit/LayoutTests/svg/custom/use-attribute-invalidations.html
+++ b/third_party/WebKit/LayoutTests/svg/custom/use-attribute-invalidations.html
@@ -18,8 +18,8 @@ This test passes if there are three green squares below:<br>
onload = function() {
// Wait until first layout is finished.
window.requestAnimationFrame(function() {
- document.getElementById('use2').removeAttribute('width');
- document.getElementById('use3').setAttribute('height', '100');
+ document.getElementById('use2').setAttribute('width', '100');
+ document.getElementById('use3').removeAttribute('height');
});
}
</script>

Powered by Google App Engine
This is Rietveld 408576698