Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
1 <!DOCTYPE HTML>
2 <html xmlns="http://www.w3.org/1999/xhtml">
3 <head>
4 <title>Test that XUL attributes are not supported on non-XUL elements</title>
5 <style type="text/css">
6 <![CDATA[
8 html, body {
9 display: -moz-box;
10 margin: 0; padding: 0;
11 width: 100%; height: 100%;
12 /* Disable pointer-events so we don't get weird hover artifacts */
13 pointer-events: none;
14 }
16 body > div {
17 display: -moz-box;
18 background: yellow;
19 -moz-box-flex: 1;
20 -moz-box-orient: horizontal;
21 }
23 ]]>
24 </style>
25 </head>
26 <body>
27 <div>
28 <input type="text" ordinal="2" value="2" />
29 <input type="text" ordinal="1" value="1" />
30 <input type="text" width="100" value="width" />
31 <input type="text" height="100" value="height" />
32 <input type="text" minwidth="100" value="minwidth" />
33 <input type="text" minheight="100" value="minheight" />
34 <input type="text" maxwidth="50" value="maxwidth" />
35 <input type="text" maxheight="15" value="maxheight" />
36 <input type="text" flex="100" value="flex" />
37 </div>
38 </body>
39 </html>