Commit Graph

570 Commits

Author SHA1 Message Date
dbaron%dbaron.org
f6245f0ed9 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 2007-01-23 04:06:56 +00:00
roc+%cs.cmu.edu
7790a961e0 Bug 333659. Relanding nsLineLayout API changes for new text code. r+sr=dbaron 2007-01-18 01:20:09 +00:00
roc+%cs.cmu.edu
49502dd9e1 Backout of nsLineLayout changes; trying to fix luna orange 2007-01-17 06:27:01 +00:00
roc+%cs.cmu.edu
e8d2197c1a Bug 333659. Relanding new nsLineLayout API to make in-first-line-frame and current-nsLineBox available; should not affect anything. r+sr=dbaron 2007-01-17 03:59:32 +00:00
roc+%cs.cmu.edu
7268a1957b Backing out text landing. 2007-01-16 22:25:20 +00:00
roc+%cs.cmu.edu
e6bad38abe 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 2007-01-16 20:51:52 +00:00
timeless%mozdev.org
4e651390ef Bug 355300 There should be only one nsGkAtoms creature
r=dbaron
2006-12-26 17:47:52 +00:00
dbaron%dbaron.org
31f1898810 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. 2006-12-08 05:38:33 +00:00
bzbarsky%mit.edu
8e68efb23e Avoid floats altogether for block <math>. Bug 362701, r+sr=rbs 2006-12-05 22:28:07 +00:00
bzbarsky%mit.edu
b856b2c477 Back out bug 354600 to fix regressions. 2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
cbcaad14b4 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
2006-11-16 17:51:53 +00:00
roc+%cs.cmu.edu
899128e82a Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron 2006-10-19 01:47:47 +00:00
rbs%maths.uq.edu.au
9dc6ccd612 fix assertion about the mismatch of frame types by not making blind assumptions, b=355986, r=bernd, sr=bzbarsky 2006-10-10 07:38:50 +00:00
bzbarsky%mit.edu
493b90fbf3 Slightly improve handling of positioned kids of MathML. Bug 322625, r=rbs, sr=roc 2006-10-08 22:04:09 +00:00
rbs%maths.uq.edu.au
9d05f93491 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 2006-10-06 15:38:17 +00:00
rbs%maths.uq.edu.au
c15b9aea09 typo from my previous checkin 2006-10-02 07:50:36 +00:00
rbs%maths.uq.edu.au
131a73a8e7 Consolidate the handling of minus, b=354785, r+sr=roc 2006-10-02 05:32:12 +00:00
rbs%maths.uq.edu.au
9b3a8e911f 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 2006-09-28 10:52:44 +00:00
bzbarsky%mit.edu
6e536461e8 Make mtdInnerFrame more like the inner frame of non-MathML table cells. Bug
354510, r+sr=rbs
2006-09-28 01:04:46 +00:00
rbs%maths.uq.edu.au
0f2b59e63a remove unused argument, b=354090 r+sr=roc 2006-09-25 03:14:18 +00:00
bzbarsky%mit.edu
b66aa49506 Ensure a space manager for MathML containers reflowing inlines. Bug 325222, r+sr=roc 2006-09-25 01:44:25 +00:00
rbs%maths.uq.edu.au
0eb1718dca assertions about chars without style contexts, b=353876, r+sr=roc 2006-09-25 00:08:41 +00:00
bzbarsky%mit.edu
e96f41d63f Make <math> have its own space manager. Bug 353894, r+sr=rbs 2006-09-24 20:30:43 +00:00
rbs%maths.uq.edu.au
218c696ae2 Dynamic changes to MathML table attributes don't work, b=347496, r+sr=roc 2006-09-19 04:43:14 +00:00
cvshook%sicking.cc
f127c27191 fix bustage 2006-09-15 20:13:01 +00:00
cvshook%sicking.cc
9241f85443 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 2006-09-15 19:54:45 +00:00
rbs%maths.uq.edu.au
8ded00e282 MathML: stretchy attribute not working in some situations, b=320303, r+sr=roc 2006-09-08 07:32:45 +00:00
rbs%maths.uq.edu.au
be1c63d3ec fix bustage on balsa 2006-09-07 09:01:18 +00:00
rbs%maths.uq.edu.au
de61177a24 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 2006-09-07 03:45:45 +00:00
rbs%maths.uq.edu.au
cf5252eb5e MathML <mtable>s sometimes have incorrect scriptlevel, b=328141, r+sr=roc 2006-08-29 17:21:36 +00:00
rbs%maths.uq.edu.au
927e70a9f9 js changes to MathML are not drawn, b=337700, r+sr=bzbarsky 2006-08-16 05:28:26 +00:00
rbs%maths.uq.edu.au
14a3ec20d9 fix typo that caused the CSS declaration to be ignored -- comments in CSS must be delimited with /* */ and not // 2006-08-15 13:17:54 +00:00
rbs%maths.uq.edu.au
660c88bd29 Frames not destroyed with <mmultiscripts> and <mtd>, b=348492, r+sr=bzbarsky 2006-08-15 04:49:43 +00:00
rbs%maths.uq.edu.au
21ece0d080 Frames from dynamic MathML table children are not made with the right creator, b=348153, r+sr=bzbarsky 2006-08-14 07:44:13 +00:00
rbs%maths.uq.edu.au
a188cdedf1 {inc} MathML matrices break when the content sink is incremental, b=344281, r+sr=bzbarsky 2006-08-14 07:27:42 +00:00
rbs%maths.uq.edu.au
afc24d0ecd '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 2006-08-12 07:46:29 +00:00
jruderman%hmc.edu
ba04dbfb86 Bug 347507, ignore negative rowspan and columnspan in MathML. r=rbs, sr=roc. 2006-08-08 08:44:03 +00:00
rbs%maths.uq.edu.au
ba4a4dcd33 Fix bug 347348 - Removing text node from <mo> causes 'ASSERTION: null arg' and has no visual effect, r+sr=roc 2006-08-07 23:50:24 +00:00
rbs%maths.uq.edu.au
d9404d9efe Fix bug 347495 - Invalid-markup message doesn't disappear when MathML gets valid again, r+sr=roc 2006-08-07 23:46:26 +00:00
rbs%maths.uq.edu.au
4639dd578c Fix assertion - bug 347495 - was due to an attempt to paint children in case of invalid markup, r+sr=roc 2006-08-07 23:42:32 +00:00
rbs%maths.uq.edu.au
215703c584 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 2006-08-03 23:58:42 +00:00
rbs%maths.uq.edu.au
3fe7da72d5 Backout earlier patch for bug 327737 due to regression 2006-08-03 23:27:55 +00:00
cvshook%sicking.cc
3a9a287253 Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst 2006-07-19 04:36:36 +00:00
rbs%maths.uq.edu.au
de01a001d1 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 2006-07-18 07:49:02 +00:00
rbs%maths.uq.edu.au
29540d3b17 Bustage bug 342533 - crash loading any MathML page due to string-fu change in bug 341954 2006-07-18 06:20:42 +00:00
roc+%cs.cmu.edu
1621ac24bd Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs 2006-06-26 22:18:23 +00:00
roc+%cs.cmu.edu
dffcabfea0 Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs 2006-06-09 03:29:32 +00:00
cvshook%sicking.cc
d3ec0aa5c5 Bug 335911: Change nsIContent::IsContentOfType to nsINode::IsNodeOfType. r/sr=bz 2006-05-05 06:52:21 +00:00
rbs%maths.uq.edu.au
1877e44608 Extra patch to quiet an assertion, b=323733, r+sr=roc 2006-04-30 20:34:46 +00:00
rbs%maths.uq.edu.au
77f1707d23 Fix assertion by not setting the overflow bit. Besides, it was used in a way that is not relevant anymore to the new paint display list. (Also init a return variable in maction while passing.) b=323733, r+sr=roc 2006-04-27 19:20:42 +00:00