2 <title>Test case for bug https://bugs.webkit.org/show_bug.cgi?id=
85991</title>
3 <script src=
"../../resources/js-test.js"></script>
18 <div id=
"inner">PASS
</div>
21 description("Tests if the Deprecated Flex boxes with max-width: intrinsic and width:0 has non-zero calculated width");
22 var x
= document
.getElementById('inner');
23 var flexBoxDiv
= x
.getClientRects()[0];
24 shouldBeNonZero("flexBoxDiv.width");
27 var node
= document
.getElementById('inner');
28 node
.parentNode
.removeChild(node
);