bzbarsky%mit.edu
ee561228eb
Back out bug 354600 to fix regressions.
...
git-svn-id: svn://10.0.0.236/trunk@215446 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-19 20:23:56 +00:00
bzbarsky%mit.edu
77b17ef48c
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
git-svn-id: svn://10.0.0.236/trunk@215356 18797224-902f-48f8-a5cc-f745e15eee43
2006-11-16 17:51:53 +00:00
roc+%cs.cmu.edu
f06ba26d9e
Bug 343445. Change inline reflow strategy to avoid looking ahead through words while measuring text. r+sr=dbaron
...
git-svn-id: svn://10.0.0.236/trunk@213836 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-19 01:47:47 +00:00
rbs%maths.uq.edu.au
8161f4ec50
fix assertion about the mismatch of frame types by not making blind assumptions, b=355986, r=bernd, sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@213390 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-10 07:38:50 +00:00
bzbarsky%mit.edu
704039928d
Slightly improve handling of positioned kids of MathML. Bug 322625, r=rbs, sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@213322 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-08 22:04:09 +00:00
rbs%maths.uq.edu.au
59aedf1446
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
...
git-svn-id: svn://10.0.0.236/trunk@213236 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-06 15:38:17 +00:00
rbs%maths.uq.edu.au
e07d25c37e
typo from my previous checkin
...
git-svn-id: svn://10.0.0.236/trunk@212991 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 07:50:36 +00:00
rbs%maths.uq.edu.au
3e7aa0184a
Consolidate the handling of minus, b=354785, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@212980 18797224-902f-48f8-a5cc-f745e15eee43
2006-10-02 05:32:12 +00:00
rbs%maths.uq.edu.au
46fd8ca8b4
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
...
git-svn-id: svn://10.0.0.236/trunk@212796 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 10:52:44 +00:00
bzbarsky%mit.edu
1d70021e81
Make mtdInnerFrame more like the inner frame of non-MathML table cells. Bug
...
354510, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@212771 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-28 01:04:46 +00:00
rbs%maths.uq.edu.au
ad506c0fa2
remove unused argument, b=354090 r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@212280 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 03:14:18 +00:00
bzbarsky%mit.edu
c0103b4e12
Ensure a space manager for MathML containers reflowing inlines. Bug 325222, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@212276 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 01:44:25 +00:00
rbs%maths.uq.edu.au
28e6a26cf8
assertions about chars without style contexts, b=353876, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@212275 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-25 00:08:41 +00:00
bzbarsky%mit.edu
ef52a6f4b4
Make <math> have its own space manager. Bug 353894, r+sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@212260 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-24 20:30:43 +00:00
rbs%maths.uq.edu.au
dce500c0f1
Dynamic changes to MathML table attributes don't work, b=347496, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@211970 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-19 04:43:14 +00:00
cvshook%sicking.cc
4bdc25fa02
fix bustage
...
git-svn-id: svn://10.0.0.236/trunk@211829 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 20:13:01 +00:00
cvshook%sicking.cc
2acc886a81
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
...
git-svn-id: svn://10.0.0.236/trunk@211826 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-15 19:54:45 +00:00
rbs%maths.uq.edu.au
340c264503
MathML: stretchy attribute not working in some situations, b=320303, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@209428 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-08 07:32:45 +00:00
rbs%maths.uq.edu.au
7e6dff9914
fix bustage on balsa
...
git-svn-id: svn://10.0.0.236/trunk@209328 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 09:01:18 +00:00
rbs%maths.uq.edu.au
6fb17e5763
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
...
git-svn-id: svn://10.0.0.236/trunk@209313 18797224-902f-48f8-a5cc-f745e15eee43
2006-09-07 03:45:45 +00:00
rbs%maths.uq.edu.au
fec3388d44
MathML <mtable>s sometimes have incorrect scriptlevel, b=328141, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@208712 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-29 17:21:36 +00:00
rbs%maths.uq.edu.au
8caba6b9bc
js changes to MathML are not drawn, b=337700, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@207549 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-16 05:28:26 +00:00
rbs%maths.uq.edu.au
599898014b
Frames not destroyed with <mmultiscripts> and <mtd>, b=348492, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@207415 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 04:49:43 +00:00
rbs%maths.uq.edu.au
6451093b34
Frames from dynamic MathML table children are not made with the right creator, b=348153, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@207300 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 07:44:13 +00:00
rbs%maths.uq.edu.au
726e867b91
{inc} MathML matrices break when the content sink is incremental, b=344281, r+sr=bzbarsky
...
git-svn-id: svn://10.0.0.236/trunk@207299 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-14 07:27:42 +00:00
jruderman%hmc.edu
fe750b8816
Bug 347507, ignore negative rowspan and columnspan in MathML. r=rbs, sr=roc.
...
git-svn-id: svn://10.0.0.236/trunk@206811 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-08 08:44:03 +00:00
rbs%maths.uq.edu.au
22b71d90a8
Fix bug 347348 - Removing text node from <mo> causes 'ASSERTION: null arg' and has no visual effect, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206789 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:50:24 +00:00
rbs%maths.uq.edu.au
0de0272460
Fix bug 347495 - Invalid-markup message doesn't disappear when MathML gets valid again, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206788 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:46:26 +00:00
rbs%maths.uq.edu.au
4683c200da
Fix assertion - bug 347495 - was due to an attempt to paint children in case of invalid markup, r+sr=roc
...
git-svn-id: svn://10.0.0.236/trunk@206786 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-07 23:42:32 +00:00
rbs%maths.uq.edu.au
7473d49a1c
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
...
git-svn-id: svn://10.0.0.236/trunk@206530 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 23:58:42 +00:00
rbs%maths.uq.edu.au
82b376e12c
Backout earlier patch for bug 327737 due to regression
...
git-svn-id: svn://10.0.0.236/trunk@206526 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-03 23:27:55 +00:00
cvshook%sicking.cc
365266c686
Bug 344050: Kill nsITextContent and move the methods to nsIContent. r/sr=jst
...
git-svn-id: svn://10.0.0.236/trunk@203078 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-19 04:36:36 +00:00
rbs%maths.uq.edu.au
7dcdbcba61
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
...
git-svn-id: svn://10.0.0.236/trunk@202307 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 07:49:02 +00:00
rbs%maths.uq.edu.au
81cdd5a391
Bustage bug 342533 - crash loading any MathML page due to string-fu change in bug 341954
...
git-svn-id: svn://10.0.0.236/trunk@202302 18797224-902f-48f8-a5cc-f745e15eee43
2006-07-18 06:20:42 +00:00
roc+%cs.cmu.edu
bd9175c940
Bug 237085. Move string subdivision code to gfx so we can efficiently make it metrics-dependent. r=smontagu,sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@200963 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-26 22:18:23 +00:00
roc+%cs.cmu.edu
d5ea80116c
Bug 338251. Create safe wrappers for gfx text functions and use them. r=smontagu,sr=rbs
...
git-svn-id: svn://10.0.0.236/trunk@199574 18797224-902f-48f8-a5cc-f745e15eee43
2006-06-09 03:29:32 +00:00
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