Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(295)

Unified Diff: LayoutTests/inspector/elements/set-outer-html-2.html

Issue 9389003: Merge 107242 - Web Inspector: fix setOuterHTML for the case that adds / removes duplicate. (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1025/
Patch Set: Created 8 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/inspector/elements/set-outer-html-2.html
===================================================================
--- LayoutTests/inspector/elements/set-outer-html-2.html (revision 107556)
+++ LayoutTests/inspector/elements/set-outer-html-2.html (working copy)
@@ -45,6 +45,11 @@
{
var text = InspectorTest.containerText + "<div>Additional node</div>";
InspectorTest.setOuterHTML(text, next);
+ },
+
+ function testDupeNode(next)
+ {
+ InspectorTest.patchOuterHTML("<h2>Getting involved</h2>", "<h2>Getting involved</h2><h2>Getting involved</h2>", next);
}
]);
}
@@ -57,11 +62,8 @@
</p>
<div id="container" style="display:none">
-<h2>Welcome to the website for the WebKit Open Source Project!</h2>
-<p>WebKit is used by <a href="http://www.apple.com/safari/">Safari</a>, Dashboard, etc.</a>.</p>
-
+<p>WebKit is used by <a href="http://www.apple.com/safari/">Safari</a>, Dashboard, etc..</p>
<h2>Getting involved</h2>
-<a href="http://nightly.webkit.org/"></a>
<p id="identity">There are many ways to get involved. You can:</p>
<ul>
<li></li>
« no previous file with comments | « LayoutTests/inspector/elements/set-outer-html.html ('k') | LayoutTests/inspector/elements/set-outer-html-2-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698