Files
ukimsanov 86e7fe1433 fix(core/lint): findRootTag ignores <video>-like tokens inside HTML comments / <style> / <script>
A literal `<video>` written inside a CSS comment block (e.g.
`/* card uses <video> as surface */`) was being picked as the
composition root, producing two cascading false errors:
`root_missing_composition_id` + `root_missing_dimensions`.

`findRootTag` now masks comment + style + script ranges (with same-length
whitespace so tag offsets stay aligned) before running the tag scan.
Existing `stripJsComments` / `extractScriptTextsAndSrcs` exports preserved
(downstream rule consumers in rules/{adapters,composition,core,gsap}.ts
still read `rootTag.raw` + `rootTag.index` against the real source
offsets — safe under the new masking).
2026-06-14 15:00:49 -07:00
..
2026-06-13 02:04:21 -04:00
2026-06-13 02:04:21 -04:00
2026-06-13 02:04:21 -04:00
2026-06-13 02:04:21 -04:00