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

Unified Diff: LayoutTests/svg/custom/multiple-title-elements.svg

Issue 384413003: Document.title getter should return text of title element and setter should stop when head el… (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase and take review comment into consideration Created 6 years, 5 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/svg/custom/multiple-title-elements.svg
diff --git a/LayoutTests/svg/custom/multiple-title-elements.svg b/LayoutTests/svg/custom/multiple-title-elements.svg
index 97b38cf11b504a19b3a174b738e6d018627e4d05..6212623e9fbba5b80a50dc6274c5d0af95e35446 100644
--- a/LayoutTests/svg/custom/multiple-title-elements.svg
+++ b/LayoutTests/svg/custom/multiple-title-elements.svg
@@ -43,6 +43,8 @@ function test()
expect('First title', document.title);
document.documentElement.appendChild(createTitleElement('Second title'));
expect('First title', document.title);
+ document.documentElement.removeChild(document.getElementsByTagName('title')[0]);
+ expect('Second title', document.title);
}
</script>
<g id="console">
« no previous file with comments | « LayoutTests/fast/dom/Document/title-01-expected.txt ('k') | LayoutTests/svg/custom/multiple-title-elements-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698