<?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>144336</bug_id>
          
          <creation_ts>2015-04-28 10:03:19 -0700</creation_ts>
          <short_desc>SVG with with min-device-pixel-ratio media query embedded in &lt;img&gt; does not work</short_desc>
          <delta_ts>2015-04-28 22:22:21 -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>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=68090</see_also>
          <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="Timothy Hatcher">timothy</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dino</cc>
    
    <cc>sabouhallawa</cc>
    
    <cc>zimmermann</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1089578</commentid>
    <comment_count>0</comment_count>
      <attachid>251854</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2015-04-28 10:03:19 -0700</bug_when>
    <thetext>Created attachment 251854
SVG

See attached files. The SVG works standalone, but not when used in a &lt;img&gt;. The plus should be 1px on a 2x device, but it is always 2px inside an &lt;img&gt;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1089582</commentid>
    <comment_count>1</comment_count>
      <attachid>251855</attachid>
    <who name="Timothy Hatcher">timothy</who>
    <bug_when>2015-04-28 10:04:04 -0700</bug_when>
    <thetext>Created attachment 251855
HTML file</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>251854</attachid>
            <date>2015-04-28 10:03:19 -0700</date>
            <delta_ts>2015-04-28 10:03:19 -0700</delta_ts>
            <desc>SVG</desc>
            <filename>NewTab.svg</filename>
            <type>image/svg+xml</type>
            <size>543</size>
            <attacher name="Timothy Hatcher">timothy</attacher>
            
              <data encoding="base64">PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0idXRmLTgiPz4KPCEtLSBDb3B5cmlnaHQgwqkg
MjAxNSBBcHBsZSBJbmMuIEFsbCByaWdodHMgcmVzZXJ2ZWQuIC0tPgo8c3ZnIHZpZXdCb3g9IjAg
MCAxNiAxNiIgdmVyc2lvbj0iMS4xIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmci
PgogICAgPHN0eWxlPgogICAgcGF0aCB7CiAgICAgICAgc3Ryb2tlLXdpZHRoOiAyOwogICAgfQoK
ICAgIEBtZWRpYSAoLXdlYmtpdC1taW4tZGV2aWNlLXBpeGVsLXJhdGlvOiAyKSB7CiAgICAgICAg
cGF0aCB7CiAgICAgICAgICAgIHN0cm9rZS13aWR0aDogMTsKICAgICAgICB9CiAgICB9CiAgICA8
L3N0eWxlPgogICAgPHJlY3QgeD0iMC41IiB5PSIwLjUiIHdpZHRoPSIxNSIgaGVpZ2h0PSIxNSIg
cng9IjIiIGNsYXNzPSJzdHJva2VkIiBmaWxsPSJub25lIiBzdHJva2U9ImJsYWNrIi8+CiAgICA8
cGF0aCBkPSJNIDggMyBMIDggMTMgTSAzIDggTCAxMyA4IiBjbGFzcz0ic3Ryb2tlZCIgZmlsbD0i
bm9uZSIgc3Ryb2tlPSJibGFjayIvPgo8L3N2Zz4K
</data>

          </attachment>
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>251855</attachid>
            <date>2015-04-28 10:04:04 -0700</date>
            <delta_ts>2015-04-28 10:04:04 -0700</delta_ts>
            <desc>HTML file</desc>
            <filename>Test.html</filename>
            <type>text/html</type>
            <size>22</size>
            <attacher name="Timothy Hatcher">timothy</attacher>
            
              <data encoding="base64">PGltZyBzcmM9Ik5ld1RhYi5zdmciPg==
</data>

          </attachment>
      

    </bug>

</bugzilla>