mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
Infrastructure for synchronous script loading
This implements the parts of the "prepare a script element" algorithm that are required for synchronous scripts. It also adds some infrastructure for future support of the `async` and `defer` attributes.
This commit is contained in:
parent
5858fccf87
commit
65a0d1fe9a
4 changed files with 142 additions and 14 deletions
|
@ -233,7 +233,7 @@ pub fn build_element_from_tag(name: QualName,
|
|||
atom!("ruby") => make!(HTMLElement),
|
||||
atom!("s") => make!(HTMLElement),
|
||||
atom!("samp") => make!(HTMLElement),
|
||||
atom!("script") => make!(HTMLScriptElement),
|
||||
atom!("script") => make!(HTMLScriptElement, true),
|
||||
atom!("section") => make!(HTMLElement),
|
||||
atom!("select") => make!(HTMLSelectElement),
|
||||
atom!("small") => make!(HTMLElement),
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue