Commit Graph

2688 Commits

Author SHA1 Message Date
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
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
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
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