Changeset 92158 in webkit
- Timestamp:
- Aug 1, 2011 5:51:38 PM (13 years ago)
- Location:
- trunk
- Files:
-
- 6 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r92156 r92158 1 2011-08-01 Alice Boxhall <aboxhall@chromium.org> 2 3 WAI-ARIA textbox role should be AXTextArea for aria-multiline=true, AXTextField for aria-multiline=false 4 https://bugs.webkit.org/show_bug.cgi?id=65451 5 6 Reviewed by Chris Fleizach. 7 8 * accessibility/aria-roles.html: 9 * platform/mac/accessibility/aria-multiline.html: 10 * platform/mac/accessibility/aria-roles-expected.txt: 11 1 12 2011-08-01 Zhenyao Mo <zmo@google.com> 2 13 -
trunk/LayoutTests/accessibility/aria-roles.html
r35193 r92158 119 119 <p><span tabindex="0" role="textbox" id="ariaTextBox">X</span></p> 120 120 <p>Actual text box:</p> 121 < textarea id="realTextBox">Hello</textarea>121 <input type="text" id="realTextBox"></input> 122 122 <span id="resultTextBox"></span> 123 123 <script> -
trunk/LayoutTests/platform/mac/accessibility/aria-multiline.html
r74492 r92158 10 10 <body id="body"> 11 11 12 <div tabindex="0" id="textfield" role="textbox" aria-multiline=" true">a</div>13 <div tabindex="0" id="textarea" role="textbox" aria-multiline=" false">b</div>12 <div tabindex="0" id="textfield" role="textbox" aria-multiline="false">a</div> 13 <div tabindex="0" id="textarea" role="textbox" aria-multiline="true">b</div> 14 14 15 15 <p id="description"></p> -
trunk/LayoutTests/platform/mac/accessibility/aria-roles-expected.txt
r47676 r92158 51 51 Actual text box: 52 52 53 This test PASSES in DumpRenderTree. The role is AXRole: AXText Area53 This test PASSES in DumpRenderTree. The role is AXRole: AXTextField 54 54 55 55 The following should be an image: -
trunk/Source/WebCore/ChangeLog
r92157 r92158 1 2011-08-01 Alice Boxhall <aboxhall@chromium.org> 2 3 WAI-ARIA textbox role should be AXTextArea for aria-multiline=true, AXTextField for aria-multiline=false 4 https://bugs.webkit.org/show_bug.cgi?id=65451 5 6 Reviewed by Chris Fleizach. 7 8 * accessibility/AccessibilityRenderObject.cpp: 9 (WebCore::AccessibilityRenderObject::determineAriaRoleAttribute): 10 1 11 2011-08-01 srikumar bonda <srikumar.b@gmail.com> 2 12 -
trunk/Source/WebCore/accessibility/AccessibilityRenderObject.cpp
r92000 r92158 2997 2997 role = PopUpButtonRole; 2998 2998 2999 if (role == TextAreaRole && ariaIsMultiline())2999 if (role == TextAreaRole && !ariaIsMultiline()) 3000 3000 role = TextFieldRole; 3001 3001
Note: See TracChangeset
for help on using the changeset viewer.