Commit Graph

979 Commits

Author SHA1 Message Date
L. David Baron
5293f77173 When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky 2009-01-16 13:32:09 -08:00
L. David Baron
76872659c8 Don't suppress use of overridden virtual destructors, so we fix the appearance of a leak in the leak statistics. (Bug 473548) r+sr=roc 2009-01-16 13:32:09 -08:00
L. David Baron
286c54a127 Recheck media queries when changing text zoom since em units have changed. (Bug 473400) r+sr=bzbarsky 2009-01-16 13:32:08 -08:00
Clint Talbert
079c222900 Bug 457324 Partial Backout - Remove the CSS Transform mochitests from running due to leaks on Windows r=dholbert 2009-01-16 14:44:22 -06:00
Clint Talbert
960f11519e imported patch bug435293-csstransform-tests 2009-01-16 12:52:24 -06: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
Boris Zbarsky
833d1664d3 Adding some tests 2009-01-15 14:49:33 -05:00
Jeremy Lea
1800930122 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint different types from nsRect/nsMargin/nsSize/nsPoint different types for better compile-type unit checking. r+sr=roc
--HG--
extra : rebase_source : a331a9e49fbc5931f546919281fcca7f008ab615
2009-01-15 16:27:09 +13:00
Brian Birtles
adf1d4fa7c Bug 216462: Add support for basic SVG animation (SMIL). Disabled in builds by default. r+sr=roc 2009-01-14 20:38:07 -08:00
Olli Pettay
7bf054d872 Bug 472730, window.sizeToContent() causes hang & full CPU usage, due to extreme recursion, r+sr=dbaron 2009-01-14 22:42:25 +02:00
Peter Van der Beken
50a423af1a Merge backout. 2009-01-14 15:13:37 +01:00
Peter Van der Beken
84d3eabc50 Back out changeset 9fd8740decb8 (Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles).) to try to fix orange. 2009-01-14 15:12:37 +01:00
Robert Kaiser
469b9879fd bug 472813 - Remove SeaMonkey workaround for test_bug465448.xul, r=roc 2009-01-14 14:48:22 +01:00
Boris Zbarsky
00e66d09cf Bug 453736. Make <svg:script> more like other scripts and fix up a few other minor issues. r=roc, r+sr=sicking 2009-01-14 07:49:18 -05:00
Peter Van der Beken
4189af9d67 Fix for bug 471126 (leak content nodes (and sometimes dom windows) after clicking on nytimes.com articles). r=bent, sr=bz. 2009-01-14 13:24:10 +01:00
Dan Fabulich
b3132f8800 b=347174, implement document.readystate == 'complete'; r=sicking 2009-01-09 09:12:09 -08:00
L. David Baron
5a8f68315b Backed out changeset 046f5da25280 due to crash in layout/forms/test/ mochitests. 2009-01-13 17:47:03 -08:00
L. David Baron
54c0fed0d2 When re-resolving style, re-resolve root in undisplayed map too. (Bug 473042) r+sr=bzbarsky 2009-01-13 11:50:41 -08:00
John Daggett
f9e721b5df Bug 465452 - better handling of format hints for downloadable fonts. r=dbaron. 2009-01-13 14:16:58 +09: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
L. David Baron
f493486819 Address my own review comment: Restore IsTransparent() check, which should restore old behavior for background-images when printing backgrounds is disabled. (Bug 456219) r=zwol 2009-01-10 08:37:01 -08:00
Mats Palmgren ext:(%2C%20L.%20David%20Baron%20%3Cdbaron%40dbaron.org%3E)
b06807d54b Put the root element in the undisplayed map so that we reconstruct it when it has its 'display' changed from 'none' to something else. (Bug 283686) r+sr=bzbarsky 2009-01-10 08:28:15 -08: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
Michael Ventnor
318cfd2e10 Bug 472410. Don't adjust selection colors if the background is a -moz-appearance that we can't know anything about. r+sr=roc 2009-01-09 13:29:38 +13:00
Zack Weinberg
dacf4ab104 Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc 2009-01-09 13:28:32 +13:00
Robert O'Callahan
6b943be957 Backed out changeset 5041ce453104 2009-01-08 23:19:21 +13:00
Zack Weinberg
25f522098f Bug 456219. Fix clipping to padding-rect with rounded corners. r+sr=roc
--HG--
extra : rebase_source : ec710fd6f83332fcecaa926b1f0ec07e4d2e3635
2009-01-08 21:10:21 +13:00
Robert O'Callahan
f708c8026e Bug 425981. Make first-letter frame wrapping build its own frame constructor state to ensure it's for the correct place in the frame tree. r+sr=bzbarsky
--HG--
extra : rebase_source : 7dd5de3f6b2a9e83994d7023d4cfafce205e9376
2009-01-08 21:07:51 +13:00
Boris Zbarsky
95874e95d3 Bug 472500. Allow generated content on XUL frames. r+sr=roc 2009-01-07 18:22:08 -05:00
Boris Zbarsky
835c17ffde Bug 472501. Add XUL namespace checks in some more places where they're needed, and make the XBL suppression of child frame processing work for all frames, not just XUL. r=enndeakin, sr=roc 2009-01-07 18:22:05 -05:00
Boris Zbarsky
709cd54c51 Bug 284320. Remove the contentParentFrame hack in subdocument frames, along with the no-longer-used arg it used to be used for. r+sr=roc 2009-01-06 17:29:50 -05:00
Boris Zbarsky
6925343822 Bug 472322. Don't treat non-XUL listboxbody/listitem specially in XUL frame construction. r=enndeakin, sr=roc 2009-01-06 14:18:04 -05:00
Boris Zbarsky
1ce2a69367 Bug 437366. Make sure to not paint black-on-black in dark high-contrast themes when 'Allow pages to use their own colors' is unchecked and the page tries styling a form control. r+sr=dbaron 2009-01-06 14:17:05 -05:00
Boris Zbarsky
7663cfbf76 Bug 291854. Push float containing blocks inside ProcessChildren. r+sr=roc 2009-01-05 20:54:32 -05:00
Robert O'Callahan
b4af72fc54 Bug 471365. Make reftest-wait tests track invalidation via MozAfterPaint and repaint the invalid areas like normal window repaining would. This makes invalidation-related bugs testable. r=dbaron 2009-01-06 14:15:13 +13:00
Boris Zbarsky
60aefffa14 Bug 472138. Push CreateAnonymousFrames into ProcessChildren. r+sr=roc 2009-01-05 17:25:33 -05:00
Boris Zbarsky
e240a880db Bug 472138. Eliminate unused or unnecessary CreateAnonymousFrames args. r+sr=roc 2009-01-05 17:25:31 -05:00
Olli Pettay
d30fae3581 Bug 457862 - onresize events should fire at every resize while resizing the window, r+sr=dbaron 2009-01-05 18:26:59 +02:00
Michael Ventnor
2d49b62ed7 Bug 445741. Round rects consistently to avoid a gap between an element and its shadow. r+sr=roc
--HG--
extra : rebase_source : dbb4ae33812db8167650dcc218f0bd4a3e0f3dc2
2009-01-05 13:41:01 +13:00
Robert O'Callahan
7b82035873 Bug 465448. Perform sanity check to avoid resizing a window smaller than the content area we're trying to achieve. r+sr=bzbarsky
--HG--
extra : rebase_source : 57e7e4e95ec2c100b8ceaa66864f6dfb5ba1cc86
2009-01-05 13:39:40 +13: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
87389f6007 Remove TestSpaceManager. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
L. David Baron
82d6666100 Remove the VerifyReflow code that checked the space manager state. (Bug 191448) r+sr=roc 2009-01-04 14:52:38 -05:00
L. David Baron
3b375b5c0b Fix assertion in bug 468645, per bzbarsky's followup review comment. r+sr=bzbarsky 2009-01-04 14:52:38 -05:00
L. David Baron
9b5ab1b7c2 Forgot to rev IID in bug 468645 (changeset efbec418c3a1). 2009-01-04 14:52:38 -05:00
L. David Baron
b3d748ba11 Fix some missed renames from bug 471356. r+sr=bzbarsky 2009-01-04 14:52:38 -05:00
Olli Pettay
4055e86a98 Bug 471883 - Gesture events should be dispatched to the element under mouse, not to document. r+sr=roc 2009-01-03 14:40:26 +02:00
Serge Gautherie
3345c79902 Bug 469331 - [SeaMonkey] test_bug458898.html fails; (Cv1) Report the (failing) values; r=dbaron 2009-01-03 08:27:27 +01:00