mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Support link target attribute
This commit is contained in:
parent
cc7953e25e
commit
b11bf86848
4 changed files with 7 additions and 136 deletions
|
@ -139,6 +139,12 @@ impl HTMLAnchorElementMethods for HTMLAnchorElement {
|
|||
// https://html.spec.whatwg.org/multipage/#dom-a-shape
|
||||
make_setter!(SetShape, "shape");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-hyperlink-target
|
||||
make_getter!(Target, "target");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#attr-hyperlink-target
|
||||
make_setter!(SetTarget, "target");
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-hyperlink-hash
|
||||
fn Hash(&self) -> USVString {
|
||||
// Step 1.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue