mirror of
https://github.com/servo/servo.git
synced 2025-07-22 23:03:42 +01:00
parent
f5e97ef1b5
commit
9c11781880
20 changed files with 25 additions and 29 deletions
|
@ -231,7 +231,7 @@ impl<'a> HTMLScriptElementHelpers for &'a HTMLScriptElement {
|
|||
}
|
||||
// Step 4.
|
||||
let text = self.Text();
|
||||
if text.len() == 0 && !element.has_attribute(&atom!("src")) {
|
||||
if text.is_empty() && !element.has_attribute(&atom!("src")) {
|
||||
return NextParserState::Continue;
|
||||
}
|
||||
// Step 5.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue