mirror of
https://github.com/servo/servo.git
synced 2025-09-30 00:29:14 +01:00
script: Implement trusted types for Range.createContextualFragment
(#38874)
Part of #36258 Signed-off-by: Tim van der Lippe <tvanderlippe@gmail.com>
This commit is contained in:
parent
d94929dbed
commit
3708d493b9
5 changed files with 28 additions and 20 deletions
|
@ -2981,6 +2981,7 @@ impl Element {
|
|||
}
|
||||
|
||||
/// Step 4 of <https://html.spec.whatwg.org/multipage/#dom-element-insertadjacenthtml>
|
||||
/// and step 6. of <https://html.spec.whatwg.org/multipage/#dom-range-createcontextualfragment>
|
||||
pub(crate) fn fragment_parsing_context(
|
||||
owner_doc: &Document,
|
||||
element: Option<&Self>,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue