Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / css2.1 / 20110323 / inline-non-replaced-width-002.htm
blobc00abe2e1abb8ace51e49396f3ef99d3a66a5a87
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
2 <html>
3 <head>
4 <title>CSS Test: Inline non-replaced elements with 'auto' value for 'left', 'right', and 'margin-right'</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-width">
7 <meta name="flags" content="ahem">
8 <script src="../../resources/ahem.js"></script>
9 <meta name="assert" content="Computed value of 'auto' for 'left', 'right', and 'margin-right' becomes a used value of '0'.">
10 <style type="text/css">
11 div
13 border: solid black;
14 height: 2in;
15 width: 2in;
17 span
19 color: blue;
20 font: 1in/1em Ahem;
21 left: auto;
22 margin-right: auto;
23 position: relative;
24 right: auto;
26 </style>
27 </head>
28 <body>
29 <p>Test passes if the blue box below is in the upper-left corner of the black box.</p>
30 <div>
31 <span>X</span>
32 </div>
33 </body>
34 </html>