Commit Graph

9543 Commits

Author SHA1 Message Date
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
Ehsan Akhgari
89c0d70d0d Test case for bug 558011; r=smontagu a=test-only 2011-02-08 21:50:51 -05:00
Ehsan Akhgari
a08aa31b93 Bug 629878 - Part 3: Test case; r=roc a=blocking-final+ 2011-01-31 20:06:20 -05:00
Ehsan Akhgari
deae53f1e4 Bug 629878 - Part 2: Do not scroll the selection into view when restoring the selection offsets for a text control after a reframe; r=roc a=blocking-final+
Previously, we used to scroll the text control's selection into view after a
reframe.  This had two problems: it was not precise (in case the selection was
modified by the mouse, for example), and it lead to problems such as bug 629878
if the control's frame was reconstructed because of the control being moved
inside the DOM.

This patch disables that behavior by wrapping the selection scroll function
into nsITextControlFrame::ScrollSelectionIntoView, so that APIs such as
setSelectionRange on the text control's content node can still call it
explicitly (since they actually need this behavior), but other callers of
nsITextControlFrame::SetSelectionRange (such as the nsTextEditorState
object's selection offset restoring mechanism) don't get this behavior as
an undesired side-effect.
2011-02-04 19:29:29 -05:00
Ehsan Akhgari
cbe552f50f Bug 629878 - Part 1: Save the scroll state for text controls the standard way; r=roc a=blocking-final+ 2011-02-04 18:28:38 -05:00
Ehsan Akhgari
86b83bcfc9 Bug 540360 - Split the borderhandling-rules-border.html reftest into multiple individual tests to prevent it from failing intermittently; r=bernd a=test-only 2011-02-03 16:39:31 -05:00
Marco Bonardo
aaac8f2d4c Backout bug 626602, follow-ups and conflicting bug 631388 due to Win Tp4 permaorange causing a=CLOSED TREE 2011-02-09 15:48:12 +01:00
Mark Banner
c0c160d3c4 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-09 09:40:26 +00:00
Serge Gautherie
19f67354d4 Bug 632408 - [SeaMonkey, Windows] mochitest-chrome: permanent "test_leaf_layers_partition_browser_window.xul | Leaf layers should form a non-overlapping partition of the browser window" failure, since landing; (Av1) Improve test code somewhat.
r=roc (a=test-only).
2011-02-09 10:35:25 +01:00
Mark Banner
fbfe3e1251 Non-IPC bustage fix from bug 626602 - unnecessary using namespace mozilla::plugins statement. r+a=bustage fix 2011-02-09 09:16:59 +00:00
Chris Jones
4e02e6218a Test for bug 623636. a=test-only 2011-02-09 02:32:34 -06:00
Matt Woodrow
503e41f4c8 Bug 632636: Initialize cond when we have needs-focus. r=cjones a=bustage 2011-02-08 18:09:00 -06:00
Chris Jones
e569db4f34 Bug 631388: Stop trying to center plugin images in their frames. r=roc a=a 2011-02-08 18:44:14 -06:00
Chris Jones
66c0a6b21b Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-08 18:44:14 -06:00