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

Issue 2524313002: Fix AXLayoutObject not to add duplicated children for CSS first-letter (Closed)

Created:
4 years ago by kojii
Modified:
4 years ago
Reviewers:
dmazzoni, eae, aboxhall
CC:
aboxhall+watch_chromium.org, aboxhall, blink-reviews, chromium-reviews, dmazzoni+watch_chromium.org, dmazzoni, dtseng+watch_chromium.org, haraken, je_julie, nektar+watch_chromium.org, nektarios, yuzo+watch_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Fix AXLayoutObject not to add duplicated children for CSS first-letter This patch fixes AXLayoutObject not to add first-letter pseudo elements twice in the accessibility tree. Similar fix to the one in WebKit[1], but the condition was changed only for first-letter pseudo element because of the difference in the layout tree structure. [1] https://trac.webkit.org/changeset/203694/ BUG=632453 Committed: https://crrev.com/de49a2b1783ddecd7c1785287f76a4bbe468fdc2 Cr-Commit-Position: refs/heads/master@{#434657}

Patch Set 1 #

Patch Set 2 : Rebaseline first-letter-text-transform-causes-crash-expected.txt #

Total comments: 2

Patch Set 3 : eae review #

Total comments: 1

Patch Set 4 : dmazzoni review #

Unified diffs Side-by-side diffs Delta from patch set Stats (+48 lines, -2 lines) Patch
A third_party/WebKit/LayoutTests/accessibility/css-first-letter-children.html View 1 2 3 1 chunk +40 lines, -0 lines 0 comments Download
M third_party/WebKit/LayoutTests/accessibility/first-letter-text-transform-causes-crash-expected.txt View 1 1 chunk +0 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp View 1 2 2 chunks +8 lines, -0 lines 0 comments Download

Messages

Total messages: 39 (28 generated)
kojii
PTAL. I'm not very familiar with AXObject, comments appreciated if you noticed anything.
4 years ago (2016-11-24 14:36:20 UTC) #13
eae
Thanks for working on this! LGTM w/caveat https://codereview.chromium.org/2524313002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp File third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp (right): https://codereview.chromium.org/2524313002/diff/20001/third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp#newcode128 third_party/WebKit/Source/modules/accessibility/AXLayoutObject.cpp:128: firstChild = ...
4 years ago (2016-11-24 21:50:13 UTC) #14
kojii
Thank you for your prompt review as always. I'll wait a bit if aboxhall/dmazzoni has ...
4 years ago (2016-11-25 06:38:35 UTC) #20
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/2524313002/40001
4 years ago (2016-11-28 01:05:52 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: chromium_presubmit on master.tryserver.chromium.linux (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.linux/builders/chromium_presubmit/builds/313258)
4 years ago (2016-11-28 01:12:04 UTC) #25
kojii
AX OWNER review is missing. aboxhall@, dmazzoni@, PTAL.
4 years ago (2016-11-28 03:19:30 UTC) #26
dmazzoni
lgtm Thanks! https://codereview.chromium.org/2524313002/diff/40001/third_party/WebKit/LayoutTests/accessibility/css-first-letter-children.html File third_party/WebKit/LayoutTests/accessibility/css-first-letter-children.html (right): https://codereview.chromium.org/2524313002/diff/40001/third_party/WebKit/LayoutTests/accessibility/css-first-letter-children.html#newcode29 third_party/WebKit/LayoutTests/accessibility/css-first-letter-children.html:29: let children = getAccessibilityChildren(element); This test is ...
4 years ago (2016-11-28 07:50:09 UTC) #27
kojii
Thank you dmazzoni for your review and detailed comments, that really helps. Added the simpler ...
4 years ago (2016-11-28 13:21:19 UTC) #30
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/2524313002/60001
4 years ago (2016-11-28 14:53:23 UTC) #35
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years ago (2016-11-28 14:57:08 UTC) #37
commit-bot: I haz the power
4 years ago (2016-11-28 14:59:06 UTC) #39
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/de49a2b1783ddecd7c1785287f76a4bbe468fdc2
Cr-Commit-Position: refs/heads/master@{#434657}

Powered by Google App Engine
This is Rietveld 408576698