Re: [csswg-drafts] [cssom] Need to agree on when LinkStyle.sheet gets updated in shadow trees.

So the HTML spec already says that sheets are not loaded/created before they are shadow-including connected, so the host2 in your test-case should certainly not be loaded per spec.

I could not find out from the spec what happens when a link/style is removed, even for non-shadow cases, but tying this to connectedness seems like the reasonable thing here.


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

Received on Wednesday, 12 September 2018 09:14:18 UTC