Commit Graph

251 Commits

Author SHA1 Message Date
karlt+@karlt.net
5deea10aba GetIntrinsicWidth for mroot, mfenced, and mfrac. b=363240, r+sr=roc 2008-03-13 22:02:49 -07:00
karlt+@karlt.net
2071d69173 nsMathMLChar::GetMaxWidth and stretchy <mo> GetIntrinsicWidth implementations. Rename MAXSIZE_IS_EXPLICIT to MAXSIZE_IS_ABSOLUTE. Avoid unsigned/signed warnings with 1<<31. b=363240, r+sr=roc 2008-03-13 21:05:43 -07:00
karlt+@karlt.net
b64fb6eb32 Remove some unused nsGlyphTable methods. b=363240, r+sr=roc 2008-03-12 21:50:44 -07:00
jruderman@hmc.edu
728e86591d Add crashtest 2008-03-08 22:32:28 -08:00
karlt+@karlt.net
423c6ce2f9 Don't try to Place() invisible operators. b=420420 r+sr=roc a=beltzner 2008-03-06 22:37:23 -08:00
karlt+@karlt.net
4260e2c912 Bug 416549 - MathML does not render properly with text-align:justify. Patch by Frédéric WANG <fwsmail35@aol.com>, r=karlt, sr=roc 2008-03-06 19:47:11 -08:00
karlt+@karlt.net
88cb41a133 Backing out previous revision (b=416549) due to a reftest hang on qm-centos5-01 2008-03-06 16:19:00 -08:00
karlt+@karlt.net
6e07d7b64d Backing out previous revision (b=420420) due to reftest hang on qm-centos5-01 2008-03-06 16:14:56 -08:00
karlt+@karlt.net
dd94eb4942 Don't try to Place() invisible operators. b=420420 r+sr=roc a=beltzner 2008-03-06 14:21:07 -08:00
karlt+@karlt.net
ce3034771d Bug 416549 - MathML does not render properly with text-align:justify. Patch by Frédéric WANG <fwsmail35@aol.com>, r=karlt, sr=roc 2008-03-06 13:59:03 -08:00
karlt+@karlt.net
9cfde0fffe Include lspace and rspace in GetIntrinsicWidth. b=363240 r+sr=roc 2008-02-27 02:47:43 -08:00
karlt+@karlt.net
2651ea9c59 Get*Width for nsMathMLContainerFrame base class. b=363240 r+sr=roc 2008-02-27 02:45:36 -08:00
karlt+@karlt.net
aab5b28c72 don't use frame origin offsets to store ascents. b=363240, r+sr=roc 2008-02-25 20:19:36 -08:00
jag@tty.nl
057bc17743 Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
755c29fa09 Bug 412237, reenable test 2008-02-06 20:10:27 -08:00
roc+@cs.cmu.edu
2150988883 Bug 412237. Don't parse negative sizes for the MathML fontsize attribute. Make sure we do continue to parse '-0px', since that's not actually negative. r+sr=dbaron 2008-02-06 20:09:03 -08:00
jruderman@hmc.edu
37d64ecea6 Add a crashtest 2008-02-03 21:16:01 -08:00
jruderman@hmc.edu
b274984841 Add crashtest 2008-02-03 21:13:22 -08:00
jruderman@hmc.edu
775a06b4d6 Adding crashtest 2008-02-03 21:11:01 -08:00
jruderman@hmc.edu
b813d371c6 Add a crashtest 2008-02-03 21:06:38 -08:00
karlt+@karlt.net
c7256bae88 let mathvariant="normal" inherit the document fonts b=413115 r+sr=roc a=schrep 2008-01-29 20:05:37 -08:00
roc+@cs.cmu.edu
413a8bf8ac Backing out bug 412237 due to regression test failure 2008-01-29 16:40:59 -08:00
roc+@cs.cmu.edu
b2bfc801ee Test for bug 412237 2008-01-29 15:36:56 -08:00
roc+@cs.cmu.edu
ad3c5faee1 Bug 412237. Don't parse negative fontsize attributes in MathML elements. r+sr=dbaron 2008-01-29 15:35:26 -08:00
bmlk@gmx.de
0ad0c3bff1 adding a crashtest 2008-01-27 00:14:25 -08:00
mats.palmgren@bredband.net
d431de32cf Always post a restyle request if SetTextStyle() indicates it's needed. b=414123 r+sr+a=roc 2008-01-26 18:49:47 -08:00
bmlk@gmx.de
3cf41bc240 apply rowspans and colspans only to mtd bug 413063 r/sr=bzarsky a=mtschrep 2008-01-26 08:32:16 -08:00
jruderman@hmc.edu
2ae5a71678 Add crashtests 2008-01-23 17:19:33 -08:00
jruderman@hmc.edu
0a73114a44 Add a crashtest 2008-01-20 16:14:29 -08:00
karlt+@karlt.net
89744d21cb apply scriptlevel increment to denominator as well as numerator b=412897, r+sr+a=roc 2008-01-17 20:41:54 -08:00
jruderman@hmc.edu
efddd7c74b Add a crashtest 2008-01-17 16:43:25 -08:00
reed@reedloden.com
faeccd9485 Bug 400475 - ""ASSERTION: dangling frame without a content node" changing any attribute on <math:mstyle>" [p=vladimir.sukhoy@gmail.com (Vlad Sukhoy) r+sr=roc a1.9=schrep] 2008-01-15 21:07:09 -08:00
roc+@cs.cmu.edu
9e76f6fb05 fix bustage 2008-01-14 17:28:42 -08:00
roc+@cs.cmu.edu
5ae25b76e9 Crashtest for bug 405271. 2008-01-14 17:15:35 -08:00
roc+@cs.cmu.edu
ac38a2a240 Bug 405271. MathML should not reflow children with a constrained height; that triggers pagination which is definitely not what we want. r+sr=bzbarsky 2008-01-14 17:13:21 -08:00
karlt+@karlt.net
a168dbd48c Bug 412033 - non-stretchy-or-centred operators don't paint on scrolling. Don't change the size of child frames. r+sr=roc, a=schrep 2008-01-13 18:10:29 -08:00
karlt+@karlt.net
4f6919ef17 Include ZWSP in short arrow entities to distinguish from stretchy normal arrows. b=289938, rs=pavlov. 2008-01-10 19:08:57 -08:00
karlt+@karlt.net
45376d51a0 Update entities in line with MathML 2.0 xhtml-math11-f.dtd,v 1.16 2003/11/04, with code point updates from http://www.unicode.org/reports/tr25/tr25-9.html b=289938, rs=pavlov. 2008-01-10 02:34:35 -08:00
jruderman@hmc.edu
22e63552db Add crashtest 2008-01-09 12:08:01 -08:00
roc+@cs.cmu.edu
bc08ac141a Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-09 01:38:28 -08:00
karlt+@karlt.net
a72f4073a4 Bug 348577 - Implement MathML <mtable> with display:inline-table (mtable has incorrect baseline). Patch by Bill Gianopoulos <wgianopoulos@yahoo.com>, r=rbs, sr=bzbarsky. 2008-01-08 18:14:35 -08:00
roc+@cs.cmu.edu
09582c48ae backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
459c356854 Bug 355548. Clean up MathML's font handling by moving most of it to the style system. Creates nsMathMLElement to put functionality there. Tightens MathML attribute parsing and introduces full support for 'scriptsizemultiplier', 'scriptminsize' and their interactions with CSS font-size. r+sr=dbaron 2008-01-08 14:36:46 -08:00
jruderman@hmc.edu
b393a4facd Add crashtest 2008-01-06 15:31:14 -08:00
jruderman@hmc.edu
aa94824da0 Add crashtest 2008-01-05 22:25:06 -08:00
jruderman@hmc.edu
6f37e7a350 Add a crashtest 2008-01-05 22:18:30 -08:00
jruderman@hmc.edu
75780e2e02 Add crashtests 2008-01-05 21:02:47 -08:00
jruderman@hmc.edu
abd2939d35 Add crashtest for WFM assertion bug 2008-01-04 20:59:08 -08:00
karlt+@karlt.net
604fec8a96 FinishReflowChild() with the final position for <msqrt> and <mpadded> b=410132, r+sr+a=roc 2008-01-02 20:33:21 -08:00
karlt+@karlt.net
f6f3e91ac0 Make nsBoundingMetrics::operator+= handle empty bounds. b=410132, r+sr+a=roc 2008-01-02 20:32:12 -08:00
karlt+@karlt.net
a2c376b687 Calculate maximum height of a character built from parts when measuring. b=403559, r+sr+a=roc 2008-01-02 20:21:36 -08:00
reed@reedloden.com
1d602b3c42 Bug 105708 - "move nsUnitConversion.h" [p=reg@openpave.org (Jeremy Lea) r+sr+a1.9=roc] 2008-01-01 02:11:02 -08:00
karlt+@karlt.net
0aca66d4fa Bug 410284 - failure to paint sometimes with missing glyphs for parts of stretchy characters. r+sr=roc a=pavlov 2007-12-31 17:23:13 -08:00
karlt+@karlt.net
84998d0c64 Set overflow area for nsMathMLContainerFrames. b=161155, r+sr=roc 2007-12-28 15:04:19 -08:00
karlt+@karlt.net
7c689c0e12 Provide correct GetBounds() for nsDisplayMathMLCharForeground. Bug 161155 - Integrals appear clipped sometimes. r+sr=roc 2007-12-28 14:16:07 -08:00
jruderman@hmc.edu
b06345c738 Move setTimeout to onload to make sure it doesn't fire too early. 2007-12-19 17:29:26 -08:00
vladimir@pobox.com
1f7f3e59ed b=406458; code cleanup: add new ThebesContext() call as opposed to NATIVE_THEBES_CONTEXT hackery, r=stuart 2007-12-18 15:01:15 -08:00
jruderman@hmc.edu
1c8c244913 Really add crashtest 2007-12-17 17:35:08 -08:00
jruderman@hmc.edu
096ebb2c19 Add a crashtest 2007-12-17 17:34:53 -08:00
jruderman@hmc.edu
96fd4c32db Ignore the crashtest behind the curtain. [Checkin comment suggested by aja.] 2007-12-17 17:32:32 -08:00
jruderman@hmc.edu
e55bd18bb4 Add crashtest. 2007-12-17 17:30:53 -08:00
jruderman@hmc.edu
6fd77cae53 Add crashtest 2007-12-17 17:29:19 -08:00
jruderman@hmc.edu
fad4dea77f Ow! I stubbed my crashtest! 2007-12-17 17:25:26 -08:00
jruderman@hmc.edu
3419aa2f52 Add crashtest 2007-12-17 17:23:12 -08:00
jruderman@hmc.edu
ec2821be37 Add crashtest (plus missing crashtest from a previous checkin) 2007-12-17 17:21:58 -08:00
jruderman@hmc.edu
291fc50950 Add crashtest 2007-12-17 17:10:26 -08:00
jruderman@hmc.edu
f0e6434763 Crashtests: it's what's for breakfast. 2007-12-17 17:09:27 -08:00
jruderman@hmc.edu
2df21edd07 What happens in crashtest, stays in crashtest. 2007-12-17 17:00:12 -08:00
jruderman@hmc.edu
da89a071b4 Add crashtests 2007-12-17 16:57:11 -08:00
jruderman@hmc.edu
17e9fc69a6 How many licks does it take to get to the center of a crashtest? 2007-12-17 16:49:39 -08:00
jruderman@hmc.edu
adea5d73e5 Add crashtests 2007-12-17 15:40:33 -08:00
jruderman@hmc.edu
7a965e9dba Add the first MathML crashtest. 2007-12-17 15:30:46 -08:00
karlt+@karlt.net
a24016a699 Bug 400938 - make MathML work with Unicode fonts r=pavlov, sr=roc (on code) 2007-12-04 19:58:09 -08:00
karlt+@karlt.net
75d2a8e877 Bug 401178 - incorrect ascents for foreign children in nsMathMLContainerFrame::ReflowChild. r+sr=roc 2007-12-02 16:54:23 -08:00
karlt+@karlt.net
f0bb48aba4 make -moz-mathml-anonymous-block "display: inline-block". b=400207, r=dbaron 2007-12-01 02:11:44 -08:00
Olli.Pettay@helsinki.fi
2976ce8f18 Bug 368760, r=mats, sr=roc, a=blocking1.9+ 2007-11-22 12:47:33 -08:00
karlt+@karlt.net
18a405f1f2 Bug 403718 - render mroot and msqrt appropriately when radical glyphs are above the baseline (ascent != overline thickness) r+sr=roc a=blocking1.9 2007-11-15 13:51:30 -08:00
karlt+@karlt.net
2e209c4ef2 Don't implicitly lossy convert from nsGlyphCode to PRUnichar b=400938 r+sr=roc a=blocking1.9 2007-11-15 13:44:49 -08:00
reed@reedloden.com
607fdac9d1 Bug 379418 - ""ASSERTION: internal error: '!aListName'" with MathML and Hebrew text" [p=mats.palmgren@bredband.net (Mats Palmgren) r=roc sr=bzbarsky a1.9=stuart] 2007-11-09 00:19:45 -08:00
reed@reedloden.com
ed7f460531 Bug 400057 - ""ASSERTION: Frame is not in the block" with xul and mathml" (MathML fix) [p=roc r+sr=bzbarsky a=blocking1.9+] 2007-11-08 22:53:04 -08:00
bzbarsky@mit.edu
2bb4447158 Don't set our separator count to -1 when we really have 0 of them. Bug 400157, r+sr=dbaron 2007-11-07 09:16:09 -08:00
bzbarsky@mit.edu
06f6b88b65 Make the "href" property of stylesheets reflect the original URI that was reflected to load the sheet. Bug 397427, r=dbaron,biesi, sr=dbaron, a=dsicore 2007-10-23 14:56:41 -07:00
roc+@cs.cmu.edu
32b36ae07b Bug 397518. Wrap inline non-MathML children of MathML frames in anonymous blocks. r+sr=bzbarsky 2007-10-12 01:30:54 -07:00
bzbarsky@mit.edu
2e2b88acf4 Make sure we always resolve style contexts with the right parent. Bug 390689, r+sr+a=dbaron 2007-10-03 19:58:48 -07:00
sayrer@gmail.com
4b4f88edfb Bug 391992. nsMathMLOperator statics leak. r=bzbarsky, sr=rbs, a=dbaron 2007-08-14 11:42:24 -07:00
masayuki@d-toybox.com
6c98d90d68 Bug 365336 text-decoration width should be rounded to the device pixels r+sr=roc 2007-08-06 01:15:00 -07:00
bzbarsky@mit.edu
21e0d65a42 Introduce a setter for nsHTMLReflowState::mComputedHeight so that we're sure to
update the resize flags properly.  Bug 388084, r+sr+a=dbaron
2007-08-02 11:08:05 -07:00
jwalden@mit.edu
e3c4baccae Bug 348748 - Replace all instances of NS_STATIC_CAST and friends with C++ casts (and simultaneously bitrot nearly every patch in existence). r=bsmedberg on the script that did this. Tune in next time for Macro Wars: Episode II: Attack on the LL_* Macros. 2007-07-08 00:08:04 -07:00
bzbarsky@mit.edu
8fda7529f2 Mathml inlines are still bidi containers. Bug 371481, r=uriber, sr=rbs 2007-06-14 10:36:27 -07:00
rbs@maths.uq.edu.au
a1255bceaf Add emacs modeline comments, patch by Vlad Sukhoy <vladimir.sukhoy@gmail.com>, r+sr=rbs, b=382884 2007-06-11 23:10:23 -07:00
Olli.Pettay@helsinki.fi
7ec10e025c Bug 363089, Remove nsIDOMEventReceiver (this time passes mochitest), r+sr=jst 2007-05-14 02:11:38 -07:00
Olli.Pettay@helsinki.fi
f29b4e2b1b backout Bug 363089 2007-05-11 06:34:05 -07:00
Olli.Pettay@helsinki.fi
91a5c67cd1 Bug 363089, Remove nsIDOMEventReceiver, r+sr=jst 2007-05-11 04:15:11 -07:00
bzbarsky@mit.edu
56618fc0ac Followup to bug 378784 based on rbs's review comments. 2007-05-06 15:50:21 -07:00
bzbarsky@mit.edu
3cb4bc9240 Change the FrameNeedsReflow API to pass the dirty flags to be added directly tothe method, instead of setting them before calling the method. That way we canavoid reflowing the ancestor of a reflow root which is not itself dirty but hasdirty children. This also makes it harder to set dirty bits inconsistentlywith the FrameNeedsReflow call. Bug 378784, r+sr=dbaron, pending rbs' reviewon the mathml parts. 2007-05-06 12:16:51 -07:00
benjamin@smedbergs.us
2e25a321f8 Bug 376636 - Building with gcc 4.3 and -pendatic fails due to extra semicolons, patch by Art Haas <ahaas@airmail.net>, rs=me 2007-04-23 07:21:53 -07:00
bzbarsky@mit.edu
fb91b11144 Don't use the same pseudo-element name to mean two different things. Bug377824, r+sr=dbaron 2007-04-20 14:27:02 -07:00
rbs@maths.uq.edu.au
a182790604 Typo 2007-04-08 20:54:09 -07:00
rbs@maths.uq.edu.au
6a795af09a Bug 370791 - Crash [@ nsStyleContext::AddRef] [@ nsCSSRendering::PaintBackground] with <math:mi> and float, r+sr=bz 2007-04-08 20:43:44 -07:00
bzbarsky@mit.edu
2fd17c94d8 Rename nsIFrame::GetPresContext to nsIFrame::PresContext. Bug 376042, patch byTaras Glek <tglek@mozilla.com>, rs=roc. 2007-03-30 14:11:41 -07:00
hg@mozilla.com
465265d0d4 Free the (distributed) Lizard! Automatic merge from CVS: Module mozilla: tag HG_REPO_INITIAL_IMPORT at 22 Mar 2007 10:30 PDT, 2007-03-22 10:30:00 -07:00