4 window
.testRunner
.dumpAsText();
7 var box1
= document
.getElementById('box1');
8 var box2
= document
.getElementById('box2');
9 if (box1
.clientWidth
== box2
.clientWidth
)
10 document
.body
.innerHTML
+= 'PASS';
12 document
.body
.innerHTML
+= 'FAIL';
15 <body onload=
"doTest()">
17 'max-width: none' should have no effect because it is the initial state. The test succeeds if the following two blocks are rendered in the same way.
20 <div style=
"width:400px; border: 3px solid red">
21 <div id=
"box1" style=
"width:800px; max-width:none; height:30px; border: 3px solid green">
25 <div style=
"width:400px; border: 3px solid red">
26 <div id=
"box2" style=
"width:800px; height:30px; border: 3px solid green">