Changeset 176321 in webkit


Ignore:
Timestamp:
Nov 19, 2014 9:36:29 AM (9 years ago)
Author:
Chris Fleizach
Message:

AX: Safari fails to load a web page with VoiceOver
https://bugs.webkit.org/show_bug.cgi?id=138849

Reviewed by Mario Sanchez Prada.

Source/WebCore:

Sometimes an inlineElementContinuation will continue to an inline RenderBlock, so we case this incorrectly and bad things happen.

Test: accessibility/inline-block-assertion.html

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::startOfContinuations):

LayoutTests:

  • accessibility/inline-block-assertion-expected.txt: Added.
  • accessibility/inline-block-assertion.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r176318 r176321  
     12014-11-19  Chris Fleizach  <cfleizach@apple.com>
     2
     3        AX: Safari fails to load a web page with VoiceOver
     4        https://bugs.webkit.org/show_bug.cgi?id=138849
     5
     6        Reviewed by Mario Sanchez Prada.
     7
     8        * accessibility/inline-block-assertion-expected.txt: Added.
     9        * accessibility/inline-block-assertion.html: Added.
     10
    1112014-11-19  Chris Fleizach  <cfleizach@apple.com>
    212
  • trunk/Source/WebCore/ChangeLog

    r176320 r176321  
     12014-11-19  Chris Fleizach  <cfleizach@apple.com>
     2
     3        AX: Safari fails to load a web page with VoiceOver
     4        https://bugs.webkit.org/show_bug.cgi?id=138849
     5
     6        Reviewed by Mario Sanchez Prada.
     7
     8        Sometimes an inlineElementContinuation will continue to an inline RenderBlock, so we case this incorrectly and bad things happen.
     9
     10        Test: accessibility/inline-block-assertion.html
     11
     12        * accessibility/AccessibilityRenderObject.cpp:
     13        (WebCore::startOfContinuations):
     14
    1152014-11-19  Zalan Bujtas  <zalan@apple.com>
    216
  • trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp

    r176162 r176321  
    249249static inline RenderInline* startOfContinuations(RenderObject& renderer)
    250250{
    251     if (renderer.isInlineElementContinuation())
     251    if (renderer.isInlineElementContinuation() && is<RenderInline>(renderer.node()->renderer()))
    252252        return downcast<RenderInline>(renderer.node()->renderer());
    253253
Note: See TracChangeset for help on using the changeset viewer.