From 79824418f6dc2c68c3f0f5b9569a927a6faa4447 Mon Sep 17 00:00:00 2001
From: Wick id;
XML applications may name ID attributes differently,
but the same restriction applies.
- Which attribute on an element is considered the “ID attribute“ is defined by the document language.
+ Which attribute on an element is considered the “ID attribute” is defined by the document language.
An ID selector consists of a “number sign” (U+0023, #)
immediately followed by the ID value,
@@ -2243,7 +2243,7 @@ The Target Pseudo-class: '':target''
The Target Container Pseudo-class: '':target-within''
The :target-within pseudo-class
- applies to any element to which the '':target'' pseudo class applies
+ applies to any element to which the '':target'' pseudo-class applies
as well as to any element whose descendant in the flat tree
(including non-element nodes, such as text nodes)
matches the conditions for matching '':target''.
@@ -2376,7 +2376,7 @@ The Input Focus Pseudo-class: '':focus''
For example, [[HTML]] defines a list of focusable areas.
Document languages may define additional ways in which an element can match '':focus'',
- except that the '':focus'' pseudo class must not automatically propagate to the parent element--
+ except that the '':focus'' pseudo-class must not automatically propagate to the parent element--
see '':focus-within'' if matching on the parent is desired.
('':focus'' may still apply to the parent element
if made to propagate due to other mechanisms,
@@ -2471,7 +2471,7 @@ The Focus Container Pseudo-class: '':focus-within''
The :focus-within pseudo-class
applies to any element (or pseudo-element)
- for which the '':focus'' pseudo class applies,
+ for which the '':focus'' pseudo-class applies,
as well as to an element (or pseudo-element)
whose descendant in the flat tree
(including non-element nodes, such as text nodes)
@@ -3553,7 +3553,7 @@ Calculating a selector's specificity
in its selector list argument.