This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bidi-Isolated inlines can cause subsequent content to not be rendered
https://bugs.webkit.org/show_bug.cgi?id=108137 Reviewed by Eric Seidel. Source/WebCore: First step in fixing how inline isolates behave with collapsed spaces. webkit.org/b/109624 tracks the overarching issue. Test: fast/text/content-following-inline-isolate-with-collapsed-whitespace.html * rendering/InlineIterator.h: (WebCore::IsolateTracker::addFakeRunIfNecessary): If we enter an isolate while ignoring spaces, ensure we leave it considering them again. This can result in including spaces that should be ignored following the isolate on the line, but failing to do so results in those contents not being rendered at all. LayoutTests: * fast/text/content-following-inline-isolate-with-collapsed-whitespace.html: Added. * fast/text/content-following-inline-isolate-with-collapsed-whitespace-expected.txt: Added. Canonical link: https://commits.webkit.org/128013@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@142793 268f45cc-cd09-0410-ab3c-d52691b4dbfc
- Loading branch information
Showing 5 changed files with 46 additions and 0 deletions.