W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2016

Re: [csswg-drafts] [css-text] spaces before break in 'pre-wrap' text should allow combination of hanging and collapsing

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Thu, 18 Aug 2016 20:00:50 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-240838879-1471550448-sysbot+gh@w3.org>
If I read correctly, no change is required from Edge at this point, 
except if Gecko decides it is best to match Chrome in this case (then 
we need to have the spec updated). Do you have any ETA for the patch 
you want to submit? Is there any live-site bug you are trying to fix?

-----------------------

Another variant that is interesting to try out is to apply 
"text-align: justify" on the element (maybe "center" would reveal 
interesting things, too).

- In Edge, we only justify as a shrink to fit for the whitespace that 
does not fit (and when you try to select it, suddenly we stop applying
 text-align:justify on the whole line).
- In Chrome, the whitespace gets trimmed and non-whitespace text 
occupies both ends of the container.
- In Firefox, this cannot happpen at this time, so the problem does 
not apply. 

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/277#issuecomment-240838879 
using your GitHub account
Received on Thursday, 18 August 2016 20:00:57 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:22 UTC