Commit Graph

14 Commits

Author SHA1 Message Date
roc+@cs.cmu.edu
b59ab6a038 Bug 403426. We should clear whitespace status when we reset the linebreaker. If a final break opportunity exists we should save it and forward it to the line layout. Relanding with a fix so hopefully we won't crash Tp this time. r=smontagu 2007-12-03 00:22:07 -08:00
roc+@cs.cmu.edu
78e5e7145e Backing out more of 403426. sigh 2007-11-30 13:04:24 -08:00
roc+@cs.cmu.edu
d8d80a602f Bug 403426. Clear break-after-whitespace flags when we reset the linebreaker. Also rescue a trailing break opportunity when we reset the line breaker and notify the line layout that the opportunity exists. r=smontagu 2007-11-30 12:03:33 -08:00
roc+@cs.cmu.edu
909f85c005 Bug 389707. Rework text-transform:capitalize by putting logic to decide what to capitalize into nsLineBreaker. r=smontagu 2007-11-11 17:51:31 -08:00
roc+@cs.cmu.edu
e1da1696a2 Bug 393096. Allow an element containing breakable whitespace to introduce a break opportunity no matter what the context. Also cleans up some trimming stuff and adds comprehensive whitespace breaking and trimming reftests. r+sr=dbaron 2007-10-20 00:30:26 -07:00
roc+@cs.cmu.edu
d38e95b231 Bug 397597. Enable native platform linebreaking for Tibetan and Lao. r=masayuki,a=dbaron 2007-09-30 13:30:31 -07:00
masayuki@d-toybox.com
128332140f Bug 389056 Don't break line between periods and quote/Bug 388096 add line-breaking opportunity after U+058A ARMENIAN HYPHEN, U+2010 HYPHEN, U+2012 FIGURE DASH and U+2013 EN DASH. And U+2014 EM DASH should be breakable before and after except that between the same characters/Bug 389595 Don't break around '(' and ')'/Bug 390920 Don't break around   r+sr=roc, b1.9=dbaron 2007-09-18 23:34:24 -07:00
roc+@cs.cmu.edu
6ac430a20e Bug 336959. Use Pango to break inside Thai/Lao runs. Patch by Theppitak Karoonboonyanan, r+sr=roc 2007-07-18 20:26:51 -07:00
masayuki@d-toybox.com
cc8e0a3bd5 Bug 255990 Characters below U+0100 are not subject to line-breaking rules at all r+sr=roc 2007-07-12 08:52:51 -07:00
roc+@cs.cmu.edu
72daeacf01 Not Really Part Of The Build. Update nsLineBreaker interface to allow aSink to be null, in which case the computed linebreaks are just discarded. We use this to optimize cases where no breaking is enabled and the results of linebreaking are not required. Also exposes IsSpace and IsComplexChar methods that the linebreaker specification relies on. Renamed CJK stuff to ComplexChar because it's going to include Thai and probably other languages. 2007-06-06 21:17:55 -07:00
roc+@cs.cmu.edu
eedac9e03a Fixing bustage 2007-05-30 15:36:30 -07:00
roc+@cs.cmu.edu
e6c0113640 Not part of the build. Change nsLineBreaker so that breaks at element boundaries are always governed by the white-space property on the element that's the nearest common ancestor of the DOM nodes on each side of the break point --- fixes bug 382289. Also, pass NBSP through to textruns so that whitespace trimming doesn't trim NBSP. Also, count trimmed spaces correctly when updating mClusterCount. 2007-05-30 15:27:27 -07:00
roc+@cs.cmu.edu
d22fec8e76 Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace. 2007-05-22 16:45:47 -07:00
roc+%cs.cmu.edu
e6bad38abe Bug 333659. Landing new text interfaces, new gfxPangoTextRun (enabled), new textframe code (disabled). r+sr=dbaron for the part-of-the-build layout parts,r=stuart for the part-of-the-build gfx parts 2007-01-16 20:51:52 +00:00