<?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>244279</bug_id>
          
          <creation_ts>2022-08-23 16:22:12 -0700</creation_ts>
          <short_desc>Remove hspace and vspace attributes from input field</short_desc>
          <delta_ts>2022-12-30 03:14:40 -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>Safari 15</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=120133</see_also>
          <bug_file_loc>http://wpt.live/html/rendering/unmapped-attributes.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar, WPTImpact</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="Karl Dubost">karlcow</assigned_to>
          <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>cdumez</cc>
    
    <cc>karlcow</cc>
    
    <cc>rniwa</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1893375</commentid>
    <comment_count>0</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-23 16:22:12 -0700</bug_when>
    <thetext>Hi Team,

Similar to bug 120133, we are still failing test cases on WPT:

Link - https://wpt.fyi/results/html/rendering/unmapped-attributes.html?label=experimental&amp;label=master&amp;aligned

Example - &lt;input hspace&gt; should not be mapped to style marginLeft in CSS1Compat mode	

Just wanted to create a bug since I was not able to find any.

NOTE - Safari Technology Preview 151 and Chrome Canary 107 both are failing these tests while Firefox Nightly 106 is passing them.

If it is similar to bug 120133, I am happy to give it a try.

Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1893384</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-23 16:58:07 -0700</bug_when>
    <thetext>https://github.com/WebKit/WebKit/pull/3598</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894128</commentid>
    <comment_count>2</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-08-26 17:09:11 -0700</bug_when>
    <thetext>I closed this pull request since it is not as simple as &quot;Bug 120133&quot; and these are lessons learnt:

1) Following test fails with the change (if followed to do similar to Bug 120133:

imported/w3c/web-platform-tests/html/rendering/dimension-attributes.html

^ This expects you to have &quot;vspace&quot; and &quot;hspace&quot; available for input type = image and not for others.

2) WPT Test case wording is wrong and it just states &quot;input vspace&quot; while it should be &quot;input type=image vspace&quot; to make it more clearer that it is an edge case.

3) m_inputType need to introduced within HTMLInputElement to look for any Input type which is Image and only then apply this vspace and hspace attributes. Since I am still lacking in learning about Webkit, Programming and C++, so I think someone else need to take this up.

______

Just wanted to share learnings before I make this available for others and close my pull requests. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1894980</commentid>
    <comment_count>3</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-30 16:23:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/99356718&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922049</commentid>
    <comment_count>4</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2022-12-27 19:27:24 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/8083</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922050</commentid>
    <comment_count>5</comment_count>
    <who name="Karl Dubost">karlcow</who>
    <bug_when>2022-12-27 19:30:48 -0800</bug_when>
    <thetext>I may have found a way to deal with it. 
Let&apos;s see what EWS testing says in the pull request
https://github.com/WebKit/WebKit/pull/8083</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1922274</commentid>
    <comment_count>6</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-12-30 03:14:38 -0800</bug_when>
    <thetext>Committed 258360@main (90658791ba8b): &lt;https://commits.webkit.org/258360@main&gt;

Reviewed commits have been landed. Closing PR #8083 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>