1. ChildNode.remove()

    DOM node method to remove the node itself from the document.

  2. CSS display: contents

    `display: contents` causes an element's children to appear as if they were direct children of the element's parent, ignoring the element itself. This can be useful when a wrapper element should be ignored when using CSS grid or similar layout techniques.

  3. :has() CSS relational pseudo-class

    Select elements containing specific content. For example, `a:has(img)` selects all `<a>` elements that contain an `<img>` child.

  4. selector list argument of :nth-child and :nth-last-child CSS pseudo-classes

    The newest versions of `:nth-child()` and `:nth-last-child()` accept an optional `of S` clause which filters the children to only those which match the selector list `S`. For example, `:nth-child(1 of .foo)` selects the first child among the children that have the `foo` class (ignoring any non-`foo` children which precede that child). Similar to `:nth-of-type`, but for arbitrary selectors instead of only type selectors.

  5. documentfragment api: childelementcount

  6. documentfragment api: children

  7. documentfragment api: firstelementchild

  8. documentfragment api: lastelementchild

  9. documentfragment api: replacechildren

  10. document api: childelementcount

  11. document api: children

  12. document api: firstelementchild

  13. document api: lastelementchild

  14. document api: replacechildren

  15. element api: childelementcount

  16. element api: children

  17. element api: firstelementchild

  18. element api: lastelementchild

  19. element api: replacechildren

  20. node api: appendchild

  21. node api: childnodes

  22. node api: firstchild

  23. node api: haschildnodes

  24. node api: lastchild

  25. node api: removechild

  26. node api: replacechild

  27. notrestoredreasons api: children

  28. sanitizer api: replaceelementwithchildren

  29. selection api: selectallchildren

  30. treewalker api: firstchild

  31. treewalker api: lastchild

  32. css property: position: absolutely-positioned flex children

  33. css selector: child combinator (`a > b`)

  34. css selector: `:first-child`

  35. css selector: `:first-child`: matches elements with no parent

  36. css selector: `:last-child`

  37. css selector: `:last-child`: matches elements with no parent

  38. css selector: `:nth-child()`

  39. css selector: `:nth-child()`: matches elements with no parent

  40. css selector: `:nth-last-child()`

  41. css selector: `:nth-last-child()`: matches elements with no parent

  42. css selector: `:nth-last-child()`: `of <selector>` syntax

  43. css selector: `:only-child`

  44. css selector: `:only-child`: matches elements with no parent

  45. headers http header: content-security-policy: child-src

  46. elements: semantics: use the algorithm described on mdn to determine the visible child.