Commit Graph

4020 Commits

Author SHA1 Message Date
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
8ffe1c08e4 Merge backout of changeset 046f5da25280 due to crash in layout/forms/test/ mochitests. 2009-01-13 17:47:38 -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
Daniel Holbert
5b26d7d11e Bug 465928 followup: correct typo in enum name - s/PERSERVE/PRESERVE/. No functional changes. r=roc 2009-01-13 12:28:28 -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
L. David Baron
a59b1cf8db Only run assertion checks in DEBUG builds. (Bug 472557) r=Waldo,bsmedberg 2009-01-13 11:50:40 -08:00
L. David Baron
5d6a678da1 Clean up CalcAvailWidth. (Bug 444928) r=bernd 2009-01-13 11:50:40 -08:00
Nick Kreeger
6373ae3766 Fixing Bug 454632 - Resizing tree widget always re-scrolls to current index. r=enndeakin,sr=bz. Patch by Stephen Lau <steve@grommit.com>. 2009-01-13 10:50:26 -08:00
Ehsan Akhgari
4d6f0e54b7 Bug 140759 - tree cell content is not aligned to the right when tree direction is right to left; r=roc,gavin sr=roc 2009-01-13 21:30:06 +03:30
Benjamin Smedberg
469b7ca86d Minor static-checking fixup: give a useful location for the "frame inherits from nsIFrame and nsISupports" warning, NPODB 2009-01-13 11:32:25 -05:00
Dave Camp
b18d454609 Backed out changeset 44890ee1d15f for leaks 2009-01-13 02:22:59 -08:00
Dave Camp
ca7e07e266 Bug 441359: Check script and css loads against the classifier. r+sr=jonas 2009-01-12 21:52:00 -08:00
Dave Camp
c5cf52ea8a Bug 463046: Network connectivity checking breaks running netwerk unit tests and mochitests with no connection. r=bz, r=jwalden 2009-01-12 21:52:00 -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
Jesse Ruderman
118aad7d87 Add crashtest 2009-01-12 16:24:44 -08:00
Benjamin Smedberg
08c8aadf40 Add a static analysis pass to verify that for any do_QueryFrame<Interface> there is an Interface::kFrameIID declared. NPODB, static-checking only.
--HG--
extra : rebase_source : 0bcfa5b446d0c19610d9d61dd7e281d3923c8736
2009-01-12 14:21:11 -05: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
Phil Ringnalda
b6fe1a7700 Builds are neccesary, even if you can spell necessary, and even in a CLOSED TREE 2009-01-11 00:46:35 -08: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
L. David Baron
931397a7d2 More tests for outside cases for rule 3. 2009-01-10 08:28:15 -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
Dave Townsend
0587e6973b Backed out changeset fe759e3fd895 from bug 469613 due to mochitest failures 2009-01-09 13:46:45 +00:00
Markus Stange
061513f78b Bug 469613 - Page scrolling by clicking the scrollbar track can get stuck if the page is very long, r+sr=roc 2009-01-09 10:05:24 +01: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
cca5e6840b Bug 430332. Defer nsTransformingTextRun::RebuildTextRun until the linebreaker has completely set up the break and capitalization data on the transformed text run. r=smontagu 2009-01-09 13:23:28 +13:00
Robert O'Callahan
ec55ad45cf Bug 440149. Don't break after empty text at the start of the line, even if we're past the available width. r=smontagu 2009-01-09 13:13:45 +13:00
Robert O'Callahan
28a011aa13 Bug 467481. Don't reorder the children of listboxbody frames using their ordinals. r+sr=bzbarsky 2009-01-09 13:11:30 +13:00
L. David Baron
c5748176c1 Make reftest test for assertions on individual tests. (Temporarily disabled until tinderboxes set up and manifests annotated.) (Bug 472557) r=Waldo 2009-01-08 13:50:21 -08:00
Mats Palmgren
6d4b0667d0 DEBUG: Make nsBlockFrame::List really print the overflow lines. b=472193 r+sr=roc 2009-01-08 22:17:53 +01:00
Uri Bernstein
def95c60da Set mMaintainRange to null when there is no selection. b=470212 r=mats sr=roc 2009-01-08 22:17:49 +01: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
John Daggett
a984a545e8 change crashtest for 472237 to use local font 2009-01-08 17:36:24 +09: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
L. David Baron
ae1b0746fd Split insert-rule-1 into two tests, each of which inserts only one rule, so that we can remove reftest-wait at the right time and make the test reliable. (Bug 472267)
--HG--
rename : layout/reftests/font-face/insert-rule-1.html => layout/reftests/font-face/insert-rule-1a.html
rename : layout/reftests/font-face/insert-rule-1.html => layout/reftests/font-face/insert-rule-1b.html
2009-01-07 14:37:01 -08:00
Robert O'Callahan
4659c94f44 Bug 472244. Flush out MozAfterPaint for previously painted areas before we go ahead and fire MozReftestInvalidate to test invalidation. Also make canvas.drawWindow take float parameters so we can more precisely specify the area to render when 'device pixels' don't match CSS pixel boundaries. r=dbaron,vlad 2009-01-07 21:31:36 +13:00
John Daggett
6e4652a0a0 Bug 472237 - check for null user font set before using. r+sr=dbaron 2009-01-07 13:45:41 +09:00
Jesse Ruderman
22cd32241d Add five crashtests 2009-01-06 16:47:56 -08: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
L. David Baron
ae71ba3f9c Change code for handling out-of-nscoord-range values from NS_NOTREACHED to NS_WARNING. (Bug 472218) r+sr=roc 2009-01-06 15:21:00 -08:00