WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
69262
AX: click point for AXHeadings often returns point on empty space (results in wrong context menu)
https://bugs.webkit.org/show_bug.cgi?id=69262
Summary
AX: click point for AXHeadings often returns point on empty space (results in...
chris fleizach
Reported
2011-10-03 08:41:10 PDT
With VoiceOver, if you move to a heading (<h*> tag) and then try to open the contextual menu, often you will open a contextual menu on empty white space that's because the click point is the mid point while the content of the heading is much smaller
Attachments
patch
(7.96 KB, patch)
2011-10-03 09:40 PDT
,
chris fleizach
sullivan
: review+
Details
Formatted Diff
Diff
View All
Add attachment
proposed patch, testcase, etc.
chris fleizach
Comment 1
2011-10-03 09:40:37 PDT
Created
attachment 109492
[details]
patch
John Sullivan
Comment 2
2011-10-03 10:07:23 PDT
Comment on
attachment 109492
[details]
patch View in context:
https://bugs.webkit.org/attachment.cgi?id=109492&action=review
> Source/WebCore/accessibility/AccessibilityObject.h:-510 > - virtual LayoutPoint clickPoint() const;
You should mention in the ChangeLog why you had to remove the const. I presume you did so because AccessibilityObject::children() is non-const? Could you change AccessibilityObject::children() to be const instead?
chris fleizach
Comment 3
2011-10-03 10:10:42 PDT
(In reply to
comment #2
)
> (From update of
attachment 109492
[details]
) > View in context:
https://bugs.webkit.org/attachment.cgi?id=109492&action=review
> > > Source/WebCore/accessibility/AccessibilityObject.h:-510 > > - virtual LayoutPoint clickPoint() const; > > You should mention in the ChangeLog why you had to remove the const. I presume you did so because AccessibilityObject::children() is non-const? Could you change AccessibilityObject::children() to be const instead?
children() ensures that the objects children are up to date when called so it would be risky to change that to non-const. I will add a comment why it was changed. I'll start thinking about how to possibly make children() const
chris fleizach
Comment 4
2011-10-03 11:04:06 PDT
http://trac.webkit.org/changeset/96520
Adam Barth
Comment 5
2011-10-03 11:07:00 PDT
>
http://trac.webkit.org/changeset/96520
You don't seem to have landed the tests for this patch in
http://trac.webkit.org/changeset/96520
chris fleizach
Comment 6
2011-10-03 11:09:31 PDT
(In reply to
comment #5
)
> >
http://trac.webkit.org/changeset/96520
> > You don't seem to have landed the tests for this patch in
http://trac.webkit.org/changeset/96520
Fixed in
http://trac.webkit.org/changeset/96522
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