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.

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

mercurial