Bug 122850

Summary: Avoid iterating over all the isolate characters
Product: WebKit Reporter: Ryosuke Niwa <rniwa>
Component: Layout and RenderingAssignee: Myles C. Maxfield <mmaxfield>
Status: NEW    
Severity: Normal CC: enrica, igor.oliveira, mitz, mmaxfield
Priority: P2 Keywords: BlinkMergeCandidate
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

Ryosuke Niwa
Reported 2013-10-15 12:20:06 PDT
Consider merging https://chromium.googlesource.com/chromium/blink/+/496b731fbfccba1a4ac26e44a34e0e8ea70b0a80 Isolate elements are treated as neutral in UBA however Blink UBA implementation iterates over all the isolate characters. The purpose of this patch is reduce the algorithm complexity skipping isolate elements when found in the UBA. Additionaly, rename the pastEnd variable to lastParagraphEnded.
Attachments
Note You need to log in before you can comment on or make changes to this bug.