DescriptionDocument.title getter should return text of title element and setter should stop when head element is null
SPEC: http://www.whatwg.org/specs/web-apps/current-work/#document.title
This CL allowed implicit title set from Document::setTitleElement()
and stopped operation on setter when head element is null as per specification.
In addition, with this change, failed test cases will be passed in
http://w3c-test.org/html/dom/documents/dom-tree-accessors/document.title-01.html
Behavior in other browsers:
*)FF: PASS
*)IE: PASS
Plus, this CL deleted obsolete title argument from Document::setTitleElement.
TEST=LayoutTests/fast/dom/Document/title-01.html
,LayoutTests/svg/custom/multiple-title-elements.svg
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=178889
Patch Set 1 #Patch Set 2 : Document.title should be the first title element in the document #Patch Set 3 : Add test case for this CL #
Total comments: 10
Patch Set 4 : Take review comment into consideration #
Total comments: 1
Patch Set 5 : Rebase and take review comment into consideration #
Messages
Total messages: 20 (0 generated)
|