- From: Jon Ronnenberg <jon.ronnenberg@gmail.com>
- Date: Fri, 19 Apr 2013 02:23:00 +0200
- To: Biju <bijumaillist@gmail.com>
- Cc: "www-style@w3.org" <www-style@w3.org>
- Message-ID: <CAPEZGVu-9FoDA-auyH92DCNiTszx1EPwVr69N9Z26SurHUYEpw@mail.gmail.com>
Hi guys. I just want to point out that Bert's feature request could help sooth a much bigger issue that we (front end devs) are battling with fluid grid systems. As the discussions at https://github.com/csswizardry/inuit.css/issues/194 and https://github.com/csswizardry/inuit.css/issues/170 show. As the CSS3 Text Module <http://www.w3.org/TR/css3-text/#white-space> is still a working draft, would anyone mind that, 'white-space': discard|ignore is written into the draft? There is already a note, ISSUE 3, that states *"There have been requests for the ability to "discard" white space; the current definition has no facility for this."* Cheers, Jon.* * 2013/3/30 Biju <bijumaillist@gmail.com> > > On 29 March 2013 13:19, Tab Atkins Jr. <jackalmage@gmail.com> wrote: > >> On Tue, Dec 18, 2012 at 2:55 PM, Zack Weinberg <zackw@panix.com> wrote: >> > The whitespace node comes from pretty-printing of the HTML source and >> > was not intended to be significant. It would be nice if there were a >> >> This is covered by the 'text-space-collapse' property, experimentally >> specced in Text 4: >> <http://dev.w3.org/csswg/css-text-4/#white-space-collapsing> In >> particular, the 'discard' value. >> >> There's an issue in the spec already that points out how several of >> the values don't work well with this being inherited. We haven't >> given Text 4 much love yet, so there hasn't been much thought into how >> to solve that. >> >> ~TJ >> >> > Because of this, to make focus ring correct I sometimes write > pretty-printed html like > > <a href=p.htm> > <img src=i.jpg > ></a> > > So a question on > <http://dev.w3.org/csswg/css-text-4/#white-space-collapsing> > Depending on situation, I want to treat spaces in following html > differently. > > ----- html text ------ > before > <a href=p.htm> > <img src=i.jpg> > <img src=j.jpg> > </a> > after > ----- html text end ------ > > Example it can mean any one of the following > > ----- possible choice ------ > before <a href=p.htm><img src=i.jpg> <img src=j.jpg></a> after > before <a href=p.htm><img src=i.jpg><img src=j.jpg></a> after > before<a href=p.htm><img src=i.jpg><img src=j.jpg></a> after > before<a href=p.htm><img src=i.jpg><img src=j.jpg></a>after > ----- possible choice end ------ > > Whether white-space-collapsing will offer all the possible to choose from? > > > Cheers > Biju > > >
Received on Friday, 19 April 2013 00:23:29 UTC