RESOLVED FIXED 9109
Remove bogus assertion in RenderBlock::tabWidth
https://bugs.webkit.org/show_bug.cgi?id=9109
Summary Remove bogus assertion in RenderBlock::tabWidth
mitz
Reported 2006-05-25 10:16:47 PDT
If the font's space width is 0 (which can happen with a very small font) then it's OK for the tab width to also be 0. See attachment 8485 [details] (bug 9062). Since 0 is a valid value, the uninitialized value should be something else.
Attachments
Remove the assert and change the uninitialized value to -1 (2.13 KB, patch)
2006-05-25 10:19 PDT, mitz
ggaren: review+
mitz
Comment 1 2006-05-25 10:19:27 PDT
Created attachment 8541 [details] Remove the assert and change the uninitialized value to -1 No layout test since DumpRenderTree forces a minimum font size.
Geoffrey Garen
Comment 2 2006-05-25 11:44:36 PDT
Comment on attachment 8541 [details] Remove the assert and change the uninitialized value to -1 r=me
Note You need to log in before you can comment on or make changes to this bug.