WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
85249
Change RenderBoxModelObject::calculateBackgroundImageGeometry to use roundToInt
https://bugs.webkit.org/show_bug.cgi?id=85249
Summary
Change RenderBoxModelObject::calculateBackgroundImageGeometry to use roundToInt
Emil A Eklund
Reported
2012-04-30 17:40:35 PDT
In RenderBoxModelObject::calculateBackgroundImageGeometry we need to use a modulo operator to compute the phase for the repeating background image. As the position will be a FractionalLayoutUnit we need to round it.
Attachments
Patch
(2.24 KB, patch)
2012-04-30 18:06 PDT
,
Emil A Eklund
no flags
Details
Formatted Diff
Diff
Patch
(2.38 KB, patch)
2012-04-30 18:21 PDT
,
Emil A Eklund
no flags
Details
Formatted Diff
Diff
Show Obsolete
(1)
View All
Add attachment
proposed patch, testcase, etc.
Emil A Eklund
Comment 1
2012-04-30 18:06:26 PDT
Created
attachment 139558
[details]
Patch
Eric Seidel (no email)
Comment 2
2012-04-30 18:16:19 PDT
Comment on
attachment 139558
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=139558&action=review
> Source/WebCore/ChangeLog:9 > + Prepare RenderBoxModelObject for FractionalLayoutUnits by adding rounding > + logic to calculateBackgroundImageGeometry.
Why? Why should it round? (i'm not saying it shouldn't,it's jus tnot very well explained here. :)
Emil A Eklund
Comment 3
2012-04-30 18:21:47 PDT
Created
attachment 139563
[details]
Patch
Emil A Eklund
Comment 4
2012-04-30 18:22:22 PDT
Expanded on why.
Eric Seidel (no email)
Comment 5
2012-04-30 18:26:58 PDT
Comment on
attachment 139563
[details]
Patch OK.
Emil A Eklund
Comment 6
2012-04-30 18:27:29 PDT
Thanks Eric!
WebKit Review Bot
Comment 7
2012-04-30 20:23:59 PDT
Comment on
attachment 139563
[details]
Patch Clearing flags on attachment: 139563 Committed
r115707
: <
http://trac.webkit.org/changeset/115707
>
WebKit Review Bot
Comment 8
2012-04-30 20:24:03 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.
Top of Page
Format For Printing
XML
Clone This Bug