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

Issue 1458733002: Fix CSS outline property in flipped blocks Writing Mode (vertical-rl) (Closed)

Created:
5 years, 1 month ago by kojii
Modified:
5 years ago
Reviewers:
wkorman, eae
CC:
blink-reviews, blink-reviews-paint_chromium.org, chromium-reviews, dshwang, slimming-paint-reviews_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix CSS outline property in flipped blocks Writing Mode (vertical-rl) This patch fixes CSS outline property for inline elements in flipped blocks Writing Mode (vertical-rl.) LayoutObject::addOutlineRects() returns rects in the object's coordinate, which does not take flipped blocks into account if the object is not a LayoutBox. This patch calls LayoutObject::localToContainerRects(), which is extracted from LayoutBoxModelObject. BUG=491454 Committed: https://crrev.com/328e05af64df9ee8260c65e636d87d3c0c7cccac Cr-Commit-Position: refs/heads/master@{#361297}

Patch Set 1 #

Patch Set 2 : Fix inline-block #

Patch Set 3 : localToContainerRects #

Patch Set 4 : Cleanup, test moved to csswg-test #

Patch Set 5 : !isBox() #

Unified diffs Side-by-side diffs Delta from patch set Stats (+28 lines, -9 lines) Patch
M third_party/WebKit/LayoutTests/TestExpectations View 1 2 3 1 chunk +0 lines, -1 line 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp View 1 2 3 1 chunk +2 lines, -8 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M third_party/WebKit/Source/core/layout/LayoutObject.cpp View 1 2 3 1 chunk +16 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/paint/ObjectPainter.cpp View 1 2 3 4 2 chunks +9 lines, -0 lines 0 comments Download

Messages

Total messages: 19 (7 generated)
kojii
PTAL.
5 years, 1 month ago (2015-11-23 07:44:04 UTC) #4
wkorman
Add a layout test to cover this case? +wangxianzhu in case he has any comments ...
5 years ago (2015-11-23 23:25:16 UTC) #6
Xianzhu
Could you fix LayoutObject::addOutlineRects() to take flipped blocks into account for all objects? On 2015/11/23 ...
5 years ago (2015-11-23 23:37:07 UTC) #7
eae
LGTM
5 years ago (2015-11-24 01:34:22 UTC) #8
kojii
On 2015/11/23 23:37:07, Xianzhu wrote: > Could you fix LayoutObject::addOutlineRects() to take flipped blocks into ...
5 years ago (2015-11-24 02:20:58 UTC) #9
wkorman
lgtm
5 years ago (2015-11-24 02:47:58 UTC) #10
wkorman
On 2015/11/24 at 02:20:58, kojii wrote: > On 2015/11/23 23:37:07, Xianzhu wrote: > > Could ...
5 years ago (2015-11-24 02:51:20 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458733002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458733002/80001
5 years ago (2015-11-24 05:25:31 UTC) #13
commit-bot: I haz the power
Try jobs failed on following builders: linux_chromium_chromeos_rel_ng on tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_chromeos_rel_ng/builds/133516)
5 years ago (2015-11-24 06:54:29 UTC) #15
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1458733002/80001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1458733002/80001
5 years ago (2015-11-24 07:46:04 UTC) #17
commit-bot: I haz the power
Committed patchset #5 (id:80001)
5 years ago (2015-11-24 09:03:26 UTC) #18
commit-bot: I haz the power
5 years ago (2015-11-24 09:04:55 UTC) #19
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/328e05af64df9ee8260c65e636d87d3c0c7cccac
Cr-Commit-Position: refs/heads/master@{#361297}

Powered by Google App Engine
This is Rietveld 408576698