smontagu%smontagu.org
b435fce1d2
Clear textruns during bidi resolution. Not Part of the Build. Bug 382429, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@227421 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-03 06:53:10 +00:00
joshmoz%gmail.com
a068cff59f
need to set plugin window x and y coords in CG mode. b=382765 r=sfraser sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@227418 18797224-902f-48f8-a5cc-f745e15eee43
2007-06-02 22:02:57 +00:00
roc+%cs.cmu.edu
06b20ed603
Bug 382279. Disable ligatures when letter-spacing is in effect. Also, avoid adding space inside ligatures if the gfx backend doesn't respect our disabling of ligatures. r=pavlov
...
git-svn-id: svn://10.0.0.236/trunk@227312 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-31 05:01:57 +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
mats.palmgren%bredband.net
9457661ae7
Check LL_GOTLINEBOX before using mLineBox. b=382396 r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@227254 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-30 15:08:50 +00:00
smontagu%smontagu.org
9e8d8775fc
Do bidi resolution during GetPrefWidth() and GetMinWidth() as well as Reflow(). Bug 365130, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@227109 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-28 14:40:56 +00:00
roc+%cs.cmu.edu
2186b49ba4
Not part of the build. Don't trim whitespace if wrapping is disabled --- in min-width and pref-width calculations.
...
git-svn-id: svn://10.0.0.236/trunk@227094 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-28 02:38:21 +00:00
roc+%cs.cmu.edu
0fa63b69a3
Not part of the build. Don't trim whitespace if wrapping is disabled. Don't compress a space that's preceded by an incompressible space.
...
git-svn-id: svn://10.0.0.236/trunk@227093 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-28 02:20:58 +00:00
roc+%cs.cmu.edu
9c129ee094
Not part Of The Build. Bug 381228. Fix handling of case where the text is not part of a block.
...
git-svn-id: svn://10.0.0.236/trunk@226934 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 03:06:37 +00:00
preed%mozilla.com
df84bd3fdb
Bug 381695: TextFrame feature makefile switch needs to pick up its setting from environment. r=bsmedberg
...
git-svn-id: svn://10.0.0.236/trunk@226929 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-24 02:13:04 +00:00
roc+%cs.cmu.edu
f5f8e45b5c
(Not Part Of The Build). Fix incorrect treatment of first character always as uppercase, even when it isn't, when building a small-caps textrun ...
...
git-svn-id: svn://10.0.0.236/trunk@226865 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 09:37:52 +00:00
roc+%cs.cmu.edu
26dc3b7da6
Bug 380625. (Not Part Of The Build). Fix cluster count for trimmed spaces.
...
git-svn-id: svn://10.0.0.236/trunk@226864 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 09:36:16 +00:00
roc+%cs.cmu.edu
e2bd8901bc
Not Part Of The Build (new textframe). IsInBounds uses incorrect logic and produces spurious warnings.
...
git-svn-id: svn://10.0.0.236/trunk@226853 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 04:08:38 +00:00
sharparrow1%yahoo.com
7645b7424a
Bug 381645: Remove nsBoxFrame::GetContentOf. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@226846 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-23 03:48:43 +00:00
roc+%cs.cmu.edu
c678b3f6e5
Not Part Of The Build. Update nsTextFrameThebes whitespace handling; allow line breaking only at the end of a run of whitespace.
...
git-svn-id: svn://10.0.0.236/trunk@226827 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 23:45:47 +00:00
sharparrow1%yahoo.com
d387c5a846
Bug 381621: Get rid of nsBoxFrame::AddRef/Release, plus a few misc cleanups. r+sr=dbaron.
...
git-svn-id: svn://10.0.0.236/trunk@226807 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-22 20:34:00 +00:00
sharparrow1%yahoo.com
1e238506ce
Bug 377391: Parts of a rectangle with CSS outline remains, when changing rectangle size. r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226705 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 10:06:08 +00:00
sharparrow1%yahoo.com
66ceed1300
Bug 45631: text-indent: n% doesn't incrementally reflow correctly. r+sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@226704 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 09:55:27 +00:00
roc+%cs.cmu.edu
0fe9131095
Bug 381130. Small changes to layout to fix an inline reflow bug and add a new API to nsLineLayout to support tab stops. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@226699 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-21 03:46:22 +00:00
dbaron%dbaron.org
4c4eee1f57
Don't propagate line layout in reflow state when we're not in the line. b=320502 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226608 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-18 06:04:04 +00:00
mats.palmgren%bredband.net
d3ccb57da7
NPOTB. Add missing rendering context null-checks. b=380502 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226571 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-17 10:52:20 +00:00
roc+%cs.cmu.edu
aea782973d
Not Part Of The Build. 1) Round font underline/overline/strikeout offsets and sizes to device pixels to try to ensure consistent visual offsets and sizes even when the baseline point is not pixel-aligned. 2) snap the text baseline y coordinate to the nearest pixel, because the decoration lines will be snapped themselves and we need the gaps to remain consistent. 3) fix bug in selection-decoration x coordinate which was forgetting to include the frame x-offset.
...
git-svn-id: svn://10.0.0.236/trunk@226505 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-16 05:21:41 +00:00
roc+%cs.cmu.edu
c3efcf148b
Not Part Of The Build. Fix underline/strikeout positioning in new text frame --- simple appunits/pixels confusion.
...
git-svn-id: svn://10.0.0.236/trunk@226491 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 23:41:41 +00:00
dbaron%dbaron.org
7cd747c7c6
Fix vertical resizing for quirks mode percentage heights. b=380004 Patch by Daniel Holbert <dholbert@mozilla.com>. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@226479 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 21:53:32 +00:00
roc+%cs.cmu.edu
68e11bba0d
NPOTB, new-text-frame. Fix mouse events targeting after the end of a textframe.
...
git-svn-id: svn://10.0.0.236/trunk@226421 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 05:23:19 +00:00
roc+%cs.cmu.edu
1cbda9367a
Back out enabling of new text frame... its time has not yet come
...
git-svn-id: svn://10.0.0.236/trunk@226414 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 03:58:10 +00:00
roc+%cs.cmu.edu
1b45e462ab
Bug 380692. Change gfxTextRun API so the textrun copies text, if necessary, instead of the caller having to do it. r=vlad
...
git-svn-id: svn://10.0.0.236/trunk@226413 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-15 03:56:48 +00:00
Olli.Pettay%helsinki.fi
7a1f7182a1
Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226373 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-14 09:13:09 +00:00
asqueella%gmail.com
3ec52d9b96
Bug 380094 - make mousethrough more generally useful
...
p=toshok@hungry.com
r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226352 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 16:00:00 +00:00
neil%parkwaycc.co.uk
a64fc10c10
Follow-up cleanup b=375403 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226340 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-13 10:06:57 +00:00
roc+%cs.cmu.edu
1504c4d95a
Not part of the build. Fix off-by-one error in selected-text painting in new text frame.
...
git-svn-id: svn://10.0.0.236/trunk@226320 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 22:54:51 +00:00
Olli.Pettay%helsinki.fi
74bedad7b0
backout Bug 363089
...
git-svn-id: svn://10.0.0.236/trunk@226300 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 13:34:12 +00:00
Olli.Pettay%helsinki.fi
174896a945
Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@226293 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 11:15:20 +00:00
dbaron%dbaron.org
68aab90fcd
Remove now-unneeded checks for eStyleUnit_Null. b=379741 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226290 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:02:31 +00:00
dbaron%dbaron.org
80e25fa18a
Add eStyleUnit_None so we don't have to use eStyleUnit_Null as a real value for max-width and max-height. b=379741 r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226289 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-11 06:01:31 +00:00
neil%parkwaycc.co.uk
2671ffbdb4
Bug 375403 originally started off as a simple request to enable window translucency when windows or popups use opacity, alpha transparent background or non-zero border radius but mutated to include refactoring non zero side testing r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226257 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 15:46:42 +00:00
roc+%cs.cmu.edu
0a4a83f725
Fix const issue. Not Part Of The Build
...
git-svn-id: svn://10.0.0.236/trunk@226254 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 14:42:56 +00:00
bzbarsky%mit.edu
1dc27c2834
Twiddle parentheses a little bit. Bug 311415 followup, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@226235 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 02:55:15 +00:00
roc+%cs.cmu.edu
2ca637e499
Not part of the build. Fix text lifetime issues for transformed textruns.
...
git-svn-id: svn://10.0.0.236/trunk@226223 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-10 00:58:47 +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
76aacf3321
Bug 380209. Hooks for a textframe-specific textrun cache startup/shutdown. r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@226212 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 22:02:29 +00:00
smontagu%smontagu.org
e303ba944f
Uneven justification with new textframe. Bug 380062, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226197 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-09 18:09:32 +00:00
smontagu%smontagu.org
d3b6866d7e
Clear mTextRun on a style change reflow. Bug 379969, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@226119 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 14:33:09 +00:00
bzbarsky%mit.edu
2679c6fe46
Fix determination of the style context parent for the inner table frame of a
...
root table. Bug 379386, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@226104 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-08 03:59:12 +00:00
bzbarsky%mit.edu
ba5badedcb
Change the FrameNeedsReflow API to pass the dirty flags to be added directly to
...
the method, instead of setting them before calling the method. That way we can
avoid reflowing the ancestor of a reflow root which is not itself dirty but has
dirty children. This also makes it harder to set dirty bits inconsistently
with the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' review
on the mathml parts.
git-svn-id: svn://10.0.0.236/trunk@226007 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-06 19:16:52 +00:00
dbaron%dbaron.org
33e9dec8c9
Remove special handling of empty continuations, which should no longer be needed. b=238473 Based on patch by Hideo Saito <saito@densan.co.jp>. r=dbaron sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@225964 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 17:06:04 +00:00
dbaron%dbaron.org
b4f0170167
Address bzbarsky's final review comments (comment 14) on bug 311415: consider ch units fixed as well.
...
git-svn-id: svn://10.0.0.236/trunk@225963 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 17:01:51 +00:00
bzbarsky%mit.edu
e5cb7392f1
Simplify code. Bug 367442 followup, jag's idea, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225948 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:13:48 +00:00
bzbarsky%mit.edu
33b3f60e43
Make computed style handle eStyleUnit_Chars. Bug 371043, r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@225946 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 06:09:50 +00:00
bzbarsky%mit.edu
1788f844d4
Make computed style handle "normal" for line-height by computing an actual
...
numeric height. Bug 371041, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225943 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-05 05:30:10 +00:00