- From: CSS Meeting Bot via GitHub <sysbot+gh@w3.org>
- Date: Tue, 26 Feb 2019 19:59:50 +0000
- To: public-css-archive@w3.org
The CSS Working Group just discussed `:host-context`. <details><summary>The full IRC log of that discussion</summary> <emilio> Topic: :host-context<br> <emilio> github: https://github.com/w3c/csswg-drafts/issues/1915<br> <fantasai> emilio: When looking into this stuff, what I didn't implement which Apple also doesn't, is because it's really slow<br> <fantasai> emilio: Reason why it's really slow is that for every class change, you either need to store everything for the whoel docuemnt, or you need to look at every shadow root that has a host context selector, and go through all the shadow roots inside your subtree to check if they have a relevant host-context rule...<br> <fantasai> emilio: Handling DOM changes when host-context selectors are involved<br> <fantasai> emilio: Blink solves this by doing subtree restyles?<br> <fantasai> futhark: So in Blink we aggregate style info at the docuemnt scope for everything<br> <fantasai> futhark: we don't use subtree calc<br> <fantasai> futhark: We invalidate inside the shadow root<br> <fantasai> futhark: We use a flag for it<br> <fantasai> emilio: One of the nice things in our impl is that the style info inside the shadow root is contained<br> <fantasai> emilio: Blink wants to make such a change, too<br> <fantasai> emilio: So effectively it's similarly slow as /deep/<br> <fantasai> emilio: Since I haven't seen anything in Bugzilla requesting it<br> <fantasai> emilio: And WebKit also hasn't implemented<br> <fantasai> emilio: So would like to drop<br> <fantasai> futhark: I don't have the usage numbers...<br> <fantasai> TabAtkins: We should see if it's used<br> <fantasai> TabAtkins: It offers a useful functionality but if ppl aren't suing it, I"m fine with dropping it<br> <fantasai> Rossen: So, collect data, come back and based on this we can move forward<br> <fantasai> fantasai: So maybe flag for next F2F so we don't forget<br> <fantasai> Rossen: Hope to get to it before<br> </details> -- GitHub Notification of comment by css-meeting-bot Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1915#issuecomment-467590316 using your GitHub account
Received on Tuesday, 26 February 2019 19:59:52 UTC