Changeset 184801 in webkit


Ignore:
Timestamp:
May 22, 2015 4:44:18 PM (9 years ago)
Author:
jdiggs@igalia.com
Message:

AX: Figure out why list-detection2.html test fails on GTK
https://bugs.webkit.org/show_bug.cgi?id=145273

Reviewed by Chris Fleizach.

Only consider the text under the pseudo element for GTK and EFL.
The other platforms expose rendered text content through their
own accessible objects. This will fix the crash on Windows until
it can be looked into properly.

No new tests. This should stop list-detection2.html to stop crashing on Windows.

  • accessibility/AccessibilityList.cpp:

(WebCore::AccessibilityList::childHasPseudoVisibleListItemMarkers):

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r184799 r184801  
     12015-05-22  Joanmarie Diggs  <jdiggs@igalia.com>
     2
     3        AX: Figure out why list-detection2.html test fails on GTK
     4        https://bugs.webkit.org/show_bug.cgi?id=145273
     5
     6        Reviewed by Chris Fleizach.
     7
     8        Only consider the text under the pseudo element for GTK and EFL.
     9        The other platforms expose rendered text content through their
     10        own accessible objects. This will fix the crash on Windows until
     11        it can be looked into properly.
     12
     13        No new tests. This should stop list-detection2.html to stop crashing on Windows.
     14
     15        * accessibility/AccessibilityList.cpp:
     16        (WebCore::AccessibilityList::childHasPseudoVisibleListItemMarkers):
     17
    1182015-05-22  Jer Noble  <jer.noble@apple.com>
    219
  • trunk/Source/WebCore/accessibility/AccessibilityList.cpp

    r184765 r184801  
    120120    // Platforms which expose rendered text content through the parent element will treat
    121121    // those renderers as "ignored" objects.
     122#if PLATFORM(GTK) || PLATFORM(EFL)
    122123    String text = axObj->textUnderElement();
    123124    return !text.isEmpty() && !text.containsOnlyWhitespace();
     125#else
     126    return false;
     127#endif
    124128}
    125129   
Note: See TracChangeset for help on using the changeset viewer.