mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implement HTMLHyperlinkElementUtils for HTMLAnchorElement
This commit is contained in:
parent
446783f7b6
commit
c96c26b4f7
26 changed files with 369 additions and 1606 deletions
|
@ -4,17 +4,23 @@
|
|||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlhyperlinkelementutils
|
||||
//[NoInterfaceObject/*, Exposed=Window*/]
|
||||
//interface HTMLHyperlinkElementUtils {
|
||||
[NoInterfaceObject/*, Exposed=Window*/]
|
||||
interface HTMLHyperlinkElementUtils {
|
||||
// stringifier attribute USVString href;
|
||||
attribute USVString href;
|
||||
// attribute USVString origin;
|
||||
// attribute USVString protocol;
|
||||
// attribute USVString username;
|
||||
// attribute USVString password;
|
||||
// attribute USVString host;
|
||||
// attribute USVString hostname;
|
||||
// attribute USVString port;
|
||||
// attribute USVString pathname;
|
||||
// attribute USVString search;
|
||||
// attribute USVString hash;
|
||||
//};
|
||||
attribute USVString protocol;
|
||||
attribute USVString username;
|
||||
attribute USVString password;
|
||||
attribute USVString host;
|
||||
attribute USVString hostname;
|
||||
attribute USVString port;
|
||||
attribute USVString pathname;
|
||||
attribute USVString search;
|
||||
attribute USVString hash;
|
||||
|
||||
// Adding a separate stringifier method until
|
||||
// https://github.com/servo/servo/issues/7590 adds attribute stringifier
|
||||
// support.
|
||||
stringifier;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue