WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 113817
AX: Bounding paths should be made available through accessibility
https://bugs.webkit.org/show_bug.cgi?id=113817
Summary
AX: Bounding paths should be made available through accessibility
chris fleizach
Reported
2013-04-02 12:17:08 PDT
See
http://examples.simplyaccessible.com/svg-maps/
The <g> elements in the SVG example are not in the AX hierarchy and the <title> field is not being exposed
Attachments
patch
(39.27 KB, patch)
2013-04-05 17:43 PDT
,
chris fleizach
webkit-ews
: commit-queue-
Details
Formatted Diff
Diff
patch
(39.78 KB, patch)
2013-04-05 17:57 PDT
,
chris fleizach
buildbot
: commit-queue-
Details
Formatted Diff
Diff
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2
(629.63 KB, application/zip)
2013-04-05 20:04 PDT
,
Build Bot
no flags
Details
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion
(692.55 KB, application/zip)
2013-04-05 22:07 PDT
,
Build Bot
no flags
Details
patch
(38.52 KB, patch)
2013-04-06 00:51 PDT
,
chris fleizach
ddkilzer
: review+
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
chris fleizach
Comment 1
2013-04-02 12:17:23 PDT
rdar://13468267
chris fleizach
Comment 2
2013-04-05 17:43:51 PDT
Created
attachment 196708
[details]
patch
Early Warning System Bot
Comment 3
2013-04-05 17:54:14 PDT
Comment on
attachment 196708
[details]
patch
Attachment 196708
[details]
did not pass qt-ews (qt): Output:
http://webkit-commit-queue.appspot.com/results/17526199
Early Warning System Bot
Comment 4
2013-04-05 17:55:50 PDT
Comment on
attachment 196708
[details]
patch
Attachment 196708
[details]
did not pass qt-wk2-ews (qt): Output:
http://webkit-commit-queue.appspot.com/results/17524250
chris fleizach
Comment 5
2013-04-05 17:57:04 PDT
Created
attachment 196710
[details]
patch
Build Bot
Comment 6
2013-04-05 20:04:14 PDT
Comment on
attachment 196710
[details]
patch
Attachment 196710
[details]
did not pass mac-wk2-ews (mac-wk2): Output:
http://webkit-commit-queue.appspot.com/results/17528276
New failing tests: platform/mac/accessibility/element-paths.html
Build Bot
Comment 7
2013-04-05 20:04:16 PDT
Created
attachment 196714
[details]
Archive of layout-test-results from webkit-ews-09 for mac-mountainlion-wk2 The attached test failures were seen while running run-webkit-tests on the mac-wk2-ews. Bot: webkit-ews-09 Port: mac-mountainlion-wk2 Platform: Mac OS X 10.8.2
Build Bot
Comment 8
2013-04-05 22:07:32 PDT
Comment on
attachment 196710
[details]
patch
Attachment 196710
[details]
did not pass mac-ews (mac): Output:
http://webkit-commit-queue.appspot.com/results/17529333
New failing tests: platform/mac/accessibility/element-paths.html
Build Bot
Comment 9
2013-04-05 22:07:35 PDT
Created
attachment 196717
[details]
Archive of layout-test-results from webkit-ews-01 for mac-mountainlion The attached test failures were seen while running run-webkit-tests on the mac-ews. Bot: webkit-ews-01 Port: mac-mountainlion Platform: Mac OS X 10.8.2
chris fleizach
Comment 10
2013-04-06 00:51:58 PDT
Created
attachment 196718
[details]
patch
David Kilzer (:ddkilzer)
Comment 11
2013-04-09 10:01:25 PDT
Comment on
attachment 196718
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=196718&action=review
r=me, but please investigate why there is a "Move to point" after "Close" on the mac/accessibility/element-paths-expected.txt test results, and future-proof the #if in AccessibilityUIElement.cpp
> Tools/DumpRenderTree/AccessibilityUIElement.cpp:1094 > +#if !PLATFORM(MAC) > +JSStringRef AccessibilityUIElement::pathDescription() const { return 0; } > +#endif
For future-proofing, this should be: #if !PLATFORM(IOS) && !PLATFORM(MAC)
> LayoutTests/platform/mac/accessibility/element-paths-expected.txt:14 > +PASS svg.isAttributeSupported('AXPath') is true > +SVG path description > +Start Path > + Move to point > + Line to > + Line to > + Close > + Move to point
Would it be better to print out the point and line data here? Or will that change from Mac-to-Mac? Why is there a "Move to point" after "Close" here and on the two tests below?
> LayoutTests/platform/iphone-simulator/accessibility/element-paths-expected.txt:12 > +SVG path description > +Start Path > + Move to point > + Line to > + Line to > + Close
Would it be best to have specific point and line information here?
chris fleizach
Comment 12
2013-04-09 10:56:04 PDT
(In reply to
comment #11
)
> (From update of
attachment 196718
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=196718&action=review
> > r=me, but please investigate why there is a "Move to point" after "Close" on the mac/accessibility/element-paths-expected.txt test results, and future-proof the #if in AccessibilityUIElement.cpp > > > Tools/DumpRenderTree/AccessibilityUIElement.cpp:1094 > > +#if !PLATFORM(MAC) > > +JSStringRef AccessibilityUIElement::pathDescription() const { return 0; } > > +#endif > > For future-proofing, this should be: > > #if !PLATFORM(IOS) && !PLATFORM(MAC) > > > LayoutTests/platform/mac/accessibility/element-paths-expected.txt:14 > > +PASS svg.isAttributeSupported('AXPath') is true > > +SVG path description > > +Start Path > > + Move to point > > + Line to > > + Line to > > + Close > > + Move to point > > Would it be better to print out the point and line data here? Or will that change from Mac-to-Mac? >
I had that in my first go through but the EWS buildbot failed with the values I had uploaded, so it seems like it might not work out
> Why is there a "Move to point" after "Close" here and on the two tests below? >
I don't know. i'll look into that
> > LayoutTests/platform/iphone-simulator/accessibility/element-paths-expected.txt:12 > > +SVG path description > > +Start Path > > + Move to point > > + Line to > > + Line to > > + Close > > Would it be best to have specific point and line information here?
It's possible we can do this for the simulator. I had the same results every time I ran it, but i'm not sure if we'd get different answers on different machines
chris fleizach
Comment 13
2013-04-09 11:36:14 PDT
(In reply to
comment #12
)
> (In reply to
comment #11
) > > (From update of
attachment 196718
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=196718&action=review
> > > > r=me, but please investigate why there is a "Move to point" after "Close" on the mac/accessibility/element-paths-expected.txt test results, and future-proof the #if in AccessibilityUIElement.cpp > > > > > Tools/DumpRenderTree/AccessibilityUIElement.cpp:1094 > > > +#if !PLATFORM(MAC) > > > +JSStringRef AccessibilityUIElement::pathDescription() const { return 0; } > > > +#endif > > > > For future-proofing, this should be: > > > > #if !PLATFORM(IOS) && !PLATFORM(MAC) > > > > > LayoutTests/platform/mac/accessibility/element-paths-expected.txt:14 > > > +PASS svg.isAttributeSupported('AXPath') is true > > > +SVG path description > > > +Start Path > > > + Move to point > > > + Line to > > > + Line to > > > + Close > > > + Move to point > > > > Would it be better to print out the point and line data here? Or will that change from Mac-to-Mac? > > > > I had that in my first go through but the EWS buildbot failed with the values I had uploaded, so it seems like it might not work out > > > Why is there a "Move to point" after "Close" here and on the two tests below? > >
I looked into it. It looks like NSBezierPath appends another move to point (all the time) when you do a close subpath
> > I don't know. i'll look into that > > > > LayoutTests/platform/iphone-simulator/accessibility/element-paths-expected.txt:12 > > > +SVG path description > > > +Start Path > > > + Move to point > > > + Line to > > > + Line to > > > + Close > > > > Would it be best to have specific point and line information here? > > It's possible we can do this for the simulator. I had the same results every time I ran it, but i'm not sure if we'd get different answers on different machines
chris fleizach
Comment 14
2013-04-09 11:54:24 PDT
http://trac.webkit.org/changeset/148033
Tim Horton
Comment 15
2013-04-09 12:16:01 PDT
Comment on
attachment 196718
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=196718&action=review
> Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:1503 > + IntPoint intPoint = (IntPoint)point;
This isn't the right way to cast to IntPoint, please use the constructor (and, you broke the build :D)
chris fleizach
Comment 16
2013-04-09 12:19:45 PDT
(In reply to
comment #15
)
> (From update of
attachment 196718
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=196718&action=review
> > > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:1503 > > + IntPoint intPoint = (IntPoint)point; > > This isn't the right way to cast to IntPoint, please use the constructor
Will fix.
> (and, you broke the build :D)
Which platform is broken? When i look at
http://build.webkit.org/waterfall
I don't see any failures
chris fleizach
Comment 17
2013-04-09 12:53:45 PDT
(In reply to
comment #16
)
> (In reply to
comment #15
) > > (From update of
attachment 196718
[details]
[details]) > > View in context:
https://bugs.webkit.org/attachment.cgi?id=196718&action=review
> > > > > Source/WebCore/accessibility/mac/WebAccessibilityObjectWrapperMac.mm:1503 > > > + IntPoint intPoint = (IntPoint)point; > > > > This isn't the right way to cast to IntPoint, please use the constructor > > Will fix.
Addressed this feedback in
http://trac.webkit.org/changeset/148039
> > > (and, you broke the build :D) > > Which platform is broken? When i look at
http://build.webkit.org/waterfall
> I don't see any failures
Tim Horton
Comment 18
2013-04-09 12:57:25 PDT
(In reply to
comment #17
)
> > > > > (and, you broke the build :D) > > > > Which platform is broken? When i look at
http://build.webkit.org/waterfall
> > I don't see any failures
Sent you an email.
chris fleizach
Comment 19
2013-04-09 13:17:41 PDT
(In reply to
comment #18
)
> (In reply to
comment #17
) > > > > > > > (and, you broke the build :D) > > > > > > Which platform is broken? When i look at
http://build.webkit.org/waterfall
> > > I don't see any failures > > Sent you an email.
Addressed in
http://trac.webkit.org/changeset/148042
Raphael Kubo da Costa (:rakuco)
Comment 20
2013-04-10 02:18:20 PDT
You also broke WebKitTestRunner for all non-Mac platforms :( Fixed in <
http://trac.webkit.org/changeset/148086
>.
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