RESOLVED FIXED 42285
LegacyHTMLTreeBuilder inserts extra RenderText {#text} at (0,0) size 0x0 for newlines at end of document
https://bugs.webkit.org/show_bug.cgi?id=42285
Summary LegacyHTMLTreeBuilder inserts extra RenderText {#text} at (0,0) size 0x0 for ...
Eric Seidel (no email)
Reported 2010-07-14 13:28:44 PDT
LegacyHTMLTreeBuilder inserts extra RenderText {#text} at (0,0) size 0x0 for newlines at end of document Document: <img> </body> </html> (note newline after </html>) LegacyHTMLTreeBuilder rendering tree: RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderImage {IMG} at (0,0) size 0x0 RenderText {#text} at (0,0) size 0x0 RenderText {#text} at (0,0) size 0x0 RenderText {#text} at (0,0) size 0x0 HTML5 HTMLTreeBuilder rendering tree: RenderBlock {HTML} at (0,0) size 800x600 RenderBody {BODY} at (8,8) size 784x584 RenderImage {IMG} at (0,0) size 0x0 RenderText {#text} at (0,0) size 0x0 This affects several hundred tests. I suspect the HTML5 tree builder is immune to this because it has code to coalesce text nodes
Attachments
Adam Barth
Comment 1 2010-07-19 13:38:57 PDT
Eric fixed this in another bug.
Note You need to log in before you can comment on or make changes to this bug.