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
Note: There is a difference between an element which has no constraints, and thus would always be :valid, and one which has no data validity semantics at all, and thus is neither :valid nor :invalid. In HTML, for example, an <input type="text"> element may have no constraints, but a p element has no validity semantics at all, and so it never matches either of these pseudo-classes.
7850
7850
</p>
@@ -9562,7 +9562,7 @@ <h3 title="<forgiving-selector-list> and <forgiving-relative-selector-l
9562
9562
生成規則は,代わりに、
9563
9563
~list内の各~選択子を個別に構文解析して,それに失敗したものを単純に無視する
9564
9564
— 残りの選択子は、
9565
-
依然として利用できるようになる。
9565
+
依然として利用できるよう。
9566
9566
◎
9567
9567
The <forgiving-selector-list> production instead parses each selector in the list individually, simply ignoring ones that fail to parse, so the remaining selectors can still be used.
9568
9568
</p>
@@ -10173,7 +10173,7 @@ <h2 title="Appendix A: Guidance on Mapping Source Documents & Data to an Ele
@@ -10378,7 +10378,7 @@ <h2 title="Appendix B: Obsolete but Required -webkit- Parsing Quirks for Web Com
10378
10378
~Selectorsは、
10379
10379
長きにわたり,単独の[
10380
10380
未知/無効
10381
-
]な選択子が選択子~list全体を無効~化する挙動を備えている
10381
+
]な選択子が選択子~list全体を無効~化する挙動を有していた
10382
10382
(それを含んでいる複階-選択子 1 個だけを無効~化するのでなく)。
10383
10383
これは,一般には ~WGによる旧来の過ちと見なされるが、
10384
10384
現時点では修正し得ない
@@ -10408,12 +10408,12 @@ <h2 title="Appendix B: Obsolete but Required -webkit- Parsing Quirks for Web Com
10408
10408
<p>
10409
10409
上のより一般な理由~付けに加え、
10410
10410
Safari や Chrome などの WebKit から派生した~UAは,
10411
-
自身による~vendor接頭辞~付き疑似要素に関係する過去互換を追加的に備えている
10411
+
自身による~vendor接頭辞~付き疑似要素に関係する過去互換を追加的に有している
10412
10412
— そこでは、
10413
10413
どの `-webkit-^pe 接頭辞~付き選択子も構文解析-時点では妥当と見なされる。
10414
10414
(この過去互換は、
10415
-
おそらく,今はなき早期の~CSS特能の名残である
10416
-
— 作者に自前の疑似要素を定義させるがままにする特能を見越して、
10415
+
おそらく,今は無き早期の~CSS特能の名残である
10416
+
— 作者が自前の疑似要素を定義できるようになる特能を見越して、
10417
10417
アリなすべての疑似要素を構文解析-時点では妥当であるものと意図的に扱っていた。)
10418
10418
◎
10419
10419
In addition to this more general reasoning, WebKit-derived user agents, such as Safari or Chrome, have an additional quirk related to their vendor-prefixed pseudo-elements, where any ::-webkit--prefixed selectors are considered valid at parse time. (This is probably a leftover quirk of an early CSS feature, since dropped, that intentionally treated all possible pseudo-elements as valid at parse time, in anticipation of a feature letting authors define their own pseudo-elements.)
0 commit comments