Bug 117100 - AX: WebKit should join substrings on single space when concatenating the accessible name of an element
Summary: AX: WebKit should join substrings on single space when concatenating the acce...
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: chris fleizach
URL:
Keywords: InRadar
Depends on:
Blocks:
 
Reported: 2013-05-31 17:21 PDT by James Craig
Modified: 2013-06-03 14:51 PDT (History)
9 users (show)

See Also:


Attachments
test case demonstrating bug (484 bytes, text/html)
2013-05-31 17:21 PDT, James Craig
no flags Details
patch (7.10 KB, patch)
2013-06-03 01:31 PDT, chris fleizach
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description James Craig 2013-05-31 17:21:12 PDT
Created attachment 203475 [details]
test case demonstrating bug

WebKit should treat newline characters (\n) as spaces when concatenating the accessible name of an element. 

Load attached test case. Note WebKit smashes all the substrings together.
Comment 1 Radar WebKit Bug Importer 2013-05-31 17:21:50 PDT
<rdar://problem/14039830>
Comment 2 James Craig 2013-05-31 17:22:30 PDT
From the ARIA spec: "User agents will then trim whitespace and join the substrings using a single space character. " http://www.w3.org/WAI/PF/aria/complete#namecalculation
Comment 3 Radar WebKit Bug Importer 2013-05-31 17:23:01 PDT
<rdar://problem/14039840>
Comment 4 James Craig 2013-05-31 18:15:14 PDT
Related to bug 117101
Comment 5 chris fleizach 2013-06-03 01:31:35 PDT
Created attachment 203560 [details]
patch
Comment 6 WebKit Commit Bot 2013-06-03 14:51:23 PDT
Comment on attachment 203560 [details]
patch

Clearing flags on attachment: 203560

Committed r151131: <http://trac.webkit.org/changeset/151131>
Comment 7 WebKit Commit Bot 2013-06-03 14:51:26 PDT
All reviewed patches have been landed.  Closing bug.