Re: [csswg-drafts] [css-text] Is the test CSS2/text/text-align-white-space-007.xht valid? (#6344)

I suspect the reason for this test is not just the end-of-line hanging, but mainly that [the spec says](https://drafts.csswg.org/css-text-3/#text-align-property):

> If an element’s white space is not collapsible, then the UA is not required to adjust its text for the purpose of justification and may instead treat the text as having no justification opportunities.

The test does have the "may" piece of meta data, meaning that it's ok to fail, but given that this is merely an allowance for legacy behavior, rather than a requirement or event a suggestion, I agree just deleting the test is probably best.

From a spec point of view, this used to be a requirement in css2, which css-text-3 merely relaxed, but if Firefox aligns with others, then we'll have interoperability on the opposite behavior, so maybe we should spec that behavior, even if it's a breaking change with CSS2.

cc: @fantasai 

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


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

Received on Monday, 7 June 2021 01:36:08 UTC