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

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/w3c-css/submitted/flexbox/flexbox-with-pseudo-elements-1-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,59 @@
     1.4 +<!DOCTYPE html>
     1.5 +<!--
     1.6 +     Any copyright is dedicated to the Public Domain.
     1.7 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.8 +-->
     1.9 +<!-- Reference case where we've swapped in actual divs (fakeBefore/fakeAfter)
    1.10 +     for the testcase's ::before and ::after generated content.
    1.11 +
    1.12 +     fakeBefore div is always the first child; fakeAfter is always the last.
    1.13 +-->
    1.14 +<html>
    1.15 +<head>
    1.16 +  <title>CSS Reftest Reference</title>
    1.17 +  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
    1.18 +  <meta charset="utf-8">
    1.19 +  <style>
    1.20 +    .flexContainer {
    1.21 +      display: flex;
    1.22 +      align-items: flex-end;
    1.23 +      justify-content: space-between;
    1.24 +      height: 50px;
    1.25 +      width: 300px;
    1.26 +      margin-bottom: 2px;
    1.27 +      background: lightgray;
    1.28 +    }
    1.29 +    .fakeBefore {
    1.30 +      align-self: center;
    1.31 +      content: 'b';
    1.32 +      background: yellow;
    1.33 +    }
    1.34 +    .fakeAfter {
    1.35 +      align-self: center;
    1.36 +      content: 'a';
    1.37 +      background: lightblue;
    1.38 +    }
    1.39 +  </style>
    1.40 +</head>
    1.41 +<body>
    1.42 +  <div class="flexContainer">
    1.43 +    <div class="fakeBefore">b</div>
    1.44 +    x
    1.45 +    <div>y</div>
    1.46 +    z
    1.47 +  </div>
    1.48 +  <div class="flexContainer">
    1.49 +    x
    1.50 +    <div>y</div>
    1.51 +    z
    1.52 +    <div class="fakeAfter">a</div>
    1.53 +  </div>
    1.54 +  <div class="flexContainer">
    1.55 +    <div class="fakeBefore">b</div>
    1.56 +    x
    1.57 +    <div>y</div>
    1.58 +    z
    1.59 +    <div class="fakeAfter">a</div>
    1.60 +  </div>
    1.61 +</body>
    1.62 +</html>

mercurial