layout/reftests/bugs/9458-basic-1.html

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <!DOCTYPE html>
     2 <html>
     3 <head>
     4 <title>CSS 2.1 Test Suite: Test for inline-block</title>
     5 <link rel="author" title="L. David Baron" href="http://dbaron.org/" />
     6 <link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
     7 <link rel="help" href="http://www.w3.org/TR/CSS21/visuren.html#display-prop" />
     8 <meta name="assert" content="This value causes an element to generate a block box, which itself is flowed as a single inline box, similar to a replaced element. The inside of an inline-block is formatted as a block box, and the element itself is formatted as an inline replaced element." />
     9 <link rel="help" href="http://www.w3.org/TR/CSS21/visudet.html#leading" />
    10 <meta name="assert" content="The baseline of an 'inline-block' is the baseline of its last line box in the normal flow, unless it has either no in-flow line boxes or if its 'overflow' property has a computed value other than 'visible', in which case the baseline is the bottom margin edge." />
    11 <meta name="flags" content="" />
    12 <style type="text/css">
    13 span { display: inline-block; }
    14 </style>
    15 </head>
    16 <body>
    17 <p>a<span>b</span>c</p>
    18 </body>
    19 </html>

mercurial