|
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
|
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
|
Total messages: 21 (0 generated)
|