LibWeb/HTML: Update spec text related to template's content

Corresponds to:
aa52274b5a
This commit is contained in:
Sam Atkins 2025-11-27 09:44:12 +00:00
parent 39ad7833f0
commit a25cb679fb
Notes: github-actions[bot] 2025-11-27 10:27:18 +00:00
3 changed files with 24 additions and 14 deletions

View file

@ -1263,7 +1263,7 @@ void HTMLParser::handle_in_head(HTMLToken& token)
// 4. Set shadow's declarative to true.
shadow.set_declarative(true);
// 5. Set template's template contents property to shadow.
// 5. Set template's template contents to shadow.
as<HTMLTemplateElement>(*template_).set_template_contents(shadow);
// 6. Set shadow's available to element internals to true.