Chromium Code Reviews

Issue 203273003: Underline Thickness is not uniform (Closed)

Created:
6 years, 9 months ago by h.joshi
Modified:
6 years, 2 months ago
Reviewers:
leviw_travelin_and_unemployed, Stephen Chennney, eae
CC:
blink-reviews, zoltan1, dsinclair, bemjb+rendering_chromium.org, eae+blinkwatch, ed+blinkwatch_opera.com, leviw+renderwatch, dglazkov+blink, apavlov+blink_chromium.org, jchaffraix+rendering, darktears, pdr., rune+blink, f(malita), jbroman
Base URL:
https://chromium.googlesource.com/chromium/blink.git@master
Visibility:
Public.

Description

Underline thickness is not uniform, due to recent changes to support Underline thickness as per Font Size, thickness is not uniform when we have different Underline Text of different size. BUG=353907, 356092

Patch Set 1 #

Total comments: 14

Patch Set 2 : Fixing comments and adding new test case #

Total comments: 9

Patch Set 3 : Comment fix #

Unified diffs Side-by-side diffs Stats (+248 lines, -51 lines)
M LayoutTests/TestExpectations View 1 chunk +3 lines, -0 lines 0 comments
A LayoutTests/fast/text/decoration-uniform-thickness.html View 1 chunk +10 lines, -0 lines 0 comments
A LayoutTests/platform/linux/fast/text/decoration-uniform-thickness-expected.png View 1 2 Binary file 0 comments
A LayoutTests/platform/linux/fast/text/decoration-uniform-thickness-expected.txt View 1 2 1 chunk +54 lines, -0 lines 0 comments
M Source/core/rendering/InlineBox.h View 1 1 chunk +2 lines, -0 lines 0 comments
M Source/core/rendering/InlineFlowBox.h View 1 1 chunk +2 lines, -0 lines 0 comments
M Source/core/rendering/InlineFlowBox.cpp View 1 2 1 chunk +54 lines, -2 lines 0 comments
M Source/core/rendering/InlineTextBox.h View 1 2 4 chunks +10 lines, -1 line 0 comments
M Source/core/rendering/InlineTextBox.cpp View 1 2 7 chunks +101 lines, -48 lines 0 comments
M Source/core/rendering/RootInlineBox.h View 1 1 chunk +2 lines, -0 lines 0 comments
M Source/core/rendering/RootInlineBox.cpp View 1 1 chunk +10 lines, -0 lines 0 comments

Messages

Total messages: 23 (0 generated)
h.joshi
Changes to have uniform Underline thickness when we have underline text with different Font size. ...
6 years, 9 months ago (2014-03-19 06:29:08 UTC) #1
andersr
So, if I read the code correctly, you find the biggest thickness among the children ...
6 years, 9 months ago (2014-03-19 13:18:12 UTC) #2
h.joshi
Yes, in code I am finding biggest thickness during painting, and use that thickness for ...
6 years, 9 months ago (2014-03-19 13:59:53 UTC) #3
andersr
https://codereview.chromium.org/203273003/diff/1/Source/core/rendering/InlineFlowBox.cpp File Source/core/rendering/InlineFlowBox.cpp (right): https://codereview.chromium.org/203273003/diff/1/Source/core/rendering/InlineFlowBox.cpp#newcode1133 Source/core/rendering/InlineFlowBox.cpp:1133: TextDecorationStyle style = TextDecorationStyleNone; I'm not sure it's wise ...
6 years, 9 months ago (2014-03-19 14:39:43 UTC) #4
h.joshi
New code is added with comment fix and new test case On 2014/03/19 14:39:43, rude ...
6 years, 9 months ago (2014-03-20 09:42:51 UTC) #5
h.joshi
Pls review. On 2014/03/20 09:42:51, h.joshi wrote: > New code is added with comment fix ...
6 years, 9 months ago (2014-03-21 20:10:13 UTC) #6
leviw_travelin_and_unemployed
Not LGTM for the huge block of code duplication. It seems like you really just ...
6 years, 9 months ago (2014-03-21 20:43:07 UTC) #7
Stephen Chennney
I'm not lgtm for the over-through-under case. I see no reason to have the line ...
6 years, 9 months ago (2014-03-21 22:55:36 UTC) #8
h.joshi
I am working on to remove all duplicate code, will also work on the comments ...
6 years, 9 months ago (2014-03-23 13:21:37 UTC) #9
h.joshi
Okey, will work on above comments. I had this doubt to apply uniform underline to ...
6 years, 9 months ago (2014-03-23 13:25:46 UTC) #10
Stephen Chennney
On 2014/03/23 13:25:46, h.joshi wrote: > Okey, will work on above comments. I had this ...
6 years, 9 months ago (2014-03-24 14:58:48 UTC) #11
hj
Checked on IE 11 and Firefox 29 beta. This feature is not present in Firefox ...
6 years, 9 months ago (2014-03-26 17:48:01 UTC) #12
h.joshi
New patch is added with comment fix and making line thickness same for continuous decorative ...
6 years, 9 months ago (2014-03-27 09:41:54 UTC) #13
h.joshi
Pls review this patch, after this patch Chrome and IE-11 have same functionality. On 2014/03/27 ...
6 years, 8 months ago (2014-04-03 17:26:37 UTC) #14
hj
Pls review, shared comments are fixed with new patch. On 2014/04/03 17:26:37, h.joshi wrote: > ...
6 years, 8 months ago (2014-04-08 12:32:35 UTC) #15
h.joshi
Pls review, this is now pending for 3 weeks. On 2014/04/08 12:32:35, hj wrote: > ...
6 years, 7 months ago (2014-04-29 12:58:47 UTC) #16
h.joshi
Pls review, this patch is 1 month old now
6 years, 7 months ago (2014-05-17 07:17:11 UTC) #17
Stephen Chennney
On 2014/05/17 07:17:11, h.joshi wrote: > Pls review, this patch is 1 month old now ...
6 years, 7 months ago (2014-05-19 14:57:47 UTC) #18
h.joshi
@Stephen Chrnney: I have added one commnet on https://codereview.chromium.org/275333002/ Pls revie this patch.
6 years, 7 months ago (2014-05-20 07:20:17 UTC) #19
bungeman-chromium
After taking a look into this, I believe that it is better to compute a ...
6 years, 4 months ago (2014-08-03 02:25:50 UTC) #20
Stephen Chennney
On 2014/08/03 02:25:50, bungeman2 wrote: > After taking a look into this, I believe that ...
6 years, 4 months ago (2014-08-04 13:37:53 UTC) #21
paulirish
> fmalita would be the man to talk to now, or jbroman. I'm not super ...
6 years, 3 months ago (2014-09-16 00:25:55 UTC) #22
eae
6 years, 3 months ago (2014-09-16 00:36:46 UTC) #23
On 2014/09/16 00:25:55, paulirish wrote:
> > fmalita would be the man to talk to now, or jbroman. I'm not super familiar
> with line box layout and fmalita has been in the space more recently. Having
> said that, I don't think anyone is super familiar with the code.
> 
> 
> @fmalita, can you comment on this patch? I'd love to help move it forward.

FYI, the underline change that triggered this has been reverted.

Powered by Google App Engine