layout/reftests/flexbox/flexbox-inlinecontent-horiz-1a.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/flexbox/flexbox-inlinecontent-horiz-1a.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,39 @@
     1.4 +<?xml version="1.0" encoding="UTF-8"?>
     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 +<!--
    1.10 +     This test has static inline content intermixed with flex items,
    1.11 +     inside a flex container.
    1.12 +-->
    1.13 +<html xmlns="http://www.w3.org/1999/xhtml">
    1.14 +  <head>
    1.15 +    <link rel="stylesheet" type="text/css" href="ahem.css" />
    1.16 +    <style>
    1.17 +      div { height: 100px; }
    1.18 +      div.flexbox {
    1.19 +        font: 10px Ahem;
    1.20 +        width: 200px;
    1.21 +        display: flex;
    1.22 +      }
    1.23 +      div.a {
    1.24 +        flex: 1 0 20px;
    1.25 +        background: lightgreen;
    1.26 +      }
    1.27 +      div.b {
    1.28 +        flex: 2 0 30px;
    1.29 +        background: yellow;
    1.30 +      }
    1.31 +      div.inflex {
    1.32 +        flex: 0 0 20px;
    1.33 +        background: gray;
    1.34 +      }
    1.35 +    </style>
    1.36 +  </head>
    1.37 +  <body>
    1.38 +    <div class="flexbox"
    1.39 +       ><div class="a"/>text<div class="b"/><i>italic</i
    1.40 +       ><div class="inflex"/></div>
    1.41 +  </body>
    1.42 +</html>

mercurial