7 testRunner
.dumpAsText();
9 var target
= document
.getElementById("target");
10 getSelection().setBaseAndExtent(target
, 0, target
, 0);
11 document
.body
.offsetTop
;
13 var head
= document
.getElementById("head");
14 var link
= document
.createElement("link");
15 link
.setAttribute("href", "data:text/css,");
16 link
.setAttribute("rel", "stylesheet");
17 // This will increase the pending stylesheet count
18 head
.appendChild(link
);
19 // This will require layout
20 foo
.style
.width
= "100px";
24 <body onload=
"test()">
26 Test for
<i><a href=
"http://bugs.webkit.org/show_bug.cgi?id=14118">http://bugs.webkit.org/show_bug.cgi?id=
14118</a>
27 ASSERTION FAILED: !needsLayout() seen again
</i>.
30 No assertion failure here means SUCCESS.
32 <div id=
"target">This is something to select
</div>