layout/reftests/box/flexbox-attributes-no-box-horizontal-ref.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/box/flexbox-attributes-no-box-horizontal-ref.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,43 @@
     1.4 +<!DOCTYPE HTML>
     1.5 +<html xmlns="http://www.w3.org/1999/xhtml">
     1.6 +<head>
     1.7 +<title>Test that XUL attributes are not supported on non-XUL elements</title>
     1.8 +<style type="text/css">
     1.9 +<![CDATA[
    1.10 +
    1.11 +html, body {
    1.12 +  display: -moz-box;
    1.13 +  margin: 0; padding: 0;
    1.14 +  width: 100%; height: 100%;
    1.15 +}
    1.16 +
    1.17 +body > div {
    1.18 +  display: -moz-box;
    1.19 +  background: yellow;
    1.20 +  -moz-box-flex: 1;
    1.21 +  -moz-box-orient: horizontal;
    1.22 +}
    1.23 +
    1.24 +div > div {
    1.25 +  display: -moz-box;
    1.26 +  -moz-box-flex: 1;
    1.27 +  border: 1px solid blue;
    1.28 +}
    1.29 +
    1.30 +]]>
    1.31 +</style>
    1.32 +</head>
    1.33 +<body>
    1.34 +<div>
    1.35 +  <div>2</div>
    1.36 +  <div>1</div>
    1.37 +  <div>width</div>
    1.38 +  <div>height</div>
    1.39 +  <div>minwidth</div>
    1.40 +  <div>minheight</div>
    1.41 +  <div>maxwidth</div>
    1.42 +  <div>maxheight</div>
    1.43 +  <div>flex</div>
    1.44 +</div>
    1.45 +</body>
    1.46 +</html>

mercurial