8 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
ea80cd5d63 Bug 389707. Rework text-transform:capitalize by putting logic to decide what to capitalize into nsLineBreaker. r=smontagu
git-svn-id: svn://10.0.0.236/trunk@239178 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-12 01:51:32 +00:00
roc+%cs.cmu.edu
410a9698d9 Bug 385423. Refactor textrun cache so that all textrun clients use a single global word-based cache. Responsibility for stripping out problematic characters (e.g. newlines) is given to the word cache. r=vlad,smontagu
git-svn-id: svn://10.0.0.236/trunk@229305 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-04 03:39:03 +00:00
roc+%cs.cmu.edu
02c47d48da Bug 386548. Remove nsTextTransformer. r+sr=mats
git-svn-id: svn://10.0.0.236/trunk@229199 18797224-902f-48f8-a5cc-f745e15eee43
2007-07-02 23:37:00 +00:00
roc+%cs.cmu.edu
cc6c87fe7c Landing textframe updates: Use word-based textrun cache; rewritten PeekOffsetWord; adjust textframe content-offsets and content-lengths when CharacterDataChanged fires; search backwards for textrun scanning/creation start point, instead of all the way back to the start of the block; ensure that we pass the correct start iterator to PropertyProvider in TrimTrailingWhiteSpace.
git-svn-id: svn://10.0.0.236/trunk@227903 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-12 21:01:12 +00:00
roc+%cs.cmu.edu
7a5518f06a 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.
git-svn-id: svn://10.0.0.236/trunk@227294 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 22:27:28 +00:00
roc+%cs.cmu.edu
9140c4c01a Not part of the build. Update new text frame for textrun API changes. Also implements a textrun cache for the new text frame
git-svn-id: svn://10.0.0.236/trunk@226214 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 22:04:56 +00:00
roc+%cs.cmu.edu
d69b531ce7 Bug 333659. Major new-textframe update. You can really browse the Web with it now, although major bugs remain.
git-svn-id: svn://10.0.0.236/trunk@222211 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-22 23:13:12 +00:00
roc+%cs.cmu.edu
e2373f9a14 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
git-svn-id: svn://10.0.0.236/trunk@218447 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 20:51:52 +00:00