Changeset 243605 in webkit
- Timestamp:
- Mar 28, 2019, 9:02:24 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/text/simple-line-layout-with-text-underline-position-expected.html (added)
-
LayoutTests/fast/text/simple-line-layout-with-text-underline-position.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/SimpleLineLayout.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r243602 r243605 1 2019-03-28 Zalan Bujtas <zalan@apple.com> 2 3 [SimpleLineLayout] Disable SLL when text-underline-position is not auto. 4 https://bugs.webkit.org/show_bug.cgi?id=196338 5 <rdar://problem/47975167> 6 7 Reviewed by Daniel Bates. 8 9 * fast/text/simple-line-layout-with-text-underline-position-expected.html: Added. 10 * fast/text/simple-line-layout-with-text-underline-position.html: Added. 11 1 12 2019-03-28 Carlos Garcia Campos <cgarcia@igalia.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r243603 r243605 1 2019-03-28 Zalan Bujtas <zalan@apple.com> 2 3 [SimpleLineLayout] Disable SLL when text-underline-position is not auto. 4 https://bugs.webkit.org/show_bug.cgi?id=196338 5 <rdar://problem/47975167> 6 7 Reviewed by Daniel Bates. 8 9 Disable simple line layout unconditionally on non-auto text-underline-position content. We don't support it yet. 10 11 Test: fast/text/simple-line-layout-with-text-underline-position.html 12 13 * rendering/SimpleLineLayout.cpp: 14 (WebCore::SimpleLineLayout::canUseForStyle): 15 1 16 2019-03-28 Víctor Manuel Jáquez Leal <vjaquez@igalia.com> 2 17 -
trunk/Source/WebCore/rendering/SimpleLineLayout.cpp
r239427 r243605 202 202 if (style.textOverflow() == TextOverflow::Ellipsis) 203 203 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasTextOverflow, reasons, includeReasons); 204 if ( (style.textDecorationsInEffect() & TextDecoration::Underline) && (style.textUnderlinePosition() != TextUnderlinePosition::Auto || !style.textUnderlineOffset().isAuto() || !style.textDecorationThickness().isAuto()))204 if (style.textUnderlinePosition() != TextUnderlinePosition::Auto || !style.textUnderlineOffset().isAuto() || !style.textDecorationThickness().isAuto()) 205 205 SET_REASON_AND_RETURN_IF_NEEDED(FlowHasUnsupportedUnderlineDecoration, reasons, includeReasons); 206 206 // Non-visible overflow should be pretty easy to support.
Note:
See TracChangeset
for help on using the changeset viewer.