[Webkit-unassigned] [Bug 10729] Very short plain text documents have a wider top margin

bugzilla-daemon at opendarwin.org bugzilla-daemon at opendarwin.org
Wed Sep 6 09:20:51 PDT 2006


http://bugzilla.opendarwin.org/show_bug.cgi?id=10729





------- Comment #2 from opendarwin.org at mitzpettel.com  2006-09-06 09:20 PDT -------
(In reply to comment #1)

>   Neither do I, but there is no reason for StreamingTextDecoder to buffer these
> bytes anyway - there is no chance that a BOM will appear from nowhere on a
> second pass. Darin's upcoming decoding patch might even already fix this,
> actually.
> 

So yeah, Darin's patch fixed the issue for very short text documents. However,
there's still the early return there in case the decoded string is empty (can
this happen? what if the first chunk is just the BOM?), so I think you still
need to add recalcStyle at those two other places.

The expected results for fast/text/plain-text-line-breaks.html should be
updated. 


-- 
Configure bugmail: http://bugzilla.opendarwin.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list