572 Commits

Author SHA1 Message Date
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
jruderman%hmc.edu
fe750b8816 Bug 347507, ignore negative rowspan and columnspan in MathML. r=rbs, sr=roc.
git-svn-id: svn://10.0.0.236/trunk@206811 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 08:44:03 +00:00
rbs%maths.uq.edu.au
22b71d90a8 Fix bug 347348 - Removing text node from <mo> causes 'ASSERTION: null arg' and has no visual effect, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206789 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:50:24 +00:00
rbs%maths.uq.edu.au
0de0272460 Fix bug 347495 - Invalid-markup message doesn't disappear when MathML gets valid again, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206788 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:46:26 +00:00
rbs%maths.uq.edu.au
4683c200da Fix assertion - bug 347495 - was due to an attempt to paint children in case of invalid markup, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@206786 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:42:32 +00:00
rbs%maths.uq.edu.au
7473d49a1c Be sure to return the reflow status as complete in the case of invalid markup to avoid a hang due to the frame being reflowed over and over again. Patch by steve.swanson@mackichan.com, b=323737, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@206530 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 23:58:42 +00:00
rbs%maths.uq.edu.au
82b376e12c Backout earlier patch for bug 327737 due to regression
git-svn-id: svn://10.0.0.236/trunk@206526 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 23:27:55 +00:00
cvshook%sicking.cc
365266c686 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
rbs%maths.uq.edu.au
7dcdbcba61 Be sure to return the reflow status as complete in the case of invalid markup to avoid a hang due to the frame being reflowed over and over again. Patch by steve.swanson@mackichan.com, b=323737, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@202307 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:49:02 +00:00
rbs%maths.uq.edu.au
81cdd5a391 Bustage bug 342533 - crash loading any MathML page due to string-fu change in bug 341954
git-svn-id: svn://10.0.0.236/trunk@202302 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 06:20:42 +00:00
roc+%cs.cmu.edu
bd9175c940 Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@200963 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:18:23 +00:00
roc+%cs.cmu.edu
d5ea80116c Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs
git-svn-id: svn://10.0.0.236/trunk@199574 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 03:29:32 +00:00
cvshook%sicking.cc
cec9ea1123 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz
git-svn-id: svn://10.0.0.236/trunk@196009 18797224-902f-48f8-a5cc-f745e15eee43
2006-05-05 06:52:21 +00:00