Description was changed from ========== Paint text decorations before painting text. Reference: https://www.w3.org/TR/css-text-decor-3/#painting-order BUG=547174 ========== ...
3 years, 8 months ago
(2017-04-14 22:10:08 UTC)
#1
Dry run: Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/3855)
3 years, 8 months ago
(2017-04-14 23:35:55 UTC)
#5
Description was changed from ========== Paint text decorations before painting text. Reference: https://www.w3.org/TR/css-text-decor-3/#painting-order BUG=547174 CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2 ...
3 years, 8 months ago
(2017-04-15 02:50:40 UTC)
#6
Description was changed from
==========
Paint text decorations before painting text.
Reference:
https://www.w3.org/TR/css-text-decor-3/#painting-order
BUG=547174
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
to
==========
Paint text underline/overline decorations before painting text.
We've been painting them after text. This is incorrect per:
https://www.w3.org/TR/css-text-decor-3/#painting-order
BUG=547174
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
==========
Seeking initial feedback. See further comments on bug in particular the layout tests mentioned in ...
3 years, 8 months ago
(2017-04-15 03:01:04 UTC)
#8
Seeking initial feedback. See further comments on bug in particular the layout
tests mentioned in http://crbug.com/547174#c9. I'll start a dry run to generate
updated layout test failures for review.
https://codereview.chromium.org/2820743003/diff/60001/third_party/WebKit/Sour...
File third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp (right):
https://codereview.chromium.org/2820743003/diff/60001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp:509: static void
ComputeDecorationInfo(
I made this (and the two paint methods below) static because they use
DecorationInfo, which we want to keep private if possible, but we also want to
use DecorationInfo with AppliedDecorationPainter, which is itself static to this
file.
I had AppliedDecorationPainter marked as a friend of InlineTextBoxPainter (see
two patchsets previously) but on reflection thought this was cleaner since
PaintDecorations() was only a member method in order to access the
InlineTextBox.
Unfortunately this also means we have a larger diff since I had to move them to
be defined prior to their callsite. The patch is not as large as it looks re:
new code written since much of below is a minor modification of the original
logic.
https://codereview.chromium.org/2820743003/diff/60001/third_party/WebKit/Sour...
third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp:862:
DecorationInfo decoration_info;
I had this as an Optional (see two patchsets previous to this one) but that
prevents stack-allocation. Allocating on heap is likely expensive given how hot
this code path is, so I think better to make stack-allocated, but open to
thoughts.
wkorman
The CQ bit was checked by wkorman@chromium.org to run a CQ dry run
3 years, 8 months ago
(2017-04-15 03:02:27 UTC)
#9
Dry run: Try jobs failed on following builders: linux_layout_tests_slimming_paint_v2 on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_layout_tests_slimming_paint_v2/builds/3862)
3 years, 8 months ago
(2017-04-15 03:34:09 UTC)
#12
https://codereview.chromium.org/2820743003/diff/80001/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp File third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp (right): https://codereview.chromium.org/2820743003/diff/80001/third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp#newcode241 third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp:241: float start_point_y_offset, This patch changes this to a float, ...
3 years, 8 months ago
(2017-04-17 17:57:59 UTC)
#13
3 years, 8 months ago
(2017-04-17 18:30:21 UTC)
#17
+schenney as another set of paint eyes.
pdr.
On 2017/04/17 at 18:30:21, wkorman wrote: > +schenney as another set of paint eyes. This ...
3 years, 8 months ago
(2017-04-17 18:41:01 UTC)
#18
On 2017/04/17 at 18:30:21, wkorman wrote:
> +schenney as another set of paint eyes.
This looks good to me. I think
fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
is a good example of the changes from this patch, and the diffs seem good to me.
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
3 years, 8 months ago
(2017-04-17 18:45:57 UTC)
#19
Dry run: Try jobs failed on following builders: win_chromium_compile_dbg_ng on master.tryserver.chromium.win (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.win/builders/win_chromium_compile_dbg_ng/builds/390876)
3 years, 8 months ago
(2017-04-17 18:45:58 UTC)
#20
On 2017/04/17 18:41:01, pdr. wrote: > On 2017/04/17 at 18:30:21, wkorman wrote: > > +schenney ...
3 years, 8 months ago
(2017-04-17 18:46:16 UTC)
#21
On 2017/04/17 18:41:01, pdr. wrote:
> On 2017/04/17 at 18:30:21, wkorman wrote:
> > +schenney as another set of paint eyes.
>
> This looks good to me. I think
> fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
> is a good example of the changes from this patch, and the diffs seem good to
me.
Need an actual LGTM if you are on board!
pdr.
On 2017/04/17 at 18:46:16, wkorman wrote: > On 2017/04/17 18:41:01, pdr. wrote: > > On ...
3 years, 8 months ago
(2017-04-17 18:47:03 UTC)
#22
On 2017/04/17 at 18:46:16, wkorman wrote:
> On 2017/04/17 18:41:01, pdr. wrote:
> > On 2017/04/17 at 18:30:21, wkorman wrote:
> > > +schenney as another set of paint eyes.
> >
> > This looks good to me. I think
> >
fast/css3-text/css3-text-decoration/repaint/repaint-text-decoration-style.html
> > is a good example of the changes from this patch, and the diffs seem good to
me.
>
> Need an actual LGTM if you are on board!
LGTM
wkorman
The CQ bit was checked by wkorman@chromium.org
3 years, 8 months ago
(2017-04-19 18:36:20 UTC)
#23
Try jobs failed on following builders: linux_chromium_rel_ng on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/linux_chromium_rel_ng/builds/434564)
3 years, 8 months ago
(2017-04-19 20:23:29 UTC)
#27
Issue 2820743003: Paint text underline/overline decorations before painting text.
(Closed)
Created 3 years, 8 months ago by wkorman
Modified 3 years, 8 months ago
Reviewers: pdr., Stephen Chennney
Base URL:
Comments: 3