- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Tue, 24 Jan 2017 19:30:28 +0000
- To: public-css-archive@w3.org
The CSSWG concluded that we are not adding new display types for
`<br>` and `<wbr>` as their behavior can be adequately explained by
existing CSS rules such as those listed in the above discussion, and a
new display type is an unnecessary burden to carry over in the Web
platform forever. Engine optimization of this implementation is of
course already allowed, and to simplify this the spec can specify
`all: reset !important;` for the UA style sheet to prevent any author
modification. Thus
```
br { all: reset !important; display: contents !important; content:
"\a" !important; white-space: pre !important; }
wbr { all: reset !important; display: contents !important; content:
"\200B" !important; }
```
should be enough to implement this in the HTML spec.
--
GitHub Notification of comment by fantasai
Please view or discuss this issue at
https://github.com/w3c/csswg-drafts/issues/610#issuecomment-274911199
using your GitHub account
Received on Tuesday, 24 January 2017 19:30:34 UTC