diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-04-14 02:57:41 -0500 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-04-14 02:57:41 -0500 |
commit | 4997d3a112354a407365fede1ab1944834a2e13c (patch) | |
tree | 15f0302b2c182fe4847e8495f2a33d42ea5f7097 /components/script/dom/htmloptionelement.rs | |
parent | b7f59a36461e6c9eb08b8e48760168d3cb26a400 (diff) | |
parent | 5eaa92204599332d8f1fdfb04da302136161db55 (diff) | |
download | servo-4997d3a112354a407365fede1ab1944834a2e13c.tar.gz servo-4997d3a112354a407365fede1ab1944834a2e13c.zip |
Auto merge of #5677 - frewsxcv:https, r=Ms2ger
Extracted this out of #5649
This commit was created with the following commands:
```
find . -iname "*.webidl" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
```
find . -iname "*.rs" -type f -print0 | xargs -0 sed -i '' 's/http:\(.*\)whatwg.org/https:\1whatwg.org/g'
```
Diffstat (limited to 'components/script/dom/htmloptionelement.rs')
-rw-r--r-- | components/script/dom/htmloptionelement.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/components/script/dom/htmloptionelement.rs b/components/script/dom/htmloptionelement.rs index 2ae9ad7c2a1..0a306995011 100644 --- a/components/script/dom/htmloptionelement.rs +++ b/components/script/dom/htmloptionelement.rs @@ -69,16 +69,16 @@ fn collect_text(node: &JSRef<Node>, value: &mut DOMString) { } impl<'a> HTMLOptionElementMethods for JSRef<'a, HTMLOptionElement> { - // http://www.whatwg.org/html/#dom-option-disabled + // https://www.whatwg.org/html/#dom-option-disabled make_bool_getter!(Disabled); - // http://www.whatwg.org/html/#dom-option-disabled + // https://www.whatwg.org/html/#dom-option-disabled fn SetDisabled(self, disabled: bool) { let elem: JSRef<Element> = ElementCast::from_ref(self); elem.set_bool_attribute(&atom!("disabled"), disabled) } - // http://www.whatwg.org/html/#dom-option-text + // https://www.whatwg.org/html/#dom-option-text fn Text(self) -> DOMString { let node: JSRef<Node> = NodeCast::from_ref(self); let mut content = String::new(); @@ -87,7 +87,7 @@ impl<'a> HTMLOptionElementMethods for JSRef<'a, HTMLOptionElement> { v.connect(" ") } - // http://www.whatwg.org/html/#dom-option-text + // https://www.whatwg.org/html/#dom-option-text fn SetText(self, value: DOMString) { let node: JSRef<Node> = NodeCast::from_ref(self); node.SetTextContent(Some(value)) |