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

Issue 18720003: Correct overflow propagation in BTT and RTL writing-modes (Closed)

Created:
7 years, 5 months ago by mstensho (USE GERRIT)
Modified:
7 years, 5 months ago
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Correct overflow propagation in BTT and RTL writing-modes Overflow rectangles are not quite physical, not quite logical. This means that we cannot use clientBoxRect() directly to represent a rectangle that expresses exactly no overflow. This rectangle is the padding box (relative to the border box) in vertical-lr and horizontal-tb, but the block-direction borders need to be flipped in vertical-rl and horizontal-bt. fast/multicol/vertical-rl/rules-with-border-before.html now needs a rebaseline, because it now renders differently, but correctly. R= BUG=236326 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=154945

Patch Set 1 #

Total comments: 14

Patch Set 2 : Rebase master #

Patch Set 3 : #

Total comments: 2

Patch Set 4 : Add FIXME, as requested. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+102 lines, -9 lines) Patch
M LayoutTests/TestExpectations View 1 1 chunk +1 line, -0 lines 0 comments Download
A LayoutTests/fast/css/overflow-btt-border-after.html View 1 2 1 chunk +26 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/overflow-btt-border-after-expected.txt View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/overflow-rtl-border-after.html View 1 2 1 chunk +28 lines, -0 lines 0 comments Download
A LayoutTests/fast/css/overflow-rtl-border-after-expected.txt View 1 2 1 chunk +4 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderBlock.cpp View 1 2 chunks +2 lines, -2 lines 0 comments Download
M Source/core/rendering/RenderBox.h View 1 1 chunk +2 lines, -1 line 0 comments Download
M Source/core/rendering/RenderBox.cpp View 1 2 3 4 chunks +35 lines, -6 lines 0 comments Download

Messages

Total messages: 19 (0 generated)
mstensho (USE GERRIT)
I closed https://codereview.chromium.org/14359018/ and opened this one instead (please go there if you want to ...
7 years, 5 months ago (2013-07-10 09:30:13 UTC) #1
Julien - ping for review
Sorry for the very slow response, feel free to ping us on IRC next time ...
7 years, 5 months ago (2013-07-15 23:50:32 UTC) #2
jbroman
On 2013/07/15 23:50:32, Julien Chaffraix wrote: > Sorry for the very slow response, feel free ...
7 years, 5 months ago (2013-07-16 01:18:46 UTC) #3
jbroman
https://codereview.chromium.org/18720003/diff/1/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/18720003/diff/1/Source/core/rendering/RenderBox.cpp#newcode4231 Source/core/rendering/RenderBox.cpp:4231: m_overflow->setLayoutOverflow(borderBoxRect()); This should be noOverflowRect() as well. https://codereview.chromium.org/18720003/diff/1/Source/core/rendering/RenderBox.cpp#newcode4421 Source/core/rendering/RenderBox.cpp:4421: ...
7 years, 5 months ago (2013-07-16 01:19:05 UTC) #4
mstensho (USE GERRIT)
Hi, thanks for the review, and sorry for the delay. I got so intrigued by ...
7 years, 5 months ago (2013-07-17 13:39:36 UTC) #5
jbroman
Who is this change blocked on right now? It hasn't been touched in almost a ...
7 years, 5 months ago (2013-07-23 14:11:46 UTC) #6
mstensho (USE GERRIT)
On 2013/07/23 14:11:46, jbroman wrote: > Who is this change blocked on right now? It ...
7 years, 5 months ago (2013-07-23 14:20:45 UTC) #7
jbroman
On 2013/07/23 14:20:45, Morten Stenshorne wrote: > I'm waiting for review. I'd also like to ...
7 years, 5 months ago (2013-07-23 18:54:49 UTC) #8
mstensho (USE GERRIT)
On 2013/07/23 18:54:49, jbroman wrote: > (unpolished) change is at http://crrev.com/17722002. Thanks! So is your ...
7 years, 5 months ago (2013-07-23 19:20:54 UTC) #9
jbroman
On 2013/07/23 19:20:54, Morten Stenshorne wrote: > On 2013/07/23 18:54:49, jbroman wrote: > > > ...
7 years, 5 months ago (2013-07-23 19:21:36 UTC) #10
mstensho (USE GERRIT)
On 2013/07/23 19:21:36, jbroman wrote: > On 2013/07/23 19:20:54, Morten Stenshorne wrote: > > On ...
7 years, 5 months ago (2013-07-23 19:42:55 UTC) #11
Julien - ping for review
lgtm https://codereview.chromium.org/18720003/diff/11001/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/18720003/diff/11001/Source/core/rendering/RenderBox.cpp#newcode4461 Source/core/rendering/RenderBox.cpp:4461: LayoutRect RenderBox::noOverflowRect() const Not totally satisfied with this ...
7 years, 5 months ago (2013-07-24 22:22:28 UTC) #12
mstensho (USE GERRIT)
https://codereview.chromium.org/18720003/diff/11001/Source/core/rendering/RenderBox.cpp File Source/core/rendering/RenderBox.cpp (right): https://codereview.chromium.org/18720003/diff/11001/Source/core/rendering/RenderBox.cpp#newcode4461 Source/core/rendering/RenderBox.cpp:4461: LayoutRect RenderBox::noOverflowRect() const On 2013/07/24 22:22:28, Julien Chaffraix wrote: ...
7 years, 5 months ago (2013-07-25 12:36:39 UTC) #13
mstensho (USE GERRIT)
7 years, 5 months ago (2013-07-25 12:55:35 UTC) #14
mstensho (USE GERRIT)
I'm trying to get this one committed, but it doesn't seem to work. Is it ...
7 years, 5 months ago (2013-07-25 12:58:22 UTC) #15
jbroman
On 2013/07/25 12:58:22, Morten Stenshorne wrote: > I'm trying to get this one committed, but ...
7 years, 5 months ago (2013-07-25 13:27:59 UTC) #16
mstensho (USE GERRIT)
On 2013/07/25 13:27:59, jbroman wrote: > On 2013/07/25 12:58:22, Morten Stenshorne wrote: > > I'm ...
7 years, 5 months ago (2013-07-25 13:32:51 UTC) #17
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/mstensho@opera.com/18720003/22001
7 years, 5 months ago (2013-07-25 18:42:57 UTC) #18
commit-bot: I haz the power
7 years, 5 months ago (2013-07-25 23:28:07 UTC) #19
Message was sent while issue was closed.
Change committed as 154945

Powered by Google App Engine
This is Rietveld 408576698