Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / editing / selection / select-text-overflow-ellipsis.html
blob8e363e21bd4907e6d74a73330a5ad8f5eb2ccfda
1 <html>
2 <head>
3 <title>Test for WebKit bug 29968: Selecting text with text-overflow ellipsis should not show cut off text</title></head>
4 <style type="text/css">
5 .cutoff {
6 width: 95px;
7 white-space: pre;
8 overflow: hidden;
9 text-overflow: ellipsis;
11 </style>
12 <body>
13 <h3>Test for <a href='https://bugs.webkit.org/show_bug.cgi?id=29968'>WebKit bug 29968</a>: Selecting text with text-overflow ellipsis should not show cut off text</h3>
14 <div id="selection_with_ellipsis" class="cutoff">Lorem ipsum dolor</div>
15 <script src="../../resources/run-after-layout-and-paint.js"></script>
16 <script>
17 runAfterLayoutAndPaint(function() {
18 getSelection().setBaseAndExtent(selection_with_ellipsis.firstChild, 0, selection_with_ellipsis.firstChild, 11);
19 }, true);
20 </script>
21 </body>
22 </html>