|
[New Multicolumn] Make positionForPoint() work.
When we decide to look "inside" a column set for text content, convert
the visual point to a flow thread point, and then redirect to the flow
thread. The flow thread is where the actual content is; column sets
are always childless. Also make sure that we don't enter flow threads
directly, since they are not visual.
This improves text selecting when hitting something outside the
columns (in the area around the multicol container, or in gaps between
columns).
Re-enable some old tests that now pass because of this change.
The old (current) multicol implementation deals with this in
LayoutBlock::adjustPointToColumnContents().
BUG= 461352
R=dsinclair@chromium.org,jchaffraix@chromium.org
Committed: https://src.chromium.org/viewvc/blink?view=rev&revision=191869
Total comments: 6
Total comments: 10
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+1668 lines, -11 lines) |
Patch |
|
M |
LayoutTests/TestExpectations
|
View
|
1
2
3
4
5
|
4 chunks |
+13 lines, -10 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/caret-range-outside-columns.html
|
View
|
1
2
3
4
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/caret-range-outside-columns-expected.txt
|
View
|
1
2
3
4
|
1 chunk |
+50 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/caret-range-outside-columns-rtl.html
|
View
|
1
2
3
4
5
|
1 chunk |
+88 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/caret-range-outside-columns-rtl-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/vertical-lr/caret-range-outside-columns.html
|
View
|
1
2
3
4
5
|
1 chunk |
+95 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/vertical-lr/caret-range-outside-columns-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/vertical-lr/caret-range-outside-columns-rtl.html
|
View
|
1
2
3
4
5
|
1 chunk |
+97 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/vertical-lr/caret-range-outside-columns-rtl-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+58 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/vertical-rl/caret-range-outside-columns.html
|
View
|
1
2
3
4
5
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/vertical-rl/caret-range-outside-columns-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/vertical-rl/caret-range-outside-columns-rtl.html
|
View
|
1
2
3
4
5
|
1 chunk |
+79 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/multicol/vertical-rl/caret-range-outside-columns-rtl-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+40 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-x.html
|
View
|
1
2
3
4
5
|
1 chunk |
+71 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-x-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl.html
|
View
|
1
2
3
4
5
|
1 chunk |
+73 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+37 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl-vertical-rl.html
|
View
|
1
2
3
4
5
|
1 chunk |
+80 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-x-rtl-vertical-rl-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-x-vertical-rl.html
|
View
|
1
2
3
4
5
|
1 chunk |
+78 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-x-vertical-rl-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+35 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-y.html
|
View
|
1
2
3
4
5
|
1 chunk |
+75 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-y-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-y-rtl.html
|
View
|
1
2
3
4
5
|
1 chunk |
+77 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-y-rtl-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+41 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-y-rtl-vertical-rl.html
|
View
|
1
2
3
4
5
|
1 chunk |
+63 lines, -0 lines |
0 comments
|
Download
|
|
A |
LayoutTests/fast/pagination/caret-range-outside-paged-y-rtl-vertical-rl-expected.txt
|
View
|
1
2
3
4
5
|
1 chunk |
+23 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/layout/LayoutBlock.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
Source/core/layout/LayoutMultiColumnSet.h
|
View
|
1
|
2 chunks |
+2 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/layout/LayoutMultiColumnSet.cpp
|
View
|
1
|
3 chunks |
+16 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/layout/MultiColumnFragmentainerGroup.h
|
View
|
|
3 chunks |
+7 lines, -0 lines |
0 comments
|
Download
|
|
M |
Source/core/layout/MultiColumnFragmentainerGroup.cpp
|
View
|
|
2 chunks |
+45 lines, -0 lines |
0 comments
|
Download
|
Total messages: 10 (2 generated)
|