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

Issue 1817623004: When the SVG element is 'visible', the SVG element is not shown (Closed)

Created:
4 years, 9 months ago by hyunjunekim2
Modified:
4 years, 9 months ago
Reviewers:
pdr., fs
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

When the SVG element is 'visible', the SVG element is not shown Can't display the svg element that is not root and has 'visible'. When paint the root element that is hidden, does not give a chance to the children whether paint or not. Because ignore to paint hidden <svg> element except 'border-radius' and if children of hidden <svg> element have 'visibility=visible', paint it. BUG=590153 Committed: https://crrev.com/776c27e916f27261eff437954efe0d79b6195f30 Cr-Commit-Position: refs/heads/master@{#383252}

Patch Set 1 #

Patch Set 2 : #

Patch Set 3 : #

Patch Set 4 : #

Patch Set 5 : #

Patch Set 6 : #

Patch Set 7 : #

Total comments: 8

Patch Set 8 : #

Patch Set 9 : #

Patch Set 10 : #

Patch Set 11 : #

Patch Set 12 : #

Patch Set 13 : #

Total comments: 12

Patch Set 14 : #

Patch Set 15 : #

Patch Set 16 : #

Patch Set 17 : When hidden, ignore selection tint. #

Patch Set 18 : #

Total comments: 2

Patch Set 19 : #

Messages

Total messages: 47 (24 generated)
hyunjunekim2
fs, pdr Could you check PS7 and give me advice? Thank you.
4 years, 9 months ago (2016-03-21 15:29:16 UTC) #11
fs
https://codereview.chromium.org/1817623004/diff/120001/third_party/WebKit/LayoutTests/svg/custom/visibility-enable-on-svg-element-expected.html File third_party/WebKit/LayoutTests/svg/custom/visibility-enable-on-svg-element-expected.html (right): https://codereview.chromium.org/1817623004/diff/120001/third_party/WebKit/LayoutTests/svg/custom/visibility-enable-on-svg-element-expected.html#newcode2 third_party/WebKit/LayoutTests/svg/custom/visibility-enable-on-svg-element-expected.html:2: <div> The reference could just be a 100x100 div ...
4 years, 9 months ago (2016-03-21 16:07:58 UTC) #12
hyunjunekim2
fs, Could you check PS13 and give me advice? https://codereview.chromium.org/1817623004/diff/120001/third_party/WebKit/LayoutTests/svg/custom/visibility-enable-on-svg-element-expected.html File third_party/WebKit/LayoutTests/svg/custom/visibility-enable-on-svg-element-expected.html (right): https://codereview.chromium.org/1817623004/diff/120001/third_party/WebKit/LayoutTests/svg/custom/visibility-enable-on-svg-element-expected.html#newcode2 third_party/WebKit/LayoutTests/svg/custom/visibility-enable-on-svg-element-expected.html:2: ...
4 years, 9 months ago (2016-03-23 14:19:33 UTC) #14
fs
https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp File third_party/WebKit/Source/core/paint/ReplacedPainter.cpp (right): https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp#newcode33 third_party/WebKit/Source/core/paint/ReplacedPainter.cpp:33: if (m_layoutReplaced.style()->visibility() != HIDDEN && m_layoutReplaced.hasBoxDecorationBackground() && (paintInfo.phase == ...
4 years, 9 months ago (2016-03-23 14:44:23 UTC) #16
hyunjunekim2
fs, Could you check this patch? and give me advice. Thank you :) https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp File ...
4 years, 9 months ago (2016-03-24 12:40:48 UTC) #17
hyunjunekim2
It made the wrong case. https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp File third_party/WebKit/Source/core/paint/ReplacedPainter.cpp (right): https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp#newcode87 third_party/WebKit/Source/core/paint/ReplacedPainter.cpp:87: bool drawSelectionTint = paintInfo.phase ...
4 years, 9 months ago (2016-03-24 12:47:23 UTC) #18
hyunjunekim2
fs, Could you check PS17? https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp File third_party/WebKit/Source/core/paint/ReplacedPainter.cpp (right): https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp#newcode87 third_party/WebKit/Source/core/paint/ReplacedPainter.cpp:87: bool drawSelectionTint = paintInfo.phase ...
4 years, 9 months ago (2016-03-24 13:04:51 UTC) #19
hyunjunekim2
question. :) https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp File third_party/WebKit/Source/core/paint/ReplacedPainter.cpp (right): https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp#newcode87 third_party/WebKit/Source/core/paint/ReplacedPainter.cpp:87: bool drawSelectionTint = paintInfo.phase == PaintPhaseForeground && ...
4 years, 9 months ago (2016-03-24 13:12:24 UTC) #20
hyunjunekim2
fs, I looked at. I guess that it's not solution. Let a little more. and ...
4 years, 9 months ago (2016-03-24 13:41:20 UTC) #21
fs
https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp File third_party/WebKit/Source/core/paint/ReplacedPainter.cpp (right): https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp#newcode87 third_party/WebKit/Source/core/paint/ReplacedPainter.cpp:87: bool drawSelectionTint = paintInfo.phase == PaintPhaseForeground && m_layoutReplaced.getSelectionState() != ...
4 years, 9 months ago (2016-03-24 13:47:35 UTC) #22
hyunjunekim2
On 2016/03/24 13:47:35, fs wrote: > https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp > File third_party/WebKit/Source/core/paint/ReplacedPainter.cpp (right): > > https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp#newcode87 > ...
4 years, 9 months ago (2016-03-24 14:04:22 UTC) #23
fs
On 2016/03/24 at 14:04:22, hyunjune.kim wrote: > On 2016/03/24 13:47:35, fs wrote: > > https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp ...
4 years, 9 months ago (2016-03-24 14:14:32 UTC) #24
hyunjunekim2
Could you check PS 18? >Yes, that's better to fix in another CL (the reason ...
4 years, 9 months ago (2016-03-24 15:31:34 UTC) #25
hyunjunekim2
On 2016/03/24 15:31:34, hyunjunekim2 wrote: > Could you check PS 18? > > >Yes, that's ...
4 years, 9 months ago (2016-03-24 15:36:27 UTC) #26
fs
LGTM w/ the comment clarified. https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp File third_party/WebKit/Source/core/paint/ReplacedPainter.cpp (right): https://codereview.chromium.org/1817623004/diff/240001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp#newcode87 third_party/WebKit/Source/core/paint/ReplacedPainter.cpp:87: bool drawSelectionTint = paintInfo.phase ...
4 years, 9 months ago (2016-03-24 15:39:03 UTC) #27
hyunjunekim2
Also modified description. https://codereview.chromium.org/1817623004/diff/330001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp File third_party/WebKit/Source/core/paint/ReplacedPainter.cpp (right): https://codereview.chromium.org/1817623004/diff/330001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp#newcode105 third_party/WebKit/Source/core/paint/ReplacedPainter.cpp:105: // But if it's SVG Root, ...
4 years, 9 months ago (2016-03-24 16:09:01 UTC) #32
fs
On 2016/03/24 at 16:09:01, hyunjune.kim wrote: > Also modified description. > > https://codereview.chromium.org/1817623004/diff/330001/third_party/WebKit/Source/core/paint/ReplacedPainter.cpp > File ...
4 years, 9 months ago (2016-03-24 16:22:45 UTC) #36
hyunjunekim2
On 2016/03/24 16:22:45, fs wrote: > On 2016/03/24 at 16:09:01, hyunjune.kim wrote: > > Also ...
4 years, 9 months ago (2016-03-24 16:37:32 UTC) #37
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817623004/350001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817623004/350001
4 years, 9 months ago (2016-03-24 16:38:04 UTC) #39
commit-bot: I haz the power
Try jobs failed on following builders: win_chromium_rel_ng on tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_rel_ng/builds/194029)
4 years, 9 months ago (2016-03-24 22:40:30 UTC) #41
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1817623004/350001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1817623004/350001
4 years, 9 months ago (2016-03-25 02:18:32 UTC) #43
commit-bot: I haz the power
Committed patchset #19 (id:350001)
4 years, 9 months ago (2016-03-25 05:06:20 UTC) #45
commit-bot: I haz the power
4 years, 9 months ago (2016-03-25 05:07:33 UTC) #47
Message was sent while issue was closed.
Patchset 19 (id:??) landed as
https://crrev.com/776c27e916f27261eff437954efe0d79b6195f30
Cr-Commit-Position: refs/heads/master@{#383252}

Powered by Google App Engine
This is Rietveld 408576698