Changeset 257928 in webkit
- Timestamp:
- Mar 5, 2020 10:38:30 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r257917 r257928 1 2020-03-05 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][Integration] Reset position style on line breaks. 4 https://bugs.webkit.org/show_bug.cgi?id=208646 5 <rdar://problem/60086589> 6 7 Reviewed by Antti Koivisto. 8 9 * fast/inline/out-of-flow-positioned-line-break-expected.txt: Added. 10 * fast/inline/out-of-flow-positioned-line-break.html: Added. 11 1 12 2020-03-05 Zalan Bujtas <zalan@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r257926 r257928 1 2020-03-05 Zalan Bujtas <zalan@apple.com> 2 3 [LFC][Integration] Reset position style on line breaks. 4 https://bugs.webkit.org/show_bug.cgi?id=208646 5 <rdar://problem/60086589> 6 7 Reviewed by Antti Koivisto. 8 9 Test: fast/inline/out-of-flow-positioned-line-break.html 10 11 We need to treat line breaks as statically positioned inline content. 12 In the long run we should do something along these lines: 13 https://github.com/w3c/csswg-drafts/issues/610 14 15 * layout/integration/LayoutIntegrationBoxTree.cpp: 16 (WebCore::LayoutIntegration::BoxTree::buildTree): 17 1 18 2020-03-05 Eric Carlson <eric.carlson@apple.com> 2 19 -
trunk/Source/WebCore/layout/integration/LayoutIntegrationBoxTree.cpp
r257507 r257928 67 67 clonedStyle.setDisplay(DisplayType::Inline); 68 68 clonedStyle.setFloating(Float::No); 69 clonedStyle.setPosition(PositionType::Static); 69 70 childBox = makeUnique<Layout::LineBreakBox>(downcast<RenderLineBreak>(childRenderer).isWBR(), WTFMove(clonedStyle)); 70 71 }
Note: See TracChangeset
for help on using the changeset viewer.