38 Commits

Author SHA1 Message Date
roc+%cs.cmu.edu
7caf8b7991 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
git-svn-id: svn://10.0.0.236/trunk@242716 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 09:38:32 +00:00
karlt+%karlt.net
ef8db85d60 Bug 348577 – Implement MathML <mtable> with display:inline-table
(mtable has incorrect baseline).
Patch by Bill Gianopoulos <wgianopoulos@yahoo.com>, r=rbs, sr=bzbarsky.


git-svn-id: svn://10.0.0.236/trunk@242665 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-09 02:14:35 +00:00
roc+%cs.cmu.edu
aee1f987f6 backing out bug 355548 due to test failures
git-svn-id: svn://10.0.0.236/trunk@242652 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 23:11:30 +00:00
roc+%cs.cmu.edu
fb0a2b5cae 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
git-svn-id: svn://10.0.0.236/trunk@242648 18797224-902f-48f8-a5cc-f745e15eee43
2008-01-08 22:36:56 +00:00
karlt+%karlt.net
3b58eb5bc0 Bug 400938 – make MathML work with Unicode fonts
r=pavlov, sr=roc (on code)


git-svn-id: svn://10.0.0.236/trunk@240493 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-05 03:58:10 +00:00
karlt+%karlt.net
7a2312422d make -moz-mathml-anonymous-block "display: inline-block".
b=400207, r=dbaron


git-svn-id: svn://10.0.0.236/trunk@240215 18797224-902f-48f8-a5cc-f745e15eee43
2007-12-01 10:11:44 +00:00
bzbarsky%mit.edu
8d22ae89ff Don't use the same pseudo-element name to mean two different things. Bug
377824, r+sr=dbaron


git-svn-id: svn://10.0.0.236/trunk@224808 18797224-902f-48f8-a5cc-f745e15eee43
2007-04-20 21:27:02 +00:00
bzbarsky%mit.edu
ab526229a2 Avoid floats altogether for block <math>. Bug 362701, r+sr=rbs
git-svn-id: svn://10.0.0.236/trunk@216512 18797224-902f-48f8-a5cc-f745e15eee43
2006-12-05 22:28:07 +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
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
fee92234f4 fix typo that caused the CSS declaration to be ignored -- comments in CSS must be delimited with /* */ and not //
git-svn-id: svn://10.0.0.236/trunk@207438 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-15 13:17:54 +00:00
rbs%maths.uq.edu.au
2578c6ff13 'Pseudo' frames from <mtd> and <mtr>outside <mtable> were not added to the flow, and thus were not destroyed at tear down, b=347355, r+sr=bzbarsky
git-svn-id: svn://10.0.0.236/trunk@207212 18797224-902f-48f8-a5cc-f745e15eee43
2006-08-12 07:46:29 +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
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
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
rbs%maths.uq.edu.au
bbef189a9c Stop using the 'font' shorthand because it doesn't play nice with the scriptlevel, r+sr=bz, b=114365
git-svn-id: svn://10.0.0.236/trunk@179680 18797224-902f-48f8-a5cc-f745e15eee43
2005-09-06 03:51:30 +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
rbs%maths.uq.edu.au
1b1889bbb1 Left-over from bug 219928, add unicode-bidi:embed as well, per smontagu
git-svn-id: svn://10.0.0.236/trunk@147117 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 21:01:03 +00:00
rbs%maths.uq.edu.au
00776a0bdc Add direction:ltr to mathml.css so that bidi processing has no side-effects, b=219928, r+sr=bz
git-svn-id: svn://10.0.0.236/trunk@147116 18797224-902f-48f8-a5cc-f745e15eee43
2003-09-22 20:52:26 +00:00
rbs%maths.uq.edu.au
e320553e23 Sync the handling of stretchy MathML frames with the new ::-moz notation, b=214989, r+sr=dbaron
git-svn-id: svn://10.0.0.236/trunk@145578 18797224-902f-48f8-a5cc-f745e15eee43
2003-08-05 02:07:14 +00:00
rbs%maths.uq.edu.au
4013809c80 Reset some CSS properties not relevant to MathML <mtable>, b=206704, r+sr=bz, a=asa
git-svn-id: svn://10.0.0.236/trunk@142757 18797224-902f-48f8-a5cc-f745e15eee43
2003-05-22 19:39:38 +00:00
rbs%maths.uq.edu.au
9ac83650e1 Make MathML handle the <semantics> tag implicitly (take 2), b=154931, r=dbaron, sr=roc, a=asa
git-svn-id: svn://10.0.0.236/trunk@137694 18797224-902f-48f8-a5cc-f745e15eee43
2003-02-11 23:15:01 +00:00
rbs%maths.uq.edu.au
5010911a5d Cleanup CSS errors, b=157376, r=dbaron, sr=bzbarski
git-svn-id: svn://10.0.0.236/trunk@126576 18797224-902f-48f8-a5cc-f745e15eee43
2002-08-07 02:15:28 +00:00
ian%hixie.ch
87df0846e3 Hide embedded semantic MathML content (as opposed to presentational content, which we render). b=154931, p=rbs, moa=dbaron, r=hixie, sr=roc+moz
git-svn-id: svn://10.0.0.236/trunk@124397 18797224-902f-48f8-a5cc-f745e15eee43
2002-07-01 09:51:32 +00:00
rbs%maths.uq.edu.au
07186d47ad bug 126619 - fixups for the final metrics of certain MathML characters, and add transliteration for U+2212 the official Unicode minus sign (ongoing bug 119664), r=roc+moz, rs=attinasi/blizzard, a=shaver
git-svn-id: svn://10.0.0.236/trunk@115399 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-27 01:35:27 +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
2ee0b2741d By definition <mi> renders in italic type when its textual content consists of a single char, and in normal type when it consists of mutiple chars. This is a fix to re-resolve the style data properly when the text content (and its length) get changed back and forth dynamically
git-svn-id: svn://10.0.0.236/trunk@113954 18797224-902f-48f8-a5cc-f745e15eee43
2002-02-08 00:53:19 +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
271a10a703 Add two default declarations to support display=block|inline introduced in MathML 2.0
git-svn-id: svn://10.0.0.236/trunk@112059 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-14 08:59:01 +00:00
rbs%maths.uq.edu.au
38aa2bbb0e MathML bug 118475 - Allow stretchy MathML fonts to be customized via the pref system
git-svn-id: svn://10.0.0.236/trunk@111540 18797224-902f-48f8-a5cc-f745e15eee43
2002-01-08 02:15:23 +00:00
rbs%maths.uq.edu.au
2d36a78d6f Declare additional style rules needed to fix bug 78389 and bug 31641
git-svn-id: svn://10.0.0.236/trunk@95531 18797224-902f-48f8-a5cc-f745e15eee43
2001-05-19 10:10:30 +00:00
rbs%maths.uq.edu.au
a966ddfd0a Declare atoms, update css rules, init a variable to zero - sr=waterson
git-svn-id: svn://10.0.0.236/trunk@87807 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-23 12:49:38 +00:00
rbs%maths.uq.edu.au
8d372479e0 [not part of default build] Undo unintended changes, they were not meant for the TB tree
git-svn-id: svn://10.0.0.236/trunk@86095 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:43:36 +00:00
rbs%maths.uq.edu.au
18aa5409ea [not part of default build] Set the namespace properly
git-svn-id: svn://10.0.0.236/trunk@86090 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 14:01:59 +00:00
rbs%maths.uq.edu.au
10d8142923 [not part of default build] Set the namespace properly
git-svn-id: svn://10.0.0.236/trunk@86073 18797224-902f-48f8-a5cc-f745e15eee43
2001-02-02 09:52:22 +00:00
dbaron%fas.harvard.edu
e52da02292 Change uses of CSS properties not part of the CSS2 spec to use -moz- prefix. b=3935
Fix some CSS errors found with CSS parser error reporting, with Ben's approval.


git-svn-id: svn://10.0.0.236/trunk@78230 18797224-902f-48f8-a5cc-f745e15eee43
2000-09-06 02:17:26 +00:00
rbs%maths.uq.edu.au
b445880e79 [not part of default build] @import MathML CSS rules in the ua.css on MathML-enabled builds. Paul Gartside <gartside@maths.ox.ac.uk> and Peter Van der Beken <Peter.VanderBeken@pandora.be> have verified that all went well on Linux and Mac, respectively. a:waterson
git-svn-id: svn://10.0.0.236/trunk@73913 18797224-902f-48f8-a5cc-f745e15eee43
2000-07-10 13:58:27 +00:00