mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
Update WHATWG links to use HTTPS
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' ```
This commit is contained in:
parent
55de52d76a
commit
5eaa922045
152 changed files with 378 additions and 378 deletions
|
@ -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))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue