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

Unified Diff: LayoutTests/fast/dom/title-text-property-3.html

Issue 128603002: Inhibit title update when removing children before setting new value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebased Created 6 years, 11 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/fast/dom/title-text-property-3.html
diff --git a/LayoutTests/fast/dom/title-text-property-3.html b/LayoutTests/fast/dom/title-text-property-3.html
new file mode 100644
index 0000000000000000000000000000000000000000..7ae24e12a13591c0475eeb584e43d61af52d6b77
--- /dev/null
+++ b/LayoutTests/fast/dom/title-text-property-3.html
@@ -0,0 +1,9 @@
+<title>Test for single title change</title>
+<script>
+ document.querySelector('title').appendChild(document.createTextNode(" - part II"));
+ if (window.testRunner) {
+ testRunner.dumpAsText();
+ testRunner.dumpTitleChanges();
+ }
+ document.querySelector('title').text = "new";
+</script>
« no previous file with comments | « LayoutTests/fast/dom/title-text-property-2-expected.txt ('k') | LayoutTests/fast/dom/title-text-property-3-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698