4675 Commits

Author SHA1 Message Date
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
dbaron%dbaron.org
03a83ad9f2 Add support for -moz-intrinsic, -moz-min-intrinsic, -moz-shrink-wrap, and -moz-fill for width, min-width, and max-width. b=311415 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@225554 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-03 23:11:02 +00:00
bzbarsky%mit.edu
ca4af9114f Fix assert to be more correct. Bug 379383, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225490 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 20:32:17 +00:00
roc+%cs.cmu.edu
956d0addcb Bug 372703. Position child views whenever we place an abs-pos child; even if the child hasn't moved, this frame itself might have, so view offsets might have changed. r=eli,sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@225423 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-02 00:07:51 +00:00
bzbarsky%mit.edu
d2d337437c Introduce a GetPrimaryShell() API on nsIDocument. Convert existing callers of
GetShellAt(0) to using this API.  Bug 378780.  API introduction part by me,
r+sr=jst.  Mass-changes done by taras using squash, r+sr=me


git-svn-id: svn://10.0.0.236/trunk@225416 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 22:24:25 +00:00
bzbarsky%mit.edu
708c53b956 Make InitialReflow just post a reflow event instead of doing a synchronous
reflow.  Bug 378975, r=dbaron and Eli Friedman, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225391 18797224-902f-48f8-a5cc-f745e15eee43
2007-05-01 17:15:08 +00:00
mats.palmgren%bredband.net
5162274ddd Bye bye gtk1 and xlib (part 1 of 2). b=326152 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@225306 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 23:52:44 +00:00
bzbarsky%mit.edu
9feada92e5 remove debugging code again.
git-svn-id: svn://10.0.0.236/trunk@225245 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 04:36:03 +00:00
bzbarsky%mit.edu
2aa7e31c35 Put back this test code for one run so I can get data from Tp/Tp2
git-svn-id: svn://10.0.0.236/trunk@225242 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-30 03:11:04 +00:00
asqueella%gmail.com
32453d760b bug 375291 - update layout/generic/punct_marks.ccmap to unicode 5.0
p=arno. <arno.@no-log.org>
r=smontagu, sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@225174 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 16:42:22 +00:00
asqueella%gmail.com
555808ff6b Bug 376034 - Possible incorrect coordinate transform in nsImageFrame
p=Jeremy Lea <reg@freebsd.org>
r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225153 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 14:40:17 +00:00
bzbarsky%mit.edu
6fa00af002 Back out the test code.
git-svn-id: svn://10.0.0.236/trunk@225119 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 02:06:50 +00:00
bzbarsky%mit.edu
dda1843310 Sprinkle null-checks in an attempt to "fix" the orange so I can get answers.
git-svn-id: svn://10.0.0.236/trunk@225115 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-27 00:47:34 +00:00
bzbarsky%mit.edu
a9b2a04d77 Adding some test code for a single tinderbox run so I can see what's going on
with Tp2 and such.  Will back out after one cycle.


git-svn-id: svn://10.0.0.236/trunk@225112 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 22:46:05 +00:00
bzbarsky%mit.edu
7c3bc64daf Don't do incremental reflow for now, because tables can't deal. Followup for
bug 378480, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225073 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 05:33:34 +00:00
bzbarsky%mit.edu
4d238d61d2 Fix the vertical scrollbar guessing in nsHTMLScrollFrame to do better for an
initial reflow if we're doing that initial reflow a ways into the document
load.  Bug 378480, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225067 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:29:21 +00:00
bzbarsky%mit.edu
7c49bd8a89 Resolve the right (parentless) style context for a table as a document root,
and fix the assertion when adjusting parent style context frames to not trigger
in non-scrollable documents.  Bug 378693, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@225066 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-26 02:26:25 +00:00
benjamin%smedbergs.us
7262cdad6d Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me
git-svn-id: svn://10.0.0.236/trunk@224885 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-23 14:22:04 +00:00
sayrer%gmail.com
73bfe9d8ca bug 378383. nsReflowStatus not always initialized in nsBlockFrame::ReflowInlineFrame. r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224856 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-22 20:57:54 +00:00
bzbarsky%mit.edu
f10620b9d4 Fix assertion to be more correct. No bug.
git-svn-id: svn://10.0.0.236/trunk@224828 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 03:57:40 +00:00
roc+%cs.cmu.edu
469aea8977 Bug 368863. Reparent floats properly when placeholders move between inline continuations. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224821 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-21 00:42:58 +00:00
sharparrow1%yahoo.com
84d51fb79d Bug 378129: Consistently pass the right frame to InvalidateInternal. r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@224818 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 23:51:13 +00:00
sayrer%gmail.com
4aec4dcf7d Bug 368994. move mochitests near the code they test. round 7. r=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@224573 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 15:18:50 +00:00
bzbarsky%mit.edu
9e024d5262 The parent style context frame determination for an inner table should use the
inner table's pseudo, not the outer table's.  Bug 377603, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224565 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 05:55:42 +00:00
bzbarsky%mit.edu
298f4922e3 Improve detection of blocks with first-letter style. Bug 372550, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@224563 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-16 00:42:54 +00:00
bzbarsky%mit.edu
03efa866b7 Change the way we determine the style context parent frame to skip css anon
boxes unless we're determining the style context parent for something that is
itself a css anon box (and is not a non-element frame).  Fixes bug 323656
(which is where the patch is), bug 85872, bug 280610.  As far as I can tell,
also fixes bug 317876, bug 372376, bug 374297.  r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224561 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-15 23:14:27 +00:00
uriber%gmail.com
f80aaa1f70 Test for null parent content, rather than null parent frame, to avoid possible crash in FindBlockFrameOrBR(). bug=370174 r=sharparrow1 sr=roc
git-svn-id: svn://10.0.0.236/trunk@224532 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-14 16:34:12 +00:00