Kyle Huey
e169e16015
Back out Bug 639754.
2011-03-31 09:12:20 -04:00
Kyle Huey
61ff9410c4
Backed out changeset a5dbece71e4a due to test failures
2011-03-31 09:11:21 -04:00
Matheus Kerschbaum
1f81122982
Bug 639754 - Remove MOZ_IPC checks since IPC is always built now. r=bsmedberg
2011-03-31 07:22:55 -04:00
Ehsan Akhgari
a0f4acae30
Merge cedar into mozilla-central
2011-03-30 13:53:35 -04:00
Ehsan Akhgari
6c4d70e8f0
Bug 644428 - Position the caret correctly for empty inline frames; r=roc
2011-03-28 20:17:16 -04:00
Simon Montagu
be96a9dc94
Remove UTF-32 encoder and decoder. Bug 604317, r=emk
2011-03-30 08:35:34 +02:00
L. David Baron
ea97bc0b82
Go through the normal restyling codepath in RebuildAllStyleData so that we handle in-progress transitions correctly. (Bug 583219) r=bzbarsky
2011-03-29 20:46:13 -07:00
Florian Quèze
20b0b008d5
Bug 591341 - Add color keywords for default text and background colors. r=dbaron
2011-03-30 11:28:05 +02:00
Ms2ger
3aac8958f3
Bug 637864 - Give nsIViewManager::GetRootView a sane signature; r=bz
2011-03-29 22:24:54 -04:00
Ehsan Akhgari
ca0a27ab24
Merge cedar into mozilla-central
2011-03-29 10:39:07 -04:00
Boris Zbarsky
16ac67c451
Bug 645943. Initialize mLastTimerInterval correctly. r=dbaron
2011-03-29 00:41:01 -04:00
Boris Zbarsky
0a7e20bbec
Bug 313351. ContentStatesChanged should take only one argument. r=dbaron
2011-03-28 23:32:11 -04:00
Ehsan Akhgari
db0e06d061
Merge cedar into mozilla-central
2011-03-28 13:28:13 -04:00
Boris Zbarsky
c964785dea
Bug 642717. Hold strong references to our MozBeforePaint event targets. r=roc
2011-03-28 10:49:48 -04:00
Robert O'Callahan
4ca813ae6e
Bug 622072. Part 3: Support empty transactions for canvas layers. r=tnikkel
...
The basic idea is that whenever a layer transaction updates the window, we clear out the invalidation state for the canvas rendering context,
using a DidTransactionCallback registered on the layer(s) for the canvas, which calls MakeContextClean.
The DidTransactionCallbacks are directed to the user data attached to the Layer, which holds a strong reference to the canvas element. This
ensures that the element lives as long as the layer. Layers are destroyed when the presentation is torn down (including if the frame is destroyed),
so we can't have a leak here. The reference to the canvas element is only strong because the layer might briefly outlive the frame (the layer
won't be destroyed until the next paint of the window).
This patch moves responsibility for calling CanvasLayer::Updated and nsFrame::MarkLayersActive from the canvas context to nsHTMLCanvasElement::InvalidateFrame.
We call Updated on the retained CanvasLayer, if there is one; any other CanvasLayers created for this canvas would only be used once, and have Updated
called on them in BuildLayer when created.
2011-03-28 12:59:47 +13:00
Masayuki Nakano
a08a3877b3
Bug 59109 Part 2: Cleaning up current text decoration implementation r=dbaron
2011-03-31 21:26:49 +09:00
Masayuki Nakano
264109812b
Bug 59109 Part 1: Adding -moz-text-decoration-color and -moz-text-decoration-style r=dbaron, sr=bzbarsky
2011-03-31 21:26:35 +09:00
Ms2ger
cbadb28698
Bug 637178 - Unused variable warning in GetContentMap; r=ben
2011-02-27 10:46:00 -05:00
Boris Zbarsky
5621236360
Bug 607529. Don't trigger animation callbacks on documents that have gone away. r=roc,smaug
2011-03-25 21:05:56 -04:00
Ehsan Akhgari
9fd7693897
Merge backout of bug 263359
2011-03-25 18:16:31 -04:00
Ehsan Akhgari
ec23591598
Back out bug 263359 because it has caused bug 645119
2011-03-25 18:15:29 -04:00
Simon Montagu
cf14bed018
Bug 263359 part 5: optimization -- don't do bidi resolution if the text is monodirectional. r=roc
2011-03-24 11:28:45 +02:00
Simon Montagu
278dfd1e65
Bug 263359 part 4: resolve paragraph on encountering line breaks in preformatted elements
2011-03-24 11:28:45 +02:00
Simon Montagu
5e24d64c4b
Bug 263359 part 3: resolve paragraph on encountering <br> or embedded block elements
2011-03-24 11:28:44 +02:00
Simon Montagu
e0953392b0
Bug 263359 part 2: split nsBidiPresUtils::Resolve into Resolve and ResolveParagraph. r=roc
2011-03-24 11:28:44 +02:00
Simon Montagu
9914a030ec
Bug 263359 part 1.5: remove nsDirectionalFrame.
2011-03-24 11:28:44 +02:00
Simon Montagu
5250ed8a4a
Bug 263359 part 1: refactor bidi resolution code, combining InitLogicalArray and CreateBlockBuffer. r=roc
2011-03-24 11:28:44 +02:00
Simon Montagu
01aa874a4e
Debugging code for Bidi resolution. NPOTDB
2011-03-24 11:28:44 +02:00
Benjamin Smedberg
4f1ecb131c
Bug 617539 - remove nsIWidget_MOZILLA_2_0_BRANCH, r=jimm
2011-03-25 11:03:35 -04:00
Benjamin Smedberg
51ecdf79a2
Bug 617539 - Fold nsIContentViewer_MOZILLA_2_0_BRANCH, r=sicking
2011-03-25 11:03:34 -04:00
Benjamin Smedberg
d758fb0d7e
Bug 617539 - Fold in nsIDOMWindowUtils_MOZILLA_2_0_BRANCH, r=bz
2011-03-25 11:03:33 -04:00
L. David Baron
802da587ae
Merge layout work from projects/birch, part 2.
2011-03-23 17:39:29 -07:00
Craig Topper
72d7c1f754
Bug 576831 part 4. Remove nsICSSStyleRule and use mozilla::css::StyleRule instead. r=bzbarsky
...
--HG--
rename : layout/style/nsCSSStyleRule.cpp => layout/style/StyleRule.cpp
rename : layout/style/nsICSSStyleRule.h => layout/style/StyleRule.h
2011-03-10 21:48:57 -05:00
Boris Zbarsky
be00decfac
Bug 630127. Use a precise timer when we have animation frame callbacks. r=dbaron
2011-03-07 11:58:48 -05:00
L. David Baron
be4c804463
Disable parsing of 'marker', 'run-in', and 'compact' in a less hacky way. (Bug 636029) r=bzbarsky
...
This simply removes all the code for the values. This removes a
special-case that would otherwise need to become more complicated in a
later patch in this series.
2011-03-05 09:58:33 -08:00
Boris Zbarsky
1782b07550
Bug 632907. Use Element more in the frame constructor. r=roc
2011-03-04 10:27:02 -05:00
Boris Zbarsky
f784386f4b
Bug 614733. Do exponential backoff on throttled refresh drivers. r=dbaron
2011-03-04 10:27:02 -05:00
L. David Baron
18e788b1a1
Correctly handle non-repeating radial gradients in which all stops are at the same position. (Bug 635222) r=roc
2011-03-03 13:18:42 -08:00
Alexander Surkov
34f2d0cb46
Bug 612872 - HAL/Supernova needs tweaks to our window emulation, r=davidb, sr=roc, a=davidb
2011-03-02 22:41:42 +08:00
Jonas Sicking
9adba11f73
Bug 635844 part 2: Update pushState to latest agreed behavior. r=jlebar a=beltzner/jst
2011-02-28 23:08:56 -08:00
Jonas Sicking
0a21ea9298
Bug 635844 part 1: Back out bug 615501 since we'll no longer fire the "initial popstate" event, and thus don't need a way to differentiate it. r=jlebar a=beltzner
2011-02-28 23:08:56 -08: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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
L. David Baron
56e6f8182f
Merge layout work from projects/birch, part 1. a=bsmedberg
2011-03-23 12:36:08 -07:00
Boris Zbarsky
250488127b
Bug 457102. Remove vestiges of dead xpointer/fixptr stuff. r=sicking
2011-03-23 10:45:21 -04:00
Kyle Huey
782df80bf2
Merge m-c to bs.
2011-03-19 07:56:17 -04:00
Kyle Huey
3037a2e752
Merge m-c to bs.
2011-03-13 09:57:04 -04:00
Mitchell Field
8a39ea72b9
Merge mozilla-central to build-system.
2011-03-13 04:21:37 +11:00
Phil Ringnalda
dcfcb67938
Bug 640889 - Disable test in debug Windows < Vista while work proceeds on making it pass with the XP resizer in the way, r=tn, a=test
2011-03-11 21:59:30 -08:00
Chris Jones
e4ac9c5928
Bug 593243: Clip invalidations to the displayport when one is set. r=tn
2011-03-11 17:12:11 -06:00
Chris Jones
c1f6326631
Bug 637822: Translate invalidated content by the offset at which it was made valid. r=roc a=b
2011-03-11 01:58:29 -06:00
Mitchell Field
a7b458884e
Merge mozilla-central to build-system.
2011-03-11 11:05:04 +11:00
Brad Lassey
715c879877
bug 623820 - Text zoom reflow messes up layout on AMO and other sites r=roc,dbaron a=blocking-fennec
2011-03-10 23:33:43 -05:00
Benjamin Stover
6fc39e3260
Bug 618975 Follow-up: Fix for non-IPC builds and remove warning r=blassey a=fix-comm-builds
2011-03-15 18:58:28 -07:00
Benjamin Stover
a646bb5913
Bug 618975 Followup: bitrot and remove mDisplayport from nsDisplayScrollLayer r=cjones r=tn a=blocking-fennec
2011-03-09 13:35:27 -08:00
Benjamin Stover
e9b77710b0
Bug 618975 Pan overflow elements in parent process r=cjones r=tn sr=roc a=blocking-fennec
2011-03-15 16:20:19 -07: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
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
Ehsan Akhgari
5553692d78
Merge mozilla-central into cedar
2011-03-24 10:54:50 -04:00
L. David Baron
65ba1c0595
Merge layout work from projects/birch, part 3. a=smaug
2011-03-24 08:38:19 -07: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
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
Olli Pettay
7f2d69813a
Allow removing iframe when it is being printed, r=roc
2011-03-24 13:42:54 +02: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
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
Alon Zakai
5eea332ea1
Bug 610670 - Reuse a single puppet widget. r=bz,cjones a=blocking-fennec
2011-02-09 12:13:18 -08: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
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
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
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
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
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
Mitchell Field
1592ff67f7
Merge mozilla-central to build-system.
2011-03-03 20:13:35 +11:00
Mitchell Field
b6976ca587
Merge mozilla-central to build-system.
2011-03-02 20:38:54 +11:00
Kyle Huey
7d56189a13
Merge m-c to bs.
2011-02-25 15:23:05 -05:00
Mitchell Field
cac949ea6d
Merge mozilla-central to build-system.
2011-02-23 00:01:54 +11:00
Mitchell Field
2e8a7d546f
Bug 627277 - Remove (broken) BeOS support. r=biesi,dwitte,gavin,joe,jorendorff,josh,khuey,mfinkle,neil,Pike,roc,shaver,smontagu,taras
2011-02-20 06:10:24 +11:00
Ehsan Akhgari
44c6ad0a4f
Merge backout of bug 622072
2011-03-29 14:32:11 -04:00
Ehsan Akhgari
931bd6ee19
Back out bug 622072 because it caused bug 645987
2011-03-29 14:31:53 -04:00
Boris Zbarsky
8a877093bc
Bug 598832 part 16. Use a single TreeMatchContext for all the style resolution that the frame constructor does as part of a single frame construction batch. r=dbaron
2011-03-29 13:29:21 -04:00
Kevin Gadd
d5728c8712
Attempt to make the test for bug 629838 less sensitive to OS-triggered paints and CPU load; r=cjones a=test
2011-02-03 22:12:06 -08:00
Ehsan Akhgari
c07c875d05
Backout all of the bugs in the 7e12e3e16e6c pushlog because of the orange.
...
It is not clear which one of these bugs is at fault.
2011-02-04 16:34:02 -05:00
kevingadd
f60280ba8c
Attempt to make the test for bug 629838 less sensitive to OS-triggered paints and CPU load; r=cjones a=test
...
--HG--
extra : rebase_source : e525d5eb2a40533209d21f84a466f395243a756a
2011-02-03 22:12:06 -08:00
Chris Jones
8991442744
Rollup of bug 615386, parts 1-6. Teach the reftest harness about <browser remote>. r=dbaron,roc,ted a=a
...
--HG--
rename : layout/tools/reftest/reftest.js => layout/tools/reftest/reftest-content.js
2011-02-03 13:54:10 -06:00
Rich Walsh
9adfe5d061
Bug 377392 - 'Copy Link Location' strips random characters from URLs copied to the clipboard; r=wuno,bzbarsky a=dbaron
2011-02-03 12:11:12 -05:00
Robert O'Callahan
114f358978
Bug 625288. Part 3: Test that a browser window containing a single empty tab builds a layer tree whose leaf layers form a non-overlapping partition of the window. r=tnikkel,a=test
2011-02-03 21:47:11 +13:00
Robert O'Callahan
9ba5ca14eb
Bug 622542. Ensure that the layer tree is updated after NS_DOCUMENT_STATE_WINDOW_INACTIVE has changed. r=tnikkel,a=blocking
2011-02-03 21:45:32 +13:00
Robert O'Callahan
01fd6c923d
Bug 626962. Part 0: Don't do empty transactions when painting to a widget's non-retaining layer manager. r=tnikkel,a=blocker
2011-02-03 21:45:23 +13:00
Kevin Gadd
c4d09902c6
bug 629838 - After incrementing mozPaintCount during an empty transaction, also dispatch MozAfterPaint; r=roc a=blocking-final+
...
--HG--
extra : rebase_source : 91e6eb9b0d12b5c82363d4c4ce6914fef9bcf007
2011-01-31 18:41:58 -08:00
Serge Gautherie
2eb420d816
Bug 471959 - [SeaMonkey] test_bug458898.html reports incorrect innerWidth/innerHeight; (Av1) Revert workaround from bug 469331, now that the underlying m-c bug is fixed.
...
r=dbaron a=(test only).
2011-02-02 06:31:48 +01:00
Neil Deakin
d791f40aa9
Bug 619089, retarget key events if the focus changes during a keydown event from content to chrome, r=olli,a=blocking
2011-02-01 09:46:48 -05:00
Alexander Surkov
d1a035e99c
Bug 629950 - [@ nsIPresShell::RemoveRefreshObserverInternal(nsARefreshObserver*, mozFlushType)], r=bz, a=bz
2011-02-01 14:44:20 +08:00
Johnny Stenback
7ed31a41cb
Fixing bug 604262. Fix crash in nsImageLoadingContent::OnStartDecode(). r=jonas@sicking.cc, a=blocker
2011-01-31 20:50:01 -08:00
Kevin Gadd
90c20af040
bug 625248 - During each paint, build a list (stored as a FrameProperty of the root nsIFrame) of all the PresShells that are visible during this paint, so that we can increment their paint count correctly during an empty transaction; r=roc a=blocking-final+
...
--HG--
extra : rebase_source : 2524d2e258a6a6cc13a7d8df2c874752e415c1ba
2011-01-27 13:53:10 -08:00
Chris Leary
ca37dc9e3b
Merge new mozilla-central head. (a=blockers)
2011-01-31 19:46:52 -08:00
Chris Leary
86d81ea3d6
Merge tracemonkey to mozilla-central. (a=blockers)
2011-01-31 19:43:36 -08:00
Timothy Nikkel
a990ffa9fa
Bug 626343. Revert accidental addition of unrelated debugging code in 73f7643d522d. a=oops DONTBUILD
2011-01-31 21:23:37 -06:00
Timothy Nikkel
ce990249cb
Bug 626343. Check return value when creating a plugin widget. r=roc a=blocking
2011-01-31 17:31:34 -06:00
Jonas Sicking
6c6a7cea3e
Disallow content access to chrome functions without __exposedProps__ (bug 628410, r=gal).
2011-01-29 18:47:17 -08:00
Jim Mathies
aef5c2725d
Bug 622328 - Fixup widget's UpdateTransparentRegion now that layout's transparent region includes all content. r=roc, a=blocking.
2011-01-27 16:58:58 -06:00
Timothy Nikkel
0123cc0fff
Bug 622328 - Always make sure the area of the root content document is considered opaque. r=roc, a=blocking.
2011-01-27 16:58:50 -06:00
Mats Palmgren
345787dcab
Bug 617076 - Large white space under Add-on Manager when switching tabs and panes. r=tnikkel a=blocking2.0:betaN
2011-01-29 01:10:46 +01:00
Ehsan Akhgari
25abf1251e
Bug 629145 - Part 3: Make sure that the iframes are large enough to cover all of the tests; r,a=roc
...
In particular, without this, the iframes are too small to catch failures for the reftest
of bug 612271, for example, since the selectionStart and selectionEnd text at the bottom of
the page falls outside of the visible area when the page is loaded inside the iframe.
--HG--
extra : rebase_source : ccac88034602cfcf1c852625e1bf08c184444622
2011-01-27 00:26:33 -05:00
Ehsan Akhgari
2c692900a2
Bug 629145 - Part 2: Fix incorrect assumptions about autofocus; r,a=roc
...
autofocus element will be focused after the load event is fired. This patch changes
the tests to focus the desired elements at the load event explicitly.
--HG--
extra : rebase_source : e7d11185532576d3edd47cb0df4e01b21b232ade
2011-01-27 00:26:33 -05:00
Ehsan Akhgari
c4423f0dec
Bug 629145 - Make test_reftests_with_caret.html not fail silently the first time that it is run; r,a=roc
...
getIntPref throws if the pref is not found. ui.caretBlinkTime is not set by default, which causes
this test to just throw and fail silently the first time that it runs, which effectively means that
we didn't have coverage over this for a considerable amount of time.
--HG--
extra : rebase_source : ae74ad45ed5a518c034a6f39ac2c09919846e3f3
2011-01-26 16:18:15 -05:00
Boris Zbarsky
5ee42273b4
Bug 629035 test followup. Add the test too. a=orange-n-such
2011-01-28 10:03:50 -05:00
Boris Zbarsky
7f56e3f186
Bug 629035 test. a=test
2011-01-28 09:32:17 -05:00
Boris Zbarsky
aa0e947d18
Bug 629035. Don't try to reconstruct frames if we don't have any. r=dbaron, a=blocker
2011-01-28 09:29:21 -05:00
Alexander Surkov
60014572d1
Bug 628922 fix Solaris build - layout should use cached nsIAccessibilityService, r=roc, a=roc
2011-01-28 16:42:14 +08:00
Alexander Surkov
f1d1126c15
Bug 628922 - layout should use cached nsIAccessibilityService, r=davidb, sr=roc, a=roc
2011-01-28 12:38:14 +08:00
Timothy Nikkel
45e07ae313
Bug 628745. Replace rounded rect clips with their non-rounded cousins whenever possible. r=roc a=roc
2011-01-26 12:36:11 -06:00
Robert O'Callahan
715a68eba1
Bug 619117. When invalidating due to a transform change, use the cached post-transform visual overflow rect to avoid depending on the new transform style. r=dbaron,a=blocking
2011-01-25 21:41:56 +13:00
Daniel Holbert
8bc6eeee9d
Bug 628477: Remove declaration for now-defunct helper method PaintBackgroundLayer in nsCSSRendering.cpp. r=roc a=roc
2011-01-24 22:41:12 -08:00
Chris Leary
a490c5bc24
Merge mozilla-central and tracemonkey. (a=blockers)
2011-01-24 19:47:52 -08:00
L. David Baron
8ea27a6080
By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+
2011-01-24 16:23:08 -08:00
Jeff Walden
15fda24aa9
Bug 497869 - Future reserved words are syntax errors in strict mode. r=brendan
2011-01-22 17:46:22 -08:00
Jeff Walden
882117c5e3
Back out everything from the last several hours for turning into a disaster zone finally ending in total orange. r=return-to-sanity
2011-01-23 03:12:28 -08:00
Jeff Walden
5ef527b523
Another round of orange fixes, sigh. r=orange yet again
2011-01-23 00:12:05 -08:00
Ehsan Akhgari
77149e237e
Bug 581536 - Part 3: Disconnect the transaction manager from the pres context as soon as it's disconnected from the pres shell; r=dbaron a=blocking-betaN+
...
This patch ensures that if for some reason, the pres context for a pres shell
goes away, we do not hold on to the old transaction manager. Doing so would
lead into the transition properties not being deleted from the elements, which
will later on confuse the new transaction manager if we ever create one.
--HG--
extra : rebase_source : 11cbd972b81be1fa772eb865b2793d55711eec88
2010-12-17 20:45:18 -08:00
Ehsan Akhgari
75e267cec2
Bug 581536 - Part 2: Reconstruct the document element frames when the dir attribute is set on the document; r=bzbarsky a=blocking-betaN+
...
--HG--
rename : layout/reftests/forms/textarea-rtl.html => layout/reftests/forms/textarea-in-dynamic-rtl-doc.html
extra : rebase_source : 444e9dfa75be1e880679c405afd90cfc4031131c
2010-12-15 12:26:54 -08:00
Boris Zbarsky
ee1de88e0f
Bug 581536 part 0. Change SetDocumentInternal to share the normal prescontext/presshell initialization codepath. r=dbaron
...
--HG--
extra : rebase_source : b0a4f5d729e044497def75e9e1ec6baea0a95810
2011-01-21 14:09:11 -05:00
Mihai Sucan
f276342e3d
Bug 621271 remove non-ASCII character from comment of nsIPressShell.h and nsPresShell.cpp r=masayuki, a=comment-only
2011-01-21 11:57:18 +09:00
Ehsan Akhgari
f241b6a65a
Bug 598726 - Prevent hangs in the refresh driver due to outstanding restyles on the same pres shell after processing the pending restyles on it; r=bzbarsky a=blocking-final+
2011-01-14 15:03:06 -05:00
Ehsan Akhgari
c42496f47f
Backed out changeset 3fc6728e81a8 because of Windows 7 orange
2011-01-19 16:09:50 -05:00
Ehsan Akhgari
7786023907
Bug 542677 - cursor not shown in textbox with enough text to cause scroll; r=roc a=blocking-final+
2011-01-17 19:09:49 -05:00
Benjamin Stover
fcfc7df843
Bug 626855 Crash: trying to scroll HTML page with frameset r=cjones a=blocking-fennec
2011-01-19 08:56:22 -08:00
Robert O'Callahan
409b6ce451
Bug 621601. Part 1: Change empty transaction API to EndEmptyTransaction. r=bas,tnikkel,a=joe
2011-01-19 21:27:54 +13:00
Timothy Nikkel
19aef7cb8d
Bug 626536. Part 2. Don't use a rounded rect clip to draw a rounded rect background color. r=roc a=roc
2011-01-18 13:43:47 -06:00
Timothy Nikkel
9e965d401c
Bug 626536. Part 1. Refactor the background clip code so that it stores its state in a struct we can pass around. r=roc a=roc
2011-01-18 13:43:47 -06:00
Timothy Nikkel
c8ea74511f
Bug 538267. Add crashtest. a=test
2011-01-18 13:43:46 -06:00
Alexander Surkov
e1a5d1938b
Bug 498015 - update accessible tree on content insertion after layout, r=davidb, sr=bz, a=blockingBetaN
...
--HG--
rename : accessible/src/base/nsEventShell.cpp => accessible/src/base/NotificationController.cpp
rename : accessible/src/base/nsEventShell.h => accessible/src/base/NotificationController.h
2011-01-18 16:03:38 +08:00
Matt Woodrow
f5f4d25848
Bug 586683 - Part 4 - Move images into a separate ImageLayer when they are the only item in a ThebesLayer. r=roc a=blocking2.0
2011-01-18 10:47:18 +13:00
Robert O'Callahan
ce2d40adbe
Bug 613696. Always use the presshell's reference rendering context to create textruns when we draw text via nsIThebesFontMetrics::DrawString, to be consistent with the textruns we measure during reflow. r=dbaron,a=blocking
2011-01-17 09:23:33 +13:00
Robert O'Callahan
52c00afd16
Bug 625288. Part 2: Report that -moz-win-glass and -moz-win-borderless-glass are uniform with opacity 0, i.e. they don't paint anything. Skip such display items when accumulating the visible region of a layer. r=tnikkel,a=blocking
2011-01-16 23:38:45 +13:00
Robert O'Callahan
27268fea3d
Bug 625288. Part 1: Don't create nsDisplaySolidColors with zero alpha. They just confuse our display list analysis. r=tnikkel,a=blocking
2011-01-16 23:38:45 +13:00
Robert O'Callahan
784d23003a
Bug 612190. Make MozAfterPaint actually fire after paint. r=dbaron,a=me (blocks a blocker)
2011-01-15 22:40:33 +13:00
Robert O'Callahan
9bee134ce1
Bug 625247. Don't use nsAutoTArray inside an nsAutoTArray. r=tnikkel,a=blocking
2011-01-15 22:40:33 +13:00
L. David Baron
97a3f60be3
Backout changeset 3248feddc867 (bug 608030).
2011-01-23 22:00:04 -08:00
L. David Baron
0ac20ad07d
By default, disable MozAfterPaint for content. (Bug 608030) r=roc a=blocking2.0:betaN+
2011-01-23 20:21:40 -08:00
timeless@mozdev.org
395892eff6
Bug 577914 mark DEBUG only variables as ifdef DEBUG in layout
...
r=dbaron
2010-07-11 15:47:45 +03:00
Boris Zbarsky
7aa6111fd9
Bug 577450. Replicated fixed-pos frames should have the right style. r=roc, a=roc
2011-01-14 10:34:39 -05:00
Boris Zbarsky
32cd21cc54
Bug 624301. Only change background clip to padding-box for solid borders if it's border-box to start with. r=dbaron
2011-01-14 10:34:39 -05:00
Benjamin Stover
5115d83eac
Bug 605618 Follow-up: Fix refcnt issue r=cjones a=blocking-fennec
2011-01-13 14:17:40 -08:00
Mark Banner
c089e851d9
Bustage fix for non-IPC and for shared builds following bug 605618. a=bustage fix
2011-01-13 20:01:45 +00:00
Benjamin Stover
8fc0069a6b
Bug 605618 Part 8: Content process map from view IDs to content elements r=cjones sr=roc
2011-01-13 09:45:14 -08:00
Benjamin Stover
bd474a4f0f
Bug 605618 Part 7: Include viewport and content size in API r=cjones sr=roc
2011-01-13 09:45:14 -08:00
Benjamin Stover
822ae4d1f4
Bug 605618 Part 5: Support displayport for iframes r=tn sr=roc
2011-01-13 09:45:14 -08:00
Benjamin Stover
ea6d5f4b39
Bug 605618 Part 2: Infrastructure for building shadow display list r=tn sr=roc
2011-01-13 09:45:14 -08:00
Benjamin Stover
dd38a31a1f
Bug 605618 Part 1: Tag layers with scrollable information r=cjones sr=roc a=blocking-fennec
2011-01-13 09:45:14 -08:00
Vladimir Vukicevic
89eb608706
b=622184; implement webgl colour conversion/premultiplication semantics; r=joe, a=b
2011-01-12 17:45:13 -08:00
L. David Baron
a572c4fbef
Add assertions that the frame tree is safe to destroy (i.e., doesn't contain any first-in-flows or other things we should never destroy) when we call DeleteNextInFlowChild. (Bug 619021) r=roc a2.0=blocking
2011-01-11 17:09:22 -08:00
L. David Baron
1f47b79c3a
Move assertion about continuations of floats so that it is valid. (Bug 595740) r=roc a2.0=blocking
...
When we do multiple reflow passes inside a container with page or column
breaks, we might hit this assertion for legitimate reasons. In
particular, if a reflow places the first-in-flow of a float in a later
continuation of its containing block than it was in before, or if a
reflow reflows a float that was split and then pushes the line
containing the float's placeholder, then during reflow we push the
continuations of the float back through the continuations of the
containing block, and in intermediate states of this process (such as
when this assertion fires), we have two continuations of the same float
within the same parent.
2011-01-11 17:09:21 -08:00
Peter Van der Beken
b492a1c2a7
Fix for bug 624722 (nsBidiPresUtils should participate in CC).; r=ehsan a=roc
2011-01-11 14:19:00 -05:00
Markus Stange
e20afb330c
Bug 621762 - Change the way native windows are notified about toolbars. r=roc, a=betaN
2011-01-11 14:03:16 +01:00
Timothy Nikkel
120453eaa5
Bug 623606. Leave the pres shell after we are done creating the display list. r=dbaron a=dbaron
2011-01-06 19:38:24 -06:00
Robert O'Callahan
0ae88fdc21
Bug 579808. Fix bounds for nsDisplayTransform and nsDisplayPlugin. r=tnikkel a=blocking-betaN+
2011-01-06 19:38:22 -06:00
Robert O'Callahan
d10491f64a
Bug 615794. Part 5: Don't abort in RoundedRectIntersectsRect, just check whether we intersect the frame border-box. r=dbaron a=blocking
2011-01-04 23:40:02 +13:00
Robert O'Callahan
319edd4ba7
Bug 615794. Part 3: Snap bounds of border and background display items to pixels if we're sure they will be snapped. r=tnikkel a=blocking
2011-01-04 23:39:47 +13:00
Robert O'Callahan
a30256c652
Bug 615794. Part 1.5: Fix drawing of mForcedBackgroundColor to only fill the bounds of the visible region. r=tnikkel a=blocking
...
It's not correct to completely fill the destination context with the
mForcedBackgroundColor. FindOpaqueBackgroundColorFor only checks that
the bounds of the layer's visible region can be filled with the color.
Drawing outside the bounds of the visible region may not necessarily
be ignored (see comments on Layer::SetVisibleRegion).
2011-01-04 23:35:57 +13:00
Robert O'Callahan
88832278c6
Bug 615794. Part 1: Be conservative when converting visible regions and opaque regions from appunits to pixels. r=tnikkel a=blocking
2011-01-04 23:35:57 +13:00
Simon Montagu
2d56d2efaf
Basic bidi support for SVG. Bug 620446, r=roc, a=roc
2011-01-04 00:52:17 -08:00
Robert O'Callahan
b9895f1feb
Bug 585258. Part 1: Don't make visible region arbitrarily complex in RecomputeVisibility. r=dbaron,a=blocking
2011-01-04 21:45:24 +13:00
Robert O'Callahan
d4f1ab3afd
Bug 622733. Allow any area to be added to the visible region if it decreases the area of the visible region by at least half. r=tnikkel,a=blocking
2011-01-04 21:43:47 +13:00
Robert O'Callahan
eb517ba4b4
Bug 620610. When dumping display lists, include which layer each item ended up in. r=tnikkel,a=debug-only
2011-01-04 16:56:57 +13:00