2 crbug.com/
445285: Do not crash when an element becomes positioned.
4 .container{background-size:
50; float:right; }
5 #canvas-image,#canvas-padding{display: table-cell};
7 <script src=
"../../resources/check-layout.js"></script>
8 <div class=
"container">
9 <canvas id=
"canvas-padding" data-expected-width=
300 data-expected-height=
150></canvas>
13 var test0
=document
.getElementById("canvas-padding")
14 var test2
=document
.getElementById("layer-tree")
15 document
.execCommand("usecss", "false")
16 test2
.appendChild(test0
.cloneNode(true));
17 test2
.style
['position']='absolute';
18 var styleSheet0
= document
.styleSheets
[0];
19 styleSheet0
.insertRule('.container{display: table;}',0);
20 document
.execCommand("JustifyRight", false)
21 document
.body
.style
.zoom
=0.50
22 document
.body
.offsetTop
;
23 window
.checkLayout("#canvas-padding");