User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.0) Gecko/20020530 Thai line breaker in specific Table width does not work correctly Reproducible: Always Steps to Reproduce: 1. Open attached testcase in Mozilla. 2. 100 table width does not affect line breaking. 3. Compare to IE 5.5
from testcase ---- 1: <html lang="th"><head><meta http-equiv="Content-Type" content="text/html; charset=UTF-8"></head> 2: 3: 4: <body> 5: <table border="1" width="100"> 6: <tbody><tr><td> ¹Í¡¨Ò¡¹ÕéäÁâ¤Ã«Í¿·ìÂÑ§ÁÕ Microsoft Security Tools kit CD 7: ·Õèà¡çº¢éÍÁÙÅ ¤Óá¹Ð¹Ó·Õè¶Ù¡µéÍ§µÅÍ´¨¹ Service Pack áÅÐ Patch µèÒ§æ à¾×èÍãËéÃÐºº¤ÍÁ¾ÔÇàµÍÃì¢Í§ÅÙ¡¤éÒÁÕ¤ÇÒÁ»ÅÍ´ÀÑÂ¨Ò¡¹Ñ¡à¨ÒÐÃÐºº 8: ¹Í¡¨Ò¡¹Ñé¹äÁâ¤Ã«Í¿·ìÂÑ§ä´éÊÃéÒ§«Í¿·ìáÇÃì·Õè¨ÐªèÇÂÅÙ¡¤éÒá¡éä¢»ÑËÒà¡ÕèÂÇ¡Ñº¤ÇÒÁ»ÅÍ´ÀÑÂ¢Í§«Í¿·ìáÇÃìáÅÐ 9: »éÍ§¡Ñ¹»ÑËÒ·Õèà¡ÕèÂÇ¢éÍ§¡Ñº¤ÇÒÁ»ÅÍ´ÀÑÂ«Öè§ÍÒ¨¨Ðà¡Ô´¢Öé¹ã¹Í¹Ò¤µÍÕ¡´éÇÂ </td></tr></tbody></table> 10: </body></html> ---- i think the problem is from the text in line 8, which is very long -- and NOT HAS any whitespace within. Thai language is generally written without space, so it needs special breakiterator to breaks Thai text to smaller parts, in order to "wrap" text to fit the table width (e.g. width=100). currently Mozilla doesn't integrated Thai breakiteralor. see bug 7969 (need dictionary based Thai line breaker and intergrate into line/word breaker)
looks like our thai line breaking algorithm does not function. reassign to ftang
what a hack. I have not touch mozilla code for 2 years. I didn't read these bugs for 2 years. And they are still there. Just close them as won't fix to clean up.
Mass Re-open of Frank Tangs Won't fix debacle. Spam is his responsibility not my own
Mass Re-assinging Frank Tangs old bugs that he closed won't fix and had to be re-open. Spam is his fault not my own
bug 7969 will solve this, so let's dupe it. There's nothing specifically table related here, as shown by the huge enhancement the recent changes brought (bug 336959 under Linux, the side-effects of bug 255990 elsewhere).