mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Support stringifier attributes
This commit is contained in:
parent
97c01fc479
commit
691af0e98b
14 changed files with 11 additions and 73 deletions
|
@ -526,11 +526,6 @@ impl HTMLAnchorElementMethods for HTMLAnchorElement {
|
|||
// Step 5.
|
||||
self.update_href(url);
|
||||
}
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#dom-hyperlink-href
|
||||
fn Stringifier(&self) -> DOMString {
|
||||
DOMString::from(self.Href().0)
|
||||
}
|
||||
}
|
||||
|
||||
impl Activatable for HTMLAnchorElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue