mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 04:39:06 +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
Notes:
sideshowbarker
2024-07-17 08:30:44 +09:00
Author: https://github.com/AtkinsSJ
Commit: 8d2d315858
Pull-request: https://github.com/SerenityOS/serenity/pull/14716
Reviewed-by: https://github.com/kennethmyhra
Reviewed-by: https://github.com/linusg
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