Steps to reproduce: 1. Open http://www.w3.org/TR/charmod-norm/ 2. Click on an editor name Results: the whole paragraph turns red. Doesn't happen in WinIE or Firefox. This is related to W3C serving XHTML documents with self-closing <a> tags as text/html - looks like WebKit recovery doesn't match other browsers. I've seen this problem with many other W3C documents besides charmod-norm.
Created attachment 8123 [details] test case
Created attachment 14519 [details] Test case with explicit close tag Although typically seen with <a>, this can be seen with the other residual style tags (which allow nesting). The root cause for the bug in this case is the following, from handleResidualStyleCloseTagAcrossBlocks(): // Find the element that crosses over to a higher level. For now, if there is more than // one, we will just give up and not attempt any sort of correction. It's highly unlikely that // there will be more than one, since <p> tags aren't allowed to be nested.
Hah. Yeah I thought this could return to get me some day when I wrote that comment. :)
Fixed in r21472.