WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
208074
AXIsolatedObject support for tables.
https://bugs.webkit.org/show_bug.cgi?id=208074
Summary
AXIsolatedObject support for tables.
Andres Gonzalez
Reported
2020-02-21 13:51:50 PST
AXIsolatedObject support for tables.
Attachments
Patch
(152.92 KB, patch)
2020-02-21 14:41 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Patch
(154.02 KB, patch)
2020-02-22 10:21 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Patch
(154.03 KB, patch)
2020-02-23 10:33 PST
,
Andres Gonzalez
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Andres Gonzalez
Comment 1
2020-02-21 14:41:03 PST
Created
attachment 391428
[details]
Patch
Andres Gonzalez
Comment 2
2020-02-22 10:21:23 PST
Created
attachment 391462
[details]
Patch
chris fleizach
Comment 3
2020-02-22 12:05:44 PST
Comment on
attachment 391462
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=391462&action=review
> Source/WebCore/accessibility/AccessibilityTableRow.cpp:71 > + return is<AccessibilityTable>(table) && downcast<AccessibilityTable>(*table).isExposable();
extra space after isAccessibilityTable>(table)
> Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:481 > + auto cell = Accessibility::retrieveValueFromMainThread<AXCoreObject*>([&columnIndex, &rowIndex, this] () -> AXCoreObject* {
I feel like we should get the cellID on the main thread instead of returning the object off the main thread and then access ivars off the main thread
> Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h:398 > + int axColumnCount() const override { return intAttributeValue(AXPropertyName::AXColumnCount); }
can these be unsigned or do they need to be int?
Andres Gonzalez
Comment 4
2020-02-23 10:33:56 PST
Created
attachment 391492
[details]
Patch
Andres Gonzalez
Comment 5
2020-02-23 10:37:33 PST
(In reply to chris fleizach from
comment #3
)
> Comment on
attachment 391462
[details]
> Patch > > View in context: >
https://bugs.webkit.org/attachment.cgi?id=391462&action=review
> > > Source/WebCore/accessibility/AccessibilityTableRow.cpp:71 > > + return is<AccessibilityTable>(table) && downcast<AccessibilityTable>(*table).isExposable(); > > extra space after > > isAccessibilityTable>(table)
Fixed.
> > > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.cpp:481 > > + auto cell = Accessibility::retrieveValueFromMainThread<AXCoreObject*>([&columnIndex, &rowIndex, this] () -> AXCoreObject* { > > I feel like we should get the cellID on the main thread instead of returning > the object off the main thread and then access ivars off the main thread
Good point, done.
> > > Source/WebCore/accessibility/isolatedtree/AXIsolatedObject.h:398 > > + int axColumnCount() const override { return intAttributeValue(AXPropertyName::AXColumnCount); } > > can these be unsigned or do they need to be int?
They can be -1. In the implementation we have the following comment: // The ARIA spec states, "Authors must set the value of aria-rowcount to an integer equal to the // number of rows in the full table. If the total number of rows is unknown, authors must set // the value of aria-rowcount to -1 to indicate that the value should not be calculated by the // user agent." ...
WebKit Commit Bot
Comment 6
2020-02-23 16:54:47 PST
Comment on
attachment 391492
[details]
Patch Clearing flags on attachment: 391492 Committed
r257200
: <
https://trac.webkit.org/changeset/257200
>
WebKit Commit Bot
Comment 7
2020-02-23 16:54:49 PST
All reviewed patches have been landed. Closing bug.
Radar WebKit Bug Importer
Comment 8
2020-02-23 16:55:15 PST
<
rdar://problem/59710821
>
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