layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2-ref.xhtml

Thu, 15 Jan 2015 21:13:52 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Thu, 15 Jan 2015 21:13:52 +0100
branch
TOR_BUG_9701
changeset 12
7540298fafa1
permissions
-rw-r--r--

Remove forgotten relic of ABI crash risk averse overloaded method change.

     1 <?xml version="1.0" encoding="UTF-8"?>
     2 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <!--
     7      This reference case is the same as the testcase, but with an explicit <div>
     8      around each run of content that we expect to turn into an anonymous
     9      flex item (to ensure that the whitespace is included).
    10 -->
    11 <html xmlns="http://www.w3.org/1999/xhtml">
    12   <head>
    13     <title>CSS Reftest Reference</title>
    14     <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com"/>
    15     <link rel="stylesheet" type="text/css" href="support/ahem.css" />
    16     <style>
    17       div { height: 100px; }
    18       div.flexbox {
    19         white-space: pre;
    20         border: 1px dashed blue;
    21         width: 200px;
    22         display: flex;
    23         justify-content: space-around;
    24       }
    25       div.a {
    26         width: 30px;
    27         background: lightgreen;
    28       }
    29       div.b {
    30         width: 20px;
    31         background: lightblue;
    32       }
    33     </style>
    34   </head>
    35   <body>
    36     <!-- spaces around inline content at the beginning of flexbox -->
    37     <div class="flexbox"><div>  abc</div><div class="a"/></div>
    38     <div class="flexbox"><div>abc   </div><div class="a"/></div>
    39     <div class="flexbox"><div>  abc   </div><div class="a"/></div>
    41     <!-- spaces around inline content at the end of flexbox -->
    42     <div class="flexbox"><div class="a"/><div>  abc</div></div>
    43     <div class="flexbox"><div class="a"/><div>abc   </div></div>
    44     <div class="flexbox"><div class="a"/><div>  abc   </div></div>
    46     <!-- whitespace around inline content in between flex items -->
    47     <div class="flexbox"><div class="a"/><div>  abc</div><div class="b"/></div>
    48     <div class="flexbox"><div class="a"/><div>abc   </div><div class="b"/></div>
    49     <div class="flexbox"><div class="a"/><div>  abc   </div><div class="b"/></div>
    50   </body>
    51 </html>

mercurial