44 Commits

Author SHA1 Message Date
bryner%brianryner.com
ff2bc0b69e Trying again to land support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161182 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-24 18:50:29 +00:00
bryner%brianryner.com
2ac3245dec Backing out 253888 again due to Tp regression plus another problem I noticed (frame properties not getting destroyed on frame destruction)
git-svn-id: svn://10.0.0.236/trunk@161116 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 07:10:50 +00:00
bryner%brianryner.com
0501b2872a Second try at landing support for content node properties (bug 253888). r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161115 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-22 04:58:44 +00:00
bryner%brianryner.com
03c6a8279c Backing out bug 253888 until I can figure out how to fix the crash
git-svn-id: svn://10.0.0.236/trunk@161097 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 06:27:54 +00:00
bryner%brianryner.com
e49f4fa38e Refactor the frame property code and use it for supporting properties on dom elements. Bug 253888, r=jst, sr=dbaron.
git-svn-id: svn://10.0.0.236/trunk@161096 18797224-902f-48f8-a5cc-f745e15eee43
2004-08-21 05:09:50 +00:00
bryner%brianryner.com
865734bf2f Change nsIPresContext to nsPresContext globally, follow-up to bug 253470. rs=roc
git-svn-id: svn://10.0.0.236/trunk@160184 18797224-902f-48f8-a5cc-f745e15eee43
2004-07-31 23:15:21 +00:00
roc+%cs.cmu.edu
1f5258aa4a Bug 226439. Convert layout to EqualsLiteral and EqualsASCII. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@155749 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-30 13:23:43 +00:00
gerv%gerv.net
2ac510b678 Bug 236613: change to MPL/LGPL/GPL tri-license.
git-svn-id: svn://10.0.0.236/trunk@155068 18797224-902f-48f8-a5cc-f745e15eee43
2004-04-18 14:30:37 +00:00
darin%meer.net
af98e4f306 landing dbaron's patch for bug 235735 "fix callers that cast away const on result of ns[C]String::get" r+sr=darin
git-svn-id: svn://10.0.0.236/trunk@153357 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-28 22:34:07 +00:00
bryner%brianryner.com
d956db112f Get rid of nsIFrameManager abstract interface to the frame manager. Bug 233972, r+sr=roc.
git-svn-id: svn://10.0.0.236/trunk@153111 18797224-902f-48f8-a5cc-f745e15eee43
2004-02-23 21:29:06 +00:00
bzbarsky%mit.edu
6d00103488 Remove the broken nsAttributeContent and just use regular textnodes to
implement attr() content.  Use mutation events to handle dynamic attr changes.
Bug 214013, r=dbaron, sr=jst


git-svn-id: svn://10.0.0.236/trunk@151885 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-27 04:22:58 +00:00
bmlk%gmx.de
a316af5457 remove unneccesary prescontext arguments bug 230923 r/sr=roc
git-svn-id: svn://10.0.0.236/trunk@151492 18797224-902f-48f8-a5cc-f745e15eee43
2004-01-18 10:28:40 +00:00
bryner%brianryner.com
b5347dd60c Change all callers of nsIPresContext::GetShell() to use the non-refcounting versions. Most callers now use PresShell(), a few that were checking for null conditions are using GetPresShell() -- this will be remedied once we can ensure that a prescontext never has a null pres shell. Bug 227690, r+sr=bzbarsky.
git-svn-id: svn://10.0.0.236/trunk@150598 18797224-902f-48f8-a5cc-f745e15eee43
2003-12-21 05:36:36 +00:00
roc+%cs.cmu.edu
b2d0c1acfb Ongoing deCOMtamination. r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@144556 18797224-902f-48f8-a5cc-f745e15eee43
2003-07-08 11:00:00 +00:00
dbaron%dbaron.org
80187c571f Remove |aPresContext| and |aPresShell| parameters from |nsIFrameManager| methods. b=208190 r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@143961 18797224-902f-48f8-a5cc-f745e15eee43
2003-06-19 23:52:58 +00:00
dbaron%dbaron.org
69da9d4a19 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
git-svn-id: svn://10.0.0.236/trunk@142488 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-15 03:42:21 +00:00
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
bzbarsky%mit.edu
8d092fcca8 ReResolveStyleContext needs to deal with :before/:after pseudos correctly. Bug
126072, r=dbaron, sr=roc+moz.  Also fixes bug 141259 (incorrect warnings about
style tree integrity).


git-svn-id: svn://10.0.0.236/trunk@135852 18797224-902f-48f8-a5cc-f745e15eee43
2003-01-05 05:05:17 +00:00
roc+%cs.cmu.edu
c6bb83f66a Bug 160936. Add type nsChangeHint for style hints. Make it a set of bits. Make sure an NS_STYLE_HINT_REFLOW always also does a repaint of the frame. r=dbaron,sr=kin
git-svn-id: svn://10.0.0.236/trunk@128041 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-24 14:41:28 +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
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
27e6f13d75 Add support for MathML styling attributes (e.g., color, fontsize, etc) by creating an internal attribute stylesheet on the fly, and populating it by mapping attributes to CSS rules as frames get created. This is a work-around to bug 69409 which is is not scheduled to be addressed by the Gecko team anytime soon. Also Cleaned-up the debug rules in mathml.css and removed the (in)famous red color of <mi>
git-svn-id: svn://10.0.0.236/trunk@114503 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-14 12:26:43 +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
979dc04ba6 When looking up the real sibling of a cell, use colspan/rowspan (instead of just 1) as the increment to cater for cases of spanning cells in the cellmap
git-svn-id: svn://10.0.0.236/trunk@113004 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-27 19:26:42 +00:00
rbs%maths.uq.edu.au
0d04e79f72 typos
git-svn-id: svn://10.0.0.236/trunk@112879 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 21:57:47 +00:00
rbs%maths.uq.edu.au
3e1abbf64e Improvements to <mtable>
git-svn-id: svn://10.0.0.236/trunk@112846 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-25 07:03:43 +00:00
rbs%maths.uq.edu.au
9389ef38e6 Continuation of tyding
git-svn-id: svn://10.0.0.236/trunk@112020 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 08:06:08 +00:00
rbs%maths.uq.edu.au
486cb07a88 Compact code - use a helper function for a re-usable chunk of code
git-svn-id: svn://10.0.0.236/trunk@112011 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-12 03:04:14 +00:00
rbs%maths.uq.edu.au
c264cfec89 Some tweaks
git-svn-id: svn://10.0.0.236/trunk@111934 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-11 05:08:11 +00:00
rbs%maths.uq.edu.au
526b3dfa82 [MathML only] Rename the pointer on the embellished operator from |firstChild| to |next| because it is more clearer with the latter that it is an hierarchy. Also made the inheritance of the displaystyle more reliable by walking up to the root <math> tag if necessary, e.g., if a MathML frame happens to be surrounded by non-MathML helper frames needed for its support
git-svn-id: svn://10.0.0.236/trunk@111885 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-10 23:40:40 +00:00
rbs%maths.uq.edu.au
ba5c4f48d6 [MathML only] shuffle shared functions between files to balance the weights of the files
git-svn-id: svn://10.0.0.236/trunk@111711 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-09 18:51:30 +00:00
bryner%netscape.com
7b3ce3a03b Fixing mathml bustage.
git-svn-id: svn://10.0.0.236/trunk@101290 18797224-902f-48f8-a5cc-f745e15eee43
2001-08-17 09:54:04 +00:00
jaggernaut%netscape.com
51b17b5bf0 Bug 88413: Remove |GetUnicode()| from nsString (and replace it with |get()|). r=dbaron, rs=scc.
This removes all call-sites I can currently fix. Tomorrow I'll try to get someone to checkin my changes to security/ and I'll get some help with the Netscape side of things.

nsString::GetUnicode()'s final death-blow will be dealt soon. Please keep this in mind as you add new code :-)


git-svn-id: svn://10.0.0.236/trunk@98363 18797224-902f-48f8-a5cc-f745e15eee43
2001-06-30 11:02:25 +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
b336224778 Rename a class and ecover from the recent rework in the table code - fix bug 78389 r=waterson
git-svn-id: svn://10.0.0.236/trunk@95528 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 10:00:01 +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
e0ccde3dcc [not part of default build] Added support for rowalign and columnalign attributes on <mtable>
git-svn-id: svn://10.0.0.236/trunk@70043 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-16 13:18:42 +00:00
rbs%maths.uq.edu.au
82f8744fa3 [not part of default build] Remove usage of nsAreaFrame since it will be going away
git-svn-id: svn://10.0.0.236/trunk@69286 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-11 23:03:19 +00:00
rbs%maths.uq.edu.au
506f6233b1 [not part of default build] Added support for align: top, bottom, center, baseline, axis on <mtable>
git-svn-id: svn://10.0.0.236/trunk@68647 18797224-902f-48f8-a5cc-f745e15eee43
2000-05-08 07:23:22 +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
7970da0074 [NOT PART OF THE DEFAULT BUILD] First checkin
git-svn-id: svn://10.0.0.236/trunk@64357 18797224-902f-48f8-a5cc-f745e15eee43
2000-03-28 10:15:19 +00:00