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

Unified Diff: LayoutTests/fast/repaint/svg-layout-root-style-attr-update.html

Issue 26390004: Rework SVG sizing (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fix mishap during rebase in svg.css Created 6 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 side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/repaint/svg-layout-root-style-attr-update.html
diff --git a/LayoutTests/fast/repaint/svg-layout-root-style-attr-update.html b/LayoutTests/fast/repaint/svg-layout-root-style-attr-update.html
index 90fb781eb66854a069f68a1c09ebfac1b18a7245..16d6b27a49a49ce9a52bb658b9ac35663a650bce 100644
--- a/LayoutTests/fast/repaint/svg-layout-root-style-attr-update.html
+++ b/LayoutTests/fast/repaint/svg-layout-root-style-attr-update.html
@@ -11,6 +11,8 @@
function test() {
// create some SVG
var svgroot = document.createElementNS("http://www.w3.org/2000/svg", "svg");
+ svgroot.setAttribute("width", "100%");
+ svgroot.setAttribute("height", "100%");
document.getElementById("root").appendChild(svgroot);
// add a red rectangle that will be covered up by the green rectangle
var redRect = document.createElementNS("http://www.w3.org/2000/svg", "rect");

Powered by Google App Engine
This is Rietveld 408576698