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

Issue 22799017: Prevent overflow of width/height of layout overflow rectangle which can cause scroll bar to misfunc… (Closed)

Created:
7 years, 4 months ago by shuais_
Modified:
7 years, 4 months ago
Reviewers:
eae
CC:
blink-reviews, dglazkov+blink, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Prevent overflow of width/height of layout overflow rectangle which can cause scroll bar to misfunction. When a child element is positioned very far away the width/height of layout overflow rectangle may overflow. The patch detects such cases in RenderOverflow::addLayoutOverflow and shift the top/left edges of the rectangle to avoid overflow. BUG=267462 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=156567

Patch Set 1 #

Total comments: 1

Patch Set 2 : Better fix and layout test #

Patch Set 3 : Improve testcase for Webkit #

Patch Set 4 : Fix expected txt #

Unified diffs Side-by-side diffs Delta from patch set Stats (+51 lines, -4 lines) Patch
A LayoutTests/scrollbars/scrollbar-large-overflow-rectangle.html View 1 2 1 chunk +41 lines, -0 lines 0 comments Download
A LayoutTests/scrollbars/scrollbar-large-overflow-rectangle-expected.txt View 1 2 3 1 chunk +3 lines, -0 lines 0 comments Download
M Source/core/rendering/RenderOverflow.h View 1 1 chunk +7 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
shuais_
Please have a look. btw, the try bots are failing but I can't find out ...
7 years, 4 months ago (2013-08-21 08:07:49 UTC) #1
eae
We'd also like to see a layout test/regression test for all changes in behavior. https://codereview.chromium.org/22799017/diff/1/Source/core/rendering/RenderOverflow.h ...
7 years, 4 months ago (2013-08-21 15:40:09 UTC) #2
shuais_
On 2013/08/21 15:40:09, eae wrote: > We'd also like to see a layout test/regression test ...
7 years, 4 months ago (2013-08-22 08:36:48 UTC) #3
eae
LGTM
7 years, 4 months ago (2013-08-22 16:01:37 UTC) #4
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/shuais@opera.com/22799017/16001
7 years, 4 months ago (2013-08-22 16:01:57 UTC) #5
commit-bot: I haz the power
7 years, 4 months ago (2013-08-22 17:39:50 UTC) #6
Message was sent while issue was closed.
Change committed as 156567

Powered by Google App Engine
This is Rietveld 408576698