How should createContextualFragment interact with `<script>` inside `<template>`?
Nobody has claimed this yet.
- Dominant language
- HTML
- Stars
- 28
- Forks
- 14
- Avg merge
- 3h 10m
- Merged PRs (30d)
- 1
Description
https://w3c.github.io/DOM-Parsing/#extensions-to-the-range-interface (why can't I link directly to the createContextualFragment method definition?) says in step 4:
Unmark all scripts in fragment node as "already started".
What does "in fragment node" mean? Does this mean descendants of the node or something else? Specifically, what happens if there is a <template> descendant which has a <script> inside its DocumentFragment? Will that <script> be unmarked or not?
// cc @annevk, @domenic
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the DOM-Parsing specification's Range Extensions section and the createContextualFragment method, then trace how template descendants and their DocumentFragments are defined. Done means reaching and recording an unambiguous resolution for whether the script is included by step 4.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- html
- Domain
- documentation, web-dev
- Issue type
- Documentation
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100