2 .fakeselection, ::selection { color: green; background-color: yellow; }
5 Test for bug
13234, layout of selected justified text is broken.
8 The two blue boxes should be identical.
10 <div style=
"text-align: justify; width: 250px; border: solid blue;">Lorem ipsum dolor si
<span class=
"fakeselection">t amet,
</span> consectetuer adipiscing elit.
13 <p align=
"justify" id=
"target" style=
"width: 250px; border: solid blue">Lorem ipsum dolor sit amet, consectetuer adipiscing elit.
</p>
15 var text
= document
.getElementById("target").firstChild
;
16 getSelection().setBaseAndExtent(text
, 27, text
, 20);