mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement the whole Attr interface
This commit is contained in:
parent
23b75816a2
commit
96e42feaa1
4 changed files with 25 additions and 55 deletions
|
@ -9,10 +9,14 @@
|
|||
*/
|
||||
|
||||
interface Attr {
|
||||
readonly attribute DOMString localName;
|
||||
attribute DOMString value;
|
||||
|
||||
readonly attribute DOMString name;
|
||||
readonly attribute DOMString? namespaceURI;
|
||||
readonly attribute DOMString? prefix;
|
||||
readonly attribute DOMString localName;
|
||||
readonly attribute DOMString name;
|
||||
attribute DOMString value;
|
||||
attribute DOMString textContent; // alias of .value
|
||||
|
||||
readonly attribute Element? ownerElement;
|
||||
|
||||
readonly attribute boolean specified; // useless; always returns true
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue