mats.palmgren%bredband.net
361a3c65ff
Backing out bug 406380 to fix reftest failure.
...
git-svn-id: svn://10.0.0.236/trunk@242208 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-31 11:32:08 +00:00
mats.palmgren%bredband.net
9fa1b7e1f9
Update content offset for all next-continuations, not just fluid ones. b=406380 r+sr=roc a=blocking1.9
...
git-svn-id: svn://10.0.0.236/trunk@242206 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-31 10:29:20 +00:00
Evan.Yan%Sun.COM
c77fbf3878
Bug 405248 - Space between embedded objects characters is missing
...
r=aaronleventhal
a=mtschrep
git-svn-id: svn://10.0.0.236/trunk@241755 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-19 12:57:08 +00:00
vladimir%pobox.com
7525088701
b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart
...
git-svn-id: svn://10.0.0.236/trunk@241704 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-18 23:01:18 +00:00
smontagu%smontagu.org
fc717f9044
Make sure that the offsets in a textframe are up-to-date before creating a bidi continuation. Bug 406675, r=uriber, sr=roc, blocking1.9=schrep
...
git-svn-id: svn://10.0.0.236/trunk@240970 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-13 07:51:27 +00:00
roc+%cs.cmu.edu
2c5d44fc02
Bug 407078. Don't allow a trailing break in a text run that is followed by a <br>. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@240769 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-11 01:19:21 +00:00
roc+%cs.cmu.edu
967008ce95
Bug 407155. Backing out 392809 to fix regressions. a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@240603 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 09:35:45 +00:00
roc+%cs.cmu.edu
fe799531e5
Bug 407227. Include end-of-linebreaker-textrun break opportunity in min-width calculation. r+sr=dbaron,a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@240597 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 03:27:01 +00:00
roc+%cs.cmu.edu
f358ec0c78
Bug 407227. Include end-of-linebreaker-textrun break opportunity in min-width calculation. r+sr=dbaron,a=schrep
...
git-svn-id: svn://10.0.0.236/trunk@240596 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-07 03:16:08 +00:00
roc+%cs.cmu.edu
fd3ca70efc
Bug 405577. Allow available width to go negative for inlines/text, so we can tell whether zero-width content fits or not. Also allow textframes to honour a forced break at the end of the text. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@240555 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-06 01:24:04 +00:00
roc+%cs.cmu.edu
8e0c701995
Backing out unintentionally-checked in stuff
...
git-svn-id: svn://10.0.0.236/trunk@240481 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:12:40 +00:00
roc+%cs.cmu.edu
da23161809
Bug 392809. Break between whitespace and following punctuation even when stop_at_punctuation is false. Don't stop between punctuation and following non-punctuatino if the preceding punctuation follows white-space. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@240480 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 02:11:17 +00:00
dmose%mozilla.org
0714b46c51
Backing out fix for bug 392785 as per roc + mconnor.
...
git-svn-id: svn://10.0.0.236/trunk@240455 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-04 23:32:09 +00:00
roc+%cs.cmu.edu
e9b2057bb2
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
...
git-svn-id: svn://10.0.0.236/trunk@240287 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 08:23:31 +00:00
masayuki%d-toybox.com
425bca40e0
Bug 392785 overflowed underline sometimes is not repainted at scrolling r+sr=roc, b1.9=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@240281 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 06:51:59 +00:00
roc+%cs.cmu.edu
8598444b4b
Relanding bug 404624 because it was not, in fact, responsible for that assert
...
git-svn-id: svn://10.0.0.236/trunk@240270 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 04:18:37 +00:00
roc+%cs.cmu.edu
fe0baddfd0
Backing out fix for bug 404624 because I think it's causing a mochitest to assert
...
git-svn-id: svn://10.0.0.236/trunk@240268 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 02:20:22 +00:00
roc+%cs.cmu.edu
79891ce84c
Relanding fix for bug 404624 because it had no effect on Tp
...
git-svn-id: svn://10.0.0.236/trunk@240264 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-03 01:42:52 +00:00
roc+%cs.cmu.edu
272266834f
Backing out bug 404624 to see if it fixed Tp regression on bl-bldxp01
...
git-svn-id: svn://10.0.0.236/trunk@240251 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-02 20:47:41 +00:00
roc+%cs.cmu.edu
c0a6fa787e
Bug 399531. Rework TrimTrailingWhitespace so that we recompute the overflow area for trimmed textframes and so that soft hyphens in otherwise-empty textframes are activated. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@240211 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 09:24:25 +00:00
roc+%cs.cmu.edu
1b5b174eb2
Backing out bug 403426
...
git-svn-id: svn://10.0.0.236/trunk@240170 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 20:52:25 +00:00
roc+%cs.cmu.edu
bb4d972143
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
...
git-svn-id: svn://10.0.0.236/trunk@240157 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 20:03:33 +00:00
roc+%cs.cmu.edu
f81dae4b91
Bug 404624. Silence assertion failures by allowing PropertyProvider's content length to be PR_INT32_MAX. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@240156 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-30 19:59:03 +00:00
smontagu%smontagu.org
ff356fc517
Prevent duplicate entries in the line-break array. Bug 404204, b+r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@239919 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-26 08:27:06 +00:00
Olli.Pettay%helsinki.fi
e60089b398
Bug 368760, r=mats, sr=roc, a=blocking1.9+
...
git-svn-id: svn://10.0.0.236/trunk@239843 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-22 20:47:35 +00:00
smontagu%smontagu.org
08b5b633e9
Use Unicode escapes instead of octal escapes to print non-ASCII text in frame tree dumps. Bug 403871, r+sr=roc, a=dsicore
...
git-svn-id: svn://10.0.0.236/trunk@239773 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-21 10:37:40 +00:00
roc+%cs.cmu.edu
27d3d55648
Bug 394752. Skip over preformatted newlines when moving caret; the caret will appear at the end of a line when it is positioned at the start of the next line with a HINTLEFT. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@239521 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 02:25:59 +00:00
roc+%cs.cmu.edu
c439c33520
Bug 403455. Allow prewrap text to record 'last break opportunity'. r=smontagu
...
git-svn-id: svn://10.0.0.236/trunk@239518 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-16 01:48:27 +00:00
bzbarsky%mit.edu
6e7c4cc401
Don't compare lines from different blockframes' lists to each other. Also fix
...
handling of text-decorations in in-flows of blocks with text-indent. Bug
393330, r+sr=roc, a=schrep
git-svn-id: svn://10.0.0.236/trunk@239416 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-15 06:12:17 +00:00
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
dholbert%cs.stanford.edu
a64bae2eaf
Bug 398181: Use NSCoordSaturatingAdd/Subtract in 3 places where we might have
...
unconstrained heights. r+sr+a=roc
git-svn-id: svn://10.0.0.236/trunk@239069 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 17:16:36 +00:00
reed%reedloden.com
0e3c52f2e6
Bug 400081 - "Leak gfxFont and gfxTextRun with font-size: 0" [p=cpearce r+sr=roc a1.9=stuart]
...
git-svn-id: svn://10.0.0.236/trunk@239036 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 08:04:19 +00:00
reed%reedloden.com
e000665a21
Fixing bustage from landing of bug 397510.
...
git-svn-id: svn://10.0.0.236/trunk@239031 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 07:37:31 +00:00
reed%reedloden.com
4f0fc5aa93
Bug 397510 - Limit the number of lines we build textruns in BuildTextRuns (speeds up painting of huge pages) [p=roc r=smontagu a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@239029 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 07:27:18 +00:00
reed%reedloden.com
ed3b7be068
Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@239022 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-09 06:27:24 +00:00
roc+%cs.cmu.edu
6c952618e5
Bug 403004. Let the text-transform style setting loop cross non-fluid continuation boundaries. r+sr=bz
...
git-svn-id: svn://10.0.0.236/trunk@238994 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 23:37:34 +00:00
reed%reedloden.com
7c0d4c47b5
Backout roc's patch for bug 385417, as it most likely caused bug 402990 and the numerous test failures.
...
git-svn-id: svn://10.0.0.236/trunk@238960 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 07:41:06 +00:00
reed%reedloden.com
fa6b15d097
Bug 391584 - Pass around a context string so we can detect word breaks at the beginning or end of frames [p=roc r=smontagu a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@238953 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:33:28 +00:00
reed%reedloden.com
3b47bba9f2
Bug 385417 - Rework textrun glyph representation so we can handle clusters containing glyphs in different fonts [p=roc r=stuart r=smontagu a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@238952 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:31:34 +00:00
reed%reedloden.com
2c0d6728c5
Bug 336408 - Allow the caret to be positioned at the end of trimmed whitespace, as if the whitespace wasn't trimmed [p=roc r=smontagu sr=mrbkap a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@238950 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 04:07:00 +00:00
reed%reedloden.com
04aabc2fcd
Bug 400826 - We shouldn't build the styles array for transformed textruns assuming every frame in a flow has the same style; instead we should build it frame by frame. [p=roc r=smontagu a=blocking1.9+]
...
git-svn-id: svn://10.0.0.236/trunk@238946 18797224-902f-48f8-a5cc-f745e15eee43
2007-11-08 03:52:33 +00:00
roc+%cs.cmu.edu
35d3a4e0cc
Bug 389666. The mTransformedTextOffset field of MappedFlow wasn't always being set up correctly, so let's just stop using it altogether. r=smontagu,a=vlad
...
git-svn-id: svn://10.0.0.236/trunk@238056 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-24 00:07:26 +00:00
masayuki%d-toybox.com
4686b3a329
Bug 399159 left edge is not aligned when text-align: justify; in Japanese paragraph (relanding) r+sr+a=roc
...
git-svn-id: svn://10.0.0.236/trunk@237969 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-21 08:10:34 +00:00
roc+%cs.cmu.edu
50ac1632d1
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
...
git-svn-id: svn://10.0.0.236/trunk@237953 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-20 07:30:27 +00:00
roc+%cs.cmu.edu
d2a8c21401
Backing out bug 397510 again because again it looks like it might have caused a regression, and we don't need it for M9
...
git-svn-id: svn://10.0.0.236/trunk@237886 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 04:56:05 +00:00
dietrich%mozilla.com
e53e8baa0a
re-landing Bug 393758
...
git-svn-id: svn://10.0.0.236/trunk@237873 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 02:01:05 +00:00
reed%reedloden.com
2b5f11ce1e
Fixing bustage from landing of bug 397510.
...
git-svn-id: svn://10.0.0.236/trunk@237872 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 01:33:52 +00:00
dietrich%mozilla.com
539328e19c
Bug 397510 Scrolling in large file is very slow due to textrun reconstruction (re-landing for roc)
...
git-svn-id: svn://10.0.0.236/trunk@237871 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-19 01:19:11 +00:00
roc+%cs.cmu.edu
c941792170
Backing out bustage fix
...
git-svn-id: svn://10.0.0.236/trunk@237855 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-18 06:48:44 +00:00
gavin%gavinsharp.com
651824e356
Back out the patch for bug 399159 because it's suspected of having caused the Tp regression
...
git-svn-id: svn://10.0.0.236/trunk@237845 18797224-902f-48f8-a5cc-f745e15eee43
2007-10-17 17:03:09 +00:00