Changeset 93578 in webkit


Ignore:
Timestamp:
Aug 22, 2011 8:55:42 PM (13 years ago)
Author:
commit-queue@webkit.org
Message:

Unreviewed, rolling out r93565.
http://trac.webkit.org/changeset/93565
https://bugs.webkit.org/show_bug.cgi?id=66745

Breaks layout tests (Requested by koz2 on #webkit).

Patch by Sheriff Bot <webkit.review.bot@gmail.com> on 2011-08-22

Source/WebCore:

  • accessibility/AccessibilityRenderObject.cpp:

(WebCore::AccessibilityRenderObject::ariaLabeledByElements):
(WebCore::AccessibilityRenderObject::ariaLabeledByAttribute):
(WebCore::AccessibilityRenderObject::title):
(WebCore::AccessibilityRenderObject::hasTextAlternative):

  • accessibility/AccessibilityRenderObject.h:

LayoutTests:

  • accessibility/aria-labelledby-overrides-aria-labeledby-expected.txt: Removed.
  • accessibility/aria-labelledby-overrides-aria-labeledby.html: Removed.
Location:
trunk
Files:
2 deleted
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r93570 r93578  
     12011-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r93565.
     4        http://trac.webkit.org/changeset/93565
     5        https://bugs.webkit.org/show_bug.cgi?id=66745
     6
     7        Breaks layout tests (Requested by koz2 on #webkit).
     8
     9        * accessibility/aria-labelledby-overrides-aria-labeledby-expected.txt: Removed.
     10        * accessibility/aria-labelledby-overrides-aria-labeledby.html: Removed.
     11
    1122011-08-22  Peter Kasting  <pkasting@google.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r93574 r93578  
     12011-08-22  Sheriff Bot  <webkit.review.bot@gmail.com>
     2
     3        Unreviewed, rolling out r93565.
     4        http://trac.webkit.org/changeset/93565
     5        https://bugs.webkit.org/show_bug.cgi?id=66745
     6
     7        Breaks layout tests (Requested by koz2 on #webkit).
     8
     9        * accessibility/AccessibilityRenderObject.cpp:
     10        (WebCore::AccessibilityRenderObject::ariaLabeledByElements):
     11        (WebCore::AccessibilityRenderObject::ariaLabeledByAttribute):
     12        (WebCore::AccessibilityRenderObject::title):
     13        (WebCore::AccessibilityRenderObject::hasTextAlternative):
     14        * accessibility/AccessibilityRenderObject.h:
     15
    1162011-08-22  Alice Boxhall  <aboxhall@chromium.org>
    217
  • trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp

    r93565 r93578  
    12421242}
    12431243   
    1244 void AccessibilityRenderObject::ariaLabelledByElements(Vector<Element*>& elements) const
    1245 {
    1246     elementsFromAttribute(elements, aria_labelledbyAttr);
     1244void AccessibilityRenderObject::ariaLabeledByElements(Vector<Element*>& elements) const
     1245{
     1246    elementsFromAttribute(elements, aria_labeledbyAttr);
    12471247    if (!elements.size())
    1248         elementsFromAttribute(elements, aria_labeledbyAttr);
     1248        elementsFromAttribute(elements, aria_labelledbyAttr);
    12491249}
    12501250   
    1251 String AccessibilityRenderObject::ariaLabelledByAttribute() const
     1251String AccessibilityRenderObject::ariaLabeledByAttribute() const
    12521252{
    12531253    Vector<Element*> elements;
    1254     ariaLabelledByElements(elements);
     1254    ariaLabeledByElements(elements);
    12551255   
    12561256    return accessibilityDescriptionForElements(elements);
     
    13011301        return String();
    13021302   
    1303 
    13041303    const AtomicString& title = getAttribute(titleAttr);
    13051304    if (!title.isEmpty())
     
    15921591bool AccessibilityRenderObject::hasTextAlternative() const
    15931592{
    1594     // ARIA: section 2A, bullet #3 says if aria-labelledby or aria-label appears, it should
     1593    // ARIA: section 2A, bullet #3 says if aria-labeledby or aria-label appears, it should
    15951594    // override the "label" element association.
    1596     if (!ariaLabelledByAttribute().isEmpty() || !getAttribute(aria_labelAttr).isEmpty())
     1595    if (!ariaLabeledByAttribute().isEmpty() || !getAttribute(aria_labelAttr).isEmpty())
    15971596        return true;
    15981597       
  • trunk/Source/WebCore/accessibility/AccessibilityRenderObject.h

    r93565 r93578  
    186186    virtual VisibleSelection selection() const;
    187187    virtual String stringValue() const;
    188     virtual String ariaLabelledByAttribute() const;
     188    virtual String ariaLabeledByAttribute() const;
    189189    virtual String title() const;
    190190    virtual String ariaDescribedByAttribute() const;
     
    267267   
    268268    void setRenderObject(RenderObject* renderer) { m_renderer = renderer; }
    269     void ariaLabelledByElements(Vector<Element*>& elements) const;
     269    void ariaLabeledByElements(Vector<Element*>& elements) const;
    270270    bool needsToUpdateChildren() const { return m_childrenDirty; }
    271271   
Note: See TracChangeset for help on using the changeset viewer.