<?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>243562</bug_id>
          
          <creation_ts>2022-08-04 15:24:15 -0700</creation_ts>
          <short_desc>Make &apos;-webkit-background-size&apos; a legacy shorthand</short_desc>
          <delta_ts>2022-11-13 02:54:10 -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>FIXED</resolution>
          
          
          <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>
          
          <blocked>240341</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Tim Nguyen (:ntim)">ntim</reporter>
          <assigned_to name="Aditya Keerthi">akeerthi</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>cdumez</cc>
    
    <cc>ntim</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>wenson_hsieh</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1888983</commentid>
    <comment_count>0</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-08-04 15:24:15 -0700</bug_when>
    <thetext>This test checks that setting various properties to the same value as the user agent stylesheet does not change the appearance.

We fail this check, potentially because our borderAndBackgroundEquals check does not cover enough properties.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1888984</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-08-04 15:24:25 -0700</bug_when>
    <thetext>&lt;rdar://problem/98151497&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889595</commentid>
    <comment_count>2</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2022-08-07 22:23:46 -0700</bug_when>
    <thetext>One of the issues is: https://github.com/web-platform-tests/wpt/issues/35333.

The other issue is that the list of &quot;fallback-props&quot; in https://github.com/web-platform-tests/wpt/blob/19d452e70a/css/css-ui/compute-kind-widget-no-fallback-props-001.html, does not include `-webkit-background-size`, in addition to `background-size`, causing the `borderAndBackgroundEquals` check to fail, dropping native appearance.

The test and the spec likely need to be updated.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1889926</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-08-08 21:37:41 -0700</bug_when>
    <thetext>(In reply to Aditya Keerthi from comment #2)
&gt; The other issue is that the list of &quot;fallback-props&quot; in
&gt; https://github.com/web-platform-tests/wpt/blob/19d452e70a/css/css-ui/compute-
&gt; kind-widget-no-fallback-props-001.html, does not include
&gt; `-webkit-background-size`, in addition to `background-size`, causing the
&gt; `borderAndBackgroundEquals` check to fail, dropping native appearance.

The proper way to fix this would be making `-webkit-background-size` a legacy shorthand of `background-size` rather than implementing it as a related property. An example of this is bug 104805.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1890094</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2022-08-09 14:02:24 -0700</bug_when>
    <thetext>WPT PR: https://github.com/web-platform-tests/wpt/pull/35408</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891038</commentid>
    <comment_count>5</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2022-08-12 17:24:23 -0700</bug_when>
    <thetext>I have a patch in progress to make `-webkit-background-size` a legacy shorthand. This actually makes appearance behave correctly, however, the test still fails.

We will also need to fix the intrinsic margins issue (https://bugs.webkit.org/show_bug.cgi?id=107380) in order to get this test passing.

I confirmed that with my background-size patch, and with Chris&apos; patch in https://bugs.webkit.org/show_bug.cgi?id=107380, this test finally passes.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1891741</commentid>
    <comment_count>6</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2022-08-16 13:26:25 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3372</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1901579</commentid>
    <comment_count>7</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-09-27 11:16:29 -0700</bug_when>
    <thetext>Committed 254925@main (856140e9a06f): &lt;https://commits.webkit.org/254925@main&gt;

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

    </bug>

</bugzilla>