2 #outerDiv, #innerDiv, #remainderDiv
4 background-color: green;
10 background-color: red;
13 width: calc(
100% -
10.5px);
22 <script src=
"../../resources/check-layout.js"></script>
23 <body onload=
"checkLayout('#outerDiv')">
24 <p>Test that a calc() with a percentage against a containing block with a
25 fractional width does not round to integer.
</p>
26 <div id=
"outerDiv" data-expected-width=
"100.5" data-expected-height=
"100.5">
27 <div id=
"innerDiv" data-expected-width=
"90" data-expected-height=
"100.5"></div>
28 <div id=
"remainderDiv" data-expected-width=
"10.5" data-expected-height=
"100.5"></div>