Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / layout / nested-subtree-with-positioned-object-assert.html
blob818759457727f245ded789f7a6d06e6fec65d309
1 <!DOCTYPE html>
2 <html>
3 <style>
4 .sized {
5 width: 100px;
6 height: 100px;
8 .overflow {
9 overflow: hidden;
11 .relative {
12 position: relative;
14 .absolute {
15 position: absolute;
17 </style>
18 <body>
19 <div class="sized overflow">
20 <div class="sized relative">
21 <div class="sized overflow" id="root">
22 </div>
23 </div>
24 </div>
25 Test passes if it doesn't assert.
26 <script>
27 if (window.testRunner)
28 testRunner.dumpAsText();
30 document.body.offsetTop;
31 var container = document.createElement("div");
32 var layoutSkippedObject = document.createElement("div");
33 layoutSkippedObject.className = "absolute hidden";
35 container.appendChild(layoutSkippedObject);
37 var root = document.getElementById("root");
38 root.appendChild(container);
40 layoutSkippedObject.offsetTop;
41 </script>