Rename HTMLSlotElement.getDistributedNodes to getAssignedNodes
authorrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jan 2016 20:08:52 +0000 (20:08 +0000)
committerrniwa@webkit.org <rniwa@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Wed, 27 Jan 2016 20:08:52 +0000 (20:08 +0000)
commitdf5136212df3da3b69bcc41c8477812237686a42
tree30733ccc483e24ddf91ef120f6f2f0e6ab56cb97
parent5920f5034af2db609fca1ac282a7d0f49981bb6f
Rename HTMLSlotElement.getDistributedNodes to getAssignedNodes
https://bugs.webkit.org/show_bug.cgi?id=153534

Reviewed by Antti Koivisto.

Source/WebCore:

Did the rename.

* html/HTMLSlotElement.idl:

LayoutTests:

Updated the tests to refect the rename. Also added test cases after r192763
to assert we don't assign comment and processing instruction nodes to a slot.

* fast/shadow-dom/HTMLSlotElement-interface-expected.txt:
* fast/shadow-dom/HTMLSlotElement-interface.html:
* fast/shadow-dom/NonDocumentTypeChildNode-interface-assignedSlot.html:

git-svn-id: http://svn.webkit.org/repository/webkit/trunk@195681 268f45cc-cd09-0410-ab3c-d52691b4dbfc
LayoutTests/ChangeLog
LayoutTests/fast/shadow-dom/HTMLSlotElement-interface-expected.txt
LayoutTests/fast/shadow-dom/HTMLSlotElement-interface.html
LayoutTests/fast/shadow-dom/NonDocumentTypeChildNode-interface-assignedSlot.html
Source/WebCore/ChangeLog
Source/WebCore/html/HTMLSlotElement.idl