mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:47:46 +00:00
LibWeb: Extract the HTMLHyperlinkElementUtils IDL mixin
Also added FIXMEs for some missing methods while I was at it.
This commit is contained in:
parent
abd359a921
commit
8d2d315858
3 changed files with 37 additions and 28 deletions
|
@ -1,31 +1,24 @@
|
|||
#import <HTML/HTMLElement.idl>
|
||||
#import <HTML/HTMLHyperlinkElementUtils.idl>
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/text-level-semantics.html#htmlanchorelement
|
||||
interface HTMLAnchorElement : HTMLElement {
|
||||
// FIXME: [HTMLConstructor] constructor();
|
||||
|
||||
[Reflect] attribute DOMString target;
|
||||
[Reflect] attribute DOMString download;
|
||||
[Reflect] attribute DOMString ping;
|
||||
[Reflect] attribute DOMString rel;
|
||||
// FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
|
||||
[Reflect] attribute DOMString hreflang;
|
||||
[Reflect] attribute DOMString type;
|
||||
|
||||
// Obsolete
|
||||
[Reflect] attribute DOMString coords;
|
||||
[Reflect] attribute DOMString charset;
|
||||
[Reflect] attribute DOMString name;
|
||||
[Reflect] attribute DOMString rev;
|
||||
[Reflect] attribute DOMString shape;
|
||||
|
||||
// FIXME: This should come from a HTMLHyperlinkElementUtils mixin
|
||||
[CEReactions] stringifier attribute USVString href;
|
||||
readonly attribute USVString origin;
|
||||
[CEReactions] attribute USVString protocol;
|
||||
[CEReactions] attribute USVString username;
|
||||
[CEReactions] attribute USVString password;
|
||||
[CEReactions] attribute USVString host;
|
||||
[CEReactions] attribute USVString hostname;
|
||||
[CEReactions] attribute USVString port;
|
||||
[CEReactions] attribute USVString pathname;
|
||||
[CEReactions] attribute USVString search;
|
||||
[CEReactions] attribute USVString hash;
|
||||
|
||||
};
|
||||
|
||||
HTMLAnchorElement includes HTMLHyperlinkElementUtils;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue