Re: [csswg-drafts] [css-text] Non-Collapsible Space (#10821)

> Also, the linked article makes untrue statements like "all newlines at the start of a `<pre>` tag are dropped" (it's its server who is doing that!) so it doesn't give the impression to know what it's talking about.

[Minor nit: newlines at the literal start or end of the node's text content are *not* rendered. But only at those positions and only if they're newlines.](https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcIB0ALeBbKIANCAGYCWMYaA2qAHYCGuEamO+RIsA9nYn6wA8ABwBOEAARh4ATxgBeADogARg1gBrAOajuAVzpIAtDyjdRqCQGIAYgEE7ygHyK6rgBLQzEgO7moSK6uggD0YhAubnQi4lKyCspqmjr6hibcZhbWDjbOHl7cvv6B0WHikcHhcXIQSqrq2roGxqbmllZ29s6eUN5+ogGh4U6ckDAIZLxU6ACMAAyoACwA7CAAvoT0TCzoGABWVMQ8fBAC6OubIIzMrBiwYIdcvPzwrOsAumtAA)

[Adding zero-width spaces helps repair this spacing modification.](https://flems.io/#0=N4IgzgpgNhDGAuEAmIBcIB0ALeBbKIANCAGYCWMYaA2qAHYCGuEamO+RIsA9nYn6wA8ABwBOEAARh4ATxgBeADogARg1gBrAOajuAVzpIAtDyjdRqCQGIAYgEE7ygHwAyKwA4ATAAYAzAG5FOiCACWgzCQB3cygkIKC3Lz9-QQB6MQgneLoRcSlZBWU1TR19QxNuMwtrBxtnRJ8A0PDuKJi4ugbktIys4JyM-LkIJVV1bV0DY1NzSys7e3qPRv8wqAjo0ViugJ7xJ05IGAQyXip0AEZvVAA2C5AAX0J6JhZ0DAArKmIePggBdCPZ4gRjMVgYWBgb5cXj8eCsR4AXQeQA) And zero width spaces should be treated as space by any functioning screen reader.

-- 
GitHub Notification of comment by dead-claudia
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10821#issuecomment-2661718154 using your GitHub account


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

Received on Monday, 17 February 2025 00:40:40 UTC