<?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>91467</bug_id>
          
          <creation_ts>2012-07-16 20:30:49 -0700</creation_ts>
          <short_desc>Add ref-tests for CSS image-resolution</short_desc>
          <delta_ts>2022-07-13 10:28:11 -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>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc>http://www.w3.org/TR/2012/CR-css3-images-20120417/#the-image-resolution</bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>DoNotImportToRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          <dependson>89745</dependson>
          <blocked>85262</blocked>
          <everconfirmed>1</everconfirmed>
          <reporter name="David Barr">davidbarr</reporter>
          <assigned_to name="David Barr">davidbarr</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>mikelawther</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>tony</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>670941</commentid>
    <comment_count>0</comment_count>
    <who name="David Barr">davidbarr</who>
    <bug_when>2012-07-16 20:30:49 -0700</bug_when>
    <thetext>The css3-images module is at candidate recommendation.
http://www.w3.org/TR/2012/CR-css3-images-20120417/#the-image-resolution

I propose to introduce image-resolution, initially behind a compile-time flag.

Advertised on webkit-dev:
http://thread.gmane.org/gmane.os.opendarwin.webkit.devel/20505

Now that the parsing and style application aspects of implementation are complete, existing javascript tests only cover layout.

Add ref-tests to verify that rendering is also correct.

As the existing tests already cover parsing and layout, this should be limited to ensuring that:
image-resolution: ${x}dppx
is equivalent to:
zoom: $((1/$x))</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>