Commit Graph

383 Commits

Author SHA1 Message Date
Frédéric Wang
403e0906fd Bug 757125 - Make more MathML operators mirrorable. r=karlt 2012-05-28 21:09:43 -04:00
Frédéric Wang
f2594ad94f Bug 757125 - Make updateOperatorDictionary.pl read mirrorable property. r=karlt 2012-05-28 21:09:25 -04:00
Frédéric Wang
dac58862a4 Bug 757703 - Restore support for non-zero unitless values in mpadded. r=karlt 2012-05-27 23:32:51 -04:00
Gervase Markham
87620f5676 Bug 716478 - update licence to MPL 2. 2012-05-21 12:12:37 +01:00
Andrii Zui
db9255f7c8 Bug 745535 - Implement AttributeChanged on nsMathMLmactionFrame. r=karlt 2012-05-18 13:35:43 -04:00
Ryan VanderMeulen
77b638fcd1 No Bug - Re-alphabetize mathml crashtest list. DONTBUILD 2012-05-17 09:46:16 -04:00
Frédéric Wang
766d42ee44 Bug 716349 - Crashtest. r=karlt 2012-05-17 09:38:32 -04:00
Frédéric Wang
9af6e1413a Bug 716349 - Prevent invalid metrics for mspace. r=karlt 2012-05-17 09:37:55 -04:00
Frédéric Wang
c4aee25f52 Crashtest for bug 398038. r=karlt 2012-05-15 18:30:15 -04:00
Frédéric Wang
f2d30807ae Bug 677036 - Unify parsing of length and mpadded attributes. r=karlt 2012-05-15 18:30:14 -04:00
François Wang
dbc000ab3a Bug 736010 - Make downloaded fonts usable in nsMathMLChar. r=karlt 2012-03-26 17:49:44 +02:00
Frédéric Wang
b3284f1002 Bug 657279 - maction: transmit automatic data when the selected child changes. r=karlt 2012-04-28 11:02:22 -04:00
Matt Woodrow
7474fc8aa3 Bug 749055 - Add index parameter to nsDisplayMathMLCharForeground. r=roc 2012-04-27 12:24:54 +12:00
Andrii Zui
5a9d116b2c Bug 739556 - maction: selection attribute is taken into account only with actiontype="toggle". r=karlt 2012-04-24 19:49:59 -04:00
Frédéric Wang
c811a0d504 Bug 732834 - fix an error in the MathML stylesheet. r=karlt
--HG--
extra : rebase_source : 19e6787233ac4a7075152bb188b4f127e582be51
2012-04-17 13:01:10 +12:00
Robert O'Callahan
833e8a244f Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Andriy Zui
a06636a98d Bug 729924 - statusline actiontype should use the second child as a message. r=karlt 2012-03-29 11:50:02 +02:00
Phil Ringnalda
b4da60b42d Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
Andriy Zui
ffe33e0344 Bug 729924 - maction: statusline actiontype should use the second child as a message. r=karlt 2012-03-28 21:00:14 -04:00
Ehren Metcalfe
7ae994745c Bug 738957 - Remove the nsMathMLForeignFrameWrapper class and related files. r=karlt 2012-03-26 09:59:54 +02:00
Frédéric Wang
93b0cefeae Bug 732834 - Use MathJax fonts in mathematical text part 2. r=karlt 2012-03-09 20:52:14 -05:00
Frédéric Wang
9b38e509b2 Bug 732834 - Use MathJax fonts in mathematical text part 1. r=karlt 2012-03-09 20:52:13 -05:00
François Wang
a6c7300ff7 Bug 320294 - Remove space between mi with mathvarian normal. r=karlt 2012-03-06 21:58:20 +01:00
Frédéric Wang
e142af82d9 Bug 701758 - Add page to convert MathJax font table into our own format. r=karlt 2012-02-28 18:40:38 -05:00
Frédéric Wang
9f8a15a143 Bug 701758 - Add stretchy operator table for MathJax fonts. r=karlt 2012-02-28 18:40:38 -05:00
Jonathan Watt
9fb3c8bb9f Bug 416581, part 1 - Move mLanguage from nsStyleVisibility to nsStyleFont. r=dbaron. 2012-01-24 13:09:55 +00:00
Jonathan Watt
ce855218a3 Bug 719408 - Remove broken paths from Makefile.in files in layout. r=bernd.mielke. 2012-01-23 16:58:52 +00:00
Benjamin Stover
a371dc7830 Bug 524925 - Recompute overflow without reflowing for transforms. part=1/6 r=dbaron
Add an extra change hint, UpdateOverflow, that can be used to specify that
a frame's overflow areas may have changed and that they need to be recalculated.
When a transform on a frame changes, instead of marking it for reflow, set this
hint instead.

There is an added virtual function on nsIFrame, UpdateOverflow, which is called
recursively on a frame when the corresponding hint is set, to allow it to
update its overflow areas.
2011-06-15 14:03:49 -07:00
Frédéric Wang
2d502354f9 munder, mover, munderover: add support for the align attribute (bug 557476). r=karlt
--HG--
extra : rebase_source : 84702b0b078b0c85b10f9a168fbf64c1210a80ce
2012-01-05 11:20:39 +13:00
Mats Palmgren
ecaac9ba30 Bug 515530 - Remove nsHTMLContainerFrame. r=roc 2011-12-27 21:18:48 +01:00
Frédéric Wang
9db5265c42 Bug 708072 - Add test page for stretchy and large operators, r=karlt 2011-12-06 13:24:00 -08:00
Frédéric Wang
6924fc7b66 Mirroring of operators for arabic math (Bug 208309) - part 2. r=karlt 2011-12-21 17:22:00 -05:00
Frédéric Wang
15c7e67e9e Mirroring of operators for arabic math (Bug 208309) - part 1. r=karlt 2011-12-21 17:22:00 -05:00
Frédéric Wang
cc96cf931e 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
c1df3781fd Overall Directionality of formulas (bug 534963). r=karlt 2010-01-05 11:22:31 +01:00
Frédéric Wang
42b9270ca0 Add a directionality flag on MathML frames (bug 534963). r=karlt 2010-01-03 18:52:33 +01:00
Mats Palmgren
77f0b019cd Bug 619273 - Move the selection state bit from frames to content nodes. r=smaug 2011-12-20 10:15:41 +01:00
Masayuki Nakano
f968c71f5d Bug 706406 <maction> should use system event group r=smaug+karlt 2011-12-01 16:40:51 +09:00
Boris Zbarsky
dcc04dfdae 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