Re: [css-text] Need for something between keep-all and break-all

On Apr 25, 2016, at 6:01 PM, Takao Baba <baba@bpsinc.jp> wrote:

>> Short words would follow keep-all rules but if I put an URL (which is actually not a link on the web page but rather for someone to copy and paste) such as http://www.example.com/125158459823508917582157819257821587128572458712457128957128571824591257198571245871458921857195712154589125879125891759218571928572185712341254897243487249872498172489438 9123574128954.ics in the middle of them I want that to follow break-all rules instead.
> 
> How about using "overflow-wrap: break-word" [1] ?
> I usually use it to break long URLs.

It'd be nice if there could be something like 'overflow-wrap: after("/", ".", ) before("?");' to define the slash and period characters as places where the line could break after, and the question mark character as a place where the line could break before, when there are no otherwise-acceptable break points in the line. And then fall back to 'break-word' if it still doesn't break (as in the OP). 

Received on Tuesday, 26 April 2016 02:21:56 UTC