<?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>29422</bug_id>
          
          <creation_ts>2009-09-18 07:41:51 -0700</creation_ts>
          <short_desc>[Qt] Webkit: Canvas clearRect should use transparent black color not opaque white</short_desc>
          <delta_ts>2009-09-30 02:53:07 -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>528+ (Nightly build)</version>
          <rep_platform>Other</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Tor Arne Vestbø">vestbo</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>krit</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>148127</commentid>
    <comment_count>0</comment_count>
    <who name="Tor Arne Vestbø">vestbo</who>
    <bug_when>2009-09-18 07:41:51 -0700</bug_when>
    <thetext>This bug report originated from issue QTBUG-3949
&lt;http://bugreports.qt.nokia.com/browse/QTBUG-3949&gt;

--- Description ---

&lt;canvas&gt; clearRect does not use transparent black color instead it uses white color. 
This is different from other webkit based browsers thet currently clear with transparent black color.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151187</commentid>
    <comment_count>1</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2009-09-30 01:50:32 -0700</bug_when>
    <thetext>I can&apos;t open the original bug at nokia but it doesn&apos;t seem valid. A given rect is &quot;filled&quot; or  better reseted to transparent black by:

p-&gt;fillRect(rect, Qt::transparent);

Qt::transparent is transparent black (http://doc.trolltech.com/4.4/qt.html#GlobalColor-enum). Can we close this bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>151202</commentid>
    <comment_count>2</comment_count>
      <attachid>40354</attachid>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2009-09-30 02:52:26 -0700</bug_when>
    <thetext>Created attachment 40354
clearRect

This example shows the use of clearRect. If clearRect works like expacted, you should see a green page and a black border at the top left. This rect schould be filled with green (transparent black of the clearRect).

This example works for me on QtLauncher. I close this bug for now. Please reopen the bug if you have another example, that doesn&apos;t work.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>40354</attachid>
            <date>2009-09-30 02:52:26 -0700</date>
            <delta_ts>2009-09-30 02:52:26 -0700</delta_ts>
            <desc>clearRect</desc>
            <filename>index.html</filename>
            <type>text/html</type>
            <size>376</size>
            <attacher name="Dirk Schulze">krit</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8c2NyaXB0IHR5cGU9ImFwcGxpY2F0aW9uL3gtamF2YXNjcmlwdCI+CiAg
ZnVuY3Rpb24gZHJhdygpewogICAgICB2YXIgY3R4ID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQo
J2NhbnZhcycpLmdldENvbnRleHQoJzJkJyk7CgogICAgICAvLyBkcmF3IHJlY3RhbmdsZQogICAg
ICBjdHguZmlsbFJlY3QoMCwwLDEwMCwxMDApOwogICAgICBjdHguY2xlYXJSZWN0KDI1LDI1LDUw
LDUwKTsKICB9Cjwvc2NyaXB0Pgo8L2hlYWQ+Cjxib2R5IHN0eWxlPSJiYWNrZ3JvdW5kOmdyZWVu
OyIgb25sb2FkPSJkcmF3KCk7Ij4KPGNhbnZhcyBpZD0iY2FudmFzIiB3aWR0aD0iMTAwIiBoZWln
aHQ9IjEwMCI+PC9jYW52YXM+CjwvYm9keT48L2h0bWw+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>