584 Commits

Author SHA1 Message Date
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
bzbarsky%mit.edu
8d22ae89ff Don't use the same pseudo-element name to mean two different things. Bug
377824, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224808 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 21:27:02 +00:00
rbs%maths.uq.edu.au
c8d49fd4f0 Typo
git-svn-id: svn://10.0.0.236/trunk@224315 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-09 03:54:09 +00:00
rbs%maths.uq.edu.au
ad6ad2f939 Bug 370791 – Crash [@ nsStyleContext::AddRef] [@ nsCSSRendering::PaintBackground] with <math:mi> and float, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@224314 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-09 03:43:44 +00:00
bzbarsky%mit.edu
116d69628c Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch by
Taras Glek <tglek@mozilla.com>, rs=roc.


git-svn-id: svn://10.0.0.236/trunk@222659 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-30 21:11:47 +00:00
mats.palmgren%bredband.net
09db97ba4d Deal with parent frame that doesn't map content. b=373882 r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@221928 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-15 19:09:37 +00:00
mats.palmgren%bredband.net
d609bdc7ac Make DidReflowChildren() deal with a null first frame. b=372483 r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@221279 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-04 16:13:15 +00:00
mats.palmgren%bredband.net
34defe8a62 Call DidReflow() on child frames where needed in case of errors. b=366012 r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@221223 18797224-902f-48f8-a5cc-f745e15eee43
2007-03-02 10:55:55 +00:00
dbaron%dbaron.org
32d54152c9 Clean up IsFrameOfType methods to call their base class IsFrameOfType methods reliably. b=341326 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@220874 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-24 18:33:33 +00:00
bzbarsky%mit.edu
1807c5a422 Fix bug 370692. r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@220558 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-19 20:46:31 +00:00
bzbarsky%mit.edu
ee4ee8ea0b Make blocks whose ancestors are not blocks have the NS_BLOCK_MARGIN_ROOT and
NS_BLOCK_SPACE_MGR bits as necessary.  Bug 354600, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@220533 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-18 23:53:25 +00:00
sharparrow1%yahoo.com
dd459d0a71 Bug 177805: Fix the use of units in Gecko. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@219640 18797224-902f-48f8-a5cc-f745e15eee43
2007-02-07 07:46:44 +00:00
cvshook%sicking.cc
ccd1d6884d Kill remainders of ns(XBL|HTML|XUL|Layout)Atoms. r/sr=jst b=368128
git-svn-id: svn://10.0.0.236/trunk@219151 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-30 00:06:41 +00:00
bzbarsky%mit.edu
343ced44ba Make mComputedWidth private, with a getter/setter, and make the setter update
the resize flags.  Bug 367442, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@218933 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-26 00:05:12 +00:00
dbaron%dbaron.org
103e95ab15 Change the bulk of ascent (baseline) computation to happen on a virtual method on nsIFrame, and remove the redundant descent member from nsHTMLReflowMetrics, primarily to support having both first-line and last-line baselines. b=367332 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@218785 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
29067fe44b Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218576 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-18 01:20:09 +00:00
roc+%cs.cmu.edu
09049cfebe Backout of nsLineLayout changes; trying to fix luna orange
git-svn-id: svn://10.0.0.236/trunk@218497 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 06:27:01 +00:00
roc+%cs.cmu.edu
75d52f8575 Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@218491 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-17 03:59:32 +00:00
roc+%cs.cmu.edu
4f42d74394 Backing out text landing.
git-svn-id: svn://10.0.0.236/trunk@218456 18797224-902f-48f8-a5cc-f745e15eee43
2007-01-16 22:25:20 +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
timeless%mozdev.org
c778d21502 Bug 355300 There should be only one nsGkAtoms creature
r=dbaron


git-svn-id: svn://10.0.0.236/trunk@217425 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
1ca9f3f372 Bug 300030: Move intrinsic width computation out of nsIFrame::Reflow and into its own methods on nsIFrame. Replace reflow reasons, types, and commands with dirty bits/notifications. Thanks to bzbarsky for almost all of the HTML form controls (mozilla/layout/forms) changes, and many others for help testing and patching. For detailed commit logs, see REFLOW_YYYYMMDD_BRANCH, where YYYYMMDD is one of 20061031, 20060830, 20060603, 20060302, 20060119, 20051011, 20050804, 20050429, 20050315, 20050111, and 20041213.
git-svn-id: svn://10.0.0.236/trunk@216738 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
ab526229a2 Avoid floats altogether for block <math>. Bug 362701, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@216512 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 22:28:07 +00:00
bzbarsky%mit.edu
ee561228eb Back out bug 354600 to fix regressions.
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
77b17ef48c Make block frames that are not kids of blocks automatically have space managers
(and margin roots, except in the columns case) so we don't have to play
whack-a-framestate-flag.  Bug 354600, r+sr=roc


git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +00:00
roc+%cs.cmu.edu
f06ba26d9e Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@213836 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 01:47:47 +00:00
rbs%maths.uq.edu.au
8161f4ec50 fix assertion about the mismatch of frame types by not making blind assumptions, b=355986, r=bernd, sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@213390 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 07:38:50 +00:00
bzbarsky%mit.edu
704039928d Slightly improve handling of positioned kids of MathML. Bug 322625, r=rbs, sr=roc
git-svn-id: svn://10.0.0.236/trunk@213322 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 22:04:09 +00:00
rbs%maths.uq.edu.au
59aedf1446 Strengthen the code that closes the gaps in stretchy chars so that it doesn't break Linux. Patch by Behdad Esfahbod <mozilla@behdad.org>, b=321994, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@213236 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-06 15:38:17 +00:00
rbs%maths.uq.edu.au
e07d25c37e typo from my previous checkin
git-svn-id: svn://10.0.0.236/trunk@212991 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 07:50:36 +00:00
rbs%maths.uq.edu.au
3e7aa0184a Consolidate the handling of minus, b=354785, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212980 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 05:32:12 +00:00
rbs%maths.uq.edu.au
46fd8ca8b4 Wrong layout when adding rows to <mtable> via the DOM. Pass a stylechanged reflow so that wrappers of <mtable> don't over-optimize their reflow, b=354296, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212796 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 10:52:44 +00:00
bzbarsky%mit.edu
1d70021e81 Make mtdInnerFrame more like the inner frame of non-MathML table cells. Bug
354510, r+sr=rbs


git-svn-id: svn://10.0.0.236/trunk@212771 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 01:04:46 +00:00
rbs%maths.uq.edu.au
ad506c0fa2 remove unused argument, b=354090 r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212280 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 03:14:18 +00:00
bzbarsky%mit.edu
c0103b4e12 Ensure a space manager for MathML containers reflowing inlines. Bug 325222, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212276 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 01:44:25 +00:00
rbs%maths.uq.edu.au
28e6a26cf8 assertions about chars without style contexts, b=353876, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@212275 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 00:08:41 +00:00
bzbarsky%mit.edu
ef52a6f4b4 Make <math> have its own space manager. Bug 353894, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@212260 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 20:30:43 +00:00
rbs%maths.uq.edu.au
dce500c0f1 Dynamic changes to MathML table attributes don't work, b=347496, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@211970 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:43:14 +00:00
cvshook%sicking.cc
4bdc25fa02 fix bustage
git-svn-id: svn://10.0.0.236/trunk@211829 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 20:13:01 +00:00
cvshook%sicking.cc
2acc886a81 Bug 352583: Add functions to nsContentUtils for getting and setting the text content of a node. Use those functions rather than the multiple instances of such code we have now. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@211826 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 19:54:45 +00:00
rbs%maths.uq.edu.au
340c264503 MathML: stretchy attribute not working in some situations, b=320303, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209428 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 07:32:45 +00:00
rbs%maths.uq.edu.au
7e6dff9914 fix bustage on balsa
git-svn-id: svn://10.0.0.236/trunk@209328 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 09:01:18 +00:00
rbs%maths.uq.edu.au
6fb17e5763 Consolidation of some mtable/matrix related attributes that affect the style, and make them responsive to dynamic changes via JavaScript, b=179619, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@209313 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 03:45:45 +00:00
rbs%maths.uq.edu.au
fec3388d44 MathML <mtable>s sometimes have incorrect scriptlevel, b=328141, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@208712 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 17:21:36 +00:00
rbs%maths.uq.edu.au
8caba6b9bc js changes to MathML are not drawn, b=337700, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207549 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 05:28:26 +00:00
rbs%maths.uq.edu.au
fee92234f4 fix typo that caused the CSS declaration to be ignored -- comments in CSS must be delimited with /* */ and not //
git-svn-id: svn://10.0.0.236/trunk@207438 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 13:17:54 +00:00
rbs%maths.uq.edu.au
599898014b Frames not destroyed with <mmultiscripts> and <mtd>, b=348492, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207415 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 04:49:43 +00:00
rbs%maths.uq.edu.au
6451093b34 Frames from dynamic MathML table children are not made with the right creator, b=348153, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207300 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 07:44:13 +00:00
rbs%maths.uq.edu.au
726e867b91 {inc} MathML matrices break when the content sink is incremental, b=344281, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207299 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 07:27:42 +00:00
rbs%maths.uq.edu.au
2578c6ff13 'Pseudo' frames from <mtd> and <mtr>outside <mtable> were not added to the flow, and thus were not destroyed at tear down, b=347355, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207212 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 07:46:29 +00:00