Commit Graph

9556 Commits

Author SHA1 Message Date
Robert O'Callahan
f1081fb688 Bug 634232. Call WillEndTransaction/DidEndTransaction notifications for FrameLayerBuilder's temporary layer managers. r=tnikkel a=hardblocker 2011-02-20 19:28:00 -08:00
Timothy Nikkel
43c33da1e3 Bug 594596. Check the return value when creating a menu popup widget. r=roc a=roc 2011-02-21 13:00:48 -06:00
Olli Pettay
0ee7b9841d Bug 635434, dispatch to gKeyDownTarget using the right presshell, r=enn, f=masayuki, a=hardblocker 2011-02-21 18:39:21 +02:00
Jonathan Kew
6ac3bd15ff bug 622507 - snap popup menu's view position to device pixels. r+a=roc 2011-02-21 08:52:42 +00:00
Simon Montagu
f3795dcd86 Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc 2011-02-21 10:02:23 +02:00
Timothy Nikkel
97d427c363 Bug 633762. Only bail early if we have an async scroll pending so the ScrollTo call can update mDestination. r=roc a=roc 2011-02-20 14:03:32 -06:00
Matt Woodrow
260ec13425 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker. 2011-02-20 11:19:11 +13:00
Mike Shaver
4b8d36a579 backout of 6bad6cd2dded due to failure of test it added (a=backout-orange) 2011-02-19 11:08:39 -08:00
Matt Woodrow
24de18c7d0 Bug 635302: fix flipping logic to handle both single-buffered and double-buffered cases correctly. r=joe, a=hardblocker.
See also bug 635383 for improving this logic in the longer term.
2011-02-18 18:11:00 -08:00
Chris Jones
dd464c0e85 Bug 635191: If the object frame has gone away, there's no way to determine IsUpToDate(), so just dispatch the paint-finished event. r=roc a=b 2011-02-18 18:32:12 -06:00
Daniel Holbert
f281072fde Bug 596765, followup 2: Bail out of nsObjectLoadingContent::LoadObject for SVG-as-an-image documents (and re-enable reftest). r+a=roc 2011-02-18 23:55:39 -08:00
Peter Van der Beken
2552abd64a Fix for bug 633738 (quora.com bloats out of control (part 3)) - mark some known assertions caused by bug 439258. r=bz, a=jst. 2011-02-17 12:19:13 +01:00
Jonathan Kew
227dcbc692 Backed out changeset 26c7b580d5a2 (bug 622507) due to orange. a=backout 2011-02-18 09:46:27 +00:00
Jonathan Kew
9e3a051ec8 bug 622507 - snap popup position to device pixels, to avoid Bookmark menu size getting stuck. r+a=roc 2011-02-18 09:12:08 +00:00
Jonathan Kew
40c6145282 bug 631035 - tests for changing tab width. r=roc a=test 2011-02-18 09:08:23 +00:00
Jonathan Kew
84c34c9615 bug 631035 part 2 - optimize storage of tab widths. r+a=roc 2011-02-18 09:07:12 +00:00
Daniel Holbert
30c60be9d0 Bug 596765 followup: Disable plugin in svg-as-image test, since it's apparently unreliable (orange on linux64) and might not be testing correctly. a=orange 2011-02-17 23:25:11 -08:00
Daniel Holbert
ff37234560 Bug 596765 followup: Disable plugin instantiation in SVG-as-an-image. r+a=roc 2011-02-17 21:52:03 -08:00
Daniel Holbert
ad7aa54cec Bug 596765, patch 4: reftests for this bug. r+a=roc 2011-02-17 17:13:52 -08:00
Daniel Holbert
e110c6b795 Bug 596765, patch 3: Skip chunk of nsLayoutUtils::PaintFrame that's intended for root frames but gets triggered for foreignObjects in SVG-as-an-image. r+a=roc 2011-02-17 16:33:31 -08:00
Daniel Holbert
030fb02047 Bug 596765, patch 2: In nsSVGForeignObjectFrame::MaybeReflowFromOuterSVGFrame, don't mark kid as dirty if we know we're not going to reflow it. r+a=roc 2011-02-17 16:33:31 -08:00
Daniel Holbert
644a076704 Bug 596765, patch 1: Don't skip initial reflow for zero-sized svg foreignObject frames. r+a=roc 2011-02-17 16:33:30 -08:00
Matt Woodrow
4b549c1faf Backed out changeset 0d91127645a1 - Pushed wrong patch 2011-02-18 12:18:53 +13:00
Matt Woodrow
6fbaf9974d Bug 634366 - Remove broken CreateForNativePixmapSurface usage from CairoImageOGL. r=joe a=blocking2.0 2011-02-18 11:49:50 +13:00
Jim Mathies
d03eff2194 Bug 628949 - Update visible region / glass regions after we paint. r=roc a=2.0. 2011-02-17 15:42:39 -06:00
Olli Pettay
dede0b4d96 Bug 634291, use faster inline method for global object check, r=bz, a=beltzner 2011-02-17 11:50:23 +02:00
Justin Lebar ext:(%2C%20Ms2ger%20%3Cms2ger%40gmail.com%3E)
dfd1d01778 Bug 615501 - Make push/replaceState suppress the popstate-after-load event; r=sicking a=jst 2011-02-14 13:15:29 -08:00
Andreas Gal
867ed02473 Fix GC/CC scheduling (bug 630932, patch by gal/smaug, r=mrbkap). a=blocker 2011-02-16 15:47:12 -08:00
Matt Woodrow
9cb4fc37b6 Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc 2011-02-17 16:56:06 +13:00
Mark Banner
9489346a91 Bustage fix for the bustage fix for bug 626602. Namespace statement is required, so just ifdef it for IPC builds. r+a=bustage fix 2011-02-16 19:43:36 -06:00
Chris Jones
38233803ac Some tests for bug 626602. a=b landing on a CLOSED TREE 2011-02-16 16:43:31 -06:00
Chris Jones
2feec67e7c Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-16 16:43:31 -06:00
Robert O'Callahan
7344c3c89b Bug 626602. Part 4: Make the display items behind a plugin that needs readback be as visible as we can. r=tnikkel 2011-02-16 16:43:30 -06:00
Robert O'Callahan
354fb935c8 Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-16 16:43:30 -06:00
Neil Rashbrook
a72ae3b0a1 Bug 616812 Remove extraneous CRs r+a=dbaron 2011-02-16 21:39:52 +00:00
Ehsan Akhgari
dbd378e898 Bug 633044 - Special case empty text frames to position the caret at the correct position; r=roc a=blocking-final+ 2011-02-15 01:11:18 -05:00
timeless@mozdev.org
987ebea9dd Bug 620416 - hopefully useless null check of aCol in nsTreeBodyFrame::GetCellAt
r=enn a=dbaron
2011-02-16 14:14:20 +01:00
timeless@mozdev.org
1278fea739 Bug 620259 - add fall through comments to nsTableCellMap::SetNotTopStart and rename to nsTableCellMap::ResetTopStart
r=bernd a=dbaron
2011-02-16 14:14:18 +01:00
timeless@mozdev.org
c8cc4b3ae6 Bug 587484 - warning: suggest parentheses around assignment used as truth value in while (... = GetNextContinuation())
r+a=dbaron
2011-02-16 14:14:14 +01:00
timeless@mozdev.org
b6f0d48e50 Bug 620413 useless check of stopFrame in nsSVGGradientFrame::GetStopInformation
r=longsonr a=dbaron
2011-02-15 23:53:02 -08:00
timeless@mozdev.org
a602a2c382 Bug 617749 useless null check in nsSVGGlyphFrame::IsAbsolutelyPositioned
r=jwatt a=dbaron
2011-02-15 23:52:55 -08:00
Matt Woodrow
488e30f398 Bustage fix (forgot to qref). r=jst, a=bustage 2011-02-15 21:48:01 -08:00
Matt Woodrow
662d11c11f Bug 591687. Disable emtpy transactions with mac plugin layers. r=roc, a=blocker. 2011-02-15 21:25:34 -08:00
timeless@mozdev.org
7a3c914e20 Bug 620312 crash [@ nsTableFrame::InsertCol] because lastColGroup guard did not cover lastColGroup->GetColCount() r=bernd a=dbaron 2011-02-15 19:35:52 -05:00
Justin Dolske
9b24f36cf1 Bug 613800 - A Race Condition when closing inactive tab with alerts in OnBeforeUnload; r=jst a=blocking-final 2011-02-15 19:35:28 -05:00
Ehsan Akhgari
fac91c123b Disable the test for bug 632781 for all Windows platforms because apparently layersGPUAccelerated is not what we expect it to be on Windows XP; r=joe a=bustage 2011-02-15 17:51:19 -05:00
Rich Walsh
bc424b4fe8 Bug 530012 - [OS/2] build break in nsPresArena.cpp; r=wuno a=dbaron
--HG--
extra : rebase_source : a64adf531e9132c583419def72c712fc345774d7
2011-02-15 17:10:16 -05:00
Ehsan Akhgari
bf21e11e23 Bug 634153 - Back out the changes in bug 355178 because of known regressions and possible risk of not-yet-known regressions; r=sicking a=johnath
--HG--
extra : rebase_source : 4d77b7503991a3399cd6eecbcffb994b16fed43c
2011-02-15 17:04:44 -05:00
Chris Jones
be71251a17 Bug 631575: Clear the old window when setting a new document, and re-enable tests disabled in bug 631359. r=roc a=a 2011-02-15 15:45:02 -06:00
Chris Jones
4c62c14fe1 Bug 631585: Don't try to create plugin widgets in content processes, it's never going to work. r=tn a=a 2011-02-15 15:45:02 -06:00
Daniel Holbert
99a50a3910 Bug 596478: delay nsImageFrame's IsPercentageAware check until after we've lazily initialized mIntrinsicSize. r=roc a=dbaron 2011-02-15 13:34:52 -08:00
Boris Zbarsky
2b4d3f034f Bug 629908. Don't blindly try to reconstruct the root element; we might not have one. r=dbaron, a=dbaron 2011-02-15 15:51:33 -05:00
Ehsan Akhgari
0592088281 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
Ehsan Akhgari
42ecdcdea2 Back out changeset f3d13890fbe3 because of Windows reftest orange; a=orange
--HG--
extra : rebase_source : c7e2bdd935612251477b264ba64c65531916d0a3
2011-02-15 13:30:33 -05:00
Ehsan Akhgari
e4734bc273 Bug 632781 - Scroll non-accelerated canvases correctly with the content; r=matt,joe,roc a=blocking-betaN 2011-02-14 18:23:50 -05:00
bzbarsky@mit.edu
c4b8ded51b Bug 633413, don't bfcache so often, part 1, r=smaug
--HG--
extra : rebase_source : d30d8346c5f2526518386c895146ca6107b924fd
2011-02-12 01:12:20 -05:00
Mark Finkle
3714a4d2b3 Bug 629475 - Regression: displayport takes longer to refresh [r=cjones a=blocking-fennec] 2011-02-14 17:49:34 -05:00
Fernando Herrera
64e4589d37 Bug 630194 - Make sure accessibility is notified for all lazily generated frames, r=surkov, sr=bz, a=final+ 2011-02-14 17:39:59 +08:00
Simon Montagu
26ecc69649 Test for bug 632379, r=ehsan, a=test 2011-02-13 23:56:24 -08:00
Benoit Girard
156483e4f4 Disable OSX Plugin Layer due to regression b=633826 r+a=josh,bustage
--HG--
extra : rebase_source : 3fb0ff372479b9b6fbcb7246747bf5d769c66361
2011-02-13 21:54:33 -05:00
Simon Montagu
8e5a76d4bc Set the position of the childRect in nsXULScrollFrame::LayoutScrollArea before calling Layout. Bug 632379, r=dbaron, a=blocker 2011-02-13 08:38:29 +02:00
Matt Woodrow
5cacf25656 Bug 591687: Create MacIOSurfaceImages for Core Animation plugins. r=roc r=josh a=blocking2.0betaN+ 2011-02-12 11:09:03 -05:00
Matt Woodrow
aaef3ddcc5 Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 11:07:10 -05:00
Matt Woodrow
d6a75cf690 Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 10:55:40 -05:00
Jonathan Kew
36ed20e7c6 bug 633322 - ensure GetDetailedGlyphs() is not called when glyph count is zero. r=roc a=blocking 2011-02-11 22:05:09 +00:00
Benjamin Smedberg
8934cfcee3 Bug 626768 - Add a runtime-abort for recursive layout module initialization, because it is somewhat likely that bugs of this sort could cause the later runtime abort where the cycle collector cannot get the JS runtime service r=bent a=blocker 2011-02-11 16:01:02 -05:00
Olli Pettay
1a941e311f Backout Bug 630932, a=backout, we need Bug 614347 2011-02-11 18:33:50 +02:00
gal@uci.edu
7a64b61491 Bug 630932, change CC/GC scheduling, r=smaug, a=blocker 2011-02-11 17:12:47 +02:00
Jonas Sicking
16a77cbfa9 Bug 583889: Prevent scrolling from leaking information. r=dbaron a=blocker 2011-02-10 23:46:59 -08:00
Vivien Nicolas
ba32fd6a8e Fix spurious NS_WARNING by adding missing return. (Bug 632802) r=dbaron a2.0=dbaron 2011-02-10 15:21:07 -08:00
Robert O'Callahan
b9be837d8c Bug 622542. Remove unused FrameLayerBuilder::InvalidateAllThebesLayerContents API. r=tnikkel a2.0=blocking 2011-02-10 15:21:07 -08:00
Mats Palmgren
e39778e78a Bug 629823 - Assert that the root view size is in sync with the pres context visible size. r=tnikkel a=roc 2011-02-10 23:38:37 +01:00
Mats Palmgren
d82610cf02 Bug 631337 - Cannot resize the window using the corner resizer when body is position:relative. r=roc a=blocking2.0:final 2011-02-10 23:38:37 +01:00
Ehsan Akhgari
981256b0b6 Tests for bug 632215; r=roc a=blocking-final+
--HG--
extra : rebase_source : 0efdc19b409e8dcde458fd8f019b06e8396e1269
2011-02-10 16:23:09 -05:00
Ehsan Akhgari
afb9868f71 Bug 632215 - Make the caret ignore -moz-user-modify if we ask it to immediately, instead of waiting for the next caret paint timer; r=roc a=blocking-final+
--HG--
extra : rebase_source : 3595e03c255a6f348b97bc4e340d271733ccacbb
2011-02-10 16:12:53 -05:00
Ehsan Akhgari
d1ae4c4539 Bug 633210 - Single hyphens are marked as spelling mistakes; r=smaug a=beltzner
--HG--
extra : rebase_source : 76821671b08b0727c6131b10e45c9a24b1984509
2011-02-10 12:07:31 -05:00
Timothy Nikkel
06871ed079 Bug 631848. Make sure to invalidate when removing the root view of a document when it is moving into the bfcache. r=roc a=blocking 2011-02-07 12:51:54 -06:00
Simon Montagu
27a58b9636 Mark failing reftest as random-if(cocoaWidget), a=bustage 2011-02-07 13:02:01 +02:00
Simon Montagu
e5ed17c7d6 Bug 508816 - layout patch 2011-02-07 09:59:20 +02:00
Simon Montagu
8847abc54d Tests for bug 508816, from dbaron and Enn 2011-02-07 09:59:20 +02:00
Ehsan Akhgari
21e824997d Bug 508816 - Part E3: XUL and HTML reftests 2011-02-07 09:59:20 +02:00
Boris Zbarsky
3693ed3012 Bug 631682. Make sure to start background image loads for the root element when we compute its style and decide to construct a frame. r+a=dbaron 2011-02-04 22:43:13 -05:00
Ehsan Akhgari
e9c8c28aa7 Test case for bug 447749; r=smontagu a=tests 2011-02-04 19:35:57 -05:00
Zack Weinberg
59157fdf7c Bug 631615: suppress CSS parser diagnostics in ParseSelectorString. r=dbaron a2.0=dbaron 2011-02-04 14:17:00 -08:00
Jonathan Kew
c4c9f2d9e9 bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner 2011-01-05 21:48:48 +00:00
Robert O'Callahan
9fa8b97779 Bug 625672. Part 2: Build temporary layer manager to render inactive layers after we've recomputed visibility. r=tnikkel,a=blocker 2011-02-10 21:58:11 +13:00
Robert O'Callahan
1b7daf04ad Bug 625672. Part 1: Fix scrolling tests to actually test stuff correctly. r=dbaron 2011-02-10 21:58:11 +13:00
Robert O'Callahan
10b03b2af2 Bug 618722. Test. 2011-02-10 21:58:11 +13:00
Robert O'Callahan
28603731b2 Bug 618722. background-attachment:fixed display items rendered via temporary layer managers can't have their scrolling taken care of via the layer system, so make sure we invalidate them when we scroll in their document. r=tnikkel,a=blocker 2011-02-10 21:58:11 +13:00
Jonathan Kew
1002db5143 bug 631035 part 1 - optimize storage of DetailedGlyph records. r=roc a=blocking2.0 2011-02-10 06:50:47 +00:00
Daniel Holbert
f4407944ad Bug 632754: Annotate svg-as-an-image reftests that fail on d2d as 'fails-if', not 'random-if'. r=roc a=tests 2011-02-09 22:23:19 -08:00
Timothy Nikkel
9336a81739 Bug 629587. Don't try to scroll based on scrollbar attributes if they represent the current scroll position. r=roc a=blocking 2011-02-09 22:35:01 -06:00
Josh Aas
e2dffb6660 Bug 556873: Fix bugs in our secure input implementation for Mac OS X. More reliably enable and disable secure input mode. r=masayuki a=jst 2011-02-09 14:00:58 -05:00
Ehsan Akhgari
63db96751b Bug 355178 - Part 3: Work around the reftest failure by turning spell checker off; r=roc a=test-only 2011-01-28 14:46:37 -05:00
Ehsan Akhgari
9ddb3f7785 Bug 355178 - Don't break words on hyphens before passing them to hunspell, as it can handle word breaking on hyphens on its own; r=smaug f=Pike a=beltzner 2011-02-08 21:50:51 -05:00
Alon Zakai
5eea332ea1 Bug 610670 - Reuse a single puppet widget. r=bz,cjones a=blocking-fennec 2011-02-09 12:13:18 -08:00
Daniel Holbert
e6da31ef61 Bug 614649, patch 3: Add new comprehensive reftests for SVG-as-an-image w/ no viewBox. r=jwatt a=tests
--HG--
rename : layout/reftests/svg/as-image/img-height-meet-1-ref.html => layout/reftests/svg/as-image/img-novb-height-all-1-ref.html
rename : layout/reftests/svg/as-image/img-height-meet-1.html => layout/reftests/svg/as-image/img-novb-height-meet-1.html
rename : layout/reftests/svg/as-image/img-height-slice-1.html => layout/reftests/svg/as-image/img-novb-height-slice-1.html
rename : layout/reftests/svg/as-image/img-width-meet-1-ref.html => layout/reftests/svg/as-image/img-novb-width-all-1-ref.html
rename : layout/reftests/svg/as-image/img-width-meet-1.html => layout/reftests/svg/as-image/img-novb-width-meet-1.html
rename : layout/reftests/svg/as-image/img-width-slice-1.html => layout/reftests/svg/as-image/img-novb-width-slice-1.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1-ref.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-all-1-ref.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-meet-1-em.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-meet-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-meet-1-px.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-em.html
rename : layout/reftests/svg/as-image/img-widthAndHeight-slice-1.html => layout/reftests/svg/as-image/img-novb-widthAndHeight-slice-1-px.html
2011-02-09 12:13:18 -08:00
Daniel Holbert
0f580ba819 Bug 614649, patch 2: Tweak/repurpose some existing svg-as-an-image reftests, in light of their (intentionally) different rendering as a result of this bug's patch. r=roc a=tests
--HG--
rename : layout/reftests/svg/as-image/squaredCircle-viewBox-100x100.svg => layout/reftests/svg/as-image/squaredCircle-100x100.svg
rename : layout/reftests/svg/as-image/squaredCircle-viewBox-100x100.svg => layout/reftests/svg/as-image/squaredCircle-100x50.svg
2011-02-09 12:13:18 -08:00
Daniel Holbert
0c4aab88d6 Bug 614649, patch 1: In SVG-as-an-image with no viewBox, use height & width attrs on <svg> to dynamically synthesize a viewBox. r=jwatt a=roc 2011-02-09 12:13:18 -08:00
Ehsan Akhgari
9439003876 Bug 629878 - Followup to fix build bustage; a=bustage 2011-02-09 14:34:56 -05:00