Bug 1409031 - Correct markup for element.getContainer docs. r=whimboo

MozReview-Commit-ID: KkfKLxy8cmJ

--HG--
extra : rebase_source : 34efea7f9489f980c59d89d5a20b8933f6566df9
This commit is contained in:
Andreas Tolfsen 2017-10-16 15:28:47 +01:00
Родитель 3e17e4b075
Коммит a3451d8418
1 изменённых файлов: 4 добавлений и 3 удалений

Просмотреть файл

@ -813,9 +813,10 @@ element.inViewport = function(el, x = undefined, y = undefined) {
* Gets the element's container element.
*
* An element container is defined by the WebDriver
* specification to be an <option> element in a valid element context
* (https://html.spec.whatwg.org/#concept-element-contexts), meaning
* that it has an ancestral element that is either <datalist> or <select>.
* specification to be an <tt>&lt;option&gt;</tt> element in a
* <a href="https://html.spec.whatwg.org/#concept-element-contexts">valid
* element context</a>, meaning that it has an ancestral element
* that is either <tt>&lt;datalist&gt;</tt> or <tt>&lt;select&gt;</tt>.
*
* If the element does not have a valid context, its container element
* is itself.