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

Issue 1155093004: Don't paint a border after the last frame on any axis in a frameset (Closed)

Created:
5 years, 6 months ago by fs
Modified:
5 years, 6 months ago
Reviewers:
chrishtr, pdr.
CC:
blink-reviews, blink-reviews-paint_chromium.org, dshwang, slimming-paint-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
blink
Visibility:
Public.

Description

Don't paint a border after the last frame on any axis in a frameset A border would be painted after the last frame on any axis in a frameset. This border would usually not be visible since it was clipped out by the view (or a frame, if in a nested frameset). Also hoist the check for non-zero border thickness, since if it's zero the loops won't do anything useful. BUG=496322 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=196600

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -3 lines) Patch
M LayoutTests/TestExpectations View 1 chunk +5 lines, -0 lines 0 comments Download
A LayoutTests/fast/frames/frame-set-too-many-frames.html View 1 chunk +6 lines, -0 lines 0 comments Download
A LayoutTests/fast/frames/frame-set-too-many-frames-expected.html View 1 chunk +5 lines, -0 lines 0 comments Download
M Source/core/paint/FrameSetPainter.cpp View 3 chunks +12 lines, -3 lines 2 comments Download

Messages

Total messages: 8 (2 generated)
fs
5 years, 6 months ago (2015-06-05 13:21:04 UTC) #2
chrishtr
https://codereview.chromium.org/1155093004/diff/1/Source/core/paint/FrameSetPainter.cpp File Source/core/paint/FrameSetPainter.cpp (right): https://codereview.chromium.org/1155093004/diff/1/Source/core/paint/FrameSetPainter.cpp#newcode68 Source/core/paint/FrameSetPainter.cpp:68: return index + 1 < axis.m_sizes.size() && axis.m_allowBorder[index + ...
5 years, 6 months ago (2015-06-05 18:57:27 UTC) #3
fs
https://codereview.chromium.org/1155093004/diff/1/Source/core/paint/FrameSetPainter.cpp File Source/core/paint/FrameSetPainter.cpp (right): https://codereview.chromium.org/1155093004/diff/1/Source/core/paint/FrameSetPainter.cpp#newcode68 Source/core/paint/FrameSetPainter.cpp:68: return index + 1 < axis.m_sizes.size() && axis.m_allowBorder[index + ...
5 years, 6 months ago (2015-06-05 19:18:47 UTC) #4
chrishtr
lgtm
5 years, 6 months ago (2015-06-05 19:42:41 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1155093004/1
5 years, 6 months ago (2015-06-05 19:42:55 UTC) #7
commit-bot: I haz the power
5 years, 6 months ago (2015-06-05 19:46:44 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://src.chromium.org/viewvc/blink?view=rev&revision=196600

Powered by Google App Engine
This is Rietveld 408576698