Changeset 237449 in webkit
- Timestamp:
- Oct 26, 2018, 6:16:03 AM (8 years ago)
- Location:
- trunk
- Files:
-
- 3 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/repaint/text-selection-overflow-hidden-expected.txt (added)
-
LayoutTests/fast/repaint/text-selection-overflow-hidden.html (added)
-
LayoutTests/platform/win/fast/repaint/text-selection-overflow-hidden-expected.txt (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderObject.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r237443 r237449 1 2018-10-26 Ali Juma <ajuma@chromium.org> 2 3 REGRESSION (r237255): Text selection is broken in form fields 4 https://bugs.webkit.org/show_bug.cgi?id=190899 5 6 Reviewed by Ryosuke Niwa. 7 8 Add layout test coverage. 9 10 * fast/repaint/text-selection-overflow-hidden-expected.txt: Added. 11 * fast/repaint/text-selection-overflow-hidden.html: Added. 12 * platform/win/fast/repaint/text-selection-overflow-hidden-expected.txt: Added. 13 1 14 2018-10-25 Ryan Haddad <ryanhaddad@apple.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r237446 r237449 1 2018-10-26 Ali Juma <ajuma@chromium.org> 2 3 REGRESSION (r237255): Text selection is broken in form fields 4 https://bugs.webkit.org/show_bug.cgi?id=190899 5 6 Reviewed by Ryosuke Niwa. 7 8 Fix missing negation when checking for a fully-clipped-out rect. This was causing 9 RenderObject::computeVisibleRectInContainer to incorrectly early-out. 10 11 Test: fast/repaint/text-selection-overflow-hidden.html 12 13 * rendering/RenderObject.cpp: 14 (WebCore::RenderObject::computeVisibleRectInContainer const): 15 1 16 2018-10-25 Chris Dumez <cdumez@apple.com> 2 17 -
trunk/Source/WebCore/rendering/RenderObject.cpp
r237266 r237449 1001 1001 LayoutRect adjustedRect = rect; 1002 1002 if (parent->hasOverflowClip()) { 1003 bool isEmpty = downcast<RenderBox>(*parent).applyCachedClipAndScrollPosition(adjustedRect, container, context);1003 bool isEmpty = !downcast<RenderBox>(*parent).applyCachedClipAndScrollPosition(adjustedRect, container, context); 1004 1004 if (isEmpty) { 1005 1005 if (context.m_options.contains(VisibleRectContextOption::UseEdgeInclusiveIntersection))
Note:
See TracChangeset
for help on using the changeset viewer.