RESOLVED FIXED 126080
Pretty print LayoutUnit, LayoutPoint, and LayoutSize in gdb and lldb
https://bugs.webkit.org/show_bug.cgi?id=126080
Summary Pretty print LayoutUnit, LayoutPoint, and LayoutSize in gdb and lldb
Bem Jones-Bey
Reported 2013-12-20 13:37:49 PST
Pretty print LayoutUnit, LayoutPoint, and LayoutSize in gdb and lldb
Attachments
Patch (7.32 KB, patch)
2013-12-20 13:45 PST, Bem Jones-Bey
no flags
Archive of layout-test-results from webkit-cq-02 for mac-mountainlion (539.69 KB, application/zip)
2013-12-20 15:06 PST, WebKit Commit Bot
no flags
Patch (7.95 KB, patch)
2014-01-18 22:15 PST, zalan
no flags
Bem Jones-Bey
Comment 1 2013-12-20 13:45:07 PST
WebKit Commit Bot
Comment 2 2013-12-20 15:06:43 PST
Comment on attachment 219788 [details] Patch Rejecting attachment 219788 [details] from commit-queue. New failing tests: dom/xhtml/level2/html/HTMLInputElement01.xhtml Full output: http://webkit-queues.appspot.com/results/49708169
WebKit Commit Bot
Comment 3 2013-12-20 15:06:44 PST
Created attachment 219800 [details] Archive of layout-test-results from webkit-cq-02 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the commit-queue. Bot: webkit-cq-02 Port: mac-mountainlion Platform: Mac OS X 10.8.5
Bem Jones-Bey
Comment 4 2013-12-20 15:58:55 PST
Dear CQ, go home, you're drunk.
Bem Jones-Bey
Comment 5 2013-12-20 16:03:09 PST
(In reply to comment #4) > Dear CQ, go home, you're drunk. Landed manually as r160941.
Simon Fraser (smfr)
Comment 6 2013-12-20 16:34:28 PST
Does this do the right thing when subpixel is disabled?
zalan
Comment 7 2013-12-20 16:37:24 PST
(In reply to comment #6) > Does this do the right thing when subpixel is disabled? I don't think so. (and the hardcoded 64 value is not such a great idea either, we might change that in the future)
WebKit Commit Bot
Comment 8 2013-12-20 16:46:22 PST
Re-opened since this is blocked by bug 126095
zalan
Comment 9 2014-01-18 22:15:09 PST
zalan
Comment 10 2014-01-18 22:19:35 PST
There were a few problems with the original patch and I tried to address them in the lldb part 1. LayoutUnit value is signed, the original patch would output incorrect px value for negative LayoutUnits 2. This patch dynamically checks the current subpixel value, so it works when the denominator gets changed or when the subpixel is disabled.
WebKit Commit Bot
Comment 11 2014-01-19 16:03:06 PST
Comment on attachment 221581 [details] Patch Clearing flags on attachment: 221581 Committed r162297: <http://trac.webkit.org/changeset/162297>
WebKit Commit Bot
Comment 12 2014-01-19 16:03:08 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.