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

Issue 298563002: Simplify Writing-Mode Related Calculation of Margins (Closed)

Created:
6 years, 7 months ago by rhogan
Modified:
6 years, 6 months ago
CC:
blink-reviews, mstensho+blink_opera.com, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Simplify Writing-Mode Related Calculation of Margins Remove the very complicated logic from computeLogicalHeight() and computeLogicalWidth() whose sole purpose was to use the writing mode of the child vs the containing block when appropriate. The complexity was unnecessary and the same result can be achieved by ensuring we use the child's writing mode when computing the size of the box and the parent's writing mode when computing the margins for position (e.g. for margin collapsing). Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=176154

Patch Set 1 #

Patch Set 2 : Updated #

Patch Set 3 : Rebased #

Unified diffs Side-by-side diffs Delta from patch set Stats (+39 lines, -97 lines) Patch
M Source/core/rendering/RenderBox.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 7 chunks +32 lines, -80 lines 0 comments Download
M Source/core/rendering/RenderTable.cpp View 1 2 1 chunk +4 lines, -14 lines 0 comments Download

Messages

Total messages: 9 (0 generated)
rhogan
6 years, 6 months ago (2014-06-04 19:13:44 UTC) #1
leviw_travelin_and_unemployed
LGTM!
6 years, 6 months ago (2014-06-04 19:23:05 UTC) #2
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 6 months ago (2014-06-08 06:27:41 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/298563002/20001
6 years, 6 months ago (2014-06-08 06:28:04 UTC) #4
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-08 06:28:10 UTC) #5
commit-bot: I haz the power
Failed to apply patch for Source/core/rendering/RenderBox.cpp: While running patch -p1 --forward --force --no-backup-if-mismatch; patching file ...
6 years, 6 months ago (2014-06-08 06:28:11 UTC) #6
rhogan
The CQ bit was checked by robhogan@gmail.com
6 years, 6 months ago (2014-06-14 09:14:48 UTC) #7
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/robhogan@gmail.com/298563002/40001
6 years, 6 months ago (2014-06-14 09:15:48 UTC) #8
commit-bot: I haz the power
6 years, 6 months ago (2014-06-14 10:42:16 UTC) #9
Message was sent while issue was closed.
Change committed as 176154

Powered by Google App Engine
This is Rietveld 408576698