test: add regression coverage from adversarial review probes #44
No reviewers
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set
Reference
repos/svelte-sublime!44
Loading…
Reference in a new issue
No description provided.
Delete branch "chore/probe-test-coverage"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Ports validated assertions from the adversarial review of #39/#40/#41 into the committed suite, converting one-time verification into permanent CI coverage:
Interpolated style attributes (#39): nested braces (
{fn({a: 1})}including termination at the correct closing brace), quote-swapped ternaries,url({src}), escaped quotes in CSS strings, CSS comments, custom properties,!important/multi-declaration, multiline values, and thestyle:directive.Component string attributes (#39):
style/onclickon components stay plain string props (no CSS/JS embedding); nativeonclickkeeps JS embedding.Lang/type deciders (#40): unquoted values (
lang=ts,type=text/typescript), casing (LANG="TS"), unknown/empty language fallbacks to JS/CSS, and thelanguage=long form.MDSVEX invariants (#41): Svelte stays raw inside fenced and inline code (with positive raw-scope assertions on a neutral fence, so future
svelte-fence embedding stays possible), script/style embedding in.svx,{@html}expression embedding,{#await}chains, and unclosed-block containment.All assertions validated locally against ST 4143 and 4207.