Steps to reproduce: 1) Go to http://no-such.topleveldomain/ 2) Reload the error page 3) Close the window (and any other open error pages), open the Caches window and empty the WebCore cache 4) Go to the URL again Results: When loaded from the cache, the page is not style correctly: the error message at the top is not centered and is missing the rounded rect border.
<rdar://problem/6355543>
TextResourceDecoder fails to skip the BOM when it is reused.
Created attachment 24998 [details] patch
Comment on attachment 24998 [details] patch r=me
Sending LayoutTests/ChangeLog Adding LayoutTests/fast/encoding/css-cached-bom-expected.txt Adding LayoutTests/fast/encoding/css-cached-bom.html Adding LayoutTests/fast/encoding/resources/css-cached-bom-frame.html Adding (bin) LayoutTests/fast/encoding/resources/utf-16-little-endian.css Sending WebCore/ChangeLog Sending WebCore/loader/TextResourceDecoder.cpp Transmitting file data ....... Committed revision 38240.