Changeset 243678 in webkit
- Timestamp:
- Mar 30, 2019, 7:09:23 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/fast/events/touch/ios/content-observation/iframe-is-shown-on-hover-expected.txt (added)
-
LayoutTests/fast/events/touch/ios/content-observation/iframe-is-shown-on-hover.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/page/ios/ContentChangeObserver.cpp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r243677 r243678 1 2019-03-30 Zalan Bujtas <zalan@apple.com> 2 3 [ContentChangeObserver] Add iFrame elements to the list of "considered clickable" elements. 4 https://bugs.webkit.org/show_bug.cgi?id=196410 5 <rdar://problem/49436828> 6 7 Reviewed by Simon Fraser. 8 9 * fast/events/touch/ios/content-observation/iframe-is-shown-on-hover-expected.txt: Added. 10 * fast/events/touch/ios/content-observation/iframe-is-shown-on-hover.html: Added. 11 1 12 2019-03-30 Zalan Bujtas <zalan@apple.com> 2 13 -
trunk/Source/WebCore/ChangeLog
r243675 r243678 1 2019-03-30 Zalan Bujtas <zalan@apple.com> 2 3 [ContentChangeObserver] Add iFrame elements to the list of "considered clickable" elements. 4 https://bugs.webkit.org/show_bug.cgi?id=196410 5 <rdar://problem/49436828> 6 7 Reviewed by Simon Fraser. 8 9 163.com constructs an iFrame to display the login pane on hover. This patch ensures that we take iFrames into account while observing for visible content change by considering iFrame elements "clickable". 10 (While iFrames don't necessarily have clickable content, we can't just sit and wait until they are fully loaded.) 11 12 Test: fast/events/touch/ios/content-observation/iframe-is-shown-on-hover.html 13 14 * page/ios/ContentChangeObserver.cpp: 15 (WebCore::ContentChangeObserver::StyleChangeScope::isConsideredClickable const): 16 1 17 2019-03-30 Antti Koivisto <antti@apple.com> 2 18 -
trunk/Source/WebCore/page/ios/ContentChangeObserver.cpp
r243673 r243678 31 31 #include "DOMTimer.h" 32 32 #include "Document.h" 33 #include "HTMLIFrameElement.h" 33 34 #include "HTMLImageElement.h" 34 35 #include "Logging.h" … … 487 488 488 489 auto& element = const_cast<Element&>(m_element); 490 if (is<HTMLIFrameElement>(element)) 491 return true; 492 489 493 if (is<HTMLImageElement>(element)) { 490 494 // This is required to avoid HTMLImageElement's touch callout override logic. See rdar://problem/48937767.
Note:
See TracChangeset
for help on using the changeset viewer.