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

Unified Diff: LayoutTests/svg/as-object/sizing/svg-in-object-placeholder-height-percentage.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/svg/as-object/sizing/svg-in-object-placeholder-height-percentage.html
diff --git a/LayoutTests/svg/as-object/sizing/svg-in-object-placeholder-height-percentage.html b/LayoutTests/svg/as-object/sizing/svg-in-object-placeholder-height-percentage.html
new file mode 100644
index 0000000000000000000000000000000000000000..8f374c833072606a00f13c1c61291bfa17bce6f5
--- /dev/null
+++ b/LayoutTests/svg/as-object/sizing/svg-in-object-placeholder-height-percentage.html
@@ -0,0 +1,28 @@
+<!DOCTYPE html>
+<html>
+ <head>
+ <title>SVG sizing: &lt;object></title>
+ <script src="../../../resources/testharness.js"></script>
+ <script src="../../../resources/testharnessreport.js"></script>
+ <style>
+ #testContainer {
+ position: absolute;
+ left: 0;
+ top: 0;
+ width: 800px;
+ height: 600px;
+ }
+ </style>
+ <link rel="help" href="http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-width">
+ <link rel="help" href="http://www.w3.org/TR/CSS2/visudet.html#inline-replaced-height">
+ <link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/#replaced-elements">
+ <link rel="help" href="http://www.whatwg.org/specs/web-apps/current-work/#attr-dim-width">
+ <link rel="help" href="http://www.w3.org/TR/SVG/coords.html#ViewportSpace">
+ </head>
+ <body>
+ <div id="log"></div>
+ <div id="testContainer"></div>
+ <script src="svg-in-object.js"></script>
+ <script>testSVGInObjectWithPlaceholderHeightAttr("50%")</script>
+ </body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698