- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 6 May 2014 23:39:34 -0700
- To: Ian Hickson <ian@hixie.ch>
- Cc: WHAT Working Group <whatwg@whatwg.org>, Boris Zbarsky <bzbarsky@MIT.EDU>
[ resending this message, originally dated "Date: Tue, 29 Apr 2014 11:42:10 -0700", since I just noticed it didn't make it through to the list due to the list's content-type filters rejecting signed messages ] On Tuesday 2014-04-29 17:55 +0000, Ian Hickson wrote: > On Wed, 29 Jan 2014, Tab Atkins Jr. wrote: > > > > We talked this over in the CSSWG meeting, and came up with a proposal > > for non-magical styling that is still very close to current behavior in > > all browsers: > > > > br { > > display-box: contents; > > content: "\A"; > > white-space: pre; > > } > > I've filed a bug to track this. It would be useful if browser vendors > could indicate whether they think Tab's proposal is satisfactory (in > particular, is 'display-box' something that browsers will implement? > Apparently Gecko is doing it, anyone else?). > > https://www.w3.org/Bugs/Public/show_bug.cgi?id=25503 I might not want to implement <br> this way, since display-box: contents involves a bit of complexity that I wouldn't want to impose on such a common element. Then again, we could perhaps special-case <br> inside the implementation of display-box: contents. But it's not just a trivial matter of removing the existing <br> implementation and replacing it with the above. -David -- 𝄞 L. David Baron http://dbaron.org/ 𝄂 𝄢 Mozilla https://www.mozilla.org/ 𝄂 Before I built a wall I'd ask to know What I was walling in or walling out, And to whom I was like to give offense. - Robert Frost, Mending Wall (1914)
Received on Wednesday, 7 May 2014 06:40:01 UTC