523 Commits

Author SHA1 Message Date
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
rbs%maths.uq.edu.au
30fd1054a2 Extra patch to quiet an assertion, b=323733, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195743 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-30 20:34:46 +00:00
rbs%maths.uq.edu.au
491a3cad3a 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
git-svn-id: svn://10.0.0.236/trunk@195583 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-27 19:20:42 +00:00
roc+%cs.cmu.edu
02b50c231a Bug 330305. Rename nsSelection to nsFrameSelection, and deCOMtaminate it, removing nsIFrameSelection. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@195412 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-26 02:01:07 +00:00
leon.sha%sun.com
ca47f5992a Bug 333896
Convert GetAttr calls to AttrValueIs and FindAttrValueIn.
Patch by alfred.peng@sun.com.
roc: review+
roc: superreview+


git-svn-id: svn://10.0.0.236/trunk@195238 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-24 05:40:11 +00:00
roc+%cs.cmu.edu
b6ebd9961d Bug 328926. Remove aPresContext parameter from nsIFrame::Destroy, nsIFrame::SetInitialChildList and nsIFrame::RemovedAsPrimaryFrame. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193976 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-10 00:16:29 +00:00
dbaron%dbaron.org
9911a9b756 Remove uses of MOZ_DECL_CTOR_COUNTER, which is always defined to nothing. b=332745 rs=roc,bzbarsky
git-svn-id: svn://10.0.0.236/trunk@193572 18797224-902f-48f8-a5cc-f745e15eee43
2006-04-05 00:00:44 +00:00
roc+%cs.cmu.edu
140fbb3377 Bug 330934. Set a nsIFrame's stylecontext in its constructor, to ensure that there's always one available for GetPresContext() to use even if Init hasn't been called. Patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@193022 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-26 21:30:36 +00:00
pavlov%pavlov.net
b5c7a440ef backing out roc's patch for bug 328926 due to crash running tests on vc8 machines.
git-svn-id: svn://10.0.0.236/trunk@192407 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 06:43:36 +00:00
roc+%cs.cmu.edu
6e36f2c733 Bug 328926. Remove aPresContext parameter from Destroy and SetInitialChildList. patch by Marc Liddell, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192399 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-15 03:14:02 +00:00
roc+%cs.cmu.edu
c469d694c3 Bug 330300. Move mFrame from nsDisplayItem subclasses up to nsDisplayItem itself, and make GetUnderlyingFrame an inline non-virtual function. Patch by Alfred Peng, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@192331 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-14 20:43:18 +00:00
roc+%cs.cmu.edu
38a9722e9f Bug 328926. Remove aPresContext from nsIFrame::Init and nsIFrame::DidSetStyleContext. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@192085 18797224-902f-48f8-a5cc-f745e15eee43
2006-03-09 18:55:21 +00:00
pavlov%pavlov.net
dffa7cd65d backing out 205001 as it broke Windows printing. r=dbaron
git-svn-id: svn://10.0.0.236/trunk@190762 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 22:56:02 +00:00
sharparrow1%yahoo.com
c7989ee277 Bug 327868: nsIFrameSelection cleanup. r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@190633 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-21 00:49:04 +00:00
masayuki%d-toybox.com
4d6c699705 Bug 205001 the print scale is ignored at using CSS absolute length unit r=dbaron, sr=roc
git-svn-id: svn://10.0.0.236/trunk@190563 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-20 09:38:54 +00:00
mark%moxienet.com
c9b90c85b6 325964 MathML missing font dialog contains extra space. Patch by Smokey Ardisson <alqahira@mindspring.com>. r=me sr=rbs
git-svn-id: svn://10.0.0.236/trunk@188993 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-06 02:48:52 +00:00
cbiesinger%web.de
6322c04952 bug 183156 remove *UCS2* functions, replacing them with *UTF16* ones
r+sr=darin


git-svn-id: svn://10.0.0.236/trunk@188844 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-03 14:18:39 +00:00
mark%moxienet.com
ebb85c87fe 190307 Add MathML support to Camino, adding a non-blocking alert service to handle MathML's missing-font dialog. Patch by Makoto Yamashita <makotoy@ms.u-tokyo.ac.jp>, fixed up for CaminoStatic by me. r=smfr sr=pink
git-svn-id: svn://10.0.0.236/trunk@188729 18797224-902f-48f8-a5cc-f745e15eee43
2006-02-02 02:07:45 +00:00
bzbarsky%mit.edu
fb8579f413 Fix leak bug 324969 -- make sure to call virtual destructors.
git-svn-id: svn://10.0.0.236/trunk@188434 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-29 18:48:58 +00:00
roc+%cs.cmu.edu
df8627e29b Bug 317375. Reorganize frame painting and mouse event targeting around frame display lists. Some review from dbaron, lots of testing help from Martijn, Julien and others
git-svn-id: svn://10.0.0.236/trunk@188202 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-26 02:29:17 +00:00
cvshook%sicking.cc
125d167053 Bug 317544: Disable floating inside mathml. r=bz sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188179 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 21:40:31 +00:00
cvshook%sicking.cc
12b789d906 Bug 310436: Implement IsFrameOfType and use that to disable non-svg frames from being children of svg frames. r=bz sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@188176 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-25 21:16:12 +00:00
bryner%brianryner.com
256fd4c351 Remove deprecated nsTString::ToCString (bug 323471). r+sr=darin.
git-svn-id: svn://10.0.0.236/trunk@188104 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-24 19:22:02 +00:00
rbs%maths.uq.edu.au
fcdf1f8b95 Make sure to also set the max-element-width in <maction> when the child list is empty, b=323742, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@187952 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:53:10 +00:00
rbs%maths.uq.edu.au
2e24ce0a51 <mspace> is a leaf frame. Don't create bogus child frames inside <mspace> having invalid markup with child content. b=323741, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@187950 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:46:19 +00:00
rbs%maths.uq.edu.au
ab2438913e don't attempt to stretch a frame flagged as having invalid markup, b=323738, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@187947 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-21 02:31:02 +00:00
cvshook%sicking.cc
ceaf7bdebc Bug 323910: Merge atom lists in gklayout
r/sr=jst


git-svn-id: svn://10.0.0.236/trunk@187798 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-19 00:58:12 +00:00
cvshook%sicking.cc
d3d2e97d3b Bug 321294: Remove unused ReplaceFrame codepaths.
r/sr=roc


git-svn-id: svn://10.0.0.236/trunk@187266 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 22:58:37 +00:00
rbs%maths.uq.edu.au
0739f0e597 Fix crash due to outdated pointers when the DOM is modified, b=317546, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@187254 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-10 20:38:46 +00:00
rbs%maths.uq.edu.au
bae894a765 Re-sync some cached values of <maction> when its child list is changed dynamically, b=322656, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@187157 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-09 00:36:46 +00:00
rbs%maths.uq.edu.au
7771aa8fc7 Fix StirDOM/MathML crash bug 309120, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@186898 18797224-902f-48f8-a5cc-f745e15eee43
2006-01-04 07:29:09 +00:00
cvshook%sicking.cc
b5a86b3a14 Backing out patch that was accidentally checked in with bug 284950.
git-svn-id: svn://10.0.0.236/trunk@186695 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-29 04:58:30 +00:00
cvshook%sicking.cc
cf43ff4e7d Bug 284950: DeCOMTaminate nsIContent::GetAttrNameAt
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@186678 18797224-902f-48f8-a5cc-f745e15eee43
2005-12-28 21:52:39 +00:00
timeless%mozdev.org
a05383ef1b Bug 106386 Correct misspellings in source code
patch by mats.palmgren@bredband.net r=dbaron sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@185018 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-20 22:05:24 +00:00
bsmedberg%covad.net
0217e2f9a9 Bug 313309 part 2 - change the NS_DEFINE_STATIC_IID_ACCESSOR macro to NS_DECLARE, and make a NS_DEFINE_ macro that's outside the class declaration, r=shaver
git-svn-id: svn://10.0.0.236/trunk@184456 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 14:36:26 +00:00
roc+%cs.cmu.edu
9199079043 Bug 313817. DeCOMtaminate SVG and MathML NS_New*Frame functions. r+sr=roc, patch by Marc Liddell.
git-svn-id: svn://10.0.0.236/trunk@184444 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-11 02:36:29 +00:00
rbs%maths.uq.edu.au
0d10f1d60e Don't permit floating or absolute positioning inside MathML, b=307826, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@184175 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-05 04:23:13 +00:00
roc+%cs.cmu.edu
c4e0410c6e Bug 313817. DeCOMtaminate more NS_New*Frame functions. r+sr=roc, patch by Marc Liddell
git-svn-id: svn://10.0.0.236/trunk@184129 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-04 02:38:33 +00:00
rbs%maths.uq.edu.au
c0f0afa273 Oops, typo, should have replicated the local definition of &DoubleVerticalBar; in each file
git-svn-id: svn://10.0.0.236/trunk@183321 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 04:27:01 +00:00
rbs%maths.uq.edu.au
3398b04303 Configure &Vert; (a.k.a. &Verbar; \u2016) to stretch like &DoubleVerticalBar; (\u2225), b=314459, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@183318 18797224-902f-48f8-a5cc-f745e15eee43
2005-11-01 03:26:37 +00:00
cvshook%sicking.cc
b26f9f52fb Bug 311827: Make GetAttr return a bool rather then an nsresult.
r/sr=bz


git-svn-id: svn://10.0.0.236/trunk@183185 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-28 11:25:24 +00:00
rbs%maths.uq.edu.au
2ea42ab429 crash evil mathml testcase with display:block, r+sr=bz, b=286122
git-svn-id: svn://10.0.0.236/trunk@183105 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-26 23:21:09 +00:00
rbs%maths.uq.edu.au
8a7bc976c5 Fix holes in stretchy MathML characters when their glue is tiny, b=311046, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182566 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-20 00:28:47 +00:00
rbs%maths.uq.edu.au
b6df49e082 Bug 191847,297464, allow negative widths in <mspace> for uses like overstriking, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@182512 18797224-902f-48f8-a5cc-f745e15eee43
2005-10-19 00:57:17 +00:00
roc+%cs.cmu.edu
aeacb4d477 Bug 108310. Make GetFrameForPoint take frame-relative coordinates, not bogus relative-to-some-view-or-other, and simplify the signature. r+sr=roc, patch by Eli Friedman.
git-svn-id: svn://10.0.0.236/trunk@180551 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-19 02:15:54 +00:00
rbs%maths.uq.edu.au
38875de48b Fix the inter-space for the fraction line and other special cases, b=308045, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@180344 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-16 00:39:27 +00:00
timeless%mozdev.org
cb6d168fcc Bug 308573 use if (NS_FAILED(...)) instead of if NS_FAILED(...)
patch by b.jacques@planet.nl r=darin sr=darin


git-svn-id: svn://10.0.0.236/trunk@180324 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-15 23:17:17 +00:00
rbs%maths.uq.edu.au
48e5bfcc08 Fully update the state even on invalid markups to avoid crashing, b=307839, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@180010 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-12 05:51:18 +00:00
bzbarsky%mit.edu
c3d2c5e7a2 Remove the pointless nsIContent arg of nsIFrame::AttributeChanged. Bug 281390,
patch by Vidar Braut Haarr <vhaarr+bmo@gmail.com>, r+sr=bzbarsky


git-svn-id: svn://10.0.0.236/trunk@179800 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-07 16:49:21 +00:00
rbs%maths.uq.edu.au
1b27403044 Inter-spacing improvements between MathML frames, b=306543, r+sr=roc
git-svn-id: svn://10.0.0.236/trunk@179751 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 23:47:01 +00:00