aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/htmliframeelement.rs
diff options
context:
space:
mode:
authorAnthony Ramine <n.oxyde@gmail.com>2017-10-15 10:59:01 +0200
committerAnthony Ramine <n.oxyde@gmail.com>2017-10-15 11:03:20 +0200
commitc7b1d3054f9e87cf7ae7b10df5fbf5a97f6448f4 (patch)
tree08886f4fabb29cac0b0ba7cb341477ab8f28a757 /components/script/dom/htmliframeelement.rs
parent8b366a7441a7a4febcb5e2047807f9ad447c7adb (diff)
downloadservo-c7b1d3054f9e87cf7ae7b10df5fbf5a97f6448f4.tar.gz
servo-c7b1d3054f9e87cf7ae7b10df5fbf5a97f6448f4.zip
Change AttrValue::Url to AttrValue::ResolvedUrl
There is actually only one attribute that can use that, the one for <body background>.
Diffstat (limited to 'components/script/dom/htmliframeelement.rs')
-rw-r--r--components/script/dom/htmliframeelement.rs3
1 files changed, 1 insertions, 2 deletions
diff --git a/components/script/dom/htmliframeelement.rs b/components/script/dom/htmliframeelement.rs
index 2346358aabd..61828e4b404 100644
--- a/components/script/dom/htmliframeelement.rs
+++ b/components/script/dom/htmliframeelement.rs
@@ -571,7 +571,7 @@ impl HTMLIFrameElementMethods for HTMLIFrameElement {
make_url_getter!(Src, "src");
// https://html.spec.whatwg.org/multipage/#dom-iframe-src
- make_url_setter!(SetSrc, "src");
+ make_setter!(SetSrc, "src");
// https://html.spec.whatwg.org/multipage/#dom-iframe-sandbox
fn Sandbox(&self) -> DomRoot<DOMTokenList> {
@@ -761,7 +761,6 @@ impl VirtualMethods for HTMLIFrameElement {
fn parse_plain_attribute(&self, name: &LocalName, value: DOMString) -> AttrValue {
match name {
- &local_name!("src") => AttrValue::from_url(document_from_node(self).base_url(), value.into()),
&local_name!("sandbox") => AttrValue::from_serialized_tokenlist(value.into()),
&local_name!("width") => AttrValue::from_dimension(value.into()),
&local_name!("height") => AttrValue::from_dimension(value.into()),