|
Rename some functions about layout locations
After the renaming, we'll have the following terms:
- physicalLocation: physical location of a box or an inline in the
containing block. (0,0) is the top-left corner of the containing
block.
Renamed LayoutBox::topLeftLocation() and
InlineBox::locationIncludingFlipping() to physicalLocation().
- location: location in "physical coordinates with flipped blocks
direction". (0,0) is the top-left corner of the containing block
for writing-mode in normal blocks direction (horizontal-tb and
vertical-lr), and is the top-right corner of the containing block
for writing-mode in flipped block direction (vertical-rl).
Renamed InlineBox::topLeft() to location() to keep consistence
with LayoutBox.
Removed InlineBox::top(), left(), right(), bottom().
BTW removed LayoutInline::logicalPositionToPhysicalPoint() which was
not properly named because the input is not "logical" position but
"physical position in flipped blocks direction". Also it was redundant.
Replaced the callsites with flipForWritingMode().
CQ_INCLUDE_TRYBOTS=master.tryserver.chromium.linux:linux_layout_tests_slimming_paint_v2
BUG=
Committed: https://crrev.com/6085e846342287cc5a8531abe99c838687a10620
Cr-Commit-Position: refs/heads/master@{#434900}
Total comments: 4
Total comments: 14
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+149 lines, -202 lines) |
Patch |
 |
M |
third_party/WebKit/Source/core/BUILD.gn
|
View
|
1
2
3
4
5
|
2 chunks |
+2 lines, -1 line |
0 comments
|
Download
|
 |
D |
third_party/WebKit/Source/core/layout/InlineTextBoxTest.cpp
|
View
|
1
2
3
4
|
1 chunk |
+0 lines, -84 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBlockFlow.cpp
|
View
|
1
2
|
2 chunks |
+5 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBox.h
|
View
|
1
2
3
4
5
|
2 chunks |
+7 lines, -8 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBox.cpp
|
View
|
|
5 chunks |
+10 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBoxModelObject.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutBoxTest.cpp
|
View
|
|
3 chunks |
+9 lines, -9 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutInline.cpp
|
View
|
1
2
3
4
5
|
3 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutText.cpp
|
View
|
1
2
3
4
5
|
1 chunk |
+3 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/LayoutTreeAsText.cpp
|
View
|
1
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/MultiColumnFragmentainerGroup.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/DEPS
|
View
|
1
2
3
4
|
1 chunk |
+6 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/EllipsisBox.cpp
|
View
|
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/InlineBox.h
|
View
|
1
2
3
4
5
|
8 chunks |
+23 lines, -25 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/InlineBox.cpp
|
View
|
1
2
3
4
|
3 chunks |
+10 lines, -29 lines |
0 comments
|
Download
|
 |
A |
third_party/WebKit/Source/core/layout/line/InlineBoxTest.cpp
|
View
|
1
2
3
4
|
1 chunk |
+46 lines, -0 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/InlineFlowBox.h
|
View
|
1
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/InlineFlowBox.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/line/InlineTextBox.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
A + |
third_party/WebKit/Source/core/layout/line/InlineTextBoxTest.cpp
|
View
|
1
2
3
4
|
0 chunks |
+-1 lines, --1 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/LayoutSVGText.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+2 lines, -2 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/line/SVGInlineTextBox.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/layout/svg/line/SVGRootInlineBox.cpp
|
View
|
1
2
3
4
5
6
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/EllipsisBoxPainter.cpp
|
View
|
|
2 chunks |
+3 lines, -5 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/InlineTextBoxPainter.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintLayer.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/PaintPropertyTreeBuilder.cpp
|
View
|
|
2 chunks |
+3 lines, -3 lines |
0 comments
|
Download
|
 |
M |
third_party/WebKit/Source/core/paint/SVGInlineTextBoxPainter.cpp
|
View
|
1
2
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Depends on Patchset:
Total messages: 47 (33 generated)
|