Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(166)

Issue 2894103002: Int and Float properties for Accessibility Object Model phase 1 (Closed)

Created:
3 years, 7 months ago by dmazzoni
Modified:
3 years, 4 months ago
Reviewers:
tkent, Mike West, aboxhall
CC:
aboxhall+watch_chromium.org, aboxhall, blink-reviews, blink-reviews-dom_chromium.org, chromium-reviews, dglazkov+blink, dmazzoni+watch_chromium.org, dmazzoni, dougt+watch_chromium.org, dtseng+watch_chromium.org, eae+blinkwatch, haraken, je_julie, kinuko+watch, nektarios, nektar+watch_chromium.org, rwlbuis, sof, yuzo+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Int and Float properties for Accessibility Object Model phase 1 BUG=680345 Review-Url: https://codereview.chromium.org/2894103002 Cr-Commit-Position: refs/heads/master@{#473999} Committed: https://chromium.googlesource.com/chromium/src/+/0a2243c09c7513d55bde53ceeae0ea89a8334e79

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address feedback, add LayoutTest coverage #

Patch Set 3 : Update webexposed/ #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+763 lines, -100 lines) Patch
A third_party/WebKit/LayoutTests/accessibility/aom-float-properties.html View 1 1 chunk +51 lines, -0 lines 0 comments Download
A third_party/WebKit/LayoutTests/accessibility/aom-int-properties.html View 1 1 chunk +45 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/virtual/service-worker-navigation-preload-disabled/webexposed/global-interface-listing-expected.txt View 1 2 3 chunks +24 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/webexposed/global-interface-listing-expected.txt View 1 2 3 chunks +24 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AccessibleNode.h View 7 chunks +85 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/core/dom/AccessibleNode.cpp View 1 9 chunks +306 lines, -18 lines 2 comments Download
M third_party/WebKit/Source/core/dom/AccessibleNode.idl View 2 chunks +12 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXNodeObject.cpp View 1 2 8 chunks +23 lines, -31 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectImpl.h View 1 2 2 chunks +6 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXObjectImpl.cpp View 1 2 1 chunk +36 lines, -0 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXProgressIndicator.cpp View 3 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXRadioInput.cpp View 2 chunks +7 lines, -4 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTable.cpp View 2 chunks +11 lines, -14 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableCell.h View 1 chunk +1 line, -1 line 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableCell.cpp View 2 chunks +10 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXTableRow.cpp View 2 chunks +11 lines, -6 lines 0 comments Download
M third_party/WebKit/Source/web/tests/AccessibilityObjectModelTest.cpp View 2 chunks +101 lines, -0 lines 0 comments Download

Messages

Total messages: 30 (18 generated)
dmazzoni
3 years, 7 months ago (2017-05-19 04:34:43 UTC) #5
aboxhall
Really only nits, but did the layout tests somehow get missed? https://codereview.chromium.org/2894103002/diff/1/third_party/WebKit/Source/core/dom/AccessibleNode.cpp File third_party/WebKit/Source/core/dom/AccessibleNode.cpp (right): ...
3 years, 7 months ago (2017-05-19 05:09:47 UTC) #6
dmazzoni
On Thu, May 18, 2017 at 10:09 PM <aboxhall@chromium.org> wrote: > Really only nits, but ...
3 years, 7 months ago (2017-05-19 14:53:50 UTC) #9
dmazzoni
On Thu, May 18, 2017 at 10:09 PM <aboxhall@chromium.org> wrote: > Really only nits, but ...
3 years, 7 months ago (2017-05-19 14:53:52 UTC) #10
dmazzoni
Added LayoutTest coverage too. Every property is covered by at least one test. https://codereview.chromium.org/2894103002/diff/1/third_party/WebKit/Source/core/dom/AccessibleNode.cpp File ...
3 years, 7 months ago (2017-05-19 20:23:08 UTC) #11
aboxhall
lgtm
3 years, 7 months ago (2017-05-23 06:08:25 UTC) #16
Mike West
LGTM
3 years, 7 months ago (2017-05-23 18:34:43 UTC) #19
commit-bot: I haz the power
CQ is trying da patch. Follow status at: https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2894103002/40001
3 years, 7 months ago (2017-05-23 18:37:16 UTC) #23
commit-bot: I haz the power
Committed patchset #3 (id:40001) as https://chromium.googlesource.com/chromium/src/+/0a2243c09c7513d55bde53ceeae0ea89a8334e79
3 years, 7 months ago (2017-05-23 18:44:03 UTC) #26
tkent
https://codereview.chromium.org/2894103002/diff/40001/third_party/WebKit/Source/core/dom/AccessibleNode.cpp File third_party/WebKit/Source/core/dom/AccessibleNode.cpp (right): https://codereview.chromium.org/2894103002/diff/40001/third_party/WebKit/Source/core/dom/AccessibleNode.cpp#newcode280 third_party/WebKit/Source/core/dom/AccessibleNode.cpp:280: return attr_value.GetString().ToUInt(); Is String::ToUInt() correct for aria attribute parsing? ...
3 years, 4 months ago (2017-07-28 02:31:14 UTC) #28
dmazzoni
Looks like WebKit uses WTFString::toInt for some int ARIA attributes, FWIW. I'll have to experiment ...
3 years, 4 months ago (2017-07-28 03:52:37 UTC) #29
dmazzoni
3 years, 4 months ago (2017-07-28 03:52:38 UTC) #30
Message was sent while issue was closed.
Looks like WebKit uses WTFString::toInt for some int ARIA attributes, FWIW.
I'll have to experiment with Firefox to see what it accepts.

I'm assuming you mean we should use ParseHTMLInteger instead?


On Thu, Jul 27, 2017 at 7:31 PM <tkent@chromium.org> wrote:

>
>
>
https://codereview.chromium.org/2894103002/diff/40001/third_party/WebKit/Sour...
> File third_party/WebKit/Source/core/dom/AccessibleNode.cpp (right):
>
>
>
https://codereview.chromium.org/2894103002/diff/40001/third_party/WebKit/Sour...
> third_party/WebKit/Source/core/dom/AccessibleNode.cpp:280: return
> attr_value.GetString().ToUInt();
> Is String::ToUInt() correct for aria attribute parsing?
> It accepts leading/trailing Unicode whitespaces, and trailing garbage.
>
> I couldn't find specification for parsing numbers in aria attribute
> values.
>
>
>
https://codereview.chromium.org/2894103002/diff/40001/third_party/WebKit/Sour...
> third_party/WebKit/Source/core/dom/AccessibleNode.cpp:310: return
> attr_value.ToInt();
> Ditto.
>
> https://codereview.chromium.org/2894103002/
>
> --
> You received this message because you are subscribed to the Google Groups
> "Chromium-reviews" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to chromium-reviews+unsubscribe@chromium.org.
>

-- 
You received this message because you are subscribed to the Google Groups
"Chromium-reviews" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to chromium-reviews+unsubscribe@chromium.org.

Powered by Google App Engine
This is Rietveld 408576698