@webref/css 6.25.11 → 6.25.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/selectors.json CHANGED
@@ -39,7 +39,7 @@
39
39
  },
40
40
  {
41
41
  "name": ":dir()",
42
- "prose": "The :dir() pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language. For example, [HTML5] defines how to determine the directionality of an element, based on a combination of the dir attribute, the surrounding text, and other factors. As another example, the its:dir and dirRule element of the Internationalization Tag Set [ITS20] are able to define the directionality of an element in [XML10].",
42
+ "prose": "The :dir() pseudo-class allows the author to write selectors that represent an element based on its directionality as determined by the document language. For example, [HTML] defines how to determine the directionality of an element, based on a combination of the dir attribute, the surrounding text, and other factors. As another example, the its:dir and dirRule element of the Internationalization Tag Set [ITS20] are able to define the directionality of an element in [XML10].",
43
43
  "href": "https://drafts.csswg.org/selectors-4/#dir-pseudo"
44
44
  },
45
45
  {
@@ -49,7 +49,7 @@
49
49
  },
50
50
  {
51
51
  "name": ":any-link",
52
- "prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML5], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited).",
52
+ "prose": "The :any-link pseudo-class represents an element that acts as the source anchor of a hyperlink. For example, in [HTML], any a or area elements with an href attribute are hyperlinks, and thus match :any-link. It matches an element if the element would match either :link or :visited, and is equivalent to :is(:link, :visited).",
53
53
  "href": "https://drafts.csswg.org/selectors-4/#any-link-pseudo",
54
54
  "value": ":any-link"
55
55
  },
@@ -205,7 +205,7 @@
205
205
  },
206
206
  {
207
207
  "name": ":placeholder-shown",
208
- "prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML5]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA.",
208
+ "prose": "Input elements can sometimes show placeholder text as a hint to the user on what to type in. See, for example, the placeholder attribute in [HTML]. The :placeholder-shown pseudo-class matches an input element that is showing such placeholder text, whether that text is given by an attribute or a real element, or is otherwise implied by the UA.",
209
209
  "href": "https://drafts.csswg.org/selectors-4/#placeholder-shown-pseudo",
210
210
  "value": ":placeholder-shown"
211
211
  },
@@ -223,13 +223,13 @@
223
223
  },
224
224
  {
225
225
  "name": ":checked",
226
- "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
226
+ "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
227
227
  "href": "https://drafts.csswg.org/selectors-4/#checked-pseudo",
228
228
  "value": ":checked"
229
229
  },
230
230
  {
231
231
  "name": ":unchecked",
232
- "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML5] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
232
+ "prose": "When such elements are toggled “on” the :checked pseudo-class applies. For example, [HTML] defines that checked checkboxes, radio buttons, and selected <option> elements match :checked. Similarly, when such elements are toggled “off”, the :unchecked pseudo-class applies.",
233
233
  "href": "https://drafts.csswg.org/selectors-4/#unchecked-pseudo",
234
234
  "value": ":unchecked"
235
235
  },
@@ -241,13 +241,13 @@
241
241
  },
242
242
  {
243
243
  "name": ":valid",
244
- "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
244
+ "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML]). An element which lacks data validity semantics is neither :valid nor :invalid.",
245
245
  "href": "https://drafts.csswg.org/selectors-4/#valid-pseudo",
246
246
  "value": ":valid"
247
247
  },
248
248
  {
249
249
  "name": ":invalid",
250
- "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML5]). An element which lacks data validity semantics is neither :valid nor :invalid.",
250
+ "prose": "An element is :valid or :invalid when its contents or value is, respectively, valid or invalid with respect to data validity semantics defined by the document language (e.g. [XFORMS11] or [HTML]). An element which lacks data validity semantics is neither :valid nor :invalid.",
251
251
  "href": "https://drafts.csswg.org/selectors-4/#invalid-pseudo",
252
252
  "value": ":invalid"
253
253
  },
@@ -549,5 +549,25 @@
549
549
  "href": "https://drafts.csswg.org/selectors-4/#typedef-forgiving-selector-list",
550
550
  "type": "type"
551
551
  }
552
+ ],
553
+ "warnings": [
554
+ {
555
+ "msg": "Dangling value",
556
+ "name": "i",
557
+ "prose": "To match attribute values ASCII case-insensitively regardless of document language rules, the attribute selector may include the identifier i before the closing bracket (]). When this flag is present, UAs must match the attribute’s value ASCII case-insensitively (i.e. [a-z] and [A-Z] are considered equivalent).",
558
+ "href": "https://drafts.csswg.org/selectors-4/#valdef-attribute-selector-i",
559
+ "type": "value",
560
+ "value": "i",
561
+ "for": "attribute selector"
562
+ },
563
+ {
564
+ "msg": "Dangling value",
565
+ "name": "s",
566
+ "prose": "Alternately, the attribute selector may include the identifier s before the closing bracket (]); in this case the UA must match the value case-sensitively, with “identical to” semantics [INFRA], regardless of document language rules.",
567
+ "href": "https://drafts.csswg.org/selectors-4/#valdef-attribute-selector-s",
568
+ "type": "value",
569
+ "value": "s",
570
+ "for": "attribute selector"
571
+ }
552
572
  ]
553
573
  }