4 <meta name="viewport" content="width=800">
6 html { font-size: 16px; }
7 body { width: 800px; margin: 0; overflow: hidden; }
8 #pseudo3::first-line { font-size: 32px; color: purple; }
12 if (window.internals) {
13 window.internals.settings.setTextAutosizingEnabled(true);
14 window.internals.settings.setTextAutosizingWindowSizeOverride(320, 480);
16 console.warn("Please use DumpRenderTree to run this test.");
21 <div id="pseudo3">TheFirstLineOfThisTextShouldBeInPurpleAnd ShouldBeLargerThanTheRestOfTheTextAndThereShouldBeEnoughTextForTheSentenceToAutoSize. This is written without spaces so we don't have platform-specific differences in where exactly the first line cuts off.</div>