<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>20585</bug_id>
          
          <creation_ts>2013-01-07 12:55:12 +0000</creation_ts>
          <short_desc>Make fieldset invalid if it contains an invalid form control</short_desc>
          <delta_ts>2013-04-15 12:01:47 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WHATWG</product>
          <component>HTML</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>Unsorted</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Mounir Lamouri">mounir</reporter>
          <assigned_to name="Ian &apos;Hixie&apos; Hickson">ian</assigned_to>
          <cc>brunoaiss</cc>
    
    <cc>ian</cc>
    
    <cc>mike</cc>
          
          <qa_contact>contributor</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>80990</commentid>
    <comment_count>0</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2013-01-07 12:55:12 +0000</bug_when>
    <thetext>Originally requested in https://bugzilla.mozilla.org/show_bug.cgi?id=596515 and forked to https://bugzilla.mozilla.org/show_bug.cgi?id=717181.

It would be great for authors to know when a fieldset contains an invalid element. It would allow more high level messages. For example, a fieldset containing all fields required for an address could have a UI poping up saying &quot;The address is invalid&quot; if an element inside the fieldset happens to be invalid.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>80991</commentid>
    <comment_count>1</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2013-01-07 12:58:19 +0000</bug_when>
    <thetext>Note that we could simply make :invalid pseudo-class matches like we are currently doing for forms.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84052</commentid>
    <comment_count>2</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-03-06 22:53:18 +0000</bug_when>
    <thetext>Do you just want me to add the following to the definition of &quot;:invalid&quot;?:

   fieldset elements that have of one or more descendant elements that
   themselves are candidates for constraint validation but do not
   satisfy their constraints

(Is it too late to make :invalid match &lt;fieldset&gt;?)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>84066</commentid>
    <comment_count>3</comment_count>
    <who name="Mounir Lamouri">mounir</who>
    <bug_when>2013-03-07 09:32:45 +0000</bug_when>
    <thetext>(In reply to comment #2)
&gt; Do you just want me to add the following to the definition of &quot;:invalid&quot;?:
&gt; 
&gt;    fieldset elements that have of one or more descendant elements that
&gt;    themselves are candidates for constraint validation but do not
&gt;    satisfy their constraints
&gt; 
&gt; (Is it too late to make :invalid match &lt;fieldset&gt;?)

I would be willing to have that implemented in Gecko.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86099</commentid>
    <comment_count>4</comment_count>
    <who name="Ian &apos;Hixie&apos; Hickson">ian</who>
    <bug_when>2013-04-12 23:02:36 +0000</bug_when>
    <thetext>Ok, let&apos;s try that then.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>86100</commentid>
    <comment_count>5</comment_count>
    <who name="">contributor</who>
    <bug_when>2013-04-12 23:04:03 +0000</bug_when>
    <thetext>Checked in as WHATWG revision r7823.
Check-in comment: Make :invalid match &lt;fieldset&gt;s that contain invalid controls.
http://html5.org/tools/web-apps-tracker?from=7822&amp;to=7823</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>