Changeset 167291 in webkit
- Timestamp:
- Apr 14, 2014 8:06:21 PM (10 years ago)
- Location:
- trunk/Source/WebCore
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Source/WebCore/ChangeLog
r167290 r167291 1 2014-04-14 Darin Adler <darin@apple.com> 2 3 REGRESSION (r158617): Find on Page can get stuck in a loop when the search string occurs in an <input> in a <fieldset> 4 https://bugs.webkit.org/show_bug.cgi?id=126322 5 6 Reviewed by Ryosuke Niwa. 7 8 One additional tweak to the fix for the bug above. 9 Fixes crash in editing/editability/ignored-content.html test. 10 11 * html/HTMLObjectElement.cpp: 12 (WebCore::HTMLObjectElement::canContainRangeEndPoint): Call through to 13 HTMLElement::canContainRangeEndPoint, bypassing HTMLPlugInElement override 14 that always returns false. Without this change, this function was always 15 returning false. 16 1 17 2014-04-14 Simon Fraser <simon.fraser@apple.com> 2 18 -
trunk/Source/WebCore/html/HTMLObjectElement.cpp
r167210 r167291 514 514 bool HTMLObjectElement::canContainRangeEndPoint() const 515 515 { 516 return m_useFallbackContent && HTMLPlugInImageElement::canContainRangeEndPoint(); 517 } 518 519 } 516 // Call through to HTMLElement because we need to skip HTMLPlugInElement 517 // when calling through to the derived class since returns false unconditionally. 518 // An object element with fallback content should basically be treated like 519 // a generic HTML element. 520 return m_useFallbackContent && HTMLElement::canContainRangeEndPoint(); 521 } 522 523 }
Note: See TracChangeset
for help on using the changeset viewer.