Please sign in to comment.
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Live Text] Image overlay text is misaligned on rfi.fr
https://bugs.webkit.org/show_bug.cgi?id=235118 Reviewed by Aditya Keerthi. Source/WebCore: Reset any `text-indent` to 0 when injecting Live Text into image elements, to ensure that any `text-indent` value set on the image doesn't propagate into UA shadow DOM content. Test: fast/images/text-recognition/image-overlay-with-text-indent.html * html/shadow/imageOverlay.css: (div.image-overlay-line, .image-overlay-text, div.image-overlay-block): LayoutTests: Add a new test case to exercise the bug. * fast/images/text-recognition/image-overlay-with-text-indent-expected.html: Added. * fast/images/text-recognition/image-overlay-with-text-indent.html: Added. Canonical link: https://commits.webkit.org/245972@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@287943 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing with 82 additions and 0 deletions.