Bug 91467
| Summary: | Add ref-tests for CSS image-resolution | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | David Barr <davidbarr> |
| Component: | CSS | Assignee: | David Barr <davidbarr> |
| Status: | NEW | ||
| Severity: | Normal | CC: | bfulgham, mikelawther, simon.fraser, tony |
| Priority: | P2 | Keywords: | DoNotImportToRadar |
| Version: | 528+ (Nightly build) | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| URL: | http://www.w3.org/TR/2012/CR-css3-images-20120417/#the-image-resolution | ||
| Bug Depends on: | 89745 | ||
| Bug Blocks: | 85262 | ||
David Barr
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))
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |