Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Issue 149513005: Stacked floats with shape-outside should allow inline content to interact with the non-outermost fl… (Closed)

Created:
6 years, 10 months ago by Bem Jones-Bey (adobe)
Modified:
6 years, 9 months ago
CC:
blink-reviews, bemjb+rendering_chromium.org, dsinclair, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Visibility:
Public.

Description

Stacked floats with shape-outside should allow inline content to interact with the non-outermost float Make inline content interact with stacked floats with shape-outside per the spec. This means that content can interact with floats on the line that are not the outermost float. This refactors ComputeFloatOffsetAdapter into a superclass and two subclasses: one adaptor for determining the offset for float layout, and one for determining the offset for inline layout. The logic in LineWidth::shrinkAvailableWidthForNewFloatIfNeeded has been updated to handle stacked floats with shape-outside properly and has been considerably simplified in the process. It was previously doing a whole bunch of unnecessary work. This is a port from WebKit of http://trac.webkit.org/changeset/162217 BUG=249140 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=168155

Patch Set 1 #

Total comments: 1

Patch Set 2 : Update comments as discussed #

Patch Set 3 : Replace nullptr with 0 to make linux build happy #

Messages

Total messages: 14 (0 generated)
Bem Jones-Bey (adobe)
6 years, 10 months ago (2014-01-29 18:58:26 UTC) #1
Bem Jones-Bey (adobe)
PTAL. As a carrot, I think this makes all floats a bit faster. ;-)
6 years, 10 months ago (2014-01-30 19:07:04 UTC) #2
eseidel
This may be a little while. leviw is OOO today through next Tues (at which ...
6 years, 10 months ago (2014-01-30 19:19:28 UTC) #3
leviw_travelin_and_unemployed
On 2014/01/30 19:19:28, eseidel wrote: > This may be a little while. leviw is OOO ...
6 years, 10 months ago (2014-02-10 05:09:30 UTC) #4
Bem Jones-Bey (adobe)
On 2014/02/10 05:09:30, Levi wrote: > On 2014/01/30 19:19:28, eseidel wrote: > > This may ...
6 years, 10 months ago (2014-02-10 15:37:28 UTC) #5
leviw_travelin_and_unemployed
lgtm https://codereview.chromium.org/149513005/diff/1/Source/core/rendering/line/LineWidth.cpp File Source/core/rendering/line/LineWidth.cpp (right): https://codereview.chromium.org/149513005/diff/1/Source/core/rendering/line/LineWidth.cpp#newcode97 Source/core/rendering/line/LineWidth.cpp:97: else // If the line doesn't overlap the ...
6 years, 9 months ago (2014-02-27 21:59:05 UTC) #6
Bem Jones-Bey (adobe)
The CQ bit was checked by bjonesbe@adobe.com
6 years, 9 months ago (2014-02-27 23:25:36 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bjonesbe@adobe.com/149513005/80001
6 years, 9 months ago (2014-02-27 23:25:47 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bjonesbe@adobe.com/149513005/80001
6 years, 9 months ago (2014-02-28 01:09:35 UTC) #9
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 9 months ago (2014-02-28 02:33:24 UTC) #10
commit-bot: I haz the power
Retried try job too often on linux_blink for step(s) blink_heap_unittests, blink_platform_unittests, webkit_lint, webkit_python_tests, webkit_tests, webkit_unit_tests, ...
6 years, 9 months ago (2014-02-28 02:33:25 UTC) #11
Bem Jones-Bey (adobe)
The CQ bit was checked by bjonesbe@adobe.com
6 years, 9 months ago (2014-02-28 16:45:30 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/bjonesbe@adobe.com/149513005/100001
6 years, 9 months ago (2014-02-28 16:45:36 UTC) #13
commit-bot: I haz the power
6 years, 9 months ago (2014-02-28 19:04:03 UTC) #14
Message was sent while issue was closed.
Change committed as 168155

Powered by Google App Engine
This is Rietveld 408576698