Commit Graph
373 Commits
Author SHA1 Message Date
Robert O'Callahan 3fd47b8d59 Bug 352093. Part 14: Make content IFRAMEs windowless. r=bzbarsky 2009-07-22 12:45:11 +12:00
Robert O'Callahan 8645bf4a36 Bug 352093. Part 12: Teach nsDocShell/nsDocumentViewer to deal with not having a widget 2009-07-22 12:45:10 +12:00
Timothy Nikkel 9ed46b25ee Bug 488242. Make iframes with semi-transparent backgrounds work correctly by painting all canvas background colors using a dedicated fallback background color display item. r+sr=roc 2009-07-04 21:30:59 +12:00
Timothy Nikkel 9316d948e3 Bug 493702. Paint subdocuments across iframe boundaries in print presentations when we don't have docshells. r=roc 2009-05-19 21:57:31 +12:00
Timothy Nikkel a290b322b4 Bug 492014. Wrap the display list for a subdocument in a wrapper which associates it all with the subdocument's owning element, so sorting-by-content doesn't try to reorder it. r=roc 2009-05-15 15:11:59 +12:00
Daniel Holbert 9e76962785 Bug 490909: Remove old layout debugging code, patch #2: remove 'VerifyTree' & related code. r+sr=dbaron 2009-05-12 12:03:09 -07:00
tn 20348c4160 Bug 490376 - Crash [@ nsDisplayList::GetBottom]; r=roc 2009-04-30 12:07:18 +02:00
tn 1223893e4b Bug 485275. Display fallback background color for non-root documents as necessary. r+sr=roc 2009-04-25 20:19:23 +12:00
Dão Gottwald e2cf35ea6a Backout bug 485275 (changeset 996c11579453) because of test failures 2009-04-18 10:53:27 +02:00
tn 26562bff79 Bug 485275 - trunk displays svg transformed foreign object html differently then 1.9. r+sr=roc 2009-04-18 09:11:29 +02:00
Jeremy D. Lea 500e189d56 Bug 431634 - Part 1 - clean up header pollution; r+sr=roc 2009-04-01 13:59:02 -08:00
Gordon P. Hemsley e77c01135f Bug 476295. Remove unused prescontext local. r+sr=bzbarsky 2009-02-03 10:40:38 -05:00
Daniel Holbert 4946ba5d24 whitespace-only: fix bad parameter-indentation in nsSubDocumentFrame::Reflow 2009-01-21 22:52:54 -08:00
Jeremy Lea 3e1e90f73a 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 2009-01-15 16:27:09 +13:00
Benjamin Smedberg 0f95227641 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.
2009-01-12 14:20:59 -05:00
Benjamin Smedberg 7a084ac404 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 991a16d8bc 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
Boris Zbarsky 1a3fb7c430 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 370a4d698b Backed out changeset 4e7a2d27d636: relanding Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-10-04 13:00:09 -07:00
L. David Baron f1f9e98ea0 Backed out changeset c1f6a55626be (bug 433616, part 2) because it probably caused a Windows XP performance regression. 2008-09-30 09:51:26 -07:00
Robert O'Callahan 9bd1db04a1 Relanding bug 433616 part 2 to see if it's the cause of a Tp regression 2008-09-30 14:45:02 +13:00
Boris Zbarsky 3d64b602b3 Backing out changesets 2ea77fa990af, 7d2d8869e73c, 93441e4f521e, 43d2ee100f3b, a2d84821ea71 to see whether they're causing the Windows Txul or Mac Tp regressions 2008-09-29 08:51:29 -04:00
Boris Zbarsky c61b8b8341 Bug 433616 part 2. Implement loading of external resource documents. r=jst, sr=roc 2008-09-28 15:15:22 -04:00
Robert O'Callahan 247c01e3bb Backing out bug 448830 2008-09-28 23:13:58 +13:00
Jeremy Lea 32d2314112 Bug 448830. Make nsIntRect/nsIntMargin/nsIntSize/nsIntPoint their own types so that we can catch errors by distinguishing pixels from appunits. r+sr=roc 2008-09-28 20:38:34 +13:00
Robert O'Callahan ab507b7a60 Backing out bug 448830 2008-09-26 13:10:26 +12:00
Jeremy Lea e2ebf884de Bug 448830. Make nsIntRect/nsIntSize/nsIntPoint/nsIntMargin separate types so we get appunit vs pixel typechecking. r+sr=roc 2008-09-26 10:42:19 +12:00
Robert O'Callahan bee2844b64 Bug 450930. Fire a DOM event when painting so that content and chrome can track what's being repainted. r=smaug,sr=dbaron 2008-09-18 21:47:21 +12:00
Boris Zbarsky 70c3181706 Bug 449362 - "Table border is rendered incorrectly when the table cell size changes due to javascript." [r+sr=roc] 2008-08-20 01:45:29 -05:00
Boris Zbarsky 3bf0823903 Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-11 09:38:43 +01:00
Dave Townsend 05260f3972 Backed out changeset eb6fda3be5bb 2008-08-10 17:15:00 +01:00
Boris Zbarsky e9a90efb27 Bug 113934. Backend and some minimal front end for dragging tabs between windows. r=gavin, r+sr=jst 2008-08-07 19:15:40 -04:00
d0d71e497c Bug 428156. Relanding. Make ComputeRepaintRegionForCopy handle non-moving frames that clip moving frames. r+sr=dbaron 2008-04-18 02:21:21 -07:00
be4d19b91e Bug 428156 backout 2008-04-17 04:52:32 -07:00
b5e378d3c9 Bug 428156. ComputeRepaintRegionForCopy needs to handle non-moving frames that clip moving content. r+sr=dbaron,a=beltzner 2008-04-17 01:15:14 -07:00
0dc23446a8 Bug 395609, r=roc+sicking, sr=sicking, a=beltzner 2008-03-21 04:18:10 -07:00
11d2e13d81 Bug 423436. Elements embedding SVG by reference don't resize if they depend on intrinsic percentage width/height. r+sr=dbaron@mozilla.com, blocking1.9=me 2008-03-18 17:11:01 -07:00
48ff81fdcc Back out Smaug's patch from bug 395609 due to a Txul regression. 2008-02-26 19:51:00 -08:00
c5e2cddf9b Bug 395609, r=roc, sr=sicking 2008-02-26 15:48:49 -08:00
e0921c8be4 Make sure that <frame>s don't fall through to nsLeafFrame sizing, unlike <iframe>s. Bug 414322, r+sr=dbaron, a=schrep. 2008-02-19 09:53:46 -08:00
aae98cd7c3 Reland 406686, tests went green apparently before picking up the backout. 2008-02-08 12:23:05 -08:00
e718afb64c Backout bug 406686 to determine cause of mochitest failures. 2008-02-08 11:07:21 -08:00
0bb5e5da79 Bug 406686, close popups on blur, this time with nullcheck, r=roc,sr=dveditz 2008-02-08 05:53:33 -08:00
9faadb69ab Backing out 406686 again 2008-02-06 18:19:12 -08:00
44af536888 Relanding bug 406686 2008-02-06 16:55:55 -08:00
052568c584 Attempt to fix orange by backing out 406686 2008-02-06 15:45:59 -08:00
1db03add6f Bug 406686, close popups on blur, r=roc,sr=dveditz 2008-02-06 13:12:00 -08:00
e8d12002c6 Bug 363391. nsSubdocumentFrame::Reflow should not call nsLeafFrame::Reflow directly because we don't want to call FinishAndStoreOverflow twice. patch by Andrew Smith, r+sr=roc 2008-01-20 18:03:08 -08:00
06c9f32689 Bug 395628 - ""ASSERTION: post-reflow queues not empty" with feed in <frame>" [p=mats.palmgren@bredband.net (Mats Palmgren) r=smaug r+sr=dbaron a=blocking1.9+] 2007-11-30 23:22:44 -08:00
b62a6edf53 Don't resize widgets to negative sizes. Bug 397871, r+sr=roc, a=beltzner. 2007-11-23 15:18:08 -08:00