<?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>15679</bug_id>
          
          <creation_ts>2007-10-24 13:31:10 -0700</creation_ts>
          <short_desc>Fixed backgrounds should behave like &apos;scroll&apos; inside transformed elements</short_desc>
          <delta_ts>2022-10-30 09:08:54 -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>Layout and Rendering</component>
          <version>523.x (Safari 3)</version>
          <rep_platform>Mac</rep_platform>
          <op_sys>OS X 10.4</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>BrowserCompat, InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Dave Hyatt">hyatt</reporter>
          <assigned_to name="Vitor Roriz">vitor.roriz</assigned_to>
          <cc>karlcow</cc>
    
    <cc>mattwoodrow</cc>
    
    <cc>mstange</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>vitor.roriz</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59372</commentid>
    <comment_count>0</comment_count>
    <who name="Dave Hyatt">hyatt</who>
    <bug_when>2007-10-24 13:31:10 -0700</bug_when>
    <thetext>Fixed backgrounds should not be affected by the transform, but should always render as though offset from the viewport.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112717</commentid>
    <comment_count>1</comment_count>
      <attachid>28389</attachid>
    <who name="Ken Martin">ken</who>
    <bug_when>2009-03-07 06:01:21 -0800</bug_when>
    <thetext>Created attachment 28389
simple example of problem</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>112718</commentid>
    <comment_count>2</comment_count>
    <who name="Ken Martin">ken</who>
    <bug_when>2009-03-07 06:02:16 -0800</bug_when>
    <thetext>Seeing this in nightly build, too: 530.1+

Have attached a pretty simple example file. There&apos;s WebKit &quot;transform:&quot; rules and everywhere &quot;left:&quot; rules in the CSS to demonstrate the problem. (The &quot;everywhere&quot; section is commented out by default.)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>476576</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-10-01 08:39:27 -0700</bug_when>
    <thetext>Known issue.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>900797</commentid>
    <comment_count>4</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-06-15 13:00:14 -0700</bug_when>
    <thetext>Spec &lt;http://dev.w3.org/csswg/css-transforms/&gt; now says:
&quot;Fixed backgrounds on the root element are affected by any transform specified for that element. For all other elements that are effected by a transform (i.e. have a transform applied to them, or to any of their ancestor elements), a value of ‘fixed’ for the ‘background-attachment’ property is treated as if it had a value of ‘scroll’. The computed value of ‘background-attachment’ is not affected.&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1217959</commentid>
    <comment_count>5</comment_count>
    <who name="Markus Stange">mstange</who>
    <bug_when>2016-08-05 10:28:51 -0700</bug_when>
    <thetext>(In reply to comment #4)
&gt; Spec &lt;http://dev.w3.org/csswg/css-transforms/&gt; now says:
&gt; &quot;Fixed backgrounds on the root element are affected by any transform
&gt; specified for that element. For all other elements that are effected by a
&gt; transform (i.e. have a transform applied to them, or to any of their
&gt; ancestor elements), a value of ‘fixed’ for the ‘background-attachment’
&gt; property is treated as if it had a value of ‘scroll’. The computed value of
&gt; ‘background-attachment’ is not affected.&quot;

We (Mozilla) have shipped this change in Firefox 48. IIRC Edge has also shipped it.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1892088</commentid>
    <comment_count>6</comment_count>
    <who name="Vitor Roriz">vitor.roriz</who>
    <bug_when>2022-08-17 16:36:55 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/3433</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1898496</commentid>
    <comment_count>7</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-09-14 10:49:36 -0700</bug_when>
    <thetext>&lt;rdar://problem/99926239&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1899987</commentid>
    <comment_count>8</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2022-09-20 18:31:09 -0700</bug_when>
    <thetext>*** Bug 245352 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1899993</commentid>
    <comment_count>9</comment_count>
    <who name="Matt Woodrow">mattwoodrow</who>
    <bug_when>2022-09-20 18:58:19 -0700</bug_when>
    <thetext>Affected WPT:

css/css-transforms/transform-fixed-bg-002.html - https://wpt.fyi/results/css/css-transforms/transform-fixed-bg-002.html?label=master&amp;label=experimental&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2021-transforms
css/css-transforms/transform-fixed-bg-004.html - https://wpt.fyi/results/css/css-transforms/transform-fixed-bg-004.html?label=master&amp;label=experimental&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2021-transforms
css/css-transforms/transform-fixed-bg-005.html - https://wpt.fyi/results/css/css-transforms/transform-fixed-bg-005.html?label=master&amp;label=experimental&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2021-transforms
css/css-transforms/transform-fixed-bg-006.html - https://wpt.fyi/results/css/css-transforms/transform-fixed-bg-006.html?label=master&amp;label=experimental&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2021-transforms
css/css-transforms/transform-fixed-bg-007.html - https://wpt.fyi/results/css/css-transforms/transform-fixed-bg-007.html?label=master&amp;label=experimental&amp;product=chrome&amp;product=firefox&amp;product=safari&amp;aligned&amp;view=interop&amp;q=label%3Ainterop-2021-transforms</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1902549</commentid>
    <comment_count>10</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-09-30 17:12:14 -0700</bug_when>
    <thetext>Committed 255055@main (eba490ba3cc4): &lt;https://commits.webkit.org/255055@main&gt;

Reviewed commits have been landed. Closing PR #3433 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1909232</commentid>
    <comment_count>11</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2022-10-30 09:08:54 -0700</bug_when>
    <thetext>Committed 252432.728@safari-7614-branch (a1d3edc00b16): &lt;https://commits.webkit.org/252432.728@safari-7614-branch&gt;

Reviewed commits have been landed. Closing PR #171 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>28389</attachid>
            <date>2009-03-07 06:01:21 -0800</date>
            <delta_ts>2009-03-07 06:01:21 -0800</delta_ts>
            <desc>simple example of problem</desc>
            <filename>index.php</filename>
            <type>text/html</type>
            <size>2436</size>
            <attacher name="Ken Martin">ken</attacher>
            
              <data encoding="base64">77u/PCFET0NUWVBFIEhUTUwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlv
bmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI+CjxodG1sPgo8
aGVhZD4KPHRpdGxlPkZpeGVkIERpdiBFeHBlcmltZW50PC90aXRsZT4KPHN0eWxlIHR5cGU9In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