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
The :optional pseudo-class is specified to only match input elements to which the required attribute applies, this excludes hidden inputs.
However, https://wpt.live/html/semantics/selectors/pseudo-classes/required-optional-hidden.html expects hidden inputs to match the :optional pseudo-class regardless of any required attribute, and both Chromium and Webkit implement that behaviour while Firefox does not.
The text was updated successfully, but these errors were encountered:
What is the issue with the HTML Standard?
The
:optional
pseudo-class is specified to only match input elements to which therequired
attribute applies, this excludes hidden inputs.However, https://wpt.live/html/semantics/selectors/pseudo-classes/required-optional-hidden.html expects hidden inputs to match the
:optional
pseudo-class regardless of anyrequired
attribute, and both Chromium and Webkit implement that behaviour while Firefox does not.The text was updated successfully, but these errors were encountered: