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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/normal-flow/replaced-intrinsic-002.xht

Issue 2818243002: Import css21/normal-flow W3C CSS Test Suite (Closed)
Patch Set: git rebase-update Created 3 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 XHTML 1.0 Strict//EN" "http://www.w3.org/TR/x html1/DTD/xhtml1-strict.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" lang="en">
3 <head>
4 <title>CSS Test: Replaced inline elements (using &lt;object&gt;) and SVG intri nsic widths (negative test equivalent of 001)</title>
5 <link rel="author" title="Ian Hickson" href="mailto:ian@hixie.ch"/>
6 <link rel="reviewer" title="Gérard Talbot" href="http://www.gtalbot.org/Browse rBugsSection/css21testsuite/" /> <!-- 2012-11-02 -->
7 <link rel="alternate" href="http://www.hixie.ch/tests/adhoc/css/box/replaced/i ntrinsic/svg/002.html" type="text/html"/>
8 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-replaced -width" />
9 <link rel="match" href="replaced-intrinsic-002-ref.xht" />
10
11 <meta name="flags" content="svg"/>
12 <style type="text/css">
13 html { width: 150px; padding: 0; margin: 8px; position: relative; }
14 body { padding: 0; margin: 0; }
15 p { font: 16px/20px serif; padding: 0; margin: 0; }
16 object { width: auto; height: auto; } /* intrinsic size is 100%x100%, which i s equivalent to width:100% height:auto (since height:auto on parent) */
17 div { position: absolute; top: 20px; left: 0; height: 150px; width: 150px; ba ckground: green; }
18 </style>
19 </head>
20 <body>
21 <p>Test&nbsp;passes&nbsp;if&nbsp;there&nbsp;is&nbsp;a&nbsp;filled&nbsp;green&n bsp;square&nbsp;and&nbsp;no&nbsp;red. <object data="support/replaced-intrinsic-0 02.svg" type="image/svg+xml"> FAIL (SVG not supported) </object> </p>
22 <div></div>
23 </body>
24 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698