Commit Graph

9751 Commits

Author SHA1 Message Date
Vivien Nicolas
edaa05f5dd Add start/end attributes support to StackFrame [r=enndeakin,a=blocking-fennec] 2011-02-28 19:06:29 +01:00
Jesse Ruderman
3b3b006244 Bug 386690 - add crashtest. a=NPOTB 2011-02-27 21:12:29 -08:00
Karl Tomlinson
c027046942 test for bug 634556 a=test
--HG--
extra : transplant_source : %F919%0D%5C%FC%06%87%21.%7C9%A2%A5%14%CCe%EC%9A%C0
2011-02-28 08:32:08 +13:00
Joel Maher
d8a540587e Bug 636641 remote reftest needs better logic for automatically building the remote manifest. r=ctalbert, a=NPOTB 2011-02-26 13:19:56 -05:00
Matt Woodrow
5a9d39c5e9 Bug 629857 - When invalidating transformed items, round the original area out to the nearest pixel. r=roc a=roc 2011-02-25 11:55:23 +13:00
Joel Maher
2f3d0b881d Bug 636450 - add a --host-os option for remote testing scripts. r=ctalbert, a=NPOTB 2011-02-24 14:45:42 -05:00
Boris Zbarsky
0685bcc521 Bug 635286. Fix dynamic handling of :not() inside :-moz-any(). r=dbaron, a=dbaron 2011-02-24 13:42:15 -05:00
Mats Palmgren
6d3f80df72 Bug 635405 - Zooming a windowless plugin frame can cause it to "bleed" outside its bounds. r+a=roc 2011-02-24 13:06:14 +01:00
Joel Maher
4e9688be42 Bug 632895 - Reftests on device cannot require 800x1000 window size. r=ctalbert, a=NPOTB 2011-02-23 14:38:59 -05:00
Joel Maher
d3c43fac0f Bug 629266 - org.mozilla.fennec is left running after dm.updateApp(). r=ctalbert, a=NPOTB 2011-02-23 14:38:56 -05:00
Chris Jones
2cbfd55a70 Bug 624636, part 2: Allow reftests to disable layers-sync-before-snapshot, in order to test "natural" widget repainting. r=roc a=a 2011-02-23 11:45:09 -06:00
Chris Jones
953b064187 Bug 624636, part 1: Allow reftests to override viewport+displayport. r=roc 2011-02-23 11:45:09 -06:00
Chris Jones
07f1b97335 Bug 635014: Don't draw a checkerboard behind undefined <browser remote> content in sync mode. r=tn a=a 2011-02-23 11:45:09 -06:00
Robert O'Callahan
20b9397753 Bug 630835. Make BuildLayer responsible for setting a visible region on the layer, and let FrameLayerBuilder only reduce it. r=tnikkel,a=blocking
This avoids problems with FrameLayerBuilder making the visible region bigger than we expected, invalidating CONTENT_OPAQUE flags set on the layer.
In particular, we had been using TransformBounds to compute the new visible region, and for non-axis-aligned transforms this gives us a visible
region which contains areas not actually painted by the layer contents.
2011-02-23 18:38:09 +13:00
Robert O'Callahan
8c2e30a98c Bug 634844. Part 2: Don't create a new Image in BuildLayer if we already have one. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Robert O'Callahan
afda29e271 Bug 634844. nsPluginInstanceOwner::IsUpToDate should not create an Image for the plugin. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Robert O'Callahan
134548e4e6 Bug 631388. Part 2: Don't let nsDisplayPlugin bounds depend on the ImageContainer's current image bounds, since that can change during display list processing. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Matt Woodrow
9e4273202b Bug 586683 - Disable test on mac r,a=orange 2011-02-09 13:06:31 +13:00
Mounir Lamouri
a69b1f71d9 Bug 633566 - Prevent the timer to be eaten alive by the GC. r=bz a=tests 2011-03-10 16:26:30 +01:00
Benjamin Stover
69c0a8afb5 Bug 634397 Setting displayport redraws entire displayport r=tn a=blocking-fennec 2011-03-09 10:39:43 -08:00
Doug Turner
eff01baa10 Backing out 99f6b3acc464 (bug 618975). Bug This caused a reftest crash. a=bustage 2011-03-08 22:02:50 -08:00
Benjamin Stover
6fd6388bc0 Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec 2011-03-08 21:28:18 -08:00
Matt Woodrow
61f60361f7 Bug 586683 - Followup test fix to address the orange on OS X; rs=roc 2011-02-08 18:06:05 -05:00
Boris Zbarsky
0e2f2b9189 Bug 631352. Changes to @lang need to restyle all descendants. r=dbaron, a=blocker 2011-02-08 16:30:57 -05:00
Matt Woodrow
1c93b50748 Bug 586683 - Part 5 - Add reftest for resolution handling. r=roc a=blocking2.0 2011-02-09 09:41:39 +13:00
Timothy Nikkel
3a7d2f48c0 Bug 622818. Don't clip fixed backgrounds to the viewport if we are inside a transform. r=roc a=blocking 2011-02-08 13:29:28 -06:00
Ehsan Akhgari
dbba341a45 Bug 573960 - Make the bordercolor attribute on table elements work again; r=bernd a=blocking-betaN+ 2011-01-31 16:23:01 -05:00
Hiroyuki Ikezoe
1914cb662b Bug 635156 - typos in test svg files.
r=longsonr a=tests-only
2011-02-22 13:04:45 +01:00
Matt Woodrow
86d440938c Bug 622585 - Add clipped transform reftest. r=roc a=shaver 2011-02-22 20:30:38 +13:00
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
Ehsan Akhgari
be77af5b37 Bug 613109 - Make it possible to run a mochitest-* test suite with an extension installed; r=ted 2010-11-18 17:15:54 -05:00
L. David Baron
56e6f8182f Merge layout work from projects/birch, part 1. a=bsmedberg 2011-03-23 12:36:08 -07:00
Josh Aas
fc34f968eb Bug 641621: Fix bug in which we misinterpret an NPError return value as an nsresult. r=bsmedberg 2011-03-23 11:46:09 -07:00
L. David Baron
d78a10bc18 Backout changeset f406ffe65c08 (Bug 620931 part 1) for causing bug 644790. 2011-03-24 21:07:53 -07:00
Robert O'Callahan
4bccc6ddf8 Bug 639689. Part 2: Some trivial cleanup and microoptimizations. r=joe 2011-03-24 16:13:58 +13:00
Robert O'Callahan
0788ccd0dd Bug 638241. Use a cache to avoid redoing SurfaceForElement and DoDrawImageSecurityCheck. r=bzbarsky 2011-03-24 16:13:56 +13:00
L. David Baron
af9a4f98db Merge layout work from projects/birch, part 4. a=rs 2011-03-24 14:36:14 -07:00
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Benjamin Stover
e08f07788f Bug 643164 Fire MozScrollAreaChanged before "load", not after r=roc 2011-03-24 10:41:23 -07:00
Jonathan Kew
717290f076 bug 418975 - tests for soft hyphen in table cells. r=roc 2011-03-24 15:24:17 +00:00
Jonathan Kew
4848054350 bug 418975 - support soft hyphen when calculating min width for table and fieldset. r=roc 2011-03-24 15:22:37 +00:00
Ehsan Akhgari
5553692d78 Merge mozilla-central into cedar 2011-03-24 10:54:50 -04:00
Mike Hommey
765d4f1b6c Bug 620931 part 1 - Use chrome manifest to register resource://gre-resources/. r=bsmedberg 2011-03-24 15:27:37 +01:00
Boris Zbarsky
a91fb24e3a Bug 602341 part 7. Fix serialization of tree selectors. r=dbaron 2011-03-23 17:25:42 -04:00
L. David Baron
65ba1c0595 Merge layout work from projects/birch, part 3. a=smaug 2011-03-24 08:38:19 -07:00
Jonathan Kew
3a0a080efc bug 635639 - part 2: reftests for zero-width diacritics; r=jdaggett 2011-03-24 15:07:30 +00:00
Boris Zbarsky
4635536259 Bug 606087. Don't reframe if overflow styles change on inlines. r=dbaron. Test changes by Alexander Surkov, r=marco.zehe 2011-03-23 09:56:58 -04:00
Boris Zbarsky
1a3816d126 Bug 602341 part 6. Make pseudoclass atoms private to nsCSSPseudoClasses. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
5eab7e1239 Bug 602341 part 5. Get rid of some pseudoclass atoms in the CSS parser. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
0cd46556b4 Bug 602341 part 4. Drop the nsIAtom arguments to AddPSeudoClass. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
b883f48aec Bug 602341 part 3. Get rid of the mAtom member of nsPseudoClassList. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
c0e236bebd Bug 602341 part 2. Switch tree pseudoelements to using an nsAtomList (mClassList, to be exact), not an nsPseudoClassList (mPseudoClassList), for their list of atoms. r=dbaron 2011-03-23 09:52:25 -04:00
Boris Zbarsky
401c62aad2 Bug 602341 part 1. Switch the pseudoclass Has*Arg functions from atoms to pseudoclass types. r=dbaron 2011-03-23 09:52:24 -04:00
Ehsan Akhgari
da7c6acb37 Bug 610391 - Create the widget for drop-down comboboxes lazily, and tear it down when the drop-down is closed; r=roc 2011-03-21 14:28:10 -04:00
L. David Baron
095768af68 Fix Windows optimized bustage from bug 636039 patch 15: use placement new in a loop instead of using placement new[]. 2011-03-18 14:02:44 -07:00
L. David Baron
c6b9eb02e0 Remove changes that should have been removed from bug 636039 patch 14 when I revised by 636039 patch 13. 2011-03-18 14:02:44 -07:00
L. David Baron
0028daf833 Fix bustage from bug 636039, patch 13, by not trying to access stub entries in kOffsetTable for the CSS_PROP_STUB_NOT_CSS entries. (Bug 636039) 2011-03-17 21:58:26 -07:00
L. David Baron
446b33c572 Fix Windows bustage by using the alloca-inclusion incantation from jstracer.cpp. (Bug 636039) 2011-03-17 20:43:06 -07:00
L. David Baron
a16e79db9e Make nsCachedStyleData store arrays of nsStyleStruct*, and use style struct IDs for faster access to those arrays. (Bug 639231, patch 3) r=bzbarsky 2011-03-17 20:14:32 -07:00
L. David Baron
f7e180061f Fix indentation. (Bug 639231, patch 2) r=bzbarsky 2011-03-17 20:14:32 -07:00
L. David Baron
17fb4b6565 Keep reset and inherited style struct IDs separate. (Bug 639231, patch 1) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
f1fb6dbc73 Add poisoning for nsRuleData::mValueOffsets. (Bug 636039, patch 19) r=bzbarsky
I tested manually that after:
 (a) removing the |ruleData.mValueOffsets[aSID] = 0;| in
     nsRuleNode::WalkRuleTree
 (b) removing the NS_ABORT_IF_FALSE(aRuleData->mValueOffsets[aSID] == 0,
     ...) from nsRuleNode::CheckSpecifiedProperties and
     UnsetPropertiesWithoutFlags
that we crash dereferencing the poison address in a SetCoord call inside
nsRuleNode::ComputeTextResetData
2011-03-17 20:14:31 -07:00
L. David Baron
7dfaf2124a Make test_property_database.html give all the errors rather than throwing an exception for the first missing longhand property. (Bug 636039, patch 18) r=bzbarsky
The main fix is in the first of the three for loops modified, but the
new structure of that one seems like an improvement worth applying to
the other two.
2011-03-17 20:14:31 -07:00
L. David Baron
bfca304c0a Remove now unused nsRuleData* structs. (Bug 636039, patch 17) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
d5df3b1e50 Remove Moz prefixes from names of subproperty tables. (Bug 636039, patch 16) r=bzbarsky
This fixes the FIXME introduced in patch 4.
2011-03-17 20:14:31 -07:00
L. David Baron
8f037974d7 Instead of stack-allocating nsRuleData* structs in separate methods for each style struct, allocate an array of nsCSSValue using alloca. (Bug 636039, patch 15) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
aa39d3bc8d Add index and count data for the properties that need to be computed for each style struct. (Bug 636039, patch 14) r=bzbarsky
This adds a second occurrence of the ugliest pattern of nsCSSPropList.h
inclusion.
2011-03-17 20:14:31 -07:00
L. David Baron
8214ac4261 Make the three CSS_PROP_INCLUDE_NOT_CSS properties much more like normal CSS properties, and (importantly) give them property IDs in the longhand range. Replace CSS_PROP_INCLUDE_NOT_CSS with CSS_PROP_STUB_NOT_CSS for callers that need stubs. (Bug 636039, patch 13) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
863712f142 Remove now-unneeded parameters to COMPUTE_START_{INHERITED,RESET}. (Bug 636039, patch 12) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
2add6d4298 Convert nsRuleNode::Compute*Data to property getters instead of accessing struct members. (Bug 636039, patch 11) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
59b4de6d7d Correct checks that were for the wrong pseudo-property (script-level vs. script-size-multiplier). (Bug 636039, patch 10) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
bdbc263fe7 Remove unused *AtOffset methods. (Bug 636039, patch 9) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
019db3ab80 Convert custom style rules to property getters instead of accessing struct members. (Bug 636039, patch 8) r=bzbarsky 2011-03-17 20:14:31 -07:00
L. David Baron
a285ab1c0a Add nsRuleData::ValueForBackgroundColor, etc., methods for each CSS property. (Bug 636039, patch 5) r=bzbarsky 2011-03-17 20:14:30 -07:00
L. David Baron
6256bf49b3 Allow the method field in nsCSSPropList.h to be used with or without prefixes. (Bug 636039, patch 4) r=bzbarsky 2011-03-17 20:14:30 -07:00
L. David Baron
1bcb281e20 Don't bloat nsCSSTable for members that only need to exist in nsRuleDataTable. (Bug 636039, patch 3) r=bzbarsky 2011-03-17 20:14:30 -07:00
L. David Baron
dbf25be692 Correct comment describing nsRuleData::ValueFor. (Bug 636039, patch 2) r=bzbarsky
nsRuleData::ValueFor does not return null; it checks conditions that
would cause it to do so with NS_ABORT_IF_FALSE.  Callers are required to
check mSIDs.
2011-03-17 20:14:30 -07:00
Boris Zbarsky
0618ee48ae Bug 641856. column-rule needs to work even when overflow is not visible. r=roc 2011-03-17 13:41:52 -04:00
Craig Topper
c232171343 Bug 577002 Part 3: Make various ImportRule functions non-virtual and cleanup some return types. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
51c51ac5d7 Bug 577002 Part 2: Remove nsICSSImportRule. r=bzbarsky
--HG--
rename : layout/style/nsICSSImportRule.h => layout/style/ImportRule.h
2011-03-17 13:41:52 -04:00
Craig Topper
ed7596665a Bug 577002 Part 1: Rename CSSImportRuleImpl to mozilla::css::ImportRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
c4eb4e1d09 Bug 576877 Part 3: De-virtualize methods in NameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Craig Topper
16a0c17c96 Bug 576877 Part 2: Remove nsICSSNameSpaceRule. r=bzbarsky
--HG--
rename : layout/style/nsICSSNameSpaceRule.h => layout/style/NameSpaceRule.h
2011-03-17 13:41:52 -04:00
Craig Topper
e09f420a06 Bug 576877 Part 1: Rename CSSNameSpaceRuleImpl to mozilla::css::NameSpaceRule. r=bzbarsky 2011-03-17 13:41:52 -04:00
Olli Pettay
7f2d69813a Allow removing iframe when it is being printed, r=roc 2011-03-24 13:42:54 +02:00
Olli Pettay
b557b5e9d9 Mark the printing document as printing, not the original doc, r=roc 2011-03-24 13:41:16 +02: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
Robert O'Callahan
fdb91c06bd Bug 626602. Part 4: Make the display items behind a plugin that needs readback be as visible as we can. r=tnikkel 2011-02-08 18:44:13 -06:00
Robert O'Callahan
7647e8c80b Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-08 18:44:13 -06:00