Commit Graph

2655 Commits

Author SHA1 Message Date
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
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
Robert O'Callahan
e2ce233deb Bug 602757. Part 6: Don't limit complexity of opaque region when adding opaque chrome display items. r=tnikkel,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
d886269e1d Bug 602757. Part 5: Change HasText to GetComponentAlphaBounds. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
71241fa556 Bug 602757. Part 4: Let nsDisplayBackground::GetOpaqueRegion return opaque regions for arbitrary repeat modes, background-clip, border-radius, etc. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
e946441ff1 Bug 602757. Part 3: Change IsOpaque to GetOpaqueRegion so we can get useful opaque regions for content that uses border-radius. r=tnikkel,sr=dbaron,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
face759151 Bug 602757. Part 2: Detect display items over the transparent part of a window, and disable usage of component alpha (i.e., subpixel antialiasing) for those items. r=tnikkel,a=blocking 2011-01-03 14:48:09 +13:00
Robert O'Callahan
87f3d1c20c Bug 620512. Part 1: Only fire MozPaintWait and change window visibility in BuildDisplayList if we're painting. r=bsmedberg, a=b:b9 2010-12-21 12:12:00 -08:00
Timothy Nikkel
f37a7ed2b2 Fix a comment. no bug. r=a a=r 2010-12-31 16:48:47 -06:00
Robert O'Callahan
319639d128 Bug 615870. Part 2: Track per-display-root-frame 'update layer tree' state bit. r=tnikkel a=b-f 2010-12-10 21:32:52 +02:00
timeless@mozdev.org
f7586490f4 Bug 621023 presContext = GetPresContext() is unused ifndef DEBUG in PresShell::Paint, r+a=dbaron 2010-12-22 14:30:00 -08:00
Mats Palmgren
dc55df0bac Bug 618996. Correctly compare rounded rect clip items for sameness. r=dbaron a=dbaron 2010-12-24 14:37:03 -06:00
timeless@mozdev.org
947848c536 Bug 620394 crash [@ PresShell::GoToAnchor] if selectAnchor && xpointerResult && !sel
r+a=roc
2010-12-21 15:03:01 -08:00
Wes Johnston
ef552735b2 Bug 602580 - Return CSSViewport from innerWidth and innerHeight. r=tn, sr=dbaron, a=blocking-fennec 2010-12-21 14:35:09 -08:00
Mihai Sucan
176912a7c2 Bug 606498 - Make sure the new nsIScriptError2 is used in all possible places- part 2; r=bzbarsky,dbaron,mrbkap sr=jst a=blocking2.0 2010-12-20 12:21:58 -04:00
Olli Pettay
d0a4a238ab Bug 617525. Dispatch MozAfterPaint events to GetParentTarget. r=roc 2010-12-20 14:37:43 +13:00
Robert O'Callahan
6f3afc714b Bug 617152. Part 4: Make sure to always fire a balancing MozPaintWaitFinished, even if the plugin dies suddenly, and make sure events are dispatched safely. r=dbaron 2010-12-20 14:37:43 +13:00
Robert O'Callahan
8ad0efd198 Bug 612840. Part 4: Invert the meaning of CONTENT_NO_TEXT_OVER_TRANSPARENT and rename it. r=vlad 2010-12-20 14:26:14 +13:00
Robert O'Callahan
a946b15fb3 Bug 612840. Part 3: Make Layer::CONTENT_NO_TEXT_OVER_TRANSPARENT applicable to all layer types, and set CONTENT_NO_TEXT_OVER_TRANSPARENT on container layers. r=tnikkel,r=vlad 2010-12-20 14:26:14 +13:00
Robert O'Callahan
21068b15a9 Bug 612840. Part 1: Remove CONTENT_NO_TEXT flag since it's not really used. Also remove ShouldRetainTransparentSurface and related code; we'll assume that when text is over opaque pixels in an RGBA surface we can always paint it with subpixel AA --- and make it so in later patches. r=vlad 2010-12-20 14:26:13 +13:00
Mounir Lamouri
db6bb54ae9 Bug 596088 - Make <input type='file'> looks disabled when inside a disabled fieldset by adding a ContentStatesChanged method in nsIFrame. r=bz sr=roc a=blocking-final
--HG--
rename : layout/reftests/bugs/557087.html => layout/reftests/bugs/557087-1.html
rename : layout/reftests/bugs/557087.html => layout/reftests/bugs/557087-2.html
extra : rebase_source : 350455e646775e42916e90dee7e09f63f84f4db4
2010-12-14 10:00:57 -08:00
L. David Baron
4deb07b330 Remove code that's no longer needed. (Bug 576649, followup) r=roc a=blocking 2010-12-16 08:53:17 -08:00
Michael Wu
007c1382ec Backing out bug 615870 34bd12eb4a9c for causing bug 618916, a=stuart 2010-12-13 16:15:16 -08:00
Michael Wu
a3ec8a5ae1 Backed out changeset 34bd12eb4a9c for causing bug 618916, a=stuart 2010-12-13 16:14:07 -08:00
Oleg Romashin
0da1b085e9 Bug 615870 - Remote HTML5 video rendering pipeline should be shorter r=roc a=b-f 2010-12-10 21:32:52 +02:00
Ehsan Akhgari
a6a28b32c2 Merge backout; a=b 2010-12-10 21:20:53 -05:00
Ehsan Akhgari
2337dae8c9 Back out bug 612128 because it regressed Fennec with bug 618357, which blocks Fennec beta3; a=blocking-fennecb3+ 2010-12-10 21:20:00 -05:00
L. David Baron
cf9e81477a Don't try drawing zero-width borders. (Bug 618071) r=roc a=blocking2.0:beta8
The allBordersSameWidth codepath for dashed borders will cause a cairo
error when given a width of zero, so we need to avoid hitting that.

It's also a waste of time.
2010-12-09 20:38:52 -08:00