L. David Baron
056a511714
Remove overflow handling that should have been removed along with the standards-mode text-shadow of text-decoration handling in bug 403524, changeset 83b2648ee442. (Bug 680505, patch 1) r=roc
...
Since this affects only the *visual* overflow and not the *scrollable*
overflow, this patch should result in no behavior changes, since the
necessary visual overflow is added in
nsTextFrame::UnionAdditionalOverflow (since the text frame now draws the
shadows of text decorations, just like it draws text decorations
themselves).
2011-08-20 21:35:56 -04:00
L. David Baron
b3f49b92ba
Remove the multiple-parameter versions of nsRenderingContext::SetFont. (Bug 678671, patch 5) r=roc
...
This changes the only remaining callers (in nsMathMLChar) to pass the
correct language, which they were not previously doing, which should
improve the correctness of font selection and also reduce the number of
unique font metrics objects requested (which helps nsFontCache
effectiveness). Those callers, however, remain the odd font users
within all of layout.
2011-08-14 10:08:04 -07:00
L. David Baron
84b8b6bf64
Replace all uses of nsLayoutUtils::SetFontFromStyle with GetFontMetricsForFrame or GetFontMetricsForStyleContext and remove SetFontFromStyle. (Bug 678671, patch 2) r=roc
...
There was nothing wrong with SetFontFromStyle, except that it's just one
more API to think about (and one more API to audit and modify for font
inflation work to happen in bug 627842).
2011-08-14 10:08:04 -07:00
L. David Baron
d2b6891283
Switch lots of callers to using nsLayoutUtils::GetFontMetricsForFrame and nsLayoutUtils::GetFontMetricsForStyleContext. (Bug 678671, patch 1) r=roc
...
This changes a number of callers that were previously bypassing the use
of the correct language (with either no language or the charset-detected
language on the pres context via nsPresContext::GetMetricsFor) and/or
the correct user font set to pass the correct values, which should
improve the correctness of the behavior of whatever they were using the
fonts for, and also reduce the number of unique sets of font metrics
requested (which helps nsFontCache effectiveness).
2011-08-14 10:08:04 -07:00
Jonathan Hage
d68cbdf102
Bug 669713 - Increment the scriptlevel of the over child in <munderover accent=true> when rendered as a supscript; r=karlt
2011-08-14 11:17:22 +02:00
Jonathan Hage
c9d5ac8edc
Bug 668204 - Merge nsMathMLmunderFrame and nsMathMLmoverFrame into nsMathMLmunderoverFrame. r=karlt
2011-08-13 17:22:12 +02:00
Ms2ger
3fea5b3901
Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar
2011-08-11 15:29:58 +02:00
Frédéric Wang
a3ea06bbc7
Bug 601436 - mtable 'align' attribute: negative rownumbers are wrongly interpreted. r=roc
2011-08-07 01:29:00 -04:00
Frédéric Wang
3514baef42
b=557481 Change comments about TeX/Mathematica fonts to STIX/Asana fonts r=karlt
...
--HG--
extra : transplant_source : %92%3D%40%EE%90%16%21%EE%0F%E2%2C%B9m4%40%F9%AC%D2%3D%B8
2011-08-05 13:06:36 +12:00
Frédéric Wang
03b8e81191
b=669932 munderover: do not add space above/below when the over/under script is empty r=karlt
...
--HG--
extra : transplant_source : f%2B%7D%0A%8E%3F%3A%F5%B3I%E0%86%5E%99%E1%5D%D9%AEJ%C4
2011-08-05 13:04:43 +12:00
Frédéric Wang
da0a470d47
b=669932 take into account the base child vertical metrics for the computation of the munderover ascent/descent. r=karlt
...
--HG--
extra : transplant_source : %B7%0DP%06xl%02t%24%AF%2B%EAiM%29%CC%A5%0C%9F%DE
2011-08-05 12:59:12 +12:00
Frédéric Wang
c9ae4d40a0
b=669932 munderover: consider underscript vertical metrics during the underscript attachment phase instead of the overscript attachment phase. r=karlt
...
--HG--
extra : transplant_source : %B6%29%E1%1B%D4%0D%84fV%B9%1F%16%15%3Cu%A4%22%A0%94%F1
2011-08-05 12:57:27 +12:00
Vitor Menezes
f82cd17bcb
Bug 403524: Remove the standards-mode text-decoration code and use the quirks-mode code in all modes. r=dbaron
2011-08-03 11:30:58 -07:00
Nigel Babu
456ebe41a9
Bug 672444 - Remove unused variable 'oldValue' in nsMathMLmpaddedFrame::UpdateValue; r=karlt
2011-07-29 14:38:45 +02:00
Jonathan Hage
d14defe899
Bug 669719 - support the displaystyle attribute on the <math/> element. r=roc
2011-07-12 12:06:34 -04:00
Florian Scholz
ee3ef5b0c8
b=668969 size fences for empty mfenced in the same way as for mfenced with child(ren) occupying no space r=karlt
...
--HG--
extra : rebase_source : ca173f8830e5d87a6132d04f0df72aec6458f96e
2011-07-11 16:11:28 +12:00
Jonathan Hage
fa91e535e7
Bug 557474 - mpadded tests. r=karlt
2011-07-03 09:56:35 +02:00
Jonathan Hage
f354fcf4bd
Bug 557474 - Add support for the voffset attribute, part 2. r=karlt
2011-07-03 09:54:25 +02:00
Jonathan Hage
d9982f34ed
Bug 557474 - Add support for the voffset attribute, part 1. r=karlt
2011-07-03 09:54:01 +02:00
Jonathan Hage
1ad17ada67
Bug 557474 - Do not allow lspace as a pseudounit. r=karlt
2011-07-03 09:53:17 +02:00
Daniel Cazacu
c2b4bebe39
Bug 648140 - Check some namespaces in nsMathMLContainerFrame.cpp. r=fred.wang
2011-07-01 12:20:35 +02:00
Jonas Sicking
bd6dbea0b9
Bug 664058: Remove Add/RemoveEventListenerByIID from mathml code. r=smaug
2011-06-28 10:59:14 -07:00
Frédéric Wang
5dceff6e2c
Do not underline MathML links (bug 504324). r=roc.
2011-06-24 14:54:37 +02:00
Mounir Lamouri
e42912f4f7
Merge last green changeset of mozilla-inbound into mozilla-central.
2011-06-23 11:15:52 +02:00
Florian Scholz
9c230f2329
Bug 603106 - Make mfrac linethickness="medium" use the default linethickness; r=karlt
2011-06-23 10:30:21 +02:00
Frédéric Wang
90b2837d9e
Bug 407439 - Support for Asana Math font in MathML. r=karlt
...
--HG--
extra : rebase_source : 829d002f8d1e448d5d4b13893046873b4bb34c44
2011-06-22 11:49:26 -04:00
Frédéric Wang
8b6c701ead
support drawing non-BMP characters for stretchy operators (bug 407439). r=karlt
...
--HG--
extra : rebase_source : 8a0351a8a0b45de4e783050608e513582b8a345c
2011-06-22 11:49:11 -04:00
Frédéric Wang
9188cd4d18
Always start the lookup of largeop variants at size=1 (bug 584332). r=karlt
...
--HG--
extra : rebase_source : 05bc57d2c0b0989f887e42d0d52a7a993e27972a
2011-06-22 11:48:56 -04:00
Jonathan Hage
4a4bdf1e3a
Bug 650530 - Implement names for negative spaces; r=karlt
...
--HG--
extra : rebase_source : 73161560d3c781c81c780995c0abda5bf63c780c
2011-06-22 11:55:05 -04:00
Jonathan Hage
2a523bc1a6
Bug 557084 - Remove deprecated attributes and empty <mrow/>'s in mozilla/src/layout/mathml/tests/; r=fred.wang
...
--HG--
extra : rebase_source : 70b0187bd38c92d91df5bec8713ebe7d2ae4b14d
2011-06-22 11:53:07 -04:00
Jesse Ruderman
0b957680dd
Add crashtest from bug 541620
2011-06-20 11:42:05 -07:00
Masayuki Nakano
29305dc449
Bug 663041 layout should use mozilla::Preferences r=roc
2011-06-12 11:30:16 +09:00
Dominic Fandrey
968bf5196a
Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc
2011-06-02 14:56:50 +02:00
Jesse Ruderman
c2f9576474
crash test for bug 655451
...
--HG--
extra : transplant_source : %3BLxy%2C%80%04%C0V%9D%FF%85%1C-%90%EE%5E%C4%C4U
2011-05-30 09:21:16 +12:00
Karl Tomlinson
81e97ecb69
b=655451 record first of math frame continuations as mstyle ancestor r=bz
...
--HG--
extra : transplant_source : sg%609%81c%AE%8A%E0%F9%DF9M%BEn%B7%19%90%B4%10
2011-05-30 09:21:12 +12:00
Karl Tomlinson
06e7bea554
b=657041 initialize with NS_MATHML_STRETCH_ALL_CHILDREN_VERTICALLY for when InheritAutomaticData does not get called r=fred
...
--HG--
extra : transplant_source : %E3%07S3%ABv%EC%B67%5C%25%29CH%12%99%8C%B43P
2011-05-19 11:56:14 +12:00
Ed Morley
91238e76b1
Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg
2011-05-17 16:01:36 +02:00
Frédéric Wang
9ce65b6bd0
mathvariant on mstyle not applied to mi (bug 569125). r=karlt
...
--HG--
extra : rebase_source : bdce878ef359b11ada93c4e378855f8bde445243
2011-05-13 09:37:03 +12:00
Frédéric Wang
8b4f6eb2f4
Support for attributes "accent" and "accentunder" on mstyle (bug 569125). r=karlt
...
--HG--
extra : rebase_source : 349a7d0fa10c165404592576fb9eb31d95b2dbb7
2011-05-13 09:31:52 +12:00
Frédéric Wang
d52d2ea9a3
Support for attribute "open", "close" and "separators" on mstyle (bug 569125). r=karlt
...
--HG--
extra : rebase_source : f2e27dae9a993d0b8b707feb2a88b03570e5955d
2011-05-13 09:31:48 +12:00
Frédéric Wang
a5b58ee5ef
Support for attribute "notation" on mstyle (bug 569125). r=karlt
...
--HG--
extra : rebase_source : 58564e2ab4a41244beb224f214ac0b963ef2c0d8
2011-05-13 09:31:34 +12:00
Frédéric Wang
e16a3317ed
Support for attribute bevelled on mstyle (bug 569125). r=karlt
...
--HG--
extra : rebase_source : c7e921ba17bb26d10310d65c8da88d1f183023ba
2011-05-13 09:31:07 +12:00
Frédéric Wang
26afc4334e
Support for attribute "selected" on mstyle (bug 569125). r=karlt
...
--HG--
extra : rebase_source : 7da767a2d114d17b4fb44dc632451307d07de216
2011-05-12 20:18:13 +12:00
Karl Tomlinson
f42c3f4575
assertion test for bug 654928
...
--HG--
extra : rebase_source : ee5ee93f130842c175ffc09ae1e71874f8345eef
2011-05-10 17:58:05 +12:00
Karl Tomlinson
b8560710cc
b=654928 don't assume that the embellished operator is the first child r=fred
...
--HG--
extra : rebase_source : 8eb1a001b99c13df914a877cca6758e023ba9e31
2011-05-13 12:01:08 +12:00
Craig Topper
c3d4c659c7
Bug 648925 - Part 1: Change uses of nsICSSRule to css::Rule. r=bzbarsky
2011-04-07 18:23:46 -07:00
Frédéric Wang
c3bb00b6f0
MathML Operator dictionary: fix conflicts and add entries for bars and quadruple arrows (bug 414294). r=karlt
2011-04-29 17:39:22 -04:00
Daniel Holbert
a258b90bee
Bug 651567: Remove unused variable 'xHeight' from nsMathMLmunderFrame. r=karlt
2011-04-21 10:08:11 -07:00
Zack Weinberg
8648dcc368
Bug 651017, part 1: minimize inclusion of ns*DeviceContext.h; move the printing error codes to nsIDeviceContextSpec.h; os2 small widget cleanup.
...
--HG--
extra : rebase_source : 5b7cebe68f71a760463e3522b159c7cde8a72f5e
2011-04-16 18:22:41 -07:00
Robert O'Callahan
92fcae3d0b
Bug 641426. Part 8: Replace gfxRect::Outset/Inset with Inflate/Deflate. Also slip in a conversion constructor from nsIntRect to gfxRect. r=tnikkel
2011-04-19 15:07:51 +12:00