mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add macro for reflecting URLs
This commit is contained in:
parent
e9f654d60a
commit
8cba6c7580
3 changed files with 32 additions and 15 deletions
|
@ -100,7 +100,7 @@ impl<'a> HTMLImageElementMethods for JSRef<'a, HTMLImageElement> {
|
|||
|
||||
make_setter!(SetAlt, "alt")
|
||||
|
||||
make_getter!(Src)
|
||||
make_url_getter!(Src)
|
||||
|
||||
make_setter!(SetSrc, "src")
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue