layout/reftests/w3c-css/submitted/flexbox/flexbox-items-as-stacking-contexts-2-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-items-as-stacking-contexts-2-ref.html	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,66 @@
     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 +<html>
    1.10 +<head>
    1.11 +  <title>CSS Reftest Reference</title>
    1.12 +  <link rel="author" title="Daniel Holbert" href="mailto:dholbert@mozilla.com">
    1.13 +  <style>
    1.14 +    body { font: 10px sans-serif }
    1.15 +    .flexContainer {
    1.16 +      background: orange;
    1.17 +      width: 70px;
    1.18 +      padding: 2px;
    1.19 +      margin-bottom: 2px;
    1.20 +    }
    1.21 +
    1.22 +    .flexContainer > div:first-child {
    1.23 +      margin-right: 10px; /* the space between the flex items, in testcase */
    1.24 +    }
    1.25 +
    1.26 +    .item1 {
    1.27 +      display: inline-block;
    1.28 +      background: lightblue;
    1.29 +      width: 30px;
    1.30 +    }
    1.31 +    .item2 {
    1.32 +      display: inline-block;
    1.33 +      background: yellow;
    1.34 +      width: 30px;
    1.35 +    }
    1.36 +  </style>
    1.37 +</head>
    1.38 +<body>
    1.39 +  <div class="flexContainer"
    1.40 +    ><div class="item1">ThisIsALongUnbrokenString</div
    1.41 +    ><div class="item2">HereIsSomeMoreLongText</div
    1.42 +  ></div>
    1.43 +
    1.44 +  <div class="flexContainer"
    1.45 +    ><div class="item1" style="position:relative">ThisIsALongUnbrokenString</div
    1.46 +    ><div class="item2">HereIsSomeMoreLongText</div
    1.47 +  ></div>
    1.48 +
    1.49 +  <div class="flexContainer"
    1.50 +    ><div class="item1" style="position:relative">ThisIsALongUnbrokenString</div
    1.51 +    ><div class="item2">HereIsSomeMoreLongText</div
    1.52 +  ></div>
    1.53 +
    1.54 +  <div class="flexContainer"
    1.55 +    ><div class="item2">HereIsSomeMoreLongText</div
    1.56 +    ><div class="item1">ThisIsALongUnbrokenString</div
    1.57 +  ></div>
    1.58 +
    1.59 +  <div class="flexContainer"
    1.60 +    ><div class="item2">HereIsSomeMoreLongText</div
    1.61 +    ><div class="item1">ThisIsALongUnbrokenString</div
    1.62 +  ></div>
    1.63 +
    1.64 +  <div class="flexContainer"
    1.65 +    ><div class="item2" style="position:relative">HereIsSomeMoreLongText</div
    1.66 +    ><div class="item1">ThisIsALongUnbrokenString</div
    1.67 +  ></div>
    1.68 +</body>
    1.69 +</html>

mercurial