closing_tag_omitted() — svelte Function Reference
Architecture documentation for the closing_tag_omitted() function in html-tree-validation.js from the svelte codebase.
Entity Profile
Dependency Diagram
graph TD 7ec6d0f3_b0cd_2507_bb13_dc789839227c["closing_tag_omitted()"] 302f84f3_ec7c_fd57_5b8e_e2f3ec2953b7["html-tree-validation.js"] 7ec6d0f3_b0cd_2507_bb13_dc789839227c -->|defined in| 302f84f3_ec7c_fd57_5b8e_e2f3ec2953b7 be9cd3f4_bdc5_dc26_dae4_4a34e45ab7eb["element()"] be9cd3f4_bdc5_dc26_dae4_4a34e45ab7eb -->|calls| 7ec6d0f3_b0cd_2507_bb13_dc789839227c style 7ec6d0f3_b0cd_2507_bb13_dc789839227c fill:#6366f1,stroke:#818cf8,color:#fff
Relationship Graph
Source Code
packages/svelte/src/html-tree-validation.js lines 63–74
export function closing_tag_omitted(current, next) {
const disallowed = autoclosing_children[current];
if (disallowed) {
if (
!next ||
('direct' in disallowed ? disallowed.direct : disallowed.descendant).includes(next)
) {
return true;
}
}
return false;
}
Domain
Subdomains
Defined In
Called By
Source
Frequently Asked Questions
What does closing_tag_omitted() do?
closing_tag_omitted() is a function in the svelte codebase, defined in packages/svelte/src/html-tree-validation.js.
Where is closing_tag_omitted() defined?
closing_tag_omitted() is defined in packages/svelte/src/html-tree-validation.js at line 63.
What calls closing_tag_omitted()?
closing_tag_omitted() is called by 1 function(s): element.
Analyze Your Own Codebase
Get architecture documentation, dependency graphs, and domain analysis for your codebase in minutes.
Try Supermodel Free