Summary: | WIP: css3-images image-resolution | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | David Barr <davidbarr> | ||||
Component: | CSS | Assignee: | David Barr <davidbarr> | ||||
Status: | ASSIGNED --- | ||||||
Severity: | Normal | CC: | bfulgham, macpherson, mikelawther, noel.gordon | ||||
Priority: | P2 | Keywords: | DoNotImportToRadar | ||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://www.w3.org/TR/2011/WD-css3-images-20110217/#image-resolution | ||||||
See Also: | https://bugs.webkit.org/show_bug.cgi?id=85262 | ||||||
Attachments: |
|
Description
David Barr
2012-04-30 23:09:40 PDT
Created attachment 139586 [details]
Draft patch
The attached draft patch demonstrates which components of the CSS stack are relevant to this feature. It does not implement extracting resolution data from images or the 'snap' keyword. Given that my primary goal was to enumerate the affected components, I expect some bugs. This feature should be testable using javascript tests, ie no pixel tests required. TODO: add an enum for image-resolution flags (snap/from-image) and implement snap. The code has changed significantly since this patch was created. We probably can't use it in its current form. |