Bug 89055

Summary: Introduce ENABLE_CSS_IMAGE_ORIENTATION compile flag
Product: WebKit Reporter: David Barr <davidbarr>
Component: CSSAssignee: David Barr <davidbarr>
Status: RESOLVED FIXED    
Severity: Normal CC: ap, eric, gyuyoung.kim, mikelawther, noel.gordon, rakuco, simon.fraser, tony, vestbo, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
URL: http://www.w3.org/TR/2012/CR-css3-images-20120417/#the-image-orientation
Bug Depends on:    
Bug Blocks: 89052, 89624, 91961    
Attachments:
Description Flags
Patch
none
Patch
none
Patch
none
Patch none

David Barr
Reported 2012-06-13 20:03:08 PDT
Add image-orientation support to WebKit. http://www.w3.org/TR/2012/CR-css3-images-20120417/#the-image-orientation The css3-images module is at candidate recommendation. I propose to introduce the property, initially behind a compile flag.
Attachments
Patch (21.19 KB, patch)
2012-06-13 21:03 PDT, David Barr
no flags
Patch (21.26 KB, patch)
2012-06-19 18:19 PDT, David Barr
no flags
Patch (22.22 KB, patch)
2012-07-16 20:19 PDT, David Barr
no flags
Patch (20.78 KB, patch)
2012-07-16 23:02 PDT, David Barr
no flags
David Barr
Comment 1 2012-06-13 21:03:58 PDT
David Barr
Comment 2 2012-06-13 21:15:57 PDT
In the spirit of http://trac.webkit.org/changeset/118774 - add ENABLE_CSS_IMAGE_ORIENTATION.
Alexey Proskuryakov
Comment 3 2012-06-14 09:42:17 PDT
I wonder why this property doesn't have a value to auto-rotate based on EXIF data.
Alexey Proskuryakov
Comment 4 2012-06-14 09:43:10 PDT
I'll re-post this comment in bug 89052, where it's much more suitable.
David Barr
Comment 5 2012-06-19 18:19:55 PDT
Created attachment 148479 [details] Patch Rebased against ToT.
David Barr
Comment 6 2012-07-16 20:19:56 PDT
Created attachment 152688 [details] Patch Rebased against ToT. Received no significant objection to the flag itself.
noel gordon
Comment 7 2012-07-16 22:23:42 PDT
OK.
Kent Tamura
Comment 8 2012-07-16 22:38:59 PDT
Comment on attachment 152688 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=152688&action=review > Source/WebKit/chromium/features.gypi:46 > + 'ENABLE_CSS_IMAGE_ORIENTATION=0', I recommend NOT adding ENABLE_CSS_IAMGE_ORIENTATION=0 because it prevents local override of the feature flag. http://trac.webkit.org/wiki/Chromium#Buildingwithfeaturedefines
noel gordon
Comment 9 2012-07-16 22:55:31 PDT
I see, seems backwards to me and different from every other platform. Should we fix that?
David Barr
Comment 10 2012-07-16 23:02:50 PDT
Created attachment 152700 [details] Patch Dropped change to Source/WebKit/chromium/features.gypi to facilitate local override of the feature flag.
Kent Tamura
Comment 11 2012-07-16 23:04:49 PDT
WebKit Review Bot
Comment 12 2012-07-17 00:12:05 PDT
Comment on attachment 152700 [details] Patch Clearing flags on attachment: 152700 Committed r122813: <http://trac.webkit.org/changeset/122813>
WebKit Review Bot
Comment 13 2012-07-17 00:12:11 PDT
All reviewed patches have been landed. Closing bug.
Note You need to log in before you can comment on or make changes to this bug.