1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15

content / test / data / accessibility / html / contenteditable-font-size.html [blame]

<!--
@BLINK-ALLOW:next*
@BLINK-ALLOW:prev*
@BLINK-ALLOW:class*
-->
<!-- Adding a font-size rule prevents layout from culling descendant inline text
boxes, altering the code paths taken by nextOnLine/previousOnLine.
For performance and memory consumption, LayoutInline culls (ignores)
inline-boxes during line layout because they don't actually impact layout. -->
<style>
  .inner { font-size:13px; }
</style>
<div contenteditable>
<span id="outer" class="outer">Test<span id="inner" class="inner">x</span></span>y
</div>