Bug 109759

Summary: getComputedStyle returns truncated value for margin-right
Product: WebKit Reporter: Emil A Eklund <eae>
Component: CSSAssignee: Emil A Eklund <eae>
Status: RESOLVED FIXED    
Severity: Normal CC: dglazkov, gyuyoung.kim, leviw, macpherson, menard, ojan.autocc, ojan, rakuco, webkit.review.bot
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Attachments:
Description Flags
Patch
none
Patch for landing none

Emil A Eklund
Reported 2013-02-13 15:40:55 PST
Due to an unfortunate cast in CSSComputedStyleDeclaration::getPropertyCSSValue getComputedStyle returns truncated styles for margin-right in cases where it isn't set to a specific pixel value.
Attachments
Patch (4.49 KB, patch)
2013-02-13 15:42 PST, Emil A Eklund
no flags
Patch for landing (6.25 KB, patch)
2013-02-13 16:17 PST, Emil A Eklund
no flags
Emil A Eklund
Comment 1 2013-02-13 15:42:16 PST
Emil A Eklund
Comment 2 2013-02-13 16:04:00 PST
Comment on attachment 188200 [details] Patch Thanks Tony!
Emil A Eklund
Comment 3 2013-02-13 16:17:15 PST
Created attachment 188211 [details] Patch for landing
WebKit Review Bot
Comment 4 2013-02-13 17:04:39 PST
Comment on attachment 188211 [details] Patch for landing Clearing flags on attachment: 188211 Committed r142824: <http://trac.webkit.org/changeset/142824>
WebKit Review Bot
Comment 5 2013-02-13 17:04:46 PST
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.