I'm trying to create a small CSS web course and wanted some clarification before I proceeded with how I define combinators to students watching.
I've noticed a difference with W3C and MDN in combinator definition though.
The W3C website and CSS spec saying that the Multiple Selector is not part of combinators while MDN says that it is grouped as a combinator.
- https://www.w3.org/TR/2018/CR-selectors-3-20180130/#combinators
- https://www.w3schools.com/cSS/css_combinators.asp
I know that MDN follows WHATWG but where is there CSS spec for combinators in it? I have been looking around 4.16 for a mention of combinators but couldn't find any.
4.16 - https://html.spec.whatwg.org/multipage/semantics-other.html#selectors
Is the WHATWG as complete as W3C or is it only an add-on to the lacking parts of W3C's spec? Am I suppose to just refer to MDN if it's not there?
Related Update:
If anyone has wiki editing powers for MDN hoping you can change the <h2>
heading name since it may represent the table to only include combinators.
From 'Combinators' to 'Combinators & Multiple Selectors'
Link-with-bad-hash-name: https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Combinators_and_multiple_selectors#Combinators
` should be at least changed from 'Combinators' to 'Combinators & Multiple Selectors' since it makes it seem like the table below is only going to present combinators. Link with bad-hash-name: https://developer.mozilla.org/en-US/docs/Learn/CSS/Introduction_to_CSS/Combinators_and_multiple_selectors#Combinators
– Jonathan002 Feb 16 '18 at 18:38