W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

Re: [csswg-drafts] [css-list-3] List-item outside markers

From: François REMY via GitHub <sysbot+gh@w3.org>
Date: Tue, 05 Dec 2017 21:20:23 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-349445083-1512508820-sysbot+gh@w3.org>
@cathiechentx @kojiishi @bfgeek Sorry it took me a while to get back to be able to spend some cycles on this. 

I reviewed your new proposal in more details, the one where you always insert the bullet at the beginning of the list-item then eventually make it zero-height and eventually move it vertically to match the first-line position, but the reason I am reluctant to go down this road in Edge is that having the bullet inside the first line does help with invalidation. Indeed, every time you mark the bullet has being layout-invalid (as part of the normal invalidation process) you can forward that notification to the list-item that it should also reevaluate the bullet insertion point. If you don't have a token representing the bullet inside the first line, how do you guarantee that the bullet is properly relocated on layout changes?

https://wptest.center/#/0l4nb9 shows the kind of weird invalidation issues Chrome suffers currently, but another example that is probably more common is https://wptest.center/#/wwl793

What is Chrome current invalidation strategy for the bullets, and how do you think it would be easier to make it work with your new model? My fear is that it doesn't look easy but I'd love to have your thoughts on that.

-- 
GitHub Notification of comment by FremyCompany
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1934#issuecomment-349445083 using your GitHub account
Received on Tuesday, 5 December 2017 21:20:26 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:21 UTC