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

> On Apr 25, 2016, at 5:19 PM, Alan Stearns <stearns@adobe.com> wrote:
> 
>> On 4/22/16, 5:45 PM, "Belov, Charles" <Charles.Belov@sfmta.com> wrote:
>> 
>> With regard to CSS Text Module Level 3, 5.3. Breaking Rules for Letters: the ¡®word-break¡¯ property https://www.w3.org/TR/css-text/#word-break-property
>> 
>> I am looking for something between keep-all and break-all, perhaps when-needed or too-wide. 
>> 
>> For example, given the following text within a single HTML DOM element that is wide enough to display several short words but is not wide enough to display the URL shown:
>> 
>> 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/1251584598235089175821578192578215871285724587124571289571285718245912571985712458714589218571957121545891258791258917592185719285721857123412548972434872498724981724894389123574128954.ics in the middle of them I want that to follow break-all rules instead.
> 
> Shouldn¡¯t this be solved by adding an inline element that contains the URL, and styling that element to break-all?

No. I'm usually styling someone else's HTML. And it's usually a much bigger deal to get someone to rewrite all the pages of the site, when that's even remotely possible, than it is to change the CSS in a shared style sheet. 

Received on Tuesday, 26 April 2016 02:26:33 UTC