<?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>25738</bug_id>
          
          <creation_ts>2009-05-12 15:37:42 -0700</creation_ts>
          <short_desc>Skia: CSS border style not cleared for SVG object</short_desc>
          <delta_ts>2009-05-12 21:47:12 -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>PC</rep_platform>
          <op_sys>Windows XP</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Roland Steiner">rolandsteiner</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>120942</commentid>
    <comment_count>0</comment_count>
    <who name="Roland Steiner">rolandsteiner</who>
    <bug_when>2009-05-12 15:37:42 -0700</bug_when>
    <thetext>[First reported here: http://code.google.com/p/chromium/issues/detail?id=9580]

On Chrome (Skia), the SVG triangle rendered with the following HTML has a dotted outline.

EXPECTED: The triangle should have a solid outline.

&lt;html xmlns=&quot;http://www.w3.org/1999/xhtml&quot;&gt;
&lt;head&gt;&lt;/head&gt;
&lt;body&gt;
&lt;div style=&quot;border: 4px dotted black; height:100px; width: 100px&quot;&gt;&lt;/div&gt;
&lt;svg width=&quot;300&quot; height=&quot;300&quot; version=&quot;1.1&quot; xmlns=&quot;http://www.w3.org/2000/svg&quot;&gt;
&lt;polyline points=&quot;100,100 100,200 200,200 100,100&quot; style=&quot;stroke:red;stroke-width:5;stroke-dasharray:none&quot;/&gt;
&lt;/svg&gt;
&lt;/body&gt;
&lt;/html&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120957</commentid>
    <comment_count>1</comment_count>
      <attachid>30256</attachid>
    <who name="Roland Steiner">rolandsteiner</who>
    <bug_when>2009-05-12 17:43:06 -0700</bug_when>
    <thetext>Created attachment 30256
Patch: override with SolidStroke if no dash set

I haven&apos;t (yet) added a new layout test for this patch due to the additional complications with different rendering styles for dotted lines on all platforms (cf. https://bugs.webkit.org/show_bug.cgi?id=25737)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120960</commentid>
    <comment_count>2</comment_count>
      <attachid>30256</attachid>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-05-12 18:26:24 -0700</bug_when>
    <thetext>Comment on attachment 30256
Patch: override with SolidStroke if no dash set

I&apos;m a good choice to review this.  But you don&apos;t actually need to specify a reviewer for WebKit reviews.  In fact, they&apos;ll often happen quicker if you don&apos;t.

This change needs a test case as part of the patch.  Otherwise, this looks fine.  I&apos;ll add the test you provided when I land this (even though the test already passes for WebKit Mac).</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>120976</commentid>
    <comment_count>3</comment_count>
    <who name="Eric Seidel (no email)">eric</who>
    <bug_when>2009-05-12 21:47:12 -0700</bug_when>
    <thetext>Committing to http://svn.webkit.org/repository/webkit/trunk ...
	M	LayoutTests/ChangeLog
	A	LayoutTests/platform/mac/svg/custom/no-inherited-dashed-stroke-expected.checksum
	A	LayoutTests/platform/mac/svg/custom/no-inherited-dashed-stroke-expected.png
	A	LayoutTests/platform/mac/svg/custom/no-inherited-dashed-stroke-expected.txt
	A	LayoutTests/svg/custom/no-inherited-dashed-stroke.xhtml
	M	WebCore/ChangeLog
	M	WebCore/platform/graphics/skia/GraphicsContextSkia.cpp
Committed r43608
</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="1"
              isprivate="0"
          >
            <attachid>30256</attachid>
            <date>2009-05-12 17:43:06 -0700</date>
            <delta_ts>2009-05-12 18:26:24 -0700</delta_ts>
            <desc>Patch: override with SolidStroke if no dash set</desc>
            <filename>svg.txt</filename>
            <type>text/plain</type>
            <size>1881</size>
            <attacher name="Roland Steiner">rolandsteiner</attacher>
            
              <data encoding="base64">SW5kZXg6IFdlYkNvcmUvQ2hhbmdlTG9nCj09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09
PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT09PT0KLS0tIFdlYkNvcmUvQ2hhbmdlTG9n
CShyZXZpc2lvbiA0MzU5NikKKysrIFdlYkNvcmUvQ2hhbmdlTG9nCSh3b3JraW5nIGNvcHkpCkBA
IC0xLDMgKzEsMjAgQEAKKzIwMDktMDUtMTIgIHJvbGFuZHN0ZWluZXIgIDxyb2xhbmRzdGVpbmVy
QGdvb2dsZS5jb20+CisKKyAgICAgICAgUmV2aWV3ZWQgYnkgTk9CT0RZIChPT1BTISkuCisKKyAg
ICAgICAgQnVnIDI1NzM4OiBTa2lhOiBDU1MgYm9yZGVyIHN0eWxlIG5vdCBjbGVhcmVkIGZvciBT
Vkcgb2JqZWN0CisgICAgICAgIChodHRwczovL2J1Z3Mud2Via2l0Lm9yZy9zaG93X2J1Zy5jZ2k/
aWQ9MjU3MzgpCisgCisgICAgICAgIElmIG5vIGRhc2hpbmcgaXMgc2V0LCB0aGlzIGNoYW5nZSBy
ZXZlcnRzIHRvIHNvbGlkIHN0cm9rZSAKKyAgICAgICAgKHByZXZpb3VzbHkgdGhlIGNvZGUgYmFp
bGVkIGFuZCBsZWZ0IHRoZSBvbGQgc2V0dGluZywgd2hhdGV2ZXIgaXQgd2FzKQorCisgICAgICAg
IFRlc3QgY2FzZSBsaXN0ZWQgaW4gYWJvdmUgYnVnIGVudHJ5LgorICAgICAgICAoQWRkaXR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V90IGRhc2hMZW5ndGggPSBkYXNoZXMuc2l6ZSgpOwotICAgIGlmICghZGFzaExl
bmd0aCkKKyAgICBpZiAoIWRhc2hMZW5ndGgpIHsKKyAgICAgICAgLy8gSWYgbm8gZGFzaCBpcyBz
ZXQsIHJldmVydCB0byBzb2xpZCBzdHJva2UKKyAgICAgICAgLy8gRklYTUU6IGRvIHdlIG5lZWQg
dG8gc2V0IE5vU3Ryb2tlIGluIHNvbWUgY2FzZXM/CisgICAgICAgIHBsYXRmb3JtQ29udGV4dCgp
LT5zZXRTdHJva2VTdHlsZShTb2xpZFN0cm9rZSk7CisgICAgICAgIHBsYXRmb3JtQ29udGV4dCgp
LT5zZXREYXNoUGF0aEVmZmVjdCgwKTsKICAgICAgICAgcmV0dXJuOworICAgIH0KIAogICAgIHNp
emVfdCBjb3VudCA9IChkYXNoTGVuZ3RoICUgMikgPT0gMCA/IGRhc2hMZW5ndGggOiBkYXNoTGVu
Z3RoICogMjsKICAgICBTa1NjYWxhciogaW50ZXJ2YWxzID0gbmV3IFNrU2NhbGFyW2NvdW50XTsK
</data>
<flag name="review"
          id="15220"
          type_id="1"
          status="+"
          setter="eric"
    />
          </attachment>
      

    </bug>

</bugzilla>