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
L. David Baron
5761253324
Fix warning with -Wshadow in nsMathMLTokenFrame (about childFrame). (Bug 477962) r=karlt
2009-02-18 17:13:24 -08:00
Jesse Ruderman
f154077a31
Add crashtests
2009-02-13 14:54:17 -08:00
Jesse Ruderman
c9eb6349ac
Add some crashtests
2009-02-10 16:36:04 -08:00
L. David Baron
be84876a13
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
829f9f024a
Bug 474369 - get rid of nsVoidArray; layout part; r+sr=roc
2009-02-03 15:42:18 +01:00
L. David Baron
f8774a93ef
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
9f4f82f532
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
7d5761cdfa
Bug 461047 - Replace nsStringArray with nsTArray<nsString>. r+sr=roc
2009-01-18 21:14:14 +01:00
Robert O'Callahan
1a9b00de4e
Backed out changeset 8019a959aade
2009-01-16 22:20:33 +13:00
Fred Jendrzejewski
b79ad6fa55
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
24e7cb1f78
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
50621e4f9f
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
d0b948876f
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
57a8e776d8
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
23d4f4d4b2
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
4c0c6a9460
Bug 462763 - more MathML crashers. r+sr=roc
2008-12-11 14:08:35 -05:00
L. David Baron
c95d61afc0
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
bbe7e1d08a
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
b1918bb2c3
Bug 462381 - Build layout directories in parallel r=ted sr=roc
2008-10-31 09:07:15 -07:00
Zack Weinberg
2f1c365c3d
Bug 416907 - Crash [@ nsHTMLFramesetFrame::Reflow] with frameset in mroot; r+sr=roc
2008-10-30 18:10:19 +01:00
Jesse Ruderman
6a8f907cca
Add crashtest for bug 443089
2008-09-25 14:57:35 -07:00
Zack Weinberg
a64209d05b
Bug 456792 - Two more API cleanups for nsCSSRendering; patch 1; r+sr=roc
2008-09-25 17:53:27 +02:00
Zack Weinberg
7687ccc76b
Bug 456152 - slight API cleanup for nsCSSRendering::PaintBackground; r+sr=roc
2008-09-24 06:07:22 +02:00
Frédéric WANG
894d1d2475
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
0f68a207ca
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
c9153c98a8
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
59302b51ac
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
8346cb9495
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
7e15def36c
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
7e868a56e1
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
6382ad7c40
Backing out text-shadow due to Mac issues
2008-06-12 17:32:31 +12:00
Michael Ventnor
480a40574d
Implement text-shadow rendering.
2008-06-12 14:34:40 +12:00
jruderman@hmc.edu
124627becd
Add crashtest
2008-04-22 21:31:40 -07:00
jruderman@hmc.edu
133ff9cb7f
Adding crashtest.
2008-04-22 21:25:47 -07:00
karlt+@karlt.net
bd2e0ff50c
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
9d594ffd95
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
c0113e4cfb
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
2901e3ff19
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
8e0f78b813
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
8148702754
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
a61a79ef31
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
9e8a95a7f8
Add mathfontSymbol.properties for SymbolMT on MS Windows b=425367 r=pavlov
2008-04-02 14:06:17 -07:00
karlt+@karlt.net
ff916b3fa4
Correction to mroot width calculation. b=363240 r+sr=roc
2008-03-27 15:47:08 -07:00
dbaron@dbaron.org
f31447da64
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
f33eb4a3b4
reverting, wrong patch, missing AMBIGUOUS
2008-03-19 14:55:22 -07:00
karlt+@karlt.net
ada80919ce
Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc
2008-03-17 22:57:35 -07:00
karlt+@karlt.net
6c6cd3ed3e
Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc
2008-03-17 22:26:05 -07:00
karlt+@karlt.net
11f89ddd6a
Add GetIntrinsicWidth for <msqrt>. b=363240, r+sr=roc
2008-03-17 22:06:23 -07:00
karlt+@karlt.net
e4c30bc0d5
Move Place() from nsIMathMLFrame to nsMathMLContainerFrame b=363240, r+sr=roc
2008-03-17 21:52:48 -07:00
karlt+@karlt.net
7647ac9bdc
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
5deea10aba
GetIntrinsicWidth for mroot, mfenced, and mfrac. b=363240, r+sr=roc
2008-03-13 22:02:49 -07:00