Created attachment 110475 [details] screenshot Reproduction steps 1. Open https://bugs.webkit.org/attachment.cgi?id=110462&action=review on ToT WebKit 2. Search for "recalcListItemsInternal" Expected result: Every instance of "recalcListItemsInternal" is highlighted properly Actual result: Some instances of "recalcListItemsInternal" are highlighted by chunks of document markers.
Reduction: http://simple-rte.rniwa.com/?editor=%3Cb%3Eh%3C/b%3E%3Cb%3Ee%3C/b%3E%3Cb%3Ello%3C/b%3E&designmode=false Look for "hello".
It looks markers are actually splited because each marker is associated to a text node, not to a range. I guess its design haven't changed from beginning. But something is apparently wrong. The problem is that WebKit2(safari) paint textmatch marker hightlight to animate it. (Other ports seem to use InlineTextBox::paintTextMatchMarker(), a non-animated version.) I have no idea what type of fix is good for the Safari's implementation.
Why did you remove "REGRESSION (WebKit2)" prefix from the title? This is a regression from WK1 to WK2.
Sounds like this got fixed today. *** This bug has been marked as a duplicate of bug 75220 ***
Sorry, everyone, I did not know about this bug before I filed bug 752220.