mirror of
https://github.com/servo/servo.git
synced 2025-08-06 06:00:15 +01:00
script: Implement Element::GetHTML
and ShadowRoot::GetHTML
(#36106)
* Serialize html fragments without going through html5ever Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Implement ShadowRoot::GetHtml / Element::GetHtml Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Update WPT expectations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> * Propagate CanGc annotations Signed-off-by: Simon Wülker <simon.wuelker@arcor.de> --------- Signed-off-by: Simon Wülker <simon.wuelker@arcor.de>
This commit is contained in:
parent
1c9f486f88
commit
19d5f5f06f
12 changed files with 286 additions and 15941 deletions
|
@ -81,6 +81,8 @@ mod html;
|
|||
mod prefetch;
|
||||
mod xml;
|
||||
|
||||
pub(crate) use html::serialize_html_fragment;
|
||||
|
||||
#[dom_struct]
|
||||
/// The parser maintains two input streams: one for input from script through
|
||||
/// document.write(), and one for input from network.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue