[css-text-3] Clarify Segment Break Transformation Rules when mutiple segment breaks involve #836
Labels
Closed Accepted as Obvious Bugfix
css-text-3
Current Work
Tested
Memory aid - issue has WPT tests
Tracked in DoC
The first rule for collapsing segment breaks is:
It is not clear to me what should happen if there are multiple segment breaks involve here. For example, if I have
ZWSP LF LF LF x
, would this rule produce:ZWSP LF LF x
(with only the firstLF
removed), orZWSP x
(with allLF
removed because of recursively applying this rule)?(In the first case, the remaining
LF
s would be converted to whitespaces by the last rule there, and the second whitespace would be removed by step 4 of Phase I, so the final result would beZWSP WS x
.)This may also affect the second rule:
If I have
W LF LF W
, should the twoLF
s be removed by this rule?It seems to me that removing all segment breaks together would be easier for implementation, so I would propose making the rules that way if there are no other concerns.
The text was updated successfully, but these errors were encountered: