Bug 109759

Summary: getComputedStyle returns truncated value for margin-right
Product: WebKit Reporter: Emil A Eklund <eae>
Component: CSSAssignee: Emil A Eklund <eae>
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   
Description Flags
Patch for landing none

Description Emil A Eklund 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.
Comment 1 Emil A Eklund 2013-02-13 15:42:16 PST
Created attachment 188200 [details]
Comment 2 Emil A Eklund 2013-02-13 16:04:00 PST
Comment on attachment 188200 [details]

Thanks Tony!
Comment 3 Emil A Eklund 2013-02-13 16:17:15 PST
Created attachment 188211 [details]
Patch for landing
Comment 4 WebKit Review Bot 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>
Comment 5 WebKit Review Bot 2013-02-13 17:04:46 PST
All reviewed patches have been landed.  Closing bug.