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

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>257988</bug_id>
          
          <creation_ts>2023-06-12 16:47:57 -0700</creation_ts>
          <short_desc>Fix :user-invalid/:user-valid interactions with form reset &amp; submission</short_desc>
          <delta_ts>2023-08-08 15:15:23 -0700</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>Safari Technology Preview</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>macOS 12</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://github.com/web-platform-tests/wpt/pull/41378</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simon Welsh">simon</reporter>
          <assigned_to name="Tim Nguyen (:ntim)">ntim</assigned_to>
          <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1961177</commentid>
    <comment_count>0</comment_count>
      <attachid>466672</attachid>
    <who name="Simon Welsh">simon</who>
    <bug_when>2023-06-12 16:47:57 -0700</bug_when>
    <thetext>Created attachment 466672
Example.html

When submitting a form that has required inputs, :user-invalid is not triggered for these required inputs.

In the attached example, I&apos;d expect all inputs to have a red border when submitting the form without providing any values.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1961197</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-06-12 18:03:38 -0700</bug_when>
    <thetext>&lt;rdar://problem/110677832&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970029</commentid>
    <comment_count>2</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-08-07 20:55:34 -0700</bug_when>
    <thetext>*** Bug 257989 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970036</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-08-07 21:49:32 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/16465</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970037</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2023-08-07 21:51:15 -0700</bug_when>
    <thetext>Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/41378</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1970163</commentid>
    <comment_count>5</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2023-08-08 15:15:18 -0700</bug_when>
    <thetext>Committed 266702@main (b148a49fc1bd): &lt;https://commits.webkit.org/266702@main&gt;

Reviewed commits have been landed. Closing PR #16465 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>466672</attachid>
            <date>2023-06-12 16:47:57 -0700</date>
            <delta_ts>2023-06-12 18:04:15 -0700</delta_ts>
            <desc>Example.html</desc>
            <filename>file_257988.html</filename>
            <type>text/html</type>
            <size>418</size>
            <attacher name="Simon Welsh">simon</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+DQo8aHRtbD4NCiAgICA8aGVhZD4NCiAgICAgICAgPHN0eWxlPg0KICAg
ICAgICAgICAgaW5wdXQ6dXNlci1pbnZhbGlkIHsNCiAgICAgICAgICAgICAgICBib3JkZXI6IDFw
eCByZWQgc29saWQ7DQogICAgICAgICAgICB9DQogICAgICAgIDwvc3R5bGU+DQogICAgPC9oZWFk
Pg0KICAgIDxib2R5Pg0KICAgICAgICA8Zm9ybT4NCiAgICAgICAgICAgIDxpbnB1dCByZXF1aXJl
ZCAvPg0KICAgICAgICAgICAgPGlucHV0IHJlcXVpcmVkIC8+DQogICAgICAgICAgICA8aW5wdXQg
cmVxdWlyZWQgLz4NCiAgICAgICAgICAgIDxidXR0b24gdHlwZT0ic3VibWl0Ij4NCiAgICAgICAg
ICAgICAgICBTdWJtaXQNCiAgICAgICAgICAgIDwvYnV0dG9uPg0KICAgICAgICA8L2Zvcm0+DQog
ICAgPC9ib2R5Pg0KPC9odG1sPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>