<?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>78332</bug_id>
          
          <creation_ts>2012-02-10 00:46:27 -0800</creation_ts>
          <short_desc>[Qt] 6 SVG tests assert after r107207</short_desc>
          <delta_ts>2012-05-15 02:31:20 -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>Tools / Tests</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WORKSFORME</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>Qt, QtTriaged</keywords>
          <priority>P1</priority>
          <bug_severity>Critical</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>67543</dependson>
          <blocked>78115</blocked>
    
    <blocked>78219</blocked>
    
    <blocked>79668</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="Csaba Osztrogonác">ossy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>kkristof</cc>
    
    <cc>ossy</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>zherczeg</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>553918</commentid>
    <comment_count>0</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-02-10 00:46:27 -0800</bug_when>
    <thetext>After r107207 the following tests started to assert in debug mode:
svg/custom/mask-child-changes.svg
svg/custom/mask-invalidation.svg
svg/custom/absolute-sized-content-with-resources.xhtml

ASSERTION FAILED: m_transparencyCount &gt; 0
../../../../Source/WebCore/platform/graphics/GraphicsContext.cpp(346) : void WebCore::GraphicsContext::endTransparencyLayer()

Nikos comment on the original bug:
&quot;hm, I guess this only exposes a Qt bug - that&apos;s now visible due the changed timing. It&apos;s not something I can fix without a Qt build&quot;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>553920</commentid>
    <comment_count>1</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-02-10 00:57:13 -0800</bug_when>
    <thetext>I skipped the to paint the bot green - http://trac.webkit.org/changeset/107378
Please unskip them with the proper fix.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559091</commentid>
    <comment_count>2</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2012-02-17 03:12:47 -0800</bug_when>
    <thetext>&gt; ASSERTION FAILED: m_transparencyCount &gt; 0

Hmpf, the problem is the m_transparencyCount generalization. Qt maintains a different count &quot;layerCount&quot; returned by isInTransparentLayer(), and it calls endTransparencyLayer too often, compared to all other ports - to support image clipping.

Cairo has similar needs (mask image operation during restore()) but doesn&apos;t suffer from the problem - can this be reused instead? I hope Zoltan can have a look.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>559101</commentid>
    <comment_count>3</comment_count>
    <who name="Nikolas Zimmermann">zimmermann</who>
    <bug_when>2012-02-17 03:19:49 -0800</bug_when>
    <thetext>Bug 67543 is the culprit, leading to the Qt assertion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560813</commentid>
    <comment_count>4</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-02-21 04:59:08 -0800</bug_when>
    <thetext>Two more asserting test:
svg/dynamic-updates/SVGMaskElement-svgdom-width-prop.html
svg/dynamic-updates/SVGMaskElement-dom-x-attr.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>560818</commentid>
    <comment_count>5</comment_count>
    <who name="Csaba Osztrogonác">ossy</who>
    <bug_when>2012-02-21 05:06:58 -0800</bug_when>
    <thetext>(In reply to comment #4)
&gt; Two more asserting test:
&gt; svg/dynamic-updates/SVGMaskElement-svgdom-width-prop.html
&gt; svg/dynamic-updates/SVGMaskElement-dom-x-attr.html

And svg/dynamic-updates/SVGPathElement-dom-requiredFeatures.html

I skipped them too. I hope once the test coverge will hit 0% and then all tests will pass forever. :)</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623779</commentid>
    <comment_count>6</comment_count>
    <who name="Kristóf Kosztyó">kkristof</who>
    <bug_when>2012-05-15 01:14:38 -0700</bug_when>
    <thetext>Committed r117040: &lt;http://trac.webkit.org/changeset/117040&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>623836</commentid>
    <comment_count>7</comment_count>
    <who name="Kristóf Kosztyó">kkristof</who>
    <bug_when>2012-05-15 02:31:20 -0700</bug_when>
    <thetext>These don&apos;t asserts now, hence I unskipped them in r117040</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>