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

Side by Side Diff: LayoutTests/svg/hixie/intrinsic/002.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 unified diff | Download patch
OLDNEW
(Empty)
1 <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN">
2 <html lang="en">
3 <head>
4 <title>Replaced inline elements (using &lt;object&gt;) and SVG intrinsic width s (negative test equivalent of 001.html)</title>
5 <style type="text/css">
6 html { width: 150px; padding: 0; margin: 8px; position: relative; }
7 body { padding: 0; margin: 0; }
8 p { font: 16px/20px serif; padding: 0; margin: 0; }
9 object { width: auto; height: auto; } /* intrinsic size is 100%x100%, which i s equivalent to width:100% height:auto (since height:auto on parent) */
10 div { position: absolute; top: 20px; left: 0; height: 150px; width: 150px; ba ckground: green; }
11 </style>
12 </head>
13 <body>
14 <p>There&nbsp;should&nbsp;be&nbsp;an&nbsp;exact&nbsp;square&nbsp;of&nbsp;green &nbsp;below&nbsp;this&nbsp;line: <object data="resources/002.svg" type="image/sv g+xml"> FAIL (SVG not supported) </object> </p>
15 <div></div>
16 </body>
17 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698