<?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>36103</bug_id>
          
          <creation_ts>2010-03-14 20:27:10 -0700</creation_ts>
          <short_desc>Using RGBa for border when box background is a gradient gives uneven coloring</short_desc>
          <delta_ts>2011-02-25 08:36:58 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.6</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>21835</dup_id>
          
          <bug_file_loc>http://oli-studio.com/bugs/browser/rgba-border-gradient-bg.html</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Oli Studholme">webkit.org</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>phiw2</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>199533</commentid>
    <comment_count>0</comment_count>
    <who name="Oli Studholme">webkit.org</who>
    <bug_when>2010-03-14 20:27:10 -0700</bug_when>
    <thetext>an alpha-transparent border should be applied uniformly even when the object’s background is a gradient. In Webkit the top and bottom borders are alpha-transparency of the parent object, but the left and right borders are alpha-transparency of the object’s gradient background.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>199534</commentid>
    <comment_count>1</comment_count>
    <who name="Oli Studholme">webkit.org</who>
    <bug_when>2010-03-14 20:28:37 -0700</bug_when>
    <thetext>It seems there are a bunch of border issues, with this bug being an overview of many of them:
https://bugs.webkit.org/show_bug.cgi?id=21835</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>199566</commentid>
    <comment_count>2</comment_count>
    <who name="Philippe Wittenbergh">phiw2</who>
    <bug_when>2010-03-15 00:35:04 -0700</bug_when>
    <thetext>Fx 3.6/ Gecko 1.9.2 is fairly buggy in this, still (in short, rendering of the linked testcase is incorrect as well - the gradient should repeat into the border edge and affect the color of the border). That is fixed on Gecko trunk.
See https://bugzilla.mozilla.org/show_bug.cgi?id=538909</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>199569</commentid>
    <comment_count>3</comment_count>
      <attachid>50689</attachid>
    <who name="Philippe Wittenbergh">phiw2</who>
    <bug_when>2010-03-15 00:55:41 -0700</bug_when>
    <thetext>Created attachment 50689
test case

Note also that the linked test case doesn&apos;t apply the same gradient for Gecko and WebKit (the WebKit gradient has repeat-x, the Gecko one has &apos;repeat&apos; - the default).
Attached testcase corrects this (and the rendering is identical in Gecko 1.9.3a latest nightly and WebKit latest nightly, with the exception of the corners.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>199607</commentid>
    <comment_count>4</comment_count>
    <who name="Oli Studholme">webkit.org</who>
    <bug_when>2010-03-15 04:28:16 -0700</bug_when>
    <thetext>Thanks for adding the extra information Philippe, and for uploading a corrected test case. I’ve also added repeat-x to my test case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>357937</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-02-25 08:36:58 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 21835 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>50689</attachid>
            <date>2010-03-15 00:55:41 -0700</date>
            <delta_ts>2010-03-15 00:55:41 -0700</delta_ts>
            <desc>test case</desc>
            <filename>tx-wb36103.html</filename>
            <type>text/html</type>
            <size>849</size>
            <attacher name="Philippe Wittenbergh">phiw2</attacher>
            
              <data encoding="base64">PCFkb2N0eXBlIGh0bWw+CjxodG1sIGxhbmc9ImVuIj4KPGhlYWQ+CjxtZXRhIGNoYXJzZXQ9InV0
Zi04Ij4KPHRpdGxlPnRlc3Q6PC90aXRsZT4KCgo8c3R5bGUgdHlwZT0idGV4dC9jc3MiPgpodG1s
IHsKCWZvbnQtZmFtaWx5OiAnSGVsdmV0aWNhIE5ldWUnLCBzYW5zLXNlcmlmOwoJbWFyZ2luOiAw
OwoJYmFja2dyb3VuZDogcmdiKDI0NSwyNDUsMjQ1KS8qIHVybCguLi9faW1nL2dyaWQyYS5wbmcp
IDEwcHggMTBweCovOwoJY29sb3I6IHJnYigxMCwxMCwxMCk7Cn0KCgpidXR0b24gewoJYm9yZGVy
OiAxMHB4IHNvbGlkIHJnYmEoMCwwLDAsLjUpOwoJcGFkZGluZzogMzBweDsKfQoucm91bmQsIC5u
b3JtYWwgewoJYmFja2dyb3VuZDogLXdlYmtpdC1ncmFkaWVudChsaW5lYXIsIDAlIDAlLCAwJSAx
MDAlLCBmcm9tKCNjY2MpLCB0bygjMzMzKSkgcmVwZWF0LXg7CgliYWNrZ3JvdW5kOiAtbW96LWxp
bmVhci1ncmFkaWVudCh0b3AsICNjY2MsICMzMzMpIHJlcGVhdC14Owp9Ci5yb3VuZCB7Cgktd2Vi
a2l0LWJvcmRlci1yYWRpdXM6IDEycHg7CgktbW96LWJvcmRlci1yYWRpdXM6IDEycHg7Cglib3Jk
ZXItcmFkaXVzOiAxMnB4Owp9CgoKPC9zdHlsZT4KPCEtLWh0dHBzOi8vYnVncy53ZWJraXQub3Jn
L3Nob3dfYnVnLmNnaT9pZD0zNjEwMy0tPgo8L2hlYWQ+Cgo8Ym9keT4KCjxidXR0b24gY2xhc3M9
InJvdW5kIj5Sb3VuZCBjb3JuZXJzICsgZ3JhZGllbnQ8L2J1dHRvbj4KCjxidXR0b24gY2xhc3M9
Im5vcm1hbCI+Tm9ybWFsIGNvcm5lcnMgKyBncmFkaWVudDwvYnV0dG9uPgoKPGJ1dHRvbiBjbGFz
cz0iZmxhdCI+RmxhdCBiYWNrZ3JvdW5kPC9idXR0b24+CgoKPC9ib2R5Pgo8L2h0bWw+
</data>

          </attachment>
      

    </bug>

</bugzilla>