Commit Graph

975 Commits

Author SHA1 Message Date
Ms2ger
7b04f77d8b 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
b40094b647 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
7d5f56c2e5 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
691ce60937 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
a9ee9244b5 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
24af5d319f 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
3133bff6c6 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
c0a3a641e0 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
56ba116210 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
10548f19c5 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
3aa2e3fa71 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Boris Zbarsky
43f065f6ae Bug 494117 part 1. Rename eRestyle_Self to eRestyle_Subtree. r=dbaron 2010-06-18 12:23:05 -04:00
Frédéric Wang
0824cf30df 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
aedb18a96b Add a bunch of crashtests 2010-06-08 17:53:08 -07:00
Frederic Wang
789249b40a Bug 563365 - nsMathMLOperators::LookupOperators retrieves only the first form found. r=karlt 2009-11-21 23:25:55 +01:00
Boris Zbarsky
1b6aa7ce33 Bug 562700 part 2. Change the restyle-event functions to take Element. r=dbaron 2010-05-14 13:04:51 -04:00
Mitchell Field
0fd15d94da 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
6c0f59f4a6 Bug 506041 Part 2: Correct misspellings in source code
r=timeless
2010-05-13 14:19:50 +02:00
Frederic Wang
ef884ea7fd Bug 556767 - (semantics) Improve/Complete implementation of <semantics/>. r=roc 2010-05-12 12:11:59 +02:00
Craig Topper
b08d6c5ef5 Remove nsICSSStyleSheet and replace all uses with nsCSSStyleSheet. (Bug 239008) r=dbaron 2010-05-11 13:41:47 -07:00
L. David Baron
c4eb38acd9 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
e4b6d4e7a3 Bug 563114 - Remove nsINonBlockingAlertService. r=karlt, r=bsmedberg, sr=roc 2010-05-04 17:41:07 -07:00
Frédéric Wang
b2d744914f Bug 562464 - Remove perl script layout/mathml/mathml-css.pl. r=karlt 2010-05-02 12:48:23 +02:00
timeless@mozdev.org
e11069426e Bug 562420 - unused variable border in nsDisplayMathMLCharDebug::Paint, r=karlt 2010-04-28 12:36:00 -07:00
Boris Zbarsky
b2fa9fd079 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
f544d71a9d 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
2b362f6a2d 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
62cb88ed53 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
e12daec6ab 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
3f30d03eb6 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
8b8747d605 Bug 557416: Remove unnecessary includes and forward declarations of nsPresContext. r=roc 2010-04-10 16:10:12 -04:00
Ehren Metcalfe
a791e19cc4 Bug 556446: Remove dead code in layout. r=roc,bz 2010-04-03 07:36:19 -04:00
L. David Baron
e4ae9159cc 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
712030c86e 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
109a546aaa 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
8a8adc758b 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
0fd1837981 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
cd74cd48d1 b=407101 STIX n-ary ops and angle brackets r=karlt 2009-10-22 13:05:35 +02:00
Saint Wesonga
385bd7f8b5 Bug 537916 - MathML mfenced: Whitespaces in separators are not ignored. r=roc 2010-03-23 09:27:43 +01:00
Craig Topper
3d7073c4a5 Bug 253889: DeCOMtaminate nsIPresShell r=roc 2010-03-20 17:54:19 -04:00
Frédéric Wang
af2f349608 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
9c6aff4a11 Bug 519126 - MathML Operator Dictionary: improve the syntax of mathfont.properties. r=karlt 2009-09-27 22:32:54 +02:00
Jonathan Kew
365fbafa0d 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
cfe6666e8d b=536438 Fix creation of keys in GetFontExtensionPref r=karlt 2010-02-18 13:51:33 +13:00
Ehren Metcalfe
f51debd939 b=536438 add missing breaks to switch statement r=fred.wang 2010-02-18 13:49:56 +13:00
Karl Tomlinson
dda6be68cd backout 4dc8bdb7af6d due to 355548-2 reftest failure 2010-02-02 20:29:59 +13:00
Frédéric Wang
6cd600a985 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
967da5c71c Bug 118743 - <mfrac bevelled="true"> doesn't shift baselines. r=karlt 2009-10-07 11:31:45 +02:00
Simon Montagu
681d9954dd Remove intl/uconv/ucvmath. Bug 483116, r=Masatoshi Kimura <YV03354@nifty.ne.jp> 2009-12-21 00:47:08 -08:00
Boris Zbarsky
5132d64872 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
03a58e11a7 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
8202b90f61 Backing out bug 525608 and bug 525952 2009-12-10 18:28:08 -08:00
Boris Zbarsky
6eb3c28de7 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
197fdecd49 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
a700ed5231 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
7813eeb6d1 Bug 525295. Rename nsStyleContext::GetPseudoType to GetPseudo. r=dbaron 2009-10-29 17:17:56 -04:00
Daniel Holbert
1ac2adcf94 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
c3acb8ce31 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
1d126be6cd 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
387de8cf2e Backed out changeset e22bef491d84 2009-10-08 16:43:55 -07:00
Taras Glek
d07c55d805 Bug 515777 - move css files, hiddenWindow.html to jar r=bsmedberg sr=bz 2009-10-08 11:22:50 -07:00
Boris Zbarsky
ba8c31506f Bug 512336. Make frame lists doubly-linked. r=roc,fantasai 2009-10-02 12:27:37 -04:00
Robert O'Callahan
c2f7a1e950 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
3d96b7b4a7 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mats Palmgren
2c137c2022 Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
dea07412a1 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
8db7318176 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
0b8080d9b5 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Zack Weinberg
d47e0f433b 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
fbaaa060e5 Add more crashtests 2009-08-27 21:11:40 -07:00
Robert O'Callahan
4453cced60 Backed out changeset e2927bb26412 2009-08-26 14:49:18 -07:00
Zack Weinberg
64f6d4d0dd 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
ba372f3a4c 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
8f435d226b 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
0aa6350041 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Zack Weinberg
430c5ceb95 Bug 510651: Fold nsIFrameDebug into nsFrame. r=dbaron sr=mrbkap 2009-08-20 14:52:48 -07:00
Frédéric WANG
3667f6c4cb mathml spelling correction r=karlt b=389721 2009-08-17 09:53:42 +12:00
Hashem Masoud
b71a1a1cfa Bug 489502 - Replace NS_ASSERTION(0, ...) by NS_ERROR(...) in mozilla-central; r=benjamin 2009-08-14 16:09:00 +02:00
Karl Tomlinson
b7026b73e3 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
e13641fddf b=297467 menclose r=karlt rs=roc 2009-05-29 13:08:35 +02:00
Boris Zbarsky
811394b5da Bug 281387. Make nsIFrame::Append/InsertFrames use nsFrameList. r=bernd,roc, sr=dbaron 2009-07-30 13:23:32 -04:00
Boris Zbarsky
1ef12b64a7 Bug 504221 part 12. Switch SetInitialChildList to nsFrameList. r=fantasai, r+sr=roc 2009-07-28 08:53:20 -04:00
Robert O'Callahan
5843f756df 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
deec57be71 Don't try to load stylesheet from w3.org (fixes crashtest failure) 2009-04-27 09:49:00 -07:00
Bob Clary
8929eb90cd bug 347355 - crash test by Jesse Ruderman. 2009-04-24 10:08:14 -07:00
Boris Zbarsky
0b5e6a2535 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
330653be70 Backed out changeset 0ea22856b5d9 (bug 484448). 2009-04-08 15:56:43 -04:00
Boris Zbarsky
9fffe6f817 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
52c97edf1e 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
db7246feb6 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
e823d73623 Bug 481926 - Rewrite color management component. r=joe,ted sr=vlad 2009-04-03 15:09:56 -04:00
Robert O'Callahan
beac740c0f 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
53d54e4acc 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
f4c7c6b07d Fix warning with -Wshadow in nsMathMLTokenFrame (about childFrame). (Bug 477962) r=karlt 2009-02-19 09:48:37 -08:00
L. David Baron
3d090560b0 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
L. David Baron
1bb5fd6dd8 Fix warning with -Wshadow in nsMathMLTokenFrame (about childFrame). (Bug 477962) r=karlt 2009-02-18 17:13:24 -08:00
Jesse Ruderman
ea905567dc Add crashtests 2009-02-13 14:54:17 -08:00
Jesse Ruderman
e6ffd994a3 Add some crashtests 2009-02-10 16:36:04 -08:00
L. David Baron
a80ae7d9b5 Remove the aBits parameter from ReLayoutChildren, given that what it does blows away the distinction between NS_FRAME_IS_DIRTY and NS_FRAME_HAS_DIRTY_CHILDREN. (Bug 477294) r+sr=bzbarsky 2009-02-10 14:05:27 -08:00
Arpad Borsos
c0f2dadc80 Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc 2009-02-03 15:42:18 +01:00
L. David Baron
38d578f649 Implement CSS computation of font-stretch property and store it in the gfx font structures. (Bug 3512) r=vlad sr=bzbarsky 2009-01-29 12:39:18 -08:00
Boris Zbarsky
14ccc213f7 Bug 473390 part 8. Move the <mathml:math> display switching out of the frame constructor and into the frame creation function. r+sr=roc 2009-01-19 13:31:32 -05:00
Fred Jendrzejewski
d8f1bff747 Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc 2009-01-18 21:14:14 +01:00
Robert O'Callahan
804cc7ee91 Backed out changeset 8019a959aade 2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
065bde22f3 Bug 461047. Replace nsStringArray with nsTArray<nsString>. r+sr=roc
--HG--
extra : rebase_source : 7a20af24c97867efbb28dafa6a70ea1b4cf00e58
2009-01-16 20:51:04 +13:00
Benjamin Smedberg
3498a5f86e Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

nsITextControlFrame didn't have an IID the first time around, but this wasn't a compile error because nsITextControlFrame::kFrameIID inherited from nsIFormControlFrame::kFrameIID. I've added a static analysis pass to verify the correct behavior, since I can't figure out a way to make the compiler do it.

--HG--
extra : rebase_source : 4894a2ca0278e2ab92f27459db77165f8348cf41
2009-01-12 14:20:59 -05:00
Benjamin Smedberg
73a6fab34b Backed out changeset 4c4df6ed1b41 - Bug 396185 - Make nsIFrame not inherit from nsISupports due to mochitest failures... these appear to be crashes in nsGenericHTMLElement::GetEditorInternal. 2009-01-09 11:35:24 -05:00
Benjamin Smedberg
802d1a10c7 Bug 396185 - Make nsIFrame derivatives and helper abstract classes use a different dynamic-cast system than nsISupports:
* we know all types frames may be cast to at compile time, so instead of extensible GUID IIDs, use a big enum (see nsQueryFrame::FrameIID)
* eliminate all vestiges of refcounting, since frames aren't refcounted

Some frames (SVG frames in particular) still implement nsISupports-derived interfaces, for example nsISVGValue. There is a FrameIID for nsISVGValue that lets you go from a frame to the XPCOM interface, but you can't query back.

r+sr=roc

This patch locally causes two REFTEST-UNEXPECTED-PASS for Bidi stuff. It's possible that I accidentally fixed a bug, but I'm not sure, so I'm going to wait for the tinderboxes to confirm my local results.
2008-11-05 14:25:30 -05:00
L. David Baron
ad5d856ae6 Rename flags and methods from space manager to float manager. (Bug 191448) r+sr=roc 2009-01-04 19:39:54 -05:00
L. David Baron
4690547534 Stop using nsAreaFrame for anything other than xul:label, which is the only thing for which it does anything different from nsBlockFrame, and rename it accordingly. (Bug 471356) r+sr=roc
--HG--
rename : layout/generic/nsAreaFrame.cpp => layout/xul/base/src/nsXULLabelFrame.cpp
rename : layout/generic/nsAreaFrame.h => layout/xul/base/src/nsXULLabelFrame.h
2008-12-29 10:07:38 -05:00
Zack Weinberg
9d496c3394 Bug 462763 - more MathML crashers. r+sr=roc 2008-12-11 14:08:35 -05:00
L. David Baron
2dccf4784c Pass the user font set through more reliably and make it a required parameter. (Bug 467084) r+sr=roc a=blocking1.9.1+ 2008-12-04 08:09:53 -08:00
Phil Ringnalda
538c9fb42a Bug 461888 - Remove unused PACKAGE_FILE and PACKAGE_VARS and .pkg files, mozilla-central part, r=bsmedberg 2008-11-03 19:46:28 -08:00
Benjamin Smedberg
5eb7ef79cd Bug 462381 - Build layout directories in parallel r=ted sr=roc 2008-10-31 09:07:15 -07:00
Zack Weinberg
245dc2f25a Bug 416907 - Crash [@ nsHTMLFramesetFrame::Reflow] with frameset in mroot; r+sr=roc 2008-10-30 18:10:19 +01:00
Jesse Ruderman
a94ef876ba Add crashtest for bug 443089 2008-09-25 14:57:35 -07:00
Zack Weinberg
473726ed0c Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc 2008-09-25 17:53:27 +02:00
Zack Weinberg
97bef90839 Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc 2008-09-24 06:07:22 +02:00
Frédéric WANG
63069c11e5 b=454085 Add text-indent:0 in mtable to prevent unexpected spaces r+sr=roc 2008-09-16 10:35:28 +12:00
Zack Weinberg
0299bad5bb Bug 453916: treat transparency strictly as a special case of color alpha. r+sr=dbaron 2008-09-12 08:35:53 -07:00
Zack Weinberg
300f48fbd4 Bug 446498 – use new border rendering for focus rectangles, and strip dead code. r+sr=vlad 2008-08-06 12:33:18 +02:00
Karl Tomlinson
eb17c7530a non-spacing marks in munder are off center or too long. b=428863 r+sr=roc 2008-07-21 19:32:46 +12:00
Bernd
d8f4877b29 limit mathml row- and colspans as we do for html bug 443089 r/sr=bzbarsky 2008-07-16 17:02:18 +02:00
Robert O'Callahan
7644127121 Bug 444688. Use an IsFrameOfType check instead of a frame state bit to detect whether a frame excludes ignorable whitespace children. r+sr=dbaronlayout 2008-07-14 10:41:18 +12:00
Michael Ventnor
129d4dc805 Implement text-shadow rendering (bug 10713). r+sr=roc. Relanding with fixes to make tests pass on Mac 2008-06-13 10:02:32 +12:00
Robert O'Callahan
42904fb3e3 Backing out text-shadow due to Mac issues 2008-06-12 17:32:31 +12:00
Michael Ventnor
159e13c0ea Implement text-shadow rendering. 2008-06-12 14:34:40 +12:00
jruderman@hmc.edu
6d51c67969 Add crashtest 2008-04-22 21:31:40 -07:00
jruderman@hmc.edu
9486236557 Adding crashtest. 2008-04-22 21:25:47 -07:00
karlt+@karlt.net
6d1cc05193 clip parts of stretchy chars more carefully b=427666 (also fixes b=349907) r+sr=roc a1.9=damons 2008-04-22 20:13:09 -07:00
karlt+@karlt.net
10eff40fb2 PaintHorizontally: correct dy calculation when bm.ascent is -ve. b=242861 r+sr=roc a1.9=beltzner 2008-04-17 20:27:09 -07:00
karlt+@karlt.net
b1c0388a3c use text-rendering:optimizeLegibility so that non-spacing marks render. b=427659, r+sr=roc, a1.9=dsicore 2008-04-08 22:30:08 -07:00
timeless@mozdev.org
659585cffb Bug 394114 Interfaces missing from various QI implementations. r=jag sr=jag a=dsicore 2008-04-07 23:18:35 -07:00
karlt+@karlt.net
dc14a55922 Add mathfontSymbol.properties for SymbolMT on MS Windows. Prefer DejaVu to Cambria Math for better stretchy fences. b=425367 r=pavlov 2008-04-04 20:38:25 -07:00
karlt+@karlt.net
27eab82a82 Back out b=425367 change to see if that fixes reftest failures for bugs/414123.xhtml and mathml/mi-mathvariant-1.xhtml. 2008-04-02 16:51:09 -07:00
karlt+@karlt.net
93bac793c7 Restore font-family order to that before b=425367 change to see if that fixes reftest failures for bugs/414123.xhtml and mathml/mi-mathvariant-1.xhtml. 2008-04-02 15:32:23 -07:00
karlt+@karlt.net
91be54bfca Add mathfontSymbol.properties for SymbolMT on MS Windows b=425367 r=pavlov 2008-04-02 14:06:17 -07:00
karlt+@karlt.net
97f891eee3 Correction to mroot width calculation. b=363240 r+sr=roc 2008-03-27 15:47:08 -07:00
dbaron@dbaron.org
9c126b98d3 Fixing asymmetry between what timeless landed for bug 394114 and what he backed out. 2008-03-19 15:05:04 -07:00
timeless@mozdev.org
7f880e43ef reverting, wrong patch, missing AMBIGUOUS 2008-03-19 14:55:22 -07:00
karlt+@karlt.net
505beb8a80 Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc 2008-03-17 22:57:35 -07:00
karlt+@karlt.net
5884286933 Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc 2008-03-17 22:26:05 -07:00
karlt+@karlt.net
284cf48bcc Add GetIntrinsicWidth for <msqrt>. b=363240, r+sr=roc 2008-03-17 22:06:23 -07:00
karlt+@karlt.net
8e9dd540d2 Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc 2008-03-17 21:52:48 -07:00
karlt+@karlt.net
0892bc75ee Only change the style of default mathvariant <mi> elements to italic when there is a corresponding italic Mathematical Alphanumeric Symbol. Accept non-BMP characters in nsMathMLOperator::LookupInvariantChar. Update the mathvariant entries in mathfont.properties from PUA characters to their Plane 1 Unicode assignments (remainder of bug 289938). b=413115, r+sr=roc. 2008-03-15 19:10:47 -07:00
karlt+@karlt.net
15c6fd9ec5 GetIntrinsicWidth for mroot, mfenced, and mfrac. b=363240, r+sr=roc 2008-03-13 22:02:49 -07:00
karlt+@karlt.net
b847a2fa96 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
c40712b247 Remove some unused nsGlyphTable methods. b=363240, r+sr=roc 2008-03-12 21:50:44 -07:00
jruderman@hmc.edu
8ddee95952 Add crashtest 2008-03-08 22:32:28 -08:00
karlt+@karlt.net
c19aa8c610 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
4239d125f2 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
04e4c0cf75 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
95709cc2cb 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
6620201b36 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
22ce9740ca 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
a1addf3d24 Include lspace and rspace in GetIntrinsicWidth. b=363240 r+sr=roc 2008-02-27 02:47:43 -08:00
karlt+@karlt.net
0dca8ec26b Get*Width for nsMathMLContainerFrame base class. b=363240 r+sr=roc 2008-02-27 02:45:36 -08:00
karlt+@karlt.net
b3c6d94201 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
05cdb6aefe Bug 73353: Clean up our MODULE/REQUIRES story. rs=dbaron, a=brendan 2008-02-18 00:50:04 -08:00
roc+@cs.cmu.edu
2b3bbf64c1 Bug 412237, reenable test 2008-02-06 20:10:27 -08:00
roc+@cs.cmu.edu
e2f32405c1 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
b00bc2f499 Add a crashtest 2008-02-03 21:16:01 -08:00
jruderman@hmc.edu
c2c0c29473 Add crashtest 2008-02-03 21:13:22 -08:00
jruderman@hmc.edu
626e9f08b3 Adding crashtest 2008-02-03 21:11:01 -08:00
jruderman@hmc.edu
1cc0694981 Add a crashtest 2008-02-03 21:06:38 -08:00
karlt+@karlt.net
3d9fa6f96f 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
6fa17badf2 Backing out bug 412237 due to regression test failure 2008-01-29 16:40:59 -08:00
roc+@cs.cmu.edu
768c34fbee Test for bug 412237 2008-01-29 15:36:56 -08:00
roc+@cs.cmu.edu
359ee889ac 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
a32c23f7bd adding a crashtest 2008-01-27 00:14:25 -08:00
mats.palmgren@bredband.net
d3ac2bc0d6 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
e8fd861ee3 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
aa74ff0ce7 Add crashtests 2008-01-23 17:19:33 -08:00
jruderman@hmc.edu
a187f1fa85 Add a crashtest 2008-01-20 16:14:29 -08:00
karlt+@karlt.net
84a1f3c5da 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
82beb0f671 Add a crashtest 2008-01-17 16:43:25 -08:00
reed@reedloden.com
9acee9b20c 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
feaf246642 fix bustage 2008-01-14 17:28:42 -08:00
roc+@cs.cmu.edu
19e85a430b Crashtest for bug 405271. 2008-01-14 17:15:35 -08:00
roc+@cs.cmu.edu
882531568d 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
c4c54cec33 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
7045f422c0 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
56585705fe 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
def6bdfe9f Add crashtest 2008-01-09 12:08:01 -08:00
roc+@cs.cmu.edu
ab982faa16 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
04c40a6aa8 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
96da482e7e backing out bug 355548 due to test failures 2008-01-08 15:11:27 -08:00
roc+@cs.cmu.edu
c816d4ca4f 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
5cd7ad82e5 Add crashtest 2008-01-06 15:31:14 -08:00
jruderman@hmc.edu
3a437aa385 Add crashtest 2008-01-05 22:25:06 -08:00
jruderman@hmc.edu
8948ca2ef4 Add a crashtest 2008-01-05 22:18:30 -08:00
jruderman@hmc.edu
62e6e91105 Add crashtests 2008-01-05 21:02:47 -08:00
jruderman@hmc.edu
9dcae4e386 Add crashtest for WFM assertion bug 2008-01-04 20:59:08 -08:00
karlt+@karlt.net
97b6f538a2 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
2a40d9c2e5 Make nsBoundingMetrics::operator+= handle empty bounds. b=410132, r+sr+a=roc 2008-01-02 20:32:12 -08:00
karlt+@karlt.net
e8c2e3f296 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
f9ee4eb39f 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
76a23fa3d5 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
7f6a3cf6f5 Set overflow area for nsMathMLContainerFrames. b=161155, r+sr=roc 2007-12-28 15:04:19 -08:00
karlt+@karlt.net
a7442043d8 Provide correct GetBounds() for nsDisplayMathMLCharForeground. Bug 161155 - Integrals appear clipped sometimes. r+sr=roc 2007-12-28 14:16:07 -08:00