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

Issue 303673007: Don't pixel snap for ellipsis (Closed)

Created:
6 years, 7 months ago by leviw_travelin_and_unemployed
Modified:
6 years, 6 months ago
CC:
blink-reviews, blink-reviews-rendering, zoltan1, eae+blinkwatch, leviw+renderwatch, jchaffraix+rendering, pdr., rune+blink
Visibility:
Public.

Description

Don't pixel snap for ellipsis This is a rough port of Zalan Bujtas' patch on https://bugs.webkit.org/show_bug.cgi?id=112227 Due to pixel snapping/truncating, we prematurely truncate some rtl content when text-overflow: ellipsis is enabled. One piece of this puzzle is a hack to fix old multi-column code, which didn't work well with sub-pixel layout. The other is unnecessary pixel snapping in ellipsis line layout. Both of these issues need to be fixed to address the bug in rtl ellipsis content. This changes old-multicolumn layout by one pixel when compared to the (better) region-based multicolumn on 2 ref tests. BUG=378489 Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=175434

Patch Set 1 #

Patch Set 2 : Remove multicol hack and add Mac expectations #

Patch Set 3 : Adding a test and some test expectations... Two reftests are broken. #

Patch Set 4 : Disable failing ref test #

Patch Set 5 : ToT #

Patch Set 6 : Moar test updates :( #

Patch Set 7 : Disabling ref-tests #

Patch Set 8 : With more baselines... #

Patch Set 9 : Fighting with rebaselining with eae... #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1131 lines, -1033 lines) Patch
M LayoutTests/TestExpectations View 1 2 3 4 5 6 7 8 2 chunks +94 lines, -0 lines 0 comments Download
M LayoutTests/fast/css/absolute-child-with-percent-height-inside-relative-parent-expected.txt View 1 1 chunk +1 line, -1 line 0 comments Download
M LayoutTests/fast/multicol/column-count-with-rules-expected.txt View 1 1 chunk +52 lines, -52 lines 0 comments Download
A LayoutTests/fast/text/ellipsis-in-rtl-content.html View 1 2 1 chunk +11 lines, -0 lines 0 comments Download
A LayoutTests/fast/text/ellipsis-in-rtl-content-expected.html View 1 2 1 chunk +10 lines, -0 lines 0 comments Download
M LayoutTests/platform/mac/css1/box_properties/float_on_text_elements-expected.txt View 1 2 chunks +6 lines, -6 lines 0 comments Download
M LayoutTests/platform/mac/css1/box_properties/margin_right-expected.txt View 1 1 chunk +3 lines, -3 lines 0 comments Download
M LayoutTests/platform/mac/css1/box_properties/padding_right-expected.txt View 1 2 chunks +13 lines, -13 lines 0 comments Download
M LayoutTests/platform/mac/css2.1/t0804-c5507-padn-r-00-c-ag-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/css3/unicode-bidi-isolate-basic-expected.txt View 1 12 chunks +596 lines, -596 lines 0 comments Download
M LayoutTests/platform/mac/editing/selection/caret-ltr-2-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/editing/selection/caret-ltr-2-left-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/editing/selection/caret-rtl-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/editing/selection/caret-rtl-right-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-br-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/editing/selection/vertical-rl-rtl-extend-line-backward-p-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-br-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/editing/selection/vertical-rl-rtl-extend-line-forward-p-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/fast/block/float/026-expected.txt View 1 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/platform/mac/fast/block/float/028-expected.txt View 1 1 chunk +5 lines, -5 lines 0 comments Download
M LayoutTests/platform/mac/fast/css/bidi-override-in-anonymous-block-expected.txt View 1 1 chunk +20 lines, -20 lines 0 comments Download
M LayoutTests/platform/mac/fast/forms/file/file-input-direction-expected.txt View 1 1 chunk +4 lines, -4 lines 0 comments Download
M LayoutTests/platform/mac/fast/lists/008-expected.txt View 1 6 chunks +51 lines, -51 lines 0 comments Download
M LayoutTests/platform/mac/fast/lists/008-vertical-expected.txt View 1 6 chunks +27 lines, -27 lines 0 comments Download
M LayoutTests/platform/mac/fast/multicol/layers-in-multicol-expected.txt View 1 1 chunk +163 lines, -163 lines 0 comments Download
M LayoutTests/platform/mac/fast/text/vertical-rl-rtl-linebreak-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/fast/text/whitespace/pre-wrap-spaces-after-newline-expected.txt View 1 1 chunk +2 lines, -2 lines 0 comments Download
M LayoutTests/platform/mac/svg/custom/svg-fonts-in-html-expected.txt View 1 3 chunks +33 lines, -33 lines 0 comments Download
M LayoutTests/platform/mac/tables/mozilla_expected_failures/bugs/bug91057-expected.txt View 1 3 chunks +6 lines, -6 lines 0 comments Download
M Source/core/rendering/RenderBlockFlow.h View 1 chunk +0 lines, -12 lines 0 comments Download
M Source/core/rendering/RenderBlockLineLayout.cpp View 1 2 3 4 5 6 5 chunks +9 lines, -14 lines 0 comments Download

Messages

Total messages: 21 (0 generated)
leviw_travelin_and_unemployed
This breaks a pair of ref tests that compare old-multicolumn vs region-multicolumn. A box moves ...
6 years, 6 months ago (2014-05-30 18:35:40 UTC) #1
eae
On 2014/05/30 18:35:40, leviw wrote: > This breaks a pair of ref tests that compare ...
6 years, 6 months ago (2014-05-30 21:08:51 UTC) #2
mstensho (USE GERRIT)
On 2014/05/30 18:35:40, leviw wrote: > This breaks a pair of ref tests that compare ...
6 years, 6 months ago (2014-05-30 21:11:56 UTC) #3
leviw_travelin_and_unemployed
On 2014/05/30 21:11:56, mstensho - back 2014-08-19 wrote: > On 2014/05/30 18:35:40, leviw wrote: > ...
6 years, 6 months ago (2014-05-30 21:14:11 UTC) #4
leviw_travelin_and_unemployed
This breaks a shape-outside ref test (by a pixel) on Linux and Windows, too... Any ...
6 years, 6 months ago (2014-06-02 20:25:17 UTC) #5
Zoltan
On 2014/06/02 20:25:17, leviw wrote: > This breaks a shape-outside ref test (by a pixel) ...
6 years, 6 months ago (2014-06-02 21:25:55 UTC) #6
leviw_travelin_and_unemployed
Let me be more specific: How can I fix the ref tests?
6 years, 6 months ago (2014-06-02 21:27:30 UTC) #7
leviw_travelin_and_unemployed
Looks like everything is peachy if I skip the 2 ref tests. I filed a ...
6 years, 6 months ago (2014-06-03 17:40:11 UTC) #8
eae
On 2014/06/03 17:40:11, leviw wrote: > Looks like everything is peachy if I skip the ...
6 years, 6 months ago (2014-06-03 17:41:55 UTC) #9
Zoltan
On 2014/06/03 17:41:55, eae wrote: > On 2014/06/03 17:40:11, leviw wrote: > > Looks like ...
6 years, 6 months ago (2014-06-03 17:44:29 UTC) #10
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 17:47:27 UTC) #11
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/303673007/120001
6 years, 6 months ago (2014-06-03 17:47:55 UTC) #12
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 18:07:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/303673007/140001
6 years, 6 months ago (2014-06-03 18:07:45 UTC) #14
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: win_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-03 19:20:38 UTC) #15
commit-bot: I haz the power
The CQ bit was unchecked by commit-bot@chromium.org
6 years, 6 months ago (2014-06-03 19:48:37 UTC) #16
commit-bot: I haz the power
Try jobs failed on following builders: win_blink_rel on tryserver.blink (http://build.chromium.org/p/tryserver.blink/builders/win_blink_rel/builds/10438)
6 years, 6 months ago (2014-06-03 19:48:37 UTC) #17
leviw_travelin_and_unemployed
The CQ bit was checked by leviw@chromium.org
6 years, 6 months ago (2014-06-03 23:05:12 UTC) #18
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/leviw@chromium.org/303673007/160001
6 years, 6 months ago (2014-06-03 23:06:02 UTC) #19
commit-bot: I haz the power
FYI, CQ is re-trying this CL (attempt #1). The failing builders are: linux_blink_rel on tryserver.blink ...
6 years, 6 months ago (2014-06-04 02:29:42 UTC) #20
commit-bot: I haz the power
6 years, 6 months ago (2014-06-04 03:10:15 UTC) #21
Message was sent while issue was closed.
Change committed as 175434

Powered by Google App Engine
This is Rietveld 408576698