mirror of
https://github.com/servo/servo.git
synced 2025-07-23 15:23:42 +01:00
Remove a pointless level of indentation.
This commit is contained in:
parent
a701397a9d
commit
b96594ea50
1 changed files with 8 additions and 8 deletions
|
@ -65,7 +65,8 @@ fn collect_text(element: &Element, value: &mut DOMString) {
|
|||
let html_script = element.is_htmlscriptelement();
|
||||
if svg_script || html_script {
|
||||
return;
|
||||
} else {
|
||||
}
|
||||
|
||||
for child in NodeCast::from_ref(element).children() {
|
||||
if child.r().is_text() {
|
||||
let characterdata = CharacterDataCast::to_ref(child.r()).unwrap();
|
||||
|
@ -74,7 +75,6 @@ fn collect_text(element: &Element, value: &mut DOMString) {
|
|||
collect_text(element_child, value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
impl HTMLOptionElementMethods for HTMLOptionElement {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue