Bug 85264 - WIP: css3-images image-resolution
Summary: WIP: css3-images image-resolution
Status: ASSIGNED
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/2011/WD-css3-ima...
Keywords: DoNotImportToRadar
Depends on:
Blocks:
 
Reported: 2012-04-30 23:09 PDT by David Barr
Modified: 2022-07-13 09:50 PDT (History)
4 users (show)

See Also:


Attachments
Draft patch (37.87 KB, patch)
2012-04-30 23:20 PDT, David Barr
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description David Barr 2012-04-30 23:09:40 PDT
This bug is to track the initial draft of adding image-resolution.
I expect it to be broken into a series of smaller patches.
Comment 1 David Barr 2012-04-30 23:20:57 PDT
Created attachment 139586 [details]
Draft patch
Comment 2 David Barr 2012-04-30 23:33:03 PDT
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.
Comment 3 Brent Fulgham 2022-07-13 09:49:58 PDT
The code has changed significantly since this patch was created. We probably can't use it in its current form.