mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Auto merge of #10762 - canaltinova:has_attributes, r=nox
Implement Element::hasAttributes Fixes #10748 . Implement Element::hasAttributes. I'm not sure if tests are enough. I'm open to suggestion :) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/10762) <!-- Reviewable:end -->
This commit is contained in:
commit
8163347e34
6 changed files with 55 additions and 9 deletions
|
@ -35,6 +35,8 @@ interface Element : Node {
|
|||
[Pure]
|
||||
sequence<DOMString> getAttributeNames();
|
||||
[Pure]
|
||||
boolean hasAttributes();
|
||||
[Pure]
|
||||
DOMString? getAttribute(DOMString name);
|
||||
[Pure]
|
||||
DOMString? getAttributeNS(DOMString? namespace, DOMString localName);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue