You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
At the time when this spec change was made more than 3 years ago at a time, we had interoperability among all UAs on this: They all implemented the original spec requirements. And in the 3 years since, Gecko is the only engine that has changed to match the spec change. So interop on this has now regressed, and it’s not clear if there are even any Blink/WebKit/Edge browser bugs open to request those other browsers implement this change.
So it seems like consideration should be made about either reverting the change or else getting some browser bugs raised and making an effort to get back to interoperability on this.
The text was updated successfully, but these errors were encountered:
Browser bugs are the right way to do this. Something like this change is necessary to make the child pseudos work in the expected way on shadow trees (otherwise, all the top-level elements don't match, because they don't have a parent), and it's dumb to carve out a special exception for shadow trees while still making <html> not match. I'll file a Chrome bug, at least.
Spec section: https://drafts.csswg.org/selectors-4/#child-index
Original CSS WG issue: https://www.w3.org/Style/CSS/Tracker/issues/317
Discussion: https://lists.w3.org/Archives/Public/www-style/2013Mar/thread.html#msg290
But see also https://lists.w3.org/Archives/Public/www-archive/2016Oct/0009.html
At the time when this spec change was made more than 3 years ago at a time, we had interoperability among all UAs on this: They all implemented the original spec requirements. And in the 3 years since, Gecko is the only engine that has changed to match the spec change. So interop on this has now regressed, and it’s not clear if there are even any Blink/WebKit/Edge browser bugs open to request those other browsers implement this change.
So it seems like consideration should be made about either reverting the change or else getting some browser bugs raised and making an effort to get back to interoperability on this.
The text was updated successfully, but these errors were encountered: