commit | 3e62d0d112998bd4845c01ed19b9fcf338471432 | [log] [tgz] |
---|---|---|
author | Koji Ishii <kojii@chromium.org> | Mon May 13 04:14:05 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Mon May 13 04:14:05 2019 |
tree | e14641c9ec0a0b4640dfd8b446e8470eb9a4d3ea | |
parent | 63a9f4f6c88117d869befab1b3e3cda5f09d0721 [diff] |
Update DumpAccessibilityTreeTest to avoid crbug.com/961898 "inlineTextBox" in AX tree is a representation of text after layout (line breaking,) and therefore every "staticText" and "lineBreak" should have corresponding "inlineTextBox"es. Sometimes "inlineTextBox" for "lineBreak" in AX tree is missing when the `<br>` is after newline and spaces. This is due to crbug.com/961898 where legacy fails to create `InlineTextBox` for such `<br>`. In order to make the switch to LayoutNG easier, this patch changes the tests and expected files to avoid hitting the condition, so that these tests produce the same results for legacy and NG. Change-Id: I53048fb53a1e9a78473b65556eea18eabc70fccc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1607000 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Christian Biesinger <cbiesinger@chromium.org> Reviewed-by: Emil A Eklund <eae@chromium.org> Reviewed-by: Alice Boxhall <aboxhall@chromium.org> Reviewed-by: Yoshifumi Inoue <yosin@chromium.org> Cr-Commit-Position: refs/heads/master@{#658957}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .