Changeset 202841 in webkit


Ignore:
Timestamp:
Jul 5, 2016 5:41:46 PM (8 years ago)
Author:
Chris Fleizach
Message:

AX: Image attachment in email does not show up in AX tree
https://bugs.webkit.org/show_bug.cgi?id=159422

Reviewed by Joanmarie Diggs.

Source/WebCore:

When an image loads after the accessibility tree has already been created, the ignored status
of that image does not get updated.

Test: accessibility/image-load-on-delay.html

  • rendering/RenderImage.cpp:

(WebCore::RenderImage::imageChanged):

LayoutTests:

  • accessibility/image-load-on-delay-expected.txt: Added.
  • accessibility/image-load-on-delay.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r202837 r202841  
     12016-07-05  Chris Fleizach  <cfleizach@apple.com>
     2
     3        AX: Image attachment in email does not show up in AX tree
     4        https://bugs.webkit.org/show_bug.cgi?id=159422
     5
     6        Reviewed by Joanmarie Diggs.
     7
     8        * accessibility/image-load-on-delay-expected.txt: Added.
     9        * accessibility/image-load-on-delay.html: Added.
     10
    1112016-07-05  Ryan Haddad  <ryanhaddad@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r202836 r202841  
     12016-07-05  Chris Fleizach  <cfleizach@apple.com>
     2
     3        AX: Image attachment in email does not show up in AX tree
     4        https://bugs.webkit.org/show_bug.cgi?id=159422
     5
     6        Reviewed by Joanmarie Diggs.
     7
     8        When an image loads after the accessibility tree has already been created, the ignored status
     9        of that image does not get updated.
     10
     11        Test: accessibility/image-load-on-delay.html
     12
     13        * rendering/RenderImage.cpp:
     14        (WebCore::RenderImage::imageChanged):
     15
    1162016-07-05  Alex Christensen  <achristensen@webkit.org>
    217
  • trunk/Source/WebCore/rendering/RenderImage.cpp

    r201889 r202841  
    2929#include "RenderImage.h"
    3030
     31#include "AXObjectCache.h"
    3132#include "BitmapImage.h"
    3233#include "CachedImage.h"
     
    253254    }
    254255
     256    if (UNLIKELY(AXObjectCache::accessibilityEnabled())) {
     257        if (AXObjectCache* cache = document().existingAXObjectCache())
     258            cache->recomputeIsIgnored(this);
     259    }
     260
    255261    repaintOrMarkForLayout(imageSizeChange, rect);
    256262}
Note: See TracChangeset for help on using the changeset viewer.