Commit 9831bf8f authored by bfulgham@apple.com's avatar bfulgham@apple.com

REGRESSION(r158198): editing/execCommand/insert-list-xml.xhtml fails

https://bugs.webkit.org/show_bug.cgi?id=123460

Reviewed by Ryosuke Niwa.

The original version of this test used a MathML document root,
and attempted to add HTML content to prove that a bad cast would
not be encountered when manipulating the MathML document via
JavaScript.

r158198 broke the test, because it enforced the requirements that
MathML nodes not generate renderers for non-MathML children.

This patch revises the test to use an SVG document, which does
permit child HTML nodes.

* TestExpectations: Remove temporary exclusion landed in
  r158216.
* editing/execCommand/insert-list-xml-expected.txt:
* editing/execCommand/insert-list-xml.xhtml:


git-svn-id: http://svn.webkit.org/repository/webkit/trunk@158242 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent b21fd7b6
2013-10-29 Brent Fulgham <bfulgham@apple.com>
REGRESSION(r158198): editing/execCommand/insert-list-xml.xhtml fails
https://bugs.webkit.org/show_bug.cgi?id=123460
Reviewed by Ryosuke Niwa.
The original version of this test used a MathML document root,
and attempted to add HTML content to prove that a bad cast would
not be encountered when manipulating the MathML document via
JavaScript.
r158198 broke the test, because it enforced the requirements that
MathML nodes not generate renderers for non-MathML children.
This patch revises the test to use an SVG document, which does
permit child HTML nodes.
* TestExpectations: Remove temporary exclusion landed in
r158216.
* editing/execCommand/insert-list-xml-expected.txt:
* editing/execCommand/insert-list-xml.xhtml:
2013-10-29 Ryosuke Niwa <rniwa@webkit.org>
Mountain Lion rebaseline after r158231.
......
......@@ -75,5 +75,3 @@ fast/mediastream/MediaStream-onended.html [ Skip ]
webkit.org/b/122679 security/crypto-subtle-gc.html [ Skip ]
webkit.org/b/122679 security/crypto-subtle-gc-2.html [ Skip ]
webkit.org/b/122679 security/crypto-subtle-gc-3.html [ Skip ]
webkit.org/b/123460 editing/execCommand/insert-list-xml.xhtml [ Failure ]
<mat:diff xmlns:mat="http://www.w3.org/1998/Math/MathML">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<?xml version="1.0" standalone="yes"?>
<svg xmlns = "http://www.w3.org/2000/svg">
<foreignObject x="10" y="10" width="800" height="150">
<body xmlns="http://www.w3.org/1999/xhtml" onload="start();">
<script type="text/javascript">
if (window.testRunner)
testRunner.dumpAsText();
......@@ -22,10 +23,8 @@
console.appendChild(li);
}
</script>
</head>
<body onload="start();">
<div contenteditable="true" id="insertlisthere">.</div>
<ul id="console"></ul>
<ul id="console"></ul>
</body>
</html>
</mat:diff>
</foreignObject>
</svg>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment