Bug 122850
| Summary: | Avoid iterating over all the isolate characters | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ryosuke Niwa <rniwa> |
| Component: | Layout and Rendering | Assignee: | 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
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |