Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / css-generated-content / drag-state.html
blob3bf6fc4812a7cd8d3986df14adb88a999fc3e098
1 <style>
2 #target { border: solid; -webkit-user-drag: element; width: 100px; height: 100px; }
3 #target:before { content: "Drag this"; }
4 #target:-webkit-drag:before { color: blue; }
5 </style>
6 <div id="target"></div>
7 <p>
8 Test for <i><a href="https://bugs.webkit.org/show_bug.cgi?id=47005">https://bugs.webkit.org/show_bug.cgi?id=47005</a>
9 Null dereference when dragging an element with generated content</i>.
10 </p>
11 <p>
12 Drag the box above. The text should become blue and the browser should not crash.
13 </p>
14 <script>
15 if (window.testRunner) {
16 testRunner.dumpAsText();
17 eventSender.mouseMoveTo(50, 50);
18 eventSender.mouseDown();
19 eventSender.mouseMoveTo(250, 250);
20 eventSender.mouseUp();
22 </script>