WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
20887
Legend tag should be exposed through AX
https://bugs.webkit.org/show_bug.cgi?id=20887
Summary
Legend tag should be exposed through AX
chris fleizach
Reported
2008-09-16 11:04:44 PDT
the object in AX representing the field set should have its title ui element set to the legend tag (if there is a legend tag)
Attachments
Expose <legend> tag in AX
(10.90 KB, patch)
2008-09-18 17:48 PDT
,
chris fleizach
darin
: review-
Details
Formatted Diff
Diff
<legend> patch, updated based on review
(11.72 KB, patch)
2008-09-19 09:08 PDT
,
chris fleizach
darin
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
chris fleizach
Comment 1
2008-09-18 17:48:50 PDT
Created
attachment 23548
[details]
Expose <legend> tag in AX
Darin Adler
Comment 2
2008-09-18 23:30:25 PDT
Comment on
attachment 23548
[details]
Expose <legend> tag in AX 427 Node *element = m_renderer->element(); Should be Node*, not "Node *". 1061 if (isFieldset()) 1062 return axObjectCache()->get(static_cast<RenderFieldset*>(m_renderer)->findLegend()); This assumes that the renderer will be a RenderFieldset because the tag is fieldsetTag. Why is that a safe assumption? Instead, both function should be looking at hte renderer, and neither should be asking what the tag name is. Patch otherwise looks fine. review- because of the DOM/Renderer assumption.
chris fleizach
Comment 3
2008-09-19 09:08:13 PDT
Created
attachment 23566
[details]
<legend> patch, updated based on review
Darin Adler
Comment 4
2008-09-19 12:13:15 PDT
Comment on
attachment 23566
[details]
<legend> patch, updated based on review virtual bool isWidget() const { return false; } - + virtual bool isFieldset() const { return false; } The rest of these are in alphabetical order. It would be better if you sorted your new one in rather than putting it at the bottom. r=me
chris fleizach
Comment 5
2008-09-19 13:25:46 PDT
http://trac.webkit.org/changeset/36670
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug