Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Cherry-pick c36c902. rdar://115842183
jsc_fuz/wktr: RELEASE_ASSERT(to <= inlineTextItem.end()); in WebCore::Layout::TextUtil::width(...) (TextUtil.cpp:96). https://bugs.webkit.org/show_bug.cgi?id=262799 rdar://115842183. Reviewed by Alan Baradlay. Modified IntrinsicWidthHandler::simplifiedMinimumWidth() API to calculate width for grapheme-clusters spanning adjacent inline textitems. Test : fast/text/crash-grapheme-cluster-spanning-adjacent-textitems.html. * Source/WebCore/layout/formattingContexts/inline/IntrinsicWidthHandler.cpp : Changing API to consider grapheme-clusters spanning adjacent inline textitems. * LayoutTests/fast/text/crash-grapheme-cluster-spanning-adjacent-textitems.html : Added test case. * LayoutTests/fast/text/crash-grapheme-cluster-spanning-adjacent-textitems-expected.html : Added test expected file. Canonical link: https://commits.webkit.org/269276@main Identifier: 267815.310@safari-7617.1.11.10-branch
- Loading branch information