Move parseFontFaceDescriptor to CSSPropertyParser.cpp
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / text-node-in-text-invalidated.svg
blobbcc12c1f488dd4ec01957575fc2d1d33600e691d
1 <svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
2 <text id="text">
3 bar
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsText();
8 // This triggers a layout before adding the #text node.
9 document.getElementById('text').scrollIntoView('foo');
11 var text = document.getElementById('text');
12 text.insertBefore(document.createTextNode('foo'), text.firstChild);
14 // This triggers a layout after adding the #text node to fire the ASSERT.
15 document.getElementById('text').scrollIntoView('foo');
16 </script>
17 </text>
18 <text x="10" y="50">Test for bug <a xlink:href="https://bugs.webkit.org/show_bug.cgi?id=63076">63076</a>: Assertion failure in LayoutSVGInlineText::characterStartsNewTextChunk</text>
19 <text x="10" y="100">This test passes if it does not crash</text>
20 </svg>