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

Issue 867653005: Remove outline painting on inlines. (Closed)

Created:
5 years, 11 months ago by ojan
Modified:
5 years, 11 months ago
CC:
esprehn, abarth-chromium, mojo-reviews_chromium.org
Base URL:
git@github.com:domokit/mojo.git@master
Target Ref:
refs/heads/master
Project:
mojo
Visibility:
Public.

Description

Remove outline painting on inlines. Jagged edge outlines are more complexity than is justified for the use-cases. We should enable to use-cases like this, but with a lower-level line-box + custom painting API. Removes the paintOutline method on RenderInline. Also removed a number of dead methods that call absoluteRects so we can delete that method and related code. R=esprehn@chromium.org Committed: https://chromium.googlesource.com/external/mojo/+/ef2fc1e961ca8be1b05403077dc0cc332cbad462

Patch Set 1 #

Total comments: 1
Unified diffs Side-by-side diffs Delta from patch set Stats (+7 lines, -298 lines) Patch
M sky/engine/core/dom/Node.h View 1 chunk +0 lines, -5 lines 0 comments Download
M sky/engine/core/dom/Node.cpp View 1 chunk +0 lines, -21 lines 0 comments Download
M sky/engine/core/rendering/InlineFlowBox.cpp View 1 chunk +1 line, -5 lines 0 comments Download
M sky/engine/core/rendering/PaintInfo.h View 3 chunks +1 line, -7 lines 0 comments Download
M sky/engine/core/rendering/RenderBlock.h View 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/core/rendering/RenderBlock.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M sky/engine/core/rendering/RenderBox.h View 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/core/rendering/RenderBox.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M sky/engine/core/rendering/RenderInline.h View 3 chunks +0 lines, -5 lines 0 comments Download
M sky/engine/core/rendering/RenderInline.cpp View 2 chunks +0 lines, -182 lines 0 comments Download
M sky/engine/core/rendering/RenderLayer.cpp View 3 chunks +3 lines, -3 lines 0 comments Download
M sky/engine/core/rendering/RenderLineBoxList.cpp View 3 chunks +2 lines, -14 lines 1 comment Download
M sky/engine/core/rendering/RenderObject.h View 1 chunk +0 lines, -4 lines 0 comments Download
M sky/engine/core/rendering/RenderObject.cpp View 1 chunk +0 lines, -16 lines 0 comments Download
M sky/engine/core/rendering/RenderText.h View 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/core/rendering/RenderText.cpp View 1 chunk +0 lines, -6 lines 0 comments Download
M sky/engine/core/rendering/RenderView.h View 1 chunk +0 lines, -1 line 0 comments Download
M sky/engine/core/rendering/RenderView.cpp View 1 chunk +0 lines, -5 lines 0 comments Download
M sky/engine/public/web/WebNode.h View 1 chunk +0 lines, -5 lines 0 comments Download
M sky/engine/web/WebNode.cpp View 1 chunk +0 lines, -6 lines 0 comments Download

Messages

Total messages: 5 (1 generated)
ojan
https://codereview.chromium.org/867653005/diff/1/sky/engine/core/rendering/RenderLineBoxList.cpp File sky/engine/core/rendering/RenderLineBoxList.cpp (left): https://codereview.chromium.org/867653005/diff/1/sky/engine/core/rendering/RenderLineBoxList.cpp#oldcode219 sky/engine/core/rendering/RenderLineBoxList.cpp:219: if (info.phase == PaintPhaseOutline || info.phase == PaintPhaseSelfOutline || ...
5 years, 11 months ago (2015-01-27 02:14:53 UTC) #2
esprehn
We should probably also make getComputedStyle().outline result in none for display types that don't support ...
5 years, 11 months ago (2015-01-27 02:44:00 UTC) #3
ojan
On 2015/01/27 at 02:44:00, esprehn wrote: > We should probably also make getComputedStyle().outline result in ...
5 years, 11 months ago (2015-01-27 02:54:20 UTC) #4
ojan
5 years, 11 months ago (2015-01-27 02:58:09 UTC) #5
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
ef2fc1e961ca8be1b05403077dc0cc332cbad462 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698