зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1409031 - Correct markup for element.getContainer docs. r=whimboo
MozReview-Commit-ID: KkfKLxy8cmJ --HG-- extra : rebase_source : 34efea7f9489f980c59d89d5a20b8933f6566df9
This commit is contained in:
Родитель
3e17e4b075
Коммит
a3451d8418
|
@ -813,9 +813,10 @@ element.inViewport = function(el, x = undefined, y = undefined) {
|
||||||
* Gets the element's container element.
|
* Gets the element's container element.
|
||||||
*
|
*
|
||||||
* An element container is defined by the WebDriver
|
* An element container is defined by the WebDriver
|
||||||
* specification to be an <option> element in a valid element context
|
* specification to be an <tt><option></tt> element in a
|
||||||
* (https://html.spec.whatwg.org/#concept-element-contexts), meaning
|
* <a href="https://html.spec.whatwg.org/#concept-element-contexts">valid
|
||||||
* that it has an ancestral element that is either <datalist> or <select>.
|
* element context</a>, meaning that it has an ancestral element
|
||||||
|
* that is either <tt><datalist></tt> or <tt><select></tt>.
|
||||||
*
|
*
|
||||||
* If the element does not have a valid context, its container element
|
* If the element does not have a valid context, its container element
|
||||||
* is itself.
|
* is itself.
|
||||||
|
|
Загрузка…
Ссылка в новой задаче