WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
136264
Subpixel layout: Cleanup snapSizeToPixel/snapSizeToDevicePixel.
https://bugs.webkit.org/show_bug.cgi?id=136264
Summary
Subpixel layout: Cleanup snapSizeToPixel/snapSizeToDevicePixel.
zalan
Reported
2014-08-26 12:35:21 PDT
Pixel in the function name (without specifying whether its a device or CSS pixel) is misleading.
Attachments
Patch
(15.07 KB, patch)
2014-08-26 12:41 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(92.32 KB, patch)
2014-08-26 20:50 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(92.99 KB, patch)
2014-08-27 13:45 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(92.77 KB, patch)
2014-08-27 21:40 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Patch
(92.77 KB, patch)
2014-08-27 21:46 PDT
,
zalan
no flags
Details
Formatted Diff
Diff
Show Obsolete
(4)
View All
Add attachment
proposed patch, testcase, etc.
zalan
Comment 1
2014-08-26 12:41:28 PDT
Created
attachment 237166
[details]
Patch
Simon Fraser (smfr)
Comment 2
2014-08-26 13:19:28 PDT
Comment on
attachment 237166
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=237166&action=review
r- because snapSize with a local point is meaningless.
> Source/WebCore/platform/LayoutUnit.h:919 > +inline int snapSizeToInt(LayoutUnit size, LayoutUnit location)
Three things make me sad about this. "snap" outside of pixel snapping, "size" which is not a LayoutSize and "location" that is not a layout point. Can we just remove this and down the work inside LayoutRect?
zalan
Comment 3
2014-08-26 20:50:24 PDT
Created
attachment 237198
[details]
Patch
WebKit Commit Bot
Comment 4
2014-08-26 20:51:08 PDT
Attachment 237198
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/graphics/LayoutPoint.h:184: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebCore/platform/graphics/LayoutPoint.h:210: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 2 in 12 files If any of these errors are false positives, please file a bug against check-webkit-style.
zalan
Comment 5
2014-08-27 13:45:03 PDT
Created
attachment 237246
[details]
Patch
WebKit Commit Bot
Comment 6
2014-08-27 13:46:26 PDT
Attachment 237246
[details]
did not pass style-queue: ERROR: Source/WebCore/platform/graphics/LayoutPoint.h:184: Place brace on its own line for function definitions. [whitespace/braces] [4] ERROR: Source/WebCore/platform/graphics/LayoutPoint.h:209: Place brace on its own line for function definitions. [whitespace/braces] [4] Total errors found: 2 in 11 files If any of these errors are false positives, please file a bug against check-webkit-style.
zalan
Comment 7
2014-08-27 21:40:06 PDT
Created
attachment 237287
[details]
Patch
WebKit Commit Bot
Comment 8
2014-08-27 21:43:41 PDT
Comment on
attachment 237287
[details]
Patch Rejecting
attachment 237287
[details]
from commit-queue. Failed to run "['/Volumes/Data/EWS/WebKit/Tools/Scripts/webkit-patch', '--status-host=webkit-queues.appspot.com', '--bot-id=webkit-cq-01', 'validate-changelog', '--check-oops', '--non-interactive', 237287, '--port=mac']" exit_code: 1 cwd: /Volumes/Data/EWS/WebKit ChangeLog entry in Tools/ChangeLog contains OOPS!. Full output:
http://webkit-queues.appspot.com/results/4801182182670336
zalan
Comment 9
2014-08-27 21:46:31 PDT
Created
attachment 237288
[details]
Patch
WebKit Commit Bot
Comment 10
2014-08-27 22:27:52 PDT
Comment on
attachment 237288
[details]
Patch Clearing flags on attachment: 237288 Committed
r173049
: <
http://trac.webkit.org/changeset/173049
>
WebKit Commit Bot
Comment 11
2014-08-27 22:27:55 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