bryner%netscape.com
c44337949a
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.
...
git-svn-id: svn://10.0.0.236/trunk@138129 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-22 00:32:13 +00:00
dbaron%dbaron.org
a569c670f5
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
...
git-svn-id: svn://10.0.0.236/trunk@136064 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-09 14:26:32 +00:00
dbaron%fas.harvard.edu
e8821b1085
Clean up unneeded includes of nsStyleUtil.h, and some other include cleanup in MathML. r=rbs b=71257 (|#include| changes only)
...
git-svn-id: svn://10.0.0.236/trunk@127461 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-16 11:52:20 +00:00
rbs%maths.uq.edu.au
7934fc0bf6
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
...
git-svn-id: svn://10.0.0.236/trunk@125121 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-12 21:14:32 +00:00
karnaze%netscape.com
49e0a9f4cb
bug 145305 - split floaters during printing. sr=attinasi, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@122236 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-28 22:50:43 +00:00
shanjian%netscape.com
a9c700ad59
#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
git-svn-id: svn://10.0.0.236/trunk@122131 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-24 20:11:14 +00:00
jst%netscape.com
0e34136ef1
Fixing bug 146034. Getting rid of nsHTMLIIDs.{h,cpp}. r=jfrancis@netscape.com, sr=rpotts@netscape.com
...
git-svn-id: svn://10.0.0.236/trunk@122039 18797224-902f-48f8-a5cc-f745e15eee43
2002-05-23 00:00:34 +00:00
rbs%maths.uq.edu.au
4568af87c6
Replace the XXX comments dating back from bug 45010 with a long lasting fix
...
git-svn-id: svn://10.0.0.236/trunk@114075 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 22:48:38 +00:00
rbs%maths.uq.edu.au
976682cd75
[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).
...
git-svn-id: svn://10.0.0.236/trunk@113879 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-07 04:38:08 +00:00
rbs%maths.uq.edu.au
ef52d88af3
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
...
git-svn-id: svn://10.0.0.236/trunk@113421 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-01 15:10:50 +00:00
rbs%maths.uq.edu.au
d1382b9071
MathML only - remove outdated APIs
...
git-svn-id: svn://10.0.0.236/trunk@111383 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-05 01:08:09 +00:00
karnaze%netscape.com
1540a4c12e
bug 68998 - added extra param to Paint, PaintChild, PaintChildren used by tables in standard mode. sr=waterson, r=alexsavulov.
...
git-svn-id: svn://10.0.0.236/trunk@103193 18797224-902f-48f8-a5cc-f745e15eee43
2001-09-19 12:35:19 +00:00
hyatt%netscape.com
b7b1cb3691
Fix for 78695 (rule matching improvements). r/sr=attinasi, jst, waterson
...
git-svn-id: svn://10.0.0.236/trunk@96136 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-31 22:19:43 +00:00
rbs%maths.uq.edu.au
9ed16ea333
Approximate the leading with 0.2em since uisng nsIFontMetrics::GetLeading() gives unreliable results on suspicious fonts
...
git-svn-id: svn://10.0.0.236/trunk@94339 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-09 04:50:34 +00:00
rbs%maths.uq.edu.au
589ac66d85
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
...
git-svn-id: svn://10.0.0.236/trunk@87817 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 16:10:51 +00:00
rbs%maths.uq.edu.au
3c211ae779
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
...
git-svn-id: svn://10.0.0.236/trunk@86113 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 21:29:21 +00:00
rbs%maths.uq.edu.au
69af6767db
[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
...
git-svn-id: svn://10.0.0.236/trunk@86069 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:39:18 +00:00
rbs%maths.uq.edu.au
80299f6024
[not part of default build] Some updates in the land of stretchy chars. partial fix for b:45010
...
git-svn-id: svn://10.0.0.236/trunk@73912 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 13:57:52 +00:00
rbs%maths.uq.edu.au
00a24552f9
[NOT PART OF THE DEFAULT BUILD] Compute the actual bounding metrics of the minus sign ('-') to get a more acurate math axis
...
git-svn-id: svn://10.0.0.236/trunk@66168 18797224-902f-48f8-a5cc-f745e15eee43
2000-04-17 04:23:03 +00:00
rbs%maths.uq.edu.au
808cd0c5e8
Remove nsMathMLmnFrame
...
git-svn-id: svn://10.0.0.236/trunk@64351 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 09:38:24 +00:00
rbs%maths.uq.edu.au
fc2686eba5
[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
...
git-svn-id: svn://10.0.0.236/trunk@57807 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-14 08:38:25 +00:00
rbs%maths.uq.edu.au
fa9816443f
[MATHML]. Laying some groundwork to pave the way for the future landing of Shyjan Mahamud's TeX alignment code.
...
git-svn-id: svn://10.0.0.236/trunk@57109 18797224-902f-48f8-a5cc-f745e15eee43
2000-01-07 14:49:46 +00:00
rbs%maths.uq.edu.au
63749e1875
[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.
...
git-svn-id: svn://10.0.0.236/trunk@55848 18797224-902f-48f8-a5cc-f745e15eee43
1999-12-10 13:02:23 +00:00
tbogard%aol.net
ae5a81e394
Changed nsIPresContext& to nsIPresContext*. Changed nsEventStatus& to nsEventStatus*. Now more compatible with XPIDL. a=vidur r=scc
...
git-svn-id: svn://10.0.0.236/trunk@54392 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-24 06:03:41 +00:00
rbs%maths.uq.edu.au
198220fee0
Consolidation of the code and efficient trimming of msqrt by delagating a big chunk of the reflow operation to the base class.
...
git-svn-id: svn://10.0.0.236/trunk@54258 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-23 06:04:02 +00:00
rbs%maths.uq.edu.au
c2064b42a2
Minor cleanup and Fixed a regression introduced by the consolidation of the code in nsMathMLChar.
...
git-svn-id: svn://10.0.0.236/trunk@54118 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-21 22:15:17 +00:00
rbs%maths.uq.edu.au
5bf3169323
Fine-tuning of the placement of the sqrt symbol and Patch of Mike Shaver to make the code compile on Linux
...
git-svn-id: svn://10.0.0.236/trunk@53826 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-18 04:51:56 +00:00
rbs%maths.uq.edu.au
823c317c0c
Code for the msqrt MathML tag
...
git-svn-id: svn://10.0.0.236/trunk@53723 18797224-902f-48f8-a5cc-f745e15eee43
1999-11-17 01:40:04 +00:00