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

> 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.

Thanks,

Takao

[1] https://drafts.csswg.org/css-text-3/#overflow-wrap-property
----------------------------------------------------
Takao Baba (baba@bpsinc.jp)
Beyond Perspective Solutions Co., Ltd.
Tel: 03-6279-4320 Fax: 03-6279-4450
http://www.bpsinc.jp


On Sat, Apr 23, 2016 at 9:45 AM, 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.
>
>
> Charles Belov
> Webmaster
> San Francisco Municipal Transportation Agency
> 1 South Van Ness Avenue, 3rd Floor
> San Francisco, CA  94103
> Email: charles.belov@sfmta.com
> Phone: 415.701.4388
> www.sfmta.com
>
> Find us on: Facebook Twitter YouTube
>

Received on Tuesday, 26 April 2016 01:02:37 UTC