<?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>82777</bug_id>
          
          <creation_ts>2012-03-30 14:02:41 -0700</creation_ts>
          <short_desc>Subpixel antialiasing missing in some elements that overlay a graphics accelerated element</short_desc>
          <delta_ts>2013-11-08 17:52:53 -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>Text</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>23364</dup_id>
          
          <bug_file_loc></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="Tim Ehat">timehat</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>592480</commentid>
    <comment_count>0</comment_count>
      <attachid>134875</attachid>
    <who name="Tim Ehat">timehat</who>
    <bug_when>2012-03-30 14:02:41 -0700</bug_when>
    <thetext>Created attachment 134875
Example file

In the attached example, the &lt;h1&gt; (&quot;Page Title&quot;) tag is graphics-accelerated (&quot;-webkit-transform: transform3d(0,0,0)&quot;).  The dialog &lt;div&gt; overlaps the &lt;h1&gt; tag (made visible with an semi-transparent background).  The text inside the &lt;h2&gt; tag (which is inside the dialog &lt;div&gt;) does not have any sub-pixel font smoothing.

Adding a background-color to the &lt;h2&gt; tag will enable sub-pixel antialiasing again.  It seems this shouldn&apos;t be necessary since the &quot;dialog-content&quot; &lt;div&gt; already has an opaque background color.

Changing the &quot;top: 5%&quot; to &quot;top: 15%&quot; (maybe higher, depending on window size...) on the &quot;dialog&quot; &lt;div&gt; will also re-enable sub-pixel antialiasing (since that div will no longer overlay the graphics-accelerated &lt;h1&gt; tag.


Seeing this in Safari on Mac OS X Snow Leopard [Version 5.1.4 (6534.54.16)], Chrome on Mac OS X Snow Leopard [17.0.963.83], Chrome on Windows 7 [18.0.1025.142 m].</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>948967</commentid>
    <comment_count>1</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2013-11-08 17:52:53 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 23364 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>134875</attachid>
            <date>2012-03-30 14:02:41 -0700</date>
            <delta_ts>2012-03-30 14:02:41 -0700</delta_ts>
            <desc>Example file</desc>
            <filename>webkit subpixel rendering bug.html</filename>
            <type>text/html</type>
            <size>693</size>
            <attacher name="Tim Ehat">timehat</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxodG1sPgo8aGVhZD4KICA8dGl0bGU+VGVzdCBTdWJwaXhlbCBTbW9v
dGhpbmc8L3RpdGxlPgogIDxzdHlsZSB0eXBlPSJ0ZXh0L2NzcyI+CiAgICBoMSB7CgogICAgfQog
ICAgCiAgICAuaGVhZGluZyB7CiAgICAgIC13ZWJraXQtdHJhbnNmb3JtOiB0cmFuc2xhdGUzZCgw
LCAwLCAwKTsKICAgIH0KICAgIAogICAgLmRpYWxvZyB7CiAgICAgIHBvc2l0aW9uOiBhYnNvbHV0
ZTsKICAgICAgdG9wOiA1JTsKICAgICAgbGVmdDogNSU7CiAgICAgIGJhY2tncm91bmQtY29sb3I6
IHJnYmEoMCwwLDAsLjUpOwogICAgICB3aWR0aDogOTAlOwogICAgICBoZWlnaHQ6IDkwJTsKICAg
IH0KICAgIAogICAgLmRpYWxvZy1jb250ZW50IHsKICAgICAgbWFyZ2luOiAyNXB4OwogICAgICBw
YWRkaW5nOiAxMHB4OwogICAgICBiYWNrZ3JvdW5kLWNvbG9yOiB3aGl0ZTsKICAgIH0KICAgIAog
ICAgaDIgewogICAgICBwb3NpdGlvbjogcmVsYXRpdmU7CiAgICB9CiAgPC9zdHlsZT4KPC9oZWFk
Pgo8Ym9keT4KCiAgPGRpdiBjbGFzcz0iaGVhZGluZyI+PGgxPlBhZ2UgVGl0bGU8L2gxPjwvZGl2
PgogIAogIDxkaXYgY2xhc3M9ImRpYWxvZyI+PGRpdiBjbGFzcz0iZGlhbG9nLWNvbnRlbnQiPjxo
Mj5UaGlzIGlzIHRoZSB0ZXh0IG9mIGEgZGlhbG9nLjwvaDI+PC9kaXY+PC9kaXY+Cgo8L2JvZHk+
CjwvaHRtbD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>