Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / text / atsui-partial-selection.html
blob7d91c1286b48c03639b27405fcfa86ad84ae5771
1 <html>
2 <head>
3 <title></title>
4 <style>
5 #target::selection { color: green; }
6 </style>
7 </head>
8 <body>
9 <p>
10 Test for <i><a href="http://bugs.webkit.org/show_bug.cgi?id=11124">http://bugs.webkit.org/show_bug.cgi?id=11124</a>
11 REGRESSION (r14297): No drag image for partially-selected complex text</i>.
12 <p>
13 This should look like &ldquo;<span style="color: green;">Lore&#x300;m ipsum</span>&rdquo;: <span id="target">&nbsp;Lore&#x300;m ipsum</span>
14 </p>
15 <script>
16 var text = document.getElementById("target").firstChild;
17 window.getSelection().setBaseAndExtent(text, 1, text, 13);
18 </script>
19 </body>
20 </html>