layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-1-ref.html

Fri, 16 Jan 2015 04:50:19 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 04:50:19 +0100
branch
TOR_BUG_9701
changeset 13
44a2da4a2ab2
permissions
-rw-r--r--

Replace accessor implementation with direct member state manipulation, by
request https://trac.torproject.org/projects/tor/ticket/9701#comment:32

michael@0 1 <!DOCTYPE html>
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 <!-- Reference case where we've swapped in actual divs (fakeBefore/fakeAfter)
michael@0 7 for the testcase's ::before and ::after generated content.
michael@0 8
michael@0 9 fakeBefore div is always the first child; fakeAfter is always the last.
michael@0 10 -->
michael@0 11 <html>
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 <meta charset="utf-8">
michael@0 16 <style>
michael@0 17 .flexContainer {
michael@0 18 display: flex;
michael@0 19 align-items: flex-end;
michael@0 20 justify-content: space-between;
michael@0 21 height: 50px;
michael@0 22 width: 300px;
michael@0 23 margin-bottom: 2px;
michael@0 24 background: lightgray;
michael@0 25 }
michael@0 26 .fakeBefore {
michael@0 27 align-self: center;
michael@0 28 content: 'b';
michael@0 29 background: yellow;
michael@0 30 }
michael@0 31 .fakeAfter {
michael@0 32 align-self: center;
michael@0 33 content: 'a';
michael@0 34 background: lightblue;
michael@0 35 }
michael@0 36 </style>
michael@0 37 </head>
michael@0 38 <body>
michael@0 39 <div class="flexContainer">
michael@0 40 <div class="fakeBefore">b</div>
michael@0 41 x
michael@0 42 <div>y</div>
michael@0 43 z
michael@0 44 </div>
michael@0 45 <div class="flexContainer">
michael@0 46 x
michael@0 47 <div>y</div>
michael@0 48 z
michael@0 49 <div class="fakeAfter">a</div>
michael@0 50 </div>
michael@0 51 <div class="flexContainer">
michael@0 52 <div class="fakeBefore">b</div>
michael@0 53 x
michael@0 54 <div>y</div>
michael@0 55 z
michael@0 56 <div class="fakeAfter">a</div>
michael@0 57 </div>
michael@0 58 </body>
michael@0 59 </html>

mercurial