<?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>249852</bug_id>
          
          <creation_ts>2022-12-23 14:16:51 -0800</creation_ts>
          <short_desc>HTMLFormControlsCollection should not handle IMG elements</short_desc>
          <delta_ts>2022-12-23 15:47:11 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>Forms</component>
          <version>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>87834</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Ahmad Saleem">ahmad.saleem792</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>cdumez</cc>
    
    <cc>rniwa</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1921726</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-12-23 14:16:51 -0800</bug_when>
    <thetext>Hi Team,

Another failing test case from Blink&apos;s commit - https://jsfiddle.net/7dfsnp23/show

^ Safari 16.2 &amp; STP160 both fail this while Chrome Canary 111 and Firefox Nightly 110 both passes this test.

Blink&apos;s Commit - https://chromium.googlesource.com/chromium/src.git/+/5ab9146e05f7e315976e7066b29738dbd6d56f9e

Just wanted to raise for future fixing purposes.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921727</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-12-23 14:38:09 -0800</bug_when>
    <thetext>Removing - https://github.com/WebKit/WebKit/blob/618b085e6c6c790b318971c0ba0352cc1a90f759/Source/WebCore/html/HTMLFormControlsCollection.cpp#L28

&amp;

https://github.com/WebKit/WebKit/blob/618b085e6c6c790b318971c0ba0352cc1a90f759/Source/WebCore/html/HTMLFormControlsCollection.cpp#L141

Till L152, I think, we need to delete.

@rniwa, @aditya - can you confirm?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1921740</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-12-23 15:47:11 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 87834 ***</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>