gecko/dom/mathml/crashtests/770710-1.html
Birunthan Mohanathas 066651371b Bug 946065 - Part 7: Move content/mathml/ to dom/ and flatten subdirectories. r=karlt
--HG--
rename : content/mathml/content/crashtests/462929-1.html => dom/mathml/crashtests/462929-1.html
rename : content/mathml/content/crashtests/770710-1.html => dom/mathml/crashtests/770710-1.html
rename : content/mathml/content/crashtests/crashtests.list => dom/mathml/crashtests/crashtests.list
rename : content/mathml/content/src/moz.build => dom/mathml/moz.build
rename : content/mathml/content/src/nsMathMLElement.cpp => dom/mathml/nsMathMLElement.cpp
rename : content/mathml/content/src/nsMathMLElement.h => dom/mathml/nsMathMLElement.h
rename : content/mathml/content/src/nsMathMLElementFactory.cpp => dom/mathml/nsMathMLElementFactory.cpp
2014-07-25 14:15:35 -07:00

26 lines
513 B
HTML

<!DOCTYPE html>
<html>
<head>
<script>
function boom()
{
var mo = document.createElementNS("http://www.w3.org/1998/Math/MathML", "mo");
var text = document.createTextNode(" ");
mo.appendChild(text);
document.body.appendChild(mo);
window.getSelection().removeAllRanges();
var r = document.createRange();
r.setStart(mo.firstChild, 0);
r.setEnd(mo.firstChild, 1);
window.getSelection().addRange(r);
window.getSelection().toString();
}
</script>
</head>
<body onload="boom();"></body>
</html>