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

Side by Side Diff: third_party/WebKit/LayoutTests/external/wpt/css/CSS2/normal-flow/inline-replaced-width-004.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.1 plus MathML 2.0 plus SVG 1.1//EN" " http://www.w3.org/2002/04/xhtml-math-svg/xhtml-math-svg.dtd">
2 <html xmlns="http://www.w3.org/1999/xhtml" xmlns:svg="http://www.w3.org/2000/svg ">
3 <head>
4 <title>CSS Test: Inline replaced elements and 'auto' specified for 'marg in-left', 'margin-right' and no intrinsic height or width</title>
5 <link rel="author" title="Microsoft" href="http://www.microsoft.com/" />
6 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#inline-re placed-width" />
7 <meta name="flags" content="nonHTML svg" />
8 <meta name="assert" content="Computed value of 'auto' for 'margin-left' or margin-right' on inline replaced elements becomes a used value of '0'. The he ight and width are adjusted by the constraints for block-level, non-replaced ele ments." />
9 <style type="text/css">
10 #div1
11 {
12 border: solid black;
13 height: 3in;
14 width: 3in;
15 }
16 #div2
17 {
18 height: 110px;
19 width: 3in;
20 }
21 #div3
22 {
23 background: orange;
24 height: 1in;
25 width: 200px;
26 }
27 </style>
28 </head>
29 <body>
30 <p>Test passes if the blue and orange boxes below are the same width, an d the blue box is in the upper-left corner of the black box.</p>
31 <div id="div1">
32 <div id="div2">
33 <svg:svg version="1.1" baseProfile="full">
34 <svg:rect x="0" y="0" width="200" height="100" fill="blue" / >
35 </svg:svg>
36 </div>
37 <div id="div3"></div>
38 </div>
39 </body>
40 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698