Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Remove AXLayoutObject::CanHaveChildren() and reduce work
- The list marker special case is no longer needed. It was originally added to avoid adding certain AXObject's to two different parents, because it is already handled by the fact that the code to add children has been greatly refactored and simplified. - The CSS alt text case is now handled by the default logic where images are not allowed to have children. - Avoid calling IsEditable(), which does more work than necessary. We're only looking for plaintext editable objects here. Bug: 1187096,1192456 Change-Id: I51480afc18b3c4115bdabf1ae7f63091c5b10bb3 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2788511 Commit-Queue: Aaron Leventhal <aleventhal@chromium.org> Reviewed-by: Dominic Mazzoni <dmazzoni@chromium.org> Reviewed-by: Nektarios Paisios <nektar@chromium.org> Cr-Commit-Position: refs/heads/master@{#869325}
- Loading branch information