Fix a crash with AXPosition and images in CSS content
Images in CSS content are not anonymous blocks, but they are anonymous. This means that LayoutObject::GetNode returns null for them. We should handle this case. Bug: 1003047 Change-Id: I091c8890c67e85b1326d67e7f046ce5ac94d437e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1804482 Auto-Submit: Martin Robinson <mrobinson@igalia.com> Commit-Queue: Nektarios Paisios <nektar@chromium.org> Reviewed-by:Nektarios Paisios <nektar@chromium.org> Cr-Commit-Position: refs/heads/master@{#697348}
Showing
Please register or sign in to comment