This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 24165 - Copy-paste error in definition of :valid, should say "and that satisfy their constraints"
Summary: Copy-paste error in definition of :valid, should say "and that satisfy their ...
Status: RESOLVED INVALID
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-12-23 20:40 UTC by contributor
Modified: 2014-01-02 20:56 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2013-12-23 20:40:43 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/
Multipage: http://www.whatwg.org/C#pseudo-classes
Complete: http://www.whatwg.org/c#pseudo-classes
Referrer: 

Comment:
Copy-paste error in definition of :valid, should say "and that satisfy their
constraints"

Posted from: 96.241.32.234
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:29.0) Gecko/20100101 Firefox/29.0
Comment 1 Boris Zbarsky 2013-12-23 20:41:59 UTC
In particular, for the form and fieldset cases it says:

  elements that themselves are candidates for constraint validation but do not
  satisfy their constraints

when it should say:

  elements that themselves are candidates for constraint validation and that
  satisfy their constraints
Comment 2 Ian 'Hixie' Hickson 2014-01-02 20:35:18 UTC
Why?

The point is to make <form>'s match :valid if they don't contain invalid controls, not to make them :valid if they have any valid controls.

Consider for example an empty <form>. It should be :valid.
Comment 3 Boris Zbarsky 2014-01-02 20:56:31 UTC
Oh, I missed the "not" before "the form owner".  Sorry.  :(