Re: [svgwg] space trimming in the context of text/tspan (#1114)

Recommendation: We should probably drop `xml:space="default"` value. 
1. it is not implemented according to the rules defined for it. 
2. We should simplify the full section to explain that the rules for xml:space needs to follow white-space-collapse as noted in ANNOTATION 34.

> This section should be simplified to limit the discussion of xml:space and instead define it in the user agent style sheet using the [white-space](https://www.w3.org/TR/css-text-3/#white-space-property) property. The [CSS Text 4](https://drafts.csswg.org/css-text-4/) specification's preserve-spaces value for the ['white-space-collapse'](https://drafts.csswg.org/css-text-4/#white-space-collapsing) property is intended to match xml:space=preserve. ([fantasai agreed](https://log.csswg.org/irc.w3.org/css/2015-02-08/#e519951) to add an appropriate value for [white-space](https://www.w3.org/TR/css-text-3/#white-space-property) to match SVG 1.1's odd xml:space="preserve" behavior.)

-- 
GitHub Notification of comment by karlcow
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1114#issuecomment-4562665115 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 28 May 2026 09:37:16 UTC