Commit Graph
34 Commits
Author SHA1 Message Date
[email protected] 6cde4639f0 Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc 2004-07-31 23:15:21 +00:00
[email protected] 15745b0b06 Consolidate PresContext classes into a single nsIPresContext implementation, and finish deCOMtaminating it. Bug 253470, r+sr=roc. 2004-07-29 19:41:39 +00:00
[email protected] a1ec040a65 Bug 236613: change to MPL/LGPL/GPL tri-license. 2004-04-18 14:30:37 +00:00
[email protected] 99469f3f0a Ongoing deCOMtamination. r+sr=dbaron 2003-07-08 11:00:00 +00:00
[email protected] f98e358469 Clean up API (and its callers) for getting style data: remove unneeded null checks and switch to new inline member functions (one for each struct) that return values. b=197205 r+sr=roc a=brendan 2003-05-15 03:42:21 +00:00
[email protected] c80b697cc2 Parameterize the handling of base fonts (i.e., fonts used for certain characters at their base/non-stretchy size). Use that to set base fonts for sqrt (which used to be hard-coded), and fix the ≤ problem by setting the safer Symbol font as its base font. Also while here, emulate \mathstrut in sqrt for extra beautification. b=118600, r+sr=roc+moz 2003-04-22 03:32:06 +00:00
[email protected] ba58162e96 Remove nsIStyleContext (bug 114713), r/sr=dbaron. Changed lots of methods to use nsStyleContext* or already_AddRefed<nsStyleContext> as return values, depending on whether a reference is returned. Turn on nsRefPtr (bug 104346), and change nsDerivedSafe to not declare AddRef and Release explicitly virtual, r=jag, sr=dbaron. 2003-02-22 00:32:13 +00:00
[email protected] 1c37d177d4 Replace computation of max-element-size (height and width) with max-element-width alone, since the max-element-height is practically unused and not meaningful for layout. b=186953 r+sr=bzbarsky 2003-01-09 14:26:32 +00:00
[email protected] 6ccb4ee1ec Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only) 2002-08-16 11:52:20 +00:00
[email protected] 5a75a762e0 Align the bar of the radical on pixel boundaries to get a nicer & uniform spacing on stacked radicals, b=130282, r=roc+moz, sr=waterson, a=asa 2002-07-12 21:14:32 +00:00
[email protected] 7ce5d8ded3 bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov. 2002-05-28 22:50:43 +00:00
[email protected] 8ee8e6e790 #142562 problem with <td align=right or align=center
We are observing langGroup in some place while ignor it in others. This patch
make all font metrics call consistent. nsIRenderingContext API is change to
make things neat.
r=rbs, sr=waterson
2002-05-24 20:11:14 +00:00
[email protected] 78ccba6821 Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. [email protected], [email protected] 2002-05-23 00:00:34 +00:00
[email protected] 8061424a0e Replace the XXX comments dating back from bug 45010 with a long lasting fix 2002-02-08 22:48:38 +00:00
[email protected] 37334d1e2b [MathML only - candidate version for 0.9x] * Hooked robust support for advanced dynamic updates via JavaScript and the DOM across the entire MathML module (with particular attention to the numerous presentational attributes that MathML has). * Eliminated some functions (or folded their functionality into recently added APIs). * Reviewed the module as a whole and simplified several chunks of code owing to the benefit of hindsight now. * Added/reviewed the documentation in anticipation of the freezing of Mozilla 1.0, to improve the understanding of people that may read the archived code and learn from it under the appropriate context of this time. * Reviewed the XXX comments and addressed those that could be addressable in this timeframe. * Some renamings (e.g., ReLayout -> ReLayoutChildren to avoid ambiguities as to who does what in terms of the terminology used when referring to the frame hierarchy). 2002-02-07 04:38:08 +00:00
[email protected] 305a1bf8de Added two APIs, InheritAutomaticData() & TransmitAutomaticData(), to respond to dynamic changes that affect automatic data (i.e., data inferred from the actual definition of each MathML tag). The computation of the data was so far mostly locked in Init() and SetInitialChildList() which are meant to be called only once in the life-time of a frame. Factored this computation into the two APIs to be used to rebuild the data, and which can be called repeatedly as appropriate, when dynamic changes arise in the content model. Shuffled code to stay in sync and consolidated the hooks used dynamic changes with the APIs 2002-02-01 15:10:50 +00:00
[email protected] 702b0ab29c MathML only - remove outdated APIs 2002-01-05 01:08:09 +00:00
[email protected] 5b7e018561 bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov. 2001-09-19 12:35:19 +00:00
[email protected] dfdfa14592 Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson 2001-05-31 22:19:43 +00:00
[email protected] 8f5104d328 Approximate the leading with 0.2em since uisng nsIFontMetrics::GetLeading() gives unreliable results on suspicious fonts 2001-05-09 04:50:34 +00:00
[email protected] 28a08f73c4 Ignorable whitespace frames are gone - Additions to the inter-frame spacing - Typos - Rework the style of scripting elements - fix for bugs 67451,15402 - this check-in was contingent on the check-in for bug 68411 - sr=waterson 2001-02-23 16:10:51 +00:00
[email protected] 89db1e8171 Keep things uniform by letting these frames fill the bounding metrics for the caller. Enabled operators that need to be centered around the axis for fonts that are not math-aware 2001-02-02 21:29:21 +00:00
[email protected] b5e890dbbc [not part of default build] Recover from API changes and improve the position of the index in mroot to eliminate the risk of collision with the sqrt symbol 2001-02-02 09:39:18 +00:00
[email protected] dd2ebb6819 [not part of default build] Some updates in the land of stretchy chars. partial fix for b:45010 2000-07-10 13:57:52 +00:00
[email protected] c1ccfc2d97 [NOT PART OF THE DEFAULT BUILD] Compute the actual bounding metrics of the minus sign ('-') to get a more acurate math axis 2000-04-17 04:23:03 +00:00
[email protected] 17542e0bd7 Remove nsMathMLmnFrame 2000-03-28 09:38:24 +00:00
[email protected] e015fe94d3 [MATHML] *Restructuration to put member data into a mPresentationData struct. *Added support for accent and accentunder, with provision for embellished operators. *Changed usage of GetBoundingMetrics() to the X Windows character coordinate system 2000-01-14 08:38:25 +00:00
[email protected] a56ba1ff41 [MATHML]. Laying some groundwork to pave the way for the future landing of Shyjan Mahamud's TeX alignment code. 2000-01-07 14:49:46 +00:00
[email protected] 241698ae64 [NOT PART OF THE DEFAULT BUILD]. *Changes to bring the MathML code in sync with layout (this will clear bugs 19398 and 20858). *Postfixed atoms with underscore. *Major revamps to launch the support of embellished operators. 1999-12-10 13:02:23 +00:00
[email protected] 617bb737a6 Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc 1999-11-24 06:03:41 +00:00
[email protected] e6c1ad04e5 Consolidation of the code and efficient trimming of msqrt by delagating a big chunk of the reflow operation to the base class. 1999-11-23 06:04:02 +00:00
[email protected] c19714118c Minor cleanup and Fixed a regression introduced by the consolidation of the code in nsMathMLChar. 1999-11-21 22:15:17 +00:00
[email protected] 8ec0f192c3 Fine-tuning of the placement of the sqrt symbol and Patch of Mike Shaver to make the code compile on Linux 1999-11-18 04:51:56 +00:00
[email protected] 6ec8b55bd0 Code for the msqrt MathML tag 1999-11-17 01:40:04 +00:00