Changeset 270110 in webkit
- Timestamp:
- Nov 20, 2020 6:47:29 AM (3 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r270109 r270110 1 2020-11-20 Antti Koivisto <antti@apple.com> 2 3 [LFC][Integration] Take alignment offset into account when computing line iterator logicalLeft 4 https://bugs.webkit.org/show_bug.cgi?id=219197 5 6 Reviewed by Zalan Bujtas. 7 8 This fixes editing/style/text-indent.html with LFC editing enabled. 9 10 * layout/integration/LayoutIntegrationLineIteratorModernPath.h: 11 (WebCore::LayoutIntegration::LineIteratorModernPath::logicalLeft const): 12 1 13 2020-11-20 Zalan Bujtas <zalan@apple.com> 2 14 -
trunk/Source/WebCore/layout/integration/LayoutIntegrationLineIteratorModernPath.h
r269989 r270110 60 60 LayoutUnit selectionBottom() const { return bottom(); } 61 61 62 float logicalLeft() const { return line().rect().x() ; }62 float logicalLeft() const { return line().rect().x() + line().horizontalAlignmentOffset(); } 63 63 float logicalRight() const { return logicalLeft() + line().lineBoxWidth(); } 64 64 float y() const { return lineBoxTop(); }
Note: See TracChangeset
for help on using the changeset viewer.