<?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>100374</bug_id>
          
          <creation_ts>2012-10-25 06:41:24 -0700</creation_ts>
          <short_desc>[Chromium] Repaint issues with subpixel stroke</short_desc>
          <delta_ts>2013-04-09 17:07:28 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <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>1</everconfirmed>
          <reporter name="Florin Malita">fmalita</reporter>
          <assigned_to name="Florin Malita">fmalita</assigned_to>
          <cc>bsalomon</cc>
    
    <cc>krit</cc>
    
    <cc>leviw</cc>
    
    <cc>pdr</cc>
    
    <cc>reed</cc>
    
    <cc>schenney</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>750749</commentid>
    <comment_count>0</comment_count>
      <attachid>170627</attachid>
    <who name="Florin Malita">fmalita</who>
    <bug_when>2012-10-25 06:41:24 -0700</bug_when>
    <thetext>Created attachment 170627
Repaint artifacts on Chromium.

Chromium bug: http://code.google.com/p/chromium/issues/detail?id=156597

The attached test exhibits repaint &quot;ghosting&quot; on Chromium.

Subpixel stroke widths trigger Skia&apos;s hairline optimization (treating the stroke width as == 1 and modulating the color components). Combined with subpixel positioning, this means that we may end up touching pixels outside the computed repaint rect.

Mike mentioned he&apos;s considering addressing this in Skia if he can find a way that doesn&apos;t impact the hairline optimization. In the meantime, we could inflate the repaint rect by .5 when USE(SKIA) to make sure we&apos;re covering the stroke.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>872517</commentid>
    <comment_count>1</comment_count>
    <who name="Stephen Chenney">schenney</who>
    <bug_when>2013-04-09 17:07:28 -0700</bug_when>
    <thetext>Marked LayoutTest bugs, bugs with Chromium IDs, and some others as WontFix. Test failure bugs still are trackable via TestExpectations or disabled unit tests.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>170627</attachid>
            <date>2012-10-25 06:41:24 -0700</date>
            <delta_ts>2012-10-25 06:41:24 -0700</delta_ts>
            <desc>Repaint artifacts on Chromium.</desc>
            <filename>subpixel-stroke.svg</filename>
            <type>image/svg+xml</type>
            <size>334</size>
            <attacher name="Florin Malita">fmalita</attacher>
            
              <data encoding="base64">PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSI4MDAiIGhlaWdo
dD0iNjAwIj4KICA8cmVjdCBpZD0icmVjdCIgeD0iNS4yNSIgd2lkdGg9IjEwMCIgaGVpZ2h0PSIx
MDAiIGZpbGw9Im5vbmUiIHN0cm9rZT0icmVkIiBzdHJva2Utd2lkdGg9IjAuNSIvPgoKICA8c2Ny
aXB0PgogICAgdmFyIGZyYW1lID0gMDsKCiAgICBzZXRJbnRlcnZhbChmdW5jdGlvbigpIHsKICAg
ICAgZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQoJ3JlY3QnKS5zZXRBdHRyaWJ1dGUoJ3gnLCAoZnJh
bWUrKyAvIDQpICUgODAwICk7CiAgICB9LCA1KTsKICA8L3NjcmlwdD4KPC9zdmc+Cg==
</data>

          </attachment>
      

    </bug>

</bugzilla>