<?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>226406</bug_id>
          
          <creation_ts>2021-05-28 16:51:12 -0700</creation_ts>
          <short_desc>background image gradient colors wrong when background-attachment:fixed is used inside scrollable element</short_desc>
          <delta_ts>2022-03-28 14:57:40 -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>WebKit Local Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Cameron McCormack (:heycam)">heycam</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1765011</commentid>
    <comment_count>0</comment_count>
      <attachid>430074</attachid>
    <who name="Cameron McCormack (:heycam)">heycam</who>
    <bug_when>2021-05-28 16:51:12 -0700</bug_when>
    <thetext>Created attachment 430074
test

Noticed this while working on bug 226399.  Only tested on macOS.  STR:

1. Open the test case.
2. Resize the Safari window as small as possible while still showing the entire blue-bordered element.
3. Scroll the blue-bordered element down.
4. Notice that about half way through the scrollable area, the gradient changes colors slightly.

I reproduced on the oldest Safari I could run on my Big Sur machine.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1765061</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-05-28 20:35:14 -0700</bug_when>
    <thetext>&lt;rdar://problem/78642026&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1855788</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2022-03-28 14:57:40 -0700</bug_when>
    <thetext>The cached image buffer created by GradientImage::drawPattern() needs to match the destination colorspace.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>430074</attachid>
            <date>2021-05-28 16:51:12 -0700</date>
            <delta_ts>2021-05-28 16:51:12 -0700</delta_ts>
            <desc>test</desc>
            <filename>t4.html</filename>
            <type>text/html</type>
            <size>439</size>
            <attacher name="Cameron McCormack (:heycam)">heycam</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+Cjxib2R5IHN0eWxlPSJoZWlnaHQ6IDIwMDBweDsiPgo8cHJlIGlkPSJs
b2ciPjwvcHJlPgo8cD5NYWtlIHRoaXMgU2FmYXJpIHdpbmRvdyBzbWFsbCBlbm91Z2ggdG8gZml0
IHRoZSBibHVlIGJveC48L3A+CjxkaXYgc3R5bGU9Im1hcmdpbi1sZWZ0OiAxMDBweDsiPgogIDxk
aXYgc3R5bGU9Im92ZXJmbG93OiBzY3JvbGw7IHdpZHRoOiA0MDBweDsgaGVpZ2h0OiA4MHB4OyBi
b3JkZXI6IDJweCBzb2xpZCBibHVlOyI+CiAgICAgU2Nyb2xsIG1lIC0gZ3JhZGllbnQgY29sb3Jz
IHNob3VsZG4ndCBjaGFuZ2UuCiAgICAgPGRpdiBzdHlsZT0id2lkdGg6IDMwMHB4OyBoZWlnaHQ6
IDIwMHB4OyBiYWNrZ3JvdW5kOiBmaXhlZCBsaW5lYXItZ3JhZGllbnQodG8gYm90dG9tIHJpZ2h0
LCByZWQsIHllbGxvdyk7Ij48L2Rpdj4KICA8L2Rpdj4KPC9kaXY+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>