<?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>182379</bug_id>
          
          <creation_ts>2018-02-01 01:35:37 -0800</creation_ts>
          <short_desc>glClearColor - Safari Mobile WebGL implementation doesn&apos;t render a transparent background</short_desc>
          <delta_ts>2018-03-07 11:05:36 -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>Canvas</component>
          <version>Other</version>
          <rep_platform>iPhone / iPad</rep_platform>
          <op_sys>Other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>182550</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Roberto">robertogarridomartin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1395394</commentid>
    <comment_count>0</comment_count>
      <attachid>332860</attachid>
    <who name="Roberto">robertogarridomartin</who>
    <bug_when>2018-02-01 01:35:37 -0800</bug_when>
    <thetext>Created attachment 332860
Minimal example reproducing the issue

On safari mobile on iOS 1.3 beta, when loading a website with a WebGL canvas and a text behind it, if you just call glClearColor with a transparent color, the text is not shown. It didn&apos;t happen in the previous version of Safari mobile.

The issue can be reproduced if you open Safari on iOS 1.3 beta and load any website with a WebGL canvas and a text behind it. For the canvas, just set the clear color to something semi transparent.

What I expect is to see the text behind the canvas. 

What I actually see is a black canvas.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1395568</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2018-02-01 11:14:03 -0800</bug_when>
    <thetext>&lt;rdar://problem/37123031&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1404411</commentid>
    <comment_count>2</comment_count>
    <who name="Dean Jackson">dino</who>
    <bug_when>2018-03-07 11:05:36 -0800</bug_when>
    <thetext>I think this is a dupe of 182550 and has been fixed.

*** This bug has been marked as a duplicate of bug 182550 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>332860</attachid>
            <date>2018-02-01 01:35:37 -0800</date>
            <delta_ts>2018-02-01 01:35:37 -0800</delta_ts>
            <desc>Minimal example reproducing the issue</desc>
            <filename>index.html.zip</filename>
            <type>application/zip</type>
            <size>559</size>
            <attacher name="Roberto">robertogarridomartin</attacher>
            
              <data encoding="base64">UEsDBBQACAAIABw2PkwAAAAAAAAAAAAAAAAKABAAaW5kZXguaHRtbFVYDABsCHBaSAdwWvUBFADN
U99vgjAQfvev6FiWYDIBzZYsDH2Q6bLExGW6hz0tFU5oUimDw1/L/ve1giLI3teQttzX63333dW5
epq684/XEQlxxQct57gA9QctIoeT4o5Dvlfj2hMRUhZBQr5PRjU2zMfQJne9h3j7WEFCYEGINulZ
Vh2KRcqQicgmCXCKbA0l/tMqgyJscQghi/zmqF3LumkOeomUMekiFTxDqOIoYptcMOWwxAazJ7hI
FHu/al9KlTop24NU5MJp35GJwFZe15ytR6M1Tf9ZpifS3QprNTvmWZM4qZewGMuOWWaRp1iQDSye
JzOkCertWnKyqVIkRd594gsvW0GExlcGyW4GHDwUia4VymjtehGUd8ClZ37ACABdWQHZNbomwwa8
7hJww+NAE1fVT7cM65acT/d/HNflxp1Opm+fw/fxeCSXl3m7QY5CAsfMH5KzEP6OiIgL6ve1cx00
CfpsTZi0n16WVih5BMru10pZ5yFLifwoUXARWHoUvoWWh3tz0QrAzH8VucNpx1TkDlzV2/8FUEsH
CGfCQHiNAQAAEgQAAFBLAQIVAxQACAAIABw2PkxnwkB4jQEAABIEAAAKAAwAAAAAAAAAAECkgQAA
AABpbmRleC5odG1sVVgIAGwIcFpIB3BaUEsFBgAAAAABAAEARAAAANUBAAAAAA==
</data>

          </attachment>
      

    </bug>

</bugzilla>