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: Jason Woofenden via GitHub <sysbot+gh@w3.org>
Date: Wed, 17 Aug 2016 15:20:02 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-240446215-1471447200-sysbot+gh@w3.org>
The only case I can think of where hanging space would be worse is 
when selecting text in <textarea>s. I think it would be confusing to 
have the hilight extend beyond the textarea.

I'm trying to get my patch to gecko merged which improves its handling
 of pre-wrap breaking. It collapses the portion of the whitespace that
 overflows the box bounds, because I can do this easily (I'm new to 
gecko development). I think it's a vast improvement on gecko's current
 behaviour which is to break in the wrong place (it wraps words to the
 next line that fit just fine on the current line)

It would take someone with more knowledge of gecko than me to 
implement spaces that hang outside of bounding boxes without 
triggering overflow/scrollbars/etc.

I hope they merge my patch in the meantime.

-- 
GitHub Notification of comment by JasonWoof
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/277#issuecomment-240446215 
using your GitHub account
Received on Wednesday, 17 August 2016 15:20:10 UTC

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