Skip to content

Deprecate display:none on spans#209

Merged
dstelzer merged 6 commits intomainfrom
invisible-warning
Mar 23, 2026
Merged

Deprecate display:none on spans#209
dstelzer merged 6 commits intomainfrom
invisible-warning

Conversation

@dstelzer
Copy link
Copy Markdown
Contributor

Addresses #193 . Special-casing the spacing around invisible spans was a headache, and I couldn't get it consistent on all backends. So now, the manual and the compiler both warn against it.

Invisible divs are fine and fully supported. Use those instead. Or put (no space) on either side of your invisible span and live with the consequences.

@dstelzer dstelzer linked an issue Mar 16, 2026 that may be closed by this pull request
@dstelzer dstelzer merged commit 3bb92b6 into main Mar 23, 2026
6 of 8 checks passed
@dstelzer dstelzer deleted the invisible-warning branch March 23, 2026 20:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Spacing is incorrect around invisible spans

1 participant