mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
Bug 886390 part - Adjust namespace expectations for SVG and MathML on a previous innerHTML test. r=wchen.
This commit is contained in:
parent
169f72d21a
commit
4e7a5ee996
@ -26,7 +26,7 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=811701
|
||||
is(math.outerHTML, "<math><mtext>test</mtext></math>",
|
||||
"<math> should have innerHTML");
|
||||
math.innerHTML = "<mo>+</mo>";
|
||||
is(math.firstChild.namespaceURI, "http://www.w3.org/1999/xhtml",
|
||||
is(math.firstChild.namespaceURI, "http://www.w3.org/1998/Math/MathML",
|
||||
"Should have the right namespace after setting innerHTML on <math>");
|
||||
|
||||
var polygon = document.querySelector("polygon");
|
||||
@ -41,8 +41,8 @@ https://bugzilla.mozilla.org/show_bug.cgi?id=811701
|
||||
|
||||
var svg = document.querySelector("svg");
|
||||
svg.innerHTML = "<rect/>";
|
||||
is(svg.firstChild.namespaceURI, "http://www.w3.org/1999/xhtml",
|
||||
"Should have the right namespace after setting innerHTML on <math>");
|
||||
is(svg.firstChild.namespaceURI, "http://www.w3.org/2000/svg",
|
||||
"Should have the right namespace after setting innerHTML on <svg>");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Reference in New Issue
Block a user