<?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>120903</bug_id>
          
          <creation_ts>2013-09-06 15:48:11 -0700</creation_ts>
          <short_desc>ASSERTION FAILED: mode &amp; UseTransforms with a fixed-position &lt;svg&gt;</short_desc>
          <delta_ts>2017-02-08 10:30:27 -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>SVG</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>31278</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Vicki Pfau">jeffrey+webkit</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>krit</cc>
    
    <cc>rhodovan.u-szeged</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>thorton</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>925884</commentid>
    <comment_count>0</comment_count>
      <attachid>210807</attachid>
    <who name="Vicki Pfau">jeffrey+webkit</who>
    <bug_when>2013-09-06 15:48:11 -0700</bug_when>
    <thetext>Created attachment 210807
Repro

An SVG element with position: fixed will trigger an assertion (mode &amp; UseTransforms) in RenderSVGRoot::mapLocalToContainer(const WebCore::RenderLayerModelObject *, WebCore::TransformState &amp;, MapCoordinatesFlags, bool *) const when running a debug build. A simple repro is attached.

&lt;rdar://problem/14703176&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>925897</commentid>
    <comment_count>1</comment_count>
    <who name="Tim Horton">thorton</who>
    <bug_when>2013-09-06 16:05:37 -0700</bug_when>
    <thetext>IIRC we (Simon and I) decided that the assertion didn’t actually make any sense, but I don’t remember all the logic at the moment.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>926166</commentid>
    <comment_count>2</comment_count>
    <who name="Dirk Schulze">krit</who>
    <bug_when>2013-09-07 01:18:17 -0700</bug_when>
    <thetext>(In reply to comment #1)
&gt; IIRC we (Simon and I) decided that the assertion didn’t actually make any sense, but I don’t remember all the logic at the moment.

Hm, I agree. It makes sense for inner SVG elements but not for outer SVG elements (SVGRoot is always the outer SVG element). Looks like the assertion is wrong here.

Just a question for understanding. The comment assumes that the mode (isFixed) comes from the content. I would assume that the mode is from the current renderer. Which is true? If it is the latter, we can remove the assertion.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>937647</commentid>
    <comment_count>3</comment_count>
    <who name="Vicki Pfau">jeffrey+webkit</who>
    <bug_when>2013-10-08 13:22:40 -0700</bug_when>
    <thetext>*** Bug 117925 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1274425</commentid>
    <comment_count>4</comment_count>
    <who name="Said Abou-Hallawa">sabouhallawa</who>
    <bug_when>2017-02-08 10:30:27 -0800</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 31278 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>210807</attachid>
            <date>2013-09-06 15:48:11 -0700</date>
            <delta_ts>2013-09-06 15:48:11 -0700</delta_ts>
            <desc>Repro</desc>
            <filename>svg-fixed.html</filename>
            <type>text/html</type>
            <size>36</size>
            <attacher name="Vicki Pfau">jeffrey+webkit</attacher>
            
              <data encoding="base64">PHN2ZyBzdHlsZT0icG9zaXRpb246IGZpeGVkOyI+PC9zdmc+
</data>

          </attachment>
      

    </bug>

</bugzilla>