Keep 1st collapsible space after a preserved one (#32037)

The logic was to remove any collapsible white space preceded by other
white space. However, this should only happen if the preceding space
is also collapsible.

Also fixing the logic in ContentSizesComputation, which was wrong
but previously it didn't matter.
This commit is contained in:
Oriol Brufau 2024-04-15 14:02:09 +02:00 committed by GitHub
parent 5083dc7d17
commit 1898394cb3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
3 changed files with 19 additions and 17 deletions

View file

@ -1,2 +0,0 @@
[white-space-mixed-002.xht]
expected: FAIL