Commit Graph

501 Commits

Author SHA1 Message Date
Frédéric Wang
1484de6566 Mirroring of operators for arabic math (Bug 208309) - part 1. r=karlt 2011-12-21 17:22:00 -05:00
Frédéric Wang
a88f323fc8 Make lspace/rspace in mo behave as leading/trailing spaces (bug 534963). r=karlt 2011-12-21 17:21:59 -05:00
Frédéric Wang
7799b62af4 Overall Directionality of formulas (bug 534963). r=karlt 2010-01-05 11:22:31 +01:00
Frédéric Wang
c7129c18d6 Add a directionality flag on MathML frames (bug 534963). r=karlt 2010-01-03 18:52:33 +01:00
Mats Palmgren
1e2a52a8bd Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug 2011-12-20 10:15:41 +01:00
Masayuki Nakano
1ccc442fa2 Bug 706406 <maction> should use system event group r=smaug+karlt 2011-12-01 16:40:51 +09:00
Boris Zbarsky
39a93f53d5 Bug 667576. Handle visited colors correctly in MathML. r=dbaron 2011-10-29 03:04:20 -04:00
Ehsan Akhgari
2a602a5685 Bug 690892 - Replace PR_TRUE/PR_FALSE with true/false on mozilla-central; rs=dbaron
Landing on a CLOSED TREE
2011-10-17 10:59:28 -04:00
Michael Wu
d8e503c38b Bug 675553 - Switch from PRBool to bool on a CLOSED TREE , r=bsmedberg,khuey,bz,cjones
--HG--
rename : tools/trace-malloc/bloatblame.c => tools/trace-malloc/bloatblame.cpp
2011-09-28 23:19:26 -07:00
Frédéric Wang
3bf1a006a2 Bug 356870 - Allow mlabeltdr to be used in mtable; r=karlt 2011-09-27 03:13:23 +01:00
Frédéric Wang
c0d070af99 Bug 398505 - Remove nonstandard actiontype "restyle" of maction; r=karlt 2011-09-14 08:51:24 +01:00
Mats Palmgren
ba8355dd94 Bug 685154 - Cleanup nsIFrame::GetParentStyleContextFrame and related code. r=roc
Make nsCSSFrameConstructor::ConstructTable return a null frame if
creating the inner table frame fails.  Simplify some code since we can
now depend on the invariant that a properly created outer table frame
always has a non-null inner table frame.
2011-09-12 09:08:07 -07:00
Masayuki Nakano
d9869bfccf Bug 669028 part.13 layout should use mozilla::LookAndFeel rather than nsILookAndFeel r=roc 2011-09-09 11:27:13 +09:00
Atul Aggarwal
7ac21a6a10 Bug 678708 - nsMathMLmactionFrame::MouseListener::HandleEvent may abort in debug mode; r=karlt 2011-08-31 13:16:13 +01:00
Mats Palmgren
6894179e71 Bug 653649 - New way of getting child lists from frames. (part 4/5) r=roc
Remove the nsIAtom* child list names and use child list ID enum instead.
2011-08-24 22:54:30 +02:00
L. David Baron
16759869c5 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
22f0790155 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
0cd491390d 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
2c717f398d 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
0292adecf2 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
822cfb4c1d Bug 668204 - Merge nsMathMLmunderFrame and nsMathMLmoverFrame into nsMathMLmunderoverFrame. r=karlt 2011-08-13 17:22:12 +02:00
Ms2ger
d377c55ed2 Bug 677101, part c - Reduce nsIDOMText.h inclusions; r=volkmar 2011-08-11 15:29:58 +02:00
Frédéric Wang
85e373a27c Bug 601436 - mtable 'align' attribute: negative rownumbers are wrongly interpreted. r=roc 2011-08-07 01:29:00 -04:00
Frédéric Wang
71dfe7521a 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
72793dfd70 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
d3d9a1c981 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
04012253b4 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
cf291058cb 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
08eba5f725 Bug 672444 - Remove unused variable 'oldValue' in nsMathMLmpaddedFrame::UpdateValue; r=karlt 2011-07-29 14:38:45 +02:00
Jonathan Hage
07f13c231b Bug 669719 - support the displaystyle attribute on the <math/> element. r=roc 2011-07-12 12:06:34 -04:00
Florian Scholz
2d8057d437 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
1ea265fc04 Bug 557474 - mpadded tests. r=karlt 2011-07-03 09:56:35 +02:00
Jonathan Hage
5eef61e37f Bug 557474 - Add support for the voffset attribute, part 2. r=karlt 2011-07-03 09:54:25 +02:00
Jonathan Hage
afcbeab43d Bug 557474 - Add support for the voffset attribute, part 1. r=karlt 2011-07-03 09:54:01 +02:00
Jonathan Hage
fa434b9582 Bug 557474 - Do not allow lspace as a pseudounit. r=karlt 2011-07-03 09:53:17 +02:00
Daniel Cazacu
3c41d98423 Bug 648140 - Check some namespaces in nsMathMLContainerFrame.cpp. r=fred.wang 2011-07-01 12:20:35 +02:00
Jonas Sicking
3aa83ba84d Bug 664058: Remove Add/RemoveEventListenerByIID from mathml code. r=smaug 2011-06-28 10:59:14 -07:00
Frédéric Wang
81ac5db5e4 Do not underline MathML links (bug 504324). r=roc. 2011-06-24 14:54:37 +02:00
Mounir Lamouri
3c638f1884 Merge last green changeset of mozilla-inbound into mozilla-central. 2011-06-23 11:15:52 +02:00
Florian Scholz
8d778c04d5 Bug 603106 - Make mfrac linethickness="medium" use the default linethickness; r=karlt 2011-06-23 10:30:21 +02:00
Frédéric Wang
ecb832b98f 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
6762a2aaf2 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
b1082b4246 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
9c55c33c76 Bug 650530 - Implement names for negative spaces; r=karlt
--HG--
extra : rebase_source : 73161560d3c781c81c780995c0abda5bf63c780c
2011-06-22 11:55:05 -04:00
Jonathan Hage
cd773d5fa7 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
438a5d6dc3 Add crashtest from bug 541620 2011-06-20 11:42:05 -07:00
Masayuki Nakano
f96e0ef619 Bug 663041 layout should use mozilla::Preferences r=roc 2011-06-12 11:30:16 +09:00
Dominic Fandrey
0ab2f46136 Bug 645398 - Substitute PR_(MAX|MIN|ABS|ROUNDUP) macro calls; r=roc 2011-06-02 14:56:50 +02:00
Jesse Ruderman
6038ea693b 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
3a2515796d 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
8f0f24593e 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
d260544670 Bug 316661 - Part A - Remove null-checks before delete. r=bsmedberg 2011-05-17 16:01:36 +02:00
Frédéric Wang
d4870de08c 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
e569786c9d 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
4aca96362b 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
7572d1dc05 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
0711edd192 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
5404068fed 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
044845b9b6 assertion test for bug 654928
--HG--
extra : rebase_source : ee5ee93f130842c175ffc09ae1e71874f8345eef
2011-05-10 17:58:05 +12:00
Karl Tomlinson
a7fbcdab37 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
cc15a2a6e3 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
fe04ad36c7 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
72f118ff38 Bug 651567: Remove unused variable 'xHeight' from nsMathMLmunderFrame. r=karlt 2011-04-21 10:08:11 -07:00
Zack Weinberg
51864c09d8 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
d4c414cf18 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
Robert O'Callahan
307547d062 Bug 641426. Part 3: Convert gfxRect::pos/size to x/y/width/height. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Robert O'Callahan
17b91a87af Bug 641426. Part 1: Create Point and Size templates. r=joe,sr=cjones 2011-04-19 15:07:21 +12:00
Zack Weinberg
52c99aabb7 Bug 174055, part 6: eliminate pointless nsresult return values. 2011-04-07 21:18:43 -07:00
Zack Weinberg
624a6e3ce5 Bug 174055, part 5: prune unused and unimplemented methods. 2011-04-07 20:07:27 -07:00
Zack Weinberg
42ead75834 Bug 174055, part 4: mechanical fixups outside gfx. 2011-04-07 18:05:49 -07:00
Zack Weinberg
299386f14c Bug 174055, part 1: minimize inclusion of nsI(Thebes)FontMetrics.h. 2011-04-07 18:04:41 -07:00
Zack Weinberg
a2b5c4bfbb Bug 648197 (1/2): remove the #ifdef ALERT_MISSING_FONTS blocks in nsMathMLChar.cpp. 2011-04-07 14:47:04 -07:00
Zack Weinberg
f5a0843ac7 Bug 266236 part 9: Move nsBoundingMetrics to its own header and prune inclusions of nsRenderingContext.h.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 92660748436f03475e011184e2828f1db0ad63e0
2011-04-07 18:04:40 -07:00
Zack Weinberg
d8db59d068 Bug 266236 part 8: Change nsRenderingContext::GetDeviceContext and ::GetFontMetrics to return bare pointers.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 36dd32d715cb75e99cd3a69e460c000c1777d6a6
2011-04-07 18:04:40 -07:00
Zack Weinberg
c3400ef3c4 Bug 266236 part 7: Simplify calling convention of SetClipRect and SetClipRegion.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b1c68e23a4fa67cdc09b151ad39d7560cdd8baf7
2011-04-07 18:04:40 -07:00
Zack Weinberg
9d6cdac2b1 Bug 266236 part 6: Change out-parameters to return values and remove a bunch of default parameters that were never called with non-default values.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : 0511852e51c2ad4d4833d6f8f2f61d46130a7151
2011-04-07 18:04:40 -07:00
Zack Weinberg
5a4a96e54e Bug 266236 part 4: Aggressively prune unused methods and dead #ifdefs from nsRenderingContext.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
rename : gfx/src/nsThebesRenderingContext.h => gfx/src/nsRenderingContext.h
extra : rebase_source : b2911406bbe1b5995d1a501c59e02b5fffefa390
2011-04-07 18:04:40 -07:00
Jan Küchler
5ef6bf26cf Bug 266236 part 3: Mechanical rename of nsIRenderingContext and nsThebesRenderingContext to nsRenderingContext. Mechanical substitution of nsRefPtr<nsRenderingContext> for nsCOMPtr<nsRenderingContext>.
--HG--
rename : gfx/src/nsThebesRenderingContext.cpp => gfx/src/nsRenderingContext.cpp
extra : rebase_source : 34884bfcafd885feaf73300bc7246cd192062a48
2011-04-07 18:04:40 -07:00
Jan Küchler
0e92a9d34a Bug 266236 part 1: Preliminary API cleanup on nsIRenderingContext.
--HG--
extra : rebase_source : a21ffad484f47103e403b8316eae5fdfd815c2cb
2011-04-07 18:04:39 -07:00
Frédéric Wang
dbcfcfee18 Bug 569124 - Make the math element support the attributes of mstyle. r=karlt 2011-04-09 23:36:31 -04:00
Frédéric Wang
6de199a0ba b=605605 Uninitialised value used in nsMathMLChar r=karlt
--HG--
extra : transplant_source : _G%B6%C6%C6q%C0a%F0f-%CD%AF%FB%FE%F0%BAYc%D5
2011-03-25 16:38:59 +13:00
Frédéric Wang
dde2ac5cad Bug 21479 - Embellished operators - add rules for mstyle, mphantom, mpadded and mrow. r=karlt
--HG--
extra : transplant_source : %CDr%F474%A9%FD%80%D2%FC%AEJ%B6%93%E9%23%ECO%25z
2011-03-25 16:38:59 +13:00
Frédéric Wang
f0df881216 b=534970 updateOperatorDictionary.pl: add private data mirrorable r=karlt npotb
--HG--
extra : transplant_source : %B1%15%00%1A%DA%1A%F33%9B.x%E5%7F%EB%EDf%3F%1E%D7%F7
2011-03-25 16:38:58 +13:00
Frédéric Wang
945add0482 MathML Operator Dictionary: remove obsolete infix entries for coproduct, wedge and vee (bug 534970). r=karlt
--HG--
extra : transplant_source : f%0D%EA%DCP%B4%E0%B4%5B%D3%8DA%DF%D31%0A%8D%12%8A%2C
2011-03-25 16:38:58 +13:00
Frédéric Wang
89fabd7460 MathML Operator Dictionary: fix three conflicts for symmetric or fence (bug 534970). r=karlt
--HG--
extra : transplant_source : %0A%B7XXNy%A7%04G%03%9Db%CC%7D%1C%A0%3D2%DE%BC
2011-03-25 16:38:58 +13:00
Frédéric Wang
499ff10c52 MathML Operator Dictionary: fix conflicts for entries becoming accent (bug 534970). r=karlt
--HG--
extra : transplant_source : %EAn%3B%8A%B7%9Fs%BE%06%0C%EB%F17%7E%D7%CD%7E%8AG%C2
2011-03-25 16:38:58 +13:00
Frédéric Wang
37b6222b1b MathML Operator Dictionary: add new fence, accent and largeop entries (bug 534970). r=karlt
--HG--
extra : transplant_source : %83%23%CB%EB%E9%D1%A7%27%86%87%08%82p%07%08%F9%82%BAz%8C
2011-03-25 16:38:58 +13:00
Frédéric Wang
34f9a428c6 MathML Operator Dictionary: fix space conflicts (bug 534970). r=karlt 2011-03-28 14:52:03 +13:00
Frédéric Wang
6e79c77b4f MathML Operator Dictionary: add new entries which are neither stretchy nor largeop (bug 534970). r=karlt
--HG--
extra : transplant_source : %C61f%073%C9n%96%27%94%27%2A%7D%21%E3%06%3DK%A0%1D
2011-03-25 16:38:58 +13:00
Frédéric Wang
0e054716ae MathML Operator Dictionary: sort entries of the dictionary and remove minsize attributes (bug 534970). r=karlt
--HG--
extra : transplant_source : %97%AB%E6%8A%CA%D0Y%CB%C6%02%F5%3Fo%10%CF%A7%C7%D9r%CA
2011-03-25 16:38:58 +13:00
Craig Topper
72d7c1f754 Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Robert O'Callahan
d886269e1d Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Shawn Wilsher
06f60f7a34 Merge mozilla-central to Places 2010-11-10 09:38:08 -08:00
Frédéric Wang
d9d102c3f7 Use u23AF instead of uE10B for stix extenders (bug 594244) r=karlt a=bsmedberg
--HG--
extra : rebase_source : fa67187d67b23489ceff8185cb61f1c12e17ad5e
2010-11-11 11:34:59 +13:00
Matt Woodrow
47554e7736 Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking 2010-10-11 13:58:20 +13:00
L. David Baron
40d60928c6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
Robert O'Callahan
812e6204ae Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197 Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Frédéric Wang
7536b35a76 Bug 414277 - scale stretchy operators when there is no glyph of suitable size. r=karlt a=dbaron
--HG--
extra : rebase_source : 325e318cbb27537229c9c14015133ba9222f4d29
2010-08-20 15:44:07 +12:00
Frédéric Wang
58274b26dd MathML Operator Dictionary: add private data integral (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : d4e1f0e8d80cc1cafa630c89f730d4f30e686766
2010-08-20 15:43:10 +12:00
Frédéric Wang
a001c09834 MathML Operator Dictionary: update some entries whose stretchiness has changed (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : f6a56bd7e60f05d59c5a7571e1e888bb0b1edca1
2010-08-20 15:41:49 +12:00
Frédéric Wang
2b9596c050 add private data integral (bug 534970) a=npotb 2010-11-08 09:34:44 +13:00
Frédéric Wang
e2d2f347d5 Add a perl script to compare MathML operator dictionaries and check validity of our private data (bug 534970) 2010-11-08 09:32:54 +13:00
Ms2ger
6492dfc93a Bug 538965 - part b: compress whitespace in MathML mfenced's open and close attributes; r=karlt a=bsmedberg 2010-11-05 11:57:51 +01:00
Ms2ger
f94a249008 Bug 538965 - part a: make nsMathMLmfencedFrame::CreateFencesAndSeparators return void; r=karlt a=bsmedberg 2010-11-05 11:57:39 +01:00
Frédéric Wang
8c208dd73c Bug 524275 - Make nsStretchDirection available for any operators. r=karlt a=dbaron
--HG--
extra : rebase_source : 0df9e11112d215ce4158574622e1b67faf668b08
2009-11-21 22:11:05 +01:00
Frédéric Wang
874efe569a MathML Operator Dictionary: make operator with a stretchy form use the same direction for all their forms (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : 74c2ded175993d3cdf9a21be586302727e60a613
2010-08-20 15:38:08 +12:00
Frédéric Wang
fd3bcd18af MathML Operator Dictionary: add entries for stretchy fences (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : e70fe8ac89cb77e0c71d7305d2ff4004fe7cf3df
2010-08-20 15:36:06 +12:00
Frédéric Wang
25563d8fe9 MathML Operator Dictionary: add entries for vertical and horizontal arrows (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : 6ace7c7366574544cfe68967c2b562a11d5b820b
2010-08-20 15:33:36 +12:00
Frédéric Wang
a475be6242 MathML Operator Dictionary: remove infix entries for N-ary Union and Intersection (bug 534970). r=karlt a=dbaron
--HG--
extra : rebase_source : d6bbaf616bc013037915769bb9716ee21e33a0df
2010-08-20 15:32:22 +12:00
Robert O'Callahan
20c2a19d6a Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron 2010-08-13 21:58:04 +12:00
Robert O'Callahan
b7df1787ef Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Michael Ventnor
8139bee929 Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel 2010-07-16 09:07:49 +12:00
Michael Kohler
dab190d2bc Bug 506041 - Correct misspellings in source code (Patch 3)
r=timeless

--HG--
extra : rebase_source : 1917c999a5865676ffb7ec3c2834c3e091bb64dc
2010-07-07 15:33:52 +02:00
Jesse Ruderman
14ecbf3e68 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Boris Zbarsky
37c6532fe1 Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron 2010-06-18 12:23:05 -04:00
Frédéric Wang
3063ebb55e Bug 569195 - Add support for STIX Fonts 1.0. r=karlt
--HG--
rename : layout/mathml/mathfontSTIXSize1.properties => layout/mathml/mathfontSTIXSizeOneSym.properties
extra : rebase_source : 81a64bf6f150e759937ea6869a8786d08ebae686
2010-06-11 10:15:43 +12:00
Jesse Ruderman
3dbc6bd8c8 Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Frederic Wang
5a347b9ad5 Bug 563365 - nsMathMLOperators::LookupOperators retrieves only the first form found. r=karlt 2009-11-21 23:25:55 +01:00
Boris Zbarsky
ecc1fd2ec3 Bug 562700 part 2. Change the restyle-event functions to take Element. r=dbaron 2010-05-14 13:04:51 -04:00
Mitchell Field
6ad77bd6db Bug 564950 - Make more use of mozilla::services, r=surkov, jst, neil, smontagu, roc, joshmoz, gavin, shaver 2010-05-14 18:24:41 +09:00
Michael Kohler
9397418412 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Frederic Wang
9460a70cb6 Bug 556767 - (semantics) Improve/Complete implementation of <semantics/>. r=roc 2010-05-12 12:11:59 +02:00
Craig Topper
cb8187eff9 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
L. David Baron
7c61f15cf1 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
Justin Dolske
de107f9d91 Bug 563114 - Remove nsINonBlockingAlertService. r=karlt, r=bsmedberg, sr=roc 2010-05-04 17:41:07 -07:00
Frédéric Wang
a9a2ba1455 Bug 562464 - Remove perl script layout/mathml/mathml-css.pl. r=karlt 2010-05-02 12:48:23 +02:00
timeless@mozdev.org
c7316b0176 Bug 562420 - unused variable border in nsDisplayMathMLCharDebug::Paint, r=karlt 2010-04-28 12:36:00 -07:00
Boris Zbarsky
7773612f1a Bug 562688 part 12. Eliminate eELEMENT usage in the rest of layout except layout/style. r=dbaron 2010-04-30 09:12:06 -04:00
Mitchell Field
9818f00bf2 Bug 560095 - Use mozilla::services::GetObserverService(). r=biesi,dveditz,gavin,josh,jst,mrbkap,roc,sdwilsh,shaver,sicking,smontagu,surkov 2010-04-29 18:59:13 +02:00
Frédéric Wang
756bb4a1ba Bug 407101 - MathML STIX fonts: more variants and composite chars for stretchy accents, r=karlt
--HG--
extra : rebase_source : 030868edf640f7c3e27a982392d1a2772934fe54
2010-04-29 09:32:27 +12:00
Frédéric Wang
429c77a1ff b=557085 Remove directory mozilla/src/layout/mathml/doc r=karlt
--HG--
extra : rebase_source : 1a72bb9263b9d40514ad29e6567f491f35e215b1
2010-04-21 15:43:57 +12:00
Frédéric Wang
a833a67e8b Bug 213932 - add more entries in the MathML Operator Dictionary. r=karlt
--HG--
extra : rebase_source : 4aa186a3bd0b9217ea28f96afef6d4b097f83d8b
2010-04-21 15:41:48 +12:00
Frédéric Wang
9099aa5a17 Bug 534965 - [MathML3] Add support for the madruwb notation. r=karlt
--HG--
extra : rebase_source : c4d0c73e88e0ec8e3fe0d1a04132f25a78836506
2010-04-21 15:38:15 +12:00
Craig Topper
771eede254 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Ehren Metcalfe
e0ac5d5547 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
0b57ef51cd Use the appropriate color based on visitedness for 'outline-color'. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
7ff92ec1fa Use the appropriate color based on visitedness for nsCSSRendering::PaintBorder users of the 'border-*-color' properties. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
L. David Baron
68d7839f41 Make PaintBackgroundWithSC and related methods operate on nsStyleContext* rather than const nsStyleBackground*. (Bug 147777) r=zweinberg 2010-04-02 18:58:26 -07:00
Zack Weinberg
ee4e0f1e56 Bug 494117 preliminary refactor: Search-and-replace 'ReStyle' with 'Restyle' throughout layout. r=roc 2010-03-31 17:43:32 -07:00
Robert O'Callahan
9a2ed61b34 Bug 551660. Switch layout code from using nsPropertyTable to FramePropertyTable. r=mats,sr=dbaron 2010-03-29 14:46:55 +13:00
Frédéric Wang
fa713308c9 b=407101 STIX n-ary ops and angle brackets r=karlt 2009-10-22 13:05:35 +02:00
Saint Wesonga
d70b607a01 Bug 537916 - MathML mfenced: Whitespaces in separators are not ignored. r=roc 2010-03-23 09:27:43 +01:00
Craig Topper
a956b85435 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Frédéric Wang
d6904c21a4 Bug 475518 - MathML layout code should use _moz* attributes instead of -moz-* attributes. r=karlt, sr=bz
--HG--
extra : rebase_source : 34bb7055d4deaad9a0ee55aa40b9bcbdd19153ea
2010-03-10 13:49:33 +01:00
Frédéric Wang
c0920c23f8 Bug 519126 - MathML Operator Dictionary: improve the syntax of mathfont.properties. r=karlt 2009-09-27 22:32:54 +02:00
Jonathan Kew
e9d0f828e0 Bug 524107 - part 1 - pass original value of 'lang' to gfx text code rather than only a 'langGroup' value, to allow language-specific font rendering. r=roc sr=mats 2010-02-24 09:57:44 -08:00
Frédéric Wang
97a269e73c b=536438 Fix creation of keys in GetFontExtensionPref r=karlt 2010-02-18 13:51:33 +13:00
Ehren Metcalfe
7ab9c13516 b=536438 add missing breaks to switch statement r=fred.wang 2010-02-18 13:49:56 +13:00
Karl Tomlinson
1424584cc7 backout 4dc8bdb7af6d due to 355548-2 reftest failure 2010-02-02 20:29:59 +13:00
Frédéric Wang
c0e77d917e b=219873 make math elements display:inline-block so that their height includes their children r=roc 2010-02-02 19:00:06 +13:00
Frédéric Wang
c859c3ec1b Bug 118743 - <mfrac bevelled="true"> doesn't shift baselines. r=karlt 2009-10-07 11:31:45 +02:00
Simon Montagu
d84ebba607 Remove intl/uconv/ucvmath. Bug 483116, r=Masatoshi Kimura <YV03354@nifty.ne.jp> 2009-12-21 00:47:08 -08:00
Boris Zbarsky
99027aa785 Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
6ae14f3465 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-11 02:37:40 -05:00
Boris Zbarsky
e9f228c7d5 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
0a82b262db Bug 525608 part 3. Change all style set consumers that ask for a pseudo style context to indicate what they're actually asking for (pseudo-element, anonymous box, or xul tree thing). r=dbaron 2009-12-10 14:36:05 -08:00
Boris Zbarsky
d458769f84 Bug 525608 part 2. Change the CSS parser to not allow anon box selectors with more than the anon box name in them. Store the pseudo type in pseudo-element selectors. Enforce that all non-anon-box pseudo selectors have an mNext that selects the element they apply to. r=dbaron 2009-12-10 14:36:05 -08:00
Timothy Nikkel
bba7380ea8 Bug 488771. Stop nsMathMLmactionFrame from inheriting from nsISupports and a bit more cleanup. r=roc
--HG--
extra : rebase_source : 395ac33113c9cf44c1c97efb3b7e6dcf6514eefa
2009-11-03 16:43:39 -06:00
Boris Zbarsky
5215a681c7 Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
Daniel Holbert
ad1651cc8b bug 522779: use nsTArray::Contains() instead of checking nsTArray::IndexOf() against various sentinel values, in three places in layout. r=dbaron 2009-10-16 15:49:30 -07:00
Robert O'Callahan
4f509a4cd9 Bug 476547. Make lquote and rquote actually work, especially when there are dynamic changes, by finding the correct text frames to modify and notifying the text frame that the DOM text has changed. r=karlt 2009-10-07 17:28:41 +13:00
Taras Glek
45c73c60d8 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz
--HG--
extra : rebase_source : c6ba6e900ceed210620d47f70c9b962a808a29fe
2009-10-12 12:31:50 -07:00
Taras Glek
c7f069ab70 Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
4c56f842c8 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Boris Zbarsky
4fc405cefa Bug 512336. Make frame lists doubly-linked. r=roc,fantasai 2009-10-02 12:27:37 -04:00
Robert O'Callahan
d56dfa741e Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mats Palmgren
4e06ef038e Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Frédéric WANG
c2b403d5d9 Bug 403311 layout/mathml/tests/ : xml pages are not W3C-valid r=karlt
--HG--
extra : rebase_source : 82994603822ca886070d76c9aaadf8ac8676018a
2009-09-16 14:06:39 +12:00
Bobby Holley
0b02012ed8 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Zack Weinberg
17eb5a6efc Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Jesse Ruderman
e1a92dde70 Add more crashtests 2009-08-27 21:11:40 -07:00
Robert O'Callahan
75dc1beb9c Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
18c763f2c5 Bug 497495 part 3a: rationalize the queryframe-implementation macro naming scheme, restructure the implementation to detect duplicate entries, and a couple fixes to the frame ID enumeration. r=dbaron sr=roc
Bug 497495 part 3b: update users of queryframe macros (strictly mechanical change). r=dbaron

--HG--
extra : rebase_source : ee672a17934227b408b83dc6b5cc4e4909652f72
2009-08-26 09:27:42 -07:00
Benjamin Smedberg
2e9438fd2f Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted 2009-08-25 08:59:31 -07:00
Boris Zbarsky
36622c6995 Backed out changeset 4aa19414e651 (bug 488249) to fix test orange.
--HG--
extra : rebase_source : ae1c0155ec32b0887eff27ded77c6ba2b37dda64
2009-08-24 20:51:57 -04:00
David Zbarsky
932e28482f Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Zack Weinberg
2cd31f70f9 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Frédéric WANG
5347cae03c mathml spelling correction r=karlt b=389721 2009-08-17 09:53:42 +12:00
Hashem Masoud
c8f711113e Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Karl Tomlinson
be33513d29 fix for ambiguous sqrt from dc8ef04fc953 b=297467
--HG--
extra : rebase_source : 79cea2a70f177f0d6709ec3c97b228ece1b4b48b
2009-08-12 12:04:42 +12:00
Frédéric Wang
95d98aa305 b=297467 menclose r=karlt rs=roc 2009-05-29 13:08:35 +02:00
Boris Zbarsky
f2936464e5 Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Boris Zbarsky
5fefb45a48 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Robert O'Callahan
8c7da0cfb7 Bug 494667. Don't apply optimization to shrink drawn background area to exclude solid borders, if we're not going to draw those borders (e.g. in tables with collapsing borders). r+sr=dbaron,a=beltzner 2009-05-28 17:01:42 +12:00
Jesse Ruderman
67d570553a Don't try to load stylesheet from w3.org (fixes crashtest failure) 2009-04-27 09:49:00 -07:00
Bob Clary
8fa2e46b7a bug 347355 - crash test by Jesse Ruderman. 2009-04-24 10:08:14 -07:00
Boris Zbarsky
307ccebf4c Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
2009-04-08 12:56:16 -04:00
Boris Zbarsky
25164496ef Backed out changeset 0ea22856b5d9 (bug 484448). 2009-04-08 15:56:43 -04:00
Boris Zbarsky
f70fe28e08 Bug 484448. Fix handling of whitespace kids of table-related frames. r=bernd, sr=roc
--HG--
rename : layout/reftests/table-anonymous-boxes/white-space-1.html => layout/reftests/table-anonymous-boxes/white-space-7.html
rename : layout/reftests/table-anonymous-boxes/white-space-1-ref.html => layout/reftests/table-anonymous-boxes/white-space-ref.html
2009-04-08 12:56:16 -04:00
Jeff Muizelaar
9980cb2188 Bug 481926 - Rewrite color management component sr=vlad, r=ted, r=joedrew (\o/)
Replaces lcms with qcms
2009-04-07 12:02:11 -04:00
Joe Drew
fc5c15825a Backed out changeset 6f3c2171bbb2:
Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad
2009-04-03 16:27:27 -04:00
Jeff Muizelaar
eaef2088cb Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Robert O'Callahan
8caa418ee5 Bug 484766. Clean up MathML directory structure. r=karlt,ted
--HG--
extra : rebase_source : 1c88ebe3a41dee12a982442ad2e711aa287ed55f
2009-03-30 13:48:52 +13:00
Boris Zbarsky
fd47df291b Bug 480979 part 6. Push use of FrameConstructionItem all the way up to ContentAppended/ContentInserted, and eliminate the need for DestroyNewlyCreatedFrames. r+sr=roc 2009-03-05 08:09:03 -05:00
L. David Baron
4226f3a17b Fix warning with -Wshadow in nsMathMLTokenFrame (about childFrame). (Bug 477962) r=karlt 2009-02-19 09:48:37 -08:00
L. David Baron
8b207bcc51 Revert (back out) the previous 11 changesets (bugs 477959, 477961, 477963, 477962, 322475, 478899, 475215, 478156), due to Mac talos orange with (as usual) no useful diagnostic. 2009-02-18 18:59:47 -08:00