Bug 91467 - Add ref-tests for CSS image-resolution
Summary: Add ref-tests for CSS image-resolution
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: David Barr
URL: http://www.w3.org/TR/2012/CR-css3-ima...
Depends on: 89745
Blocks: 85262
  Show dependency treegraph
Reported: 2012-07-16 20:30 PDT by David Barr
Modified: 2012-07-16 20:30 PDT (History)
3 users (show)

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description David Barr 2012-07-16 20:30:49 PDT
The css3-images module is at candidate recommendation.

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

Advertised on webkit-dev:

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))