RESOLVED FIXED 142065
Subpixel-layout: width: max-content; property might cause unnecessary scrollbar.
https://bugs.webkit.org/show_bug.cgi?id=142065
Summary Subpixel-layout: width: max-content; property might cause unnecessary scrollbar.
Myles C. Maxfield
Reported 2015-02-26 17:21:33 PST
Caused by RootInlineBox::paddedLayoutOverflowRect(). This increases the apparent size of the inline content (pixelSnappedLogicalRight() calls ceilf()), but RenderLayer::hasHorizontalOverflow() compares that against renderBox()->pixelSnappedClientWidth(), which simply rounds.
Attachments
Reduction (362 bytes, text/html)
2015-02-26 17:22 PST, Myles C. Maxfield
no flags
Patch (12.41 KB, patch)
2015-02-27 15:43 PST, zalan
no flags
Patch (12.46 KB, patch)
2015-02-27 15:48 PST, zalan
no flags
Archive of layout-test-results from ews107 for mac-mavericks-wk2 (1.55 MB, application/zip)
2015-02-27 16:33 PST, Build Bot
no flags
Patch (27.42 KB, patch)
2015-02-27 20:10 PST, zalan
no flags
Myles C. Maxfield
Comment 1 2015-02-26 17:22:06 PST
Causes fast/css-intrinsic-dimensions/width-avoid-floats.html to fail.
Myles C. Maxfield
Comment 2 2015-02-26 17:22:33 PST
Created attachment 247472 [details] Reduction
Radar WebKit Bug Importer
Comment 3 2015-02-26 17:23:37 PST
zalan
Comment 4 2015-02-27 15:43:52 PST
Simon Fraser (smfr)
Comment 5 2015-02-27 15:46:24 PST
Comment on attachment 247566 [details] Patch View in context: https://bugs.webkit.org/attachment.cgi?id=247566&action=review > Source/WebCore/rendering/RootInlineBox.cpp:840 > // FIXME: Audit whether to use pixel snapped values when not using integers for layout: https://bugs.webkit.org/show_bug.cgi?id=63656 Remove?
zalan
Comment 6 2015-02-27 15:48:47 PST
zalan
Comment 7 2015-02-27 15:49:07 PST
Comment on attachment 247567 [details] Patch EWS testing.
Build Bot
Comment 8 2015-02-27 16:33:15 PST
Comment on attachment 247567 [details] Patch Attachment 247567 [details] did not pass mac-wk2-ews (mac-wk2): Output: http://webkit-queues.appspot.com/results/4958076213919744 New failing tests: fast/forms/control-restrict-line-height.html fast/css/text-overflow-input.html editing/input/caret-at-the-edge-of-input.html fast/forms/basic-inputs.html fast/forms/input-disabled-color.html fast/forms/search/search-size-with-decorations.html http/tests/navigation/javascriptlink-frames.html
Build Bot
Comment 9 2015-02-27 16:33:18 PST
Created attachment 247574 [details] Archive of layout-test-results from ews107 for mac-mavericks-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: ews107 Port: mac-mavericks-wk2 Platform: Mac OS X 10.9.5
zalan
Comment 10 2015-02-27 20:10:10 PST
WebKit Commit Bot
Comment 11 2015-02-27 22:21:26 PST
Comment on attachment 247585 [details] Patch Clearing flags on attachment: 247585 Committed r180815: <http://trac.webkit.org/changeset/180815>
WebKit Commit Bot
Comment 12 2015-02-27 22:21:32 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.