DescriptionMerge 132904 - [subixel] Change LineWidth::shrinkAvailableWidthForNewFloatIfNeeded to not pixel snap
https://bugs.webkit.org/show_bug.cgi?id=100742
Reviewed by Levi Weintraub.
Source/WebCore:
As we no longer pixel snap values when computing the current width for a
line we should not do it in shrinkAvailableWidthForNewFloatIfNeeded
either.
Test: fast/sub-pixel/float-wrap-zoom.html
* rendering/RenderBlockLineLayout.cpp:
(WebCore::LineWidth::LineWidth): Remove unnecessary ifdef.
(WebCore::LineWidth::shrinkAvailableWidthForNewFloatIfNeeded): Use float values instead of pixel snapped/floored values as the line width calculations uses floats.
LayoutTests:
Add test for wrapping when combining float and inline elements.
* fast/sub-pixel/float-wrap-zoom-expected.html: Added.
* fast/sub-pixel/float-wrap-zoom.html: Added.
TBR=eae@chromium.org
Patch Set 1 #
Messages
Total messages: 1 (0 generated)
|