Re: [csswg-drafts] interoperability regarding to styling <br> and <wbr>

Thanks for the information.

Based on my understanding, there seems to be two concerns at https://github.com/whatwg/html/issues/2291
1. Performance;
2. Costly Implementation for a  comparatively low value thing.

Those two concerns keep `<br>` and `<wbr>` magic, right?

I personally have an idea(Maybe it's more appropriate to file it as another issue, but let me post it here first):

**I'd like to suggest we add a property `unlike-to-change`**, which hints the opposite meaning as `will-change` hints, and recommend UAs to default to `unlike-to-change: display;` on `<br>` and `<wbr>`. If something is specified with `unlike-to-change`, then changing it quickly would not be desired for a UA to satisfy, even if it would cause a noticable lagging.

Since `unlike-to-change` can be used on all elements for all properties, this might also increase large room for performance optimisation(though it's off topic regardling to this issue).

-- 
GitHub Notification of comment by Zhang-Junzhi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/3026#issuecomment-413883721 using your GitHub account

Received on Friday, 17 August 2018 14:28:27 UTC