3 #elm { overflow-y:-webkit-paged-y; }
5 /* Need to float the first letter, to turn it into a block. Otherwise, overflow-y wouldn't be
6 an applicable property in the first place. */
7 #elm::first-letter { all:inherit; float:left; }
9 <p>overflow-y isn't a valid property for ::first-letter. We'd crash when extracting innerText,
10 because the implementation expects that the first letter text is a direct child of the
11 ::first-letter pseudo object. The paged overflow / multicol implementation would violate this
12 assumption by inserting a flow thread object between the ::first-letter pseudo object and the
14 <p>PASS if no crash or assertion failure.
</p>
17 if (window
.testRunner
)
18 testRunner
.dumpAsText();
19 document
.getElementById("elm").innerText
;