Ms2ger
0cf7a5d525
Bug 562698 - Part c: Pass Elements to AttributeWillChange; r=bzbarsky, a=dbaron
2010-08-24 09:06:20 +02:00
Ms2ger
00001ff39e
Bug 562698 - Part b: Pass Elements to nsNodeUtils::AttributeChanged; r=bzbarsky, a=dbaron
2010-08-24 09:06:07 +02:00
Ms2ger
27271a8a8f
Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron
2010-08-24 09:05:56 +02:00
Matt Woodrow
2d04b79680
Bug 589634 - Don't create a sub-widget for decks. r=roc, a=roc
2010-08-23 20:58:56 -07:00
Jonas Sicking
1efbd766ca
Back out bug 546857 Part 6 due to talos failures. a=backout
2010-08-19 18:41:58 -07:00
Jonas Sicking
1a06bd84dd
Bug 546857 Part 6: Disable XUL for pages, unless user specifically opts in for domain. r=jst a=blocker
2010-08-19 16:12:46 -07:00
Chris Jones
921ef38edc
Backed out changeset 7b3726c3a580
2010-08-19 19:04:08 -05:00
Robert O'Callahan
210184cb84
Bug 585817. Part 2: Change nsIPresShell::CreateRenderingContext to GetReferenceRenderingContext, that uses the shared 1x1 surface, and use it all over the place. r=mats,sr=dbaron
2010-08-19 13:49:35 -05:00
Benjamin Smedberg
79b91c860d
Merge backout of bug 595337 and bug 556487.
2010-09-14 14:51:04 -07:00
Benjamin Smedberg
3a5f09a601
Revert bug 595337 because of persistent leaks running mochitests, and bug 556487 because of in-process test failures (crashes) and a reftest failure.
2010-09-14 14:50:24 -07:00
Daniel Holbert
ba3de9468d
Bug 594617: Make nsImageFrame::GetIntrinsicSize return its actual intrinsic size, and teach IsPercentageAware about SVG images. r=roc a=blocking
2010-09-14 16:20:32 -04:00
Oleg Romashin
baf1d98565
Bug 556487 - ObjectFrame GetBounds. r=roc a=blocking2.0
2010-09-14 12:01:21 -07:00
Oleg Romashin
b655f6f31d
Bug 556487 - drop layer on dead child plugin process. r=roc a=blocking2.0
2010-09-14 12:01:16 -07:00
Oleg Romashin
60103e85b5
Bug 556487 - ObjectFrame BuildLayer implementation. r=roc a=blocking2.0
2010-09-14 12:01:13 -07:00
Markus Stange
0f5da2f8ac
Bug 590404 - Crash [@ nsURIHashKey::HashKey] with -moz-element in data: document; r=roc a=blocking-final+
2010-09-14 15:50:41 -04:00
L. David Baron
109dae0465
Don't push floats past break due to total lack of available height when we're required to place something. (Bug 586973) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
c1f752d22d
We might need to collect pushed floats from the overflow out-of-flows list too, just like normal floats. (Bug 586806) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
e46aea6922
Don't construct an nsFrameList whose first child has a previous sibling. (Bug 586806) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
fantasai
0b1afa37be
Do IsProperAncestorFrame check before destroying floats, but not for popups. (Bug 588158) r=dbaron a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
52881c4fb2
Split floats when they are overflow-incomplete. (Bug 585598) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
bd3161b815
Destroy the pushed floats list in nsBlockFrame::DestroyFrom. (Bug 585598) r=roc a2.0=blocking
2010-08-19 09:38:00 -04:00
L. David Baron
bbbb91235a
Rename a frame property that I missed in a mass-rename. a2.0=blocking (Bug 563584)
2010-08-19 09:37:59 -04:00
Timothy Nikkel
cc09403fac
Bug 587542. If painting is suppressed in the presshell, drop invalidations that come through the view subsystem as well as through the usual frame invalidation path. r=roc
2010-08-18 20:16:58 -05:00
Timothy Nikkel
b7b5763383
Bug 587534. When we unregister a plugin for geometry updates make sure to hide the plugin in case it hasn't been hidden yet. r=roc
2010-08-18 20:16:58 -05:00
Bobby Holley
20c25243b6
bug 512260 - part 5 - make nsCursorImage::mImage private, add getter/setter, and lock images in the setter.r=dbaron,a=blocker
2010-08-16 12:19:26 -04:00
Robert O'Callahan
8d6e97edd5
Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron
2010-08-13 21:59:16 +12:00
Robert O'Callahan
20c2a19d6a
Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron
2010-08-13 21:58:04 +12:00
Benjamin Smedberg
122c097a0c
Bug 587715 - Include Qt headers before anything else because of conflicts with X and mozalloc. r=bustage fix
2010-08-17 10:35:21 -04:00
Benjamin Smedberg
dde4dba2fd
Bustage fix of the bustage fix, bug 583053.
2010-08-16 12:38:43 -04:00
Benjamin Smedberg
937dfa414c
Linux followup to bug 583053 - fix the include ordering so that KeyPress is defined at the time we need it.
2010-08-16 11:41:46 -04:00
Benjamin Smedberg
c179a09b28
Bug 583053 - Corruption issues when running rdio because windows double-pass rendering events don't win the RPC race, r=bent
2010-08-16 10:10:25 -04:00
Bas Schouten
b4cb1a06e5
Bug 587319: We do not know the metrics yet for DWrite fonts. Disable when using DWrite. r=joedrew
2010-08-16 09:15:03 +02:00
Daniel Holbert
5b754a5516
Bug 582004 part 2: Make imgIContainerObserver::FrameChanged take a const aDirtyRect argument. r=joe a=blocking
2010-08-13 21:09:48 -07:00
fantasai
de0f13939e
Bug 536721 - Tweak DestroyOverflowList so it does not trigger Missing destruct root assertion. r=bz a=dbaron
2010-08-13 14:36:05 -03:00
Benoit Girard
a99dabf3d1
Bug 583356 - Create Plug-in ContextMenu with a right-click mouse event. r=josh
2010-08-13 12:45:32 -04:00
Markus Stange
c107bb11a9
Bug 506826 - Fix overlapping frame state bit.
2010-08-13 18:09:58 +02:00
Robert O'Callahan
f8dc984ede
Backing out bug 584282 and bug 537890
2010-08-14 02:35:06 +12:00
Markus Stange
438fa8a236
Bug 506826 - Invalidate -moz-element rendering observers when necessary. r=roc
2010-08-13 15:36:13 +02:00
Markus Stange
12b1bcc7b0
Bug 506826 - Use a frame state bit for recursion detection in SVG pattern drawing. r=roc
2010-08-13 15:32:15 +02:00
Markus Stange
2ea78354c5
Bug 572689 - Make nsSVGRenderingObservers observe elements instead of frames. r=roc
2010-08-13 15:31:31 +02:00
Robert O'Callahan
07ca177c02
Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel
2010-08-13 21:57:48 +12:00
Robert O'Callahan
0b542b46ed
Bug 579258. Remove the 'before move' region parameter to ComputeVisibility. r=tnikkel,a=joe
2010-08-13 21:55:54 +12:00
Robert O'Callahan
b004c93cb1
Bug 579258. Change IsVaryingRelativeToMovingFrame to take the 'moving frame' as a direct parameter instead of getting it from the builder. r=tnikkel,a=joe
2010-08-13 21:54:37 +12:00
fantasai
4b31319f01
Change coordinate system in the float manager from content box (most of the time, but sometimes border box) to always border box. (Bug 551425) r=dbaron a2.0=blocking+
2010-08-11 12:32:53 -07:00
L. David Baron
ee89e22866
Add support for calc() to the 'width' property. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:53 -07:00
L. David Baron
462a888804
Consolidate code for determining when widths and heights depend on a container. (Bug 585715) r=bzbarsky a2.0=blocking2.0+
2010-08-11 12:32:52 -07:00
Ehsan Akhgari
c07d2babfd
Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : 3bdd49e0e039c212b5faa8d12bcbdd785da267a4
2010-08-10 11:16:17 -04:00
Dão Gottwald
f246f9a00f
Backed out changeset cdd440adb726
2010-08-10 15:10:11 +02:00
Ms2ger
e0dc6046da
Bug 562698 - Part a: Pass Elements to nsIMutationObserver::AttributeChanged and nsCSSFrameConstructor::AttributeChanged; r=bzbarsky, a=dbaron
2010-08-10 14:25:28 +02:00
Phil Ringnalda
06836ca775
Backed out changeset ec28c1790e13 (bug 579621) for print preview test timeouts
2010-08-08 17:48:03 -07:00
Robert O'Callahan
770c98f7eb
Bug 579621. Don't create widgets for chrome subdocuments of chrome windows. r=tnikkel, a=blocker
...
--HG--
extra : rebase_source : 669b45a017fd52aa8106b98f6f8dd2d5ed846d4e
2010-08-04 21:40:00 -07:00
Timothy Nikkel
f05b15e0e0
Bug 584516. With linked view manager hierarchies we need to draw the print preview background on subdocument frames as well. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
c759887052
Bug 579663. Part 6. Convert the update rect used for fixed backgrounds to the app units of the display root. r=roc
2010-08-08 13:49:07 -05:00
Timothy Nikkel
205f53d5ac
Bug 579663. Part 4. If the viewport frame has a container layer then we need to invalidate it too. r=roc
2010-08-08 13:49:06 -05:00
Timothy Nikkel
495b7af67e
Bug 582754. Remove cross doc check in nsIFrame::GetOffsetTo. r=mats a=dbaron
2010-08-08 13:49:06 -05:00
Vladimir Vukicevic
30c2b7b82c
b=574481; fix layers lifetime issues; part 6 - fix up some video frame bits; r=roc
2010-08-06 22:09:18 -07:00
Dave Townsend
a31d02e412
Backed out changeset 8f8ee0543d0f from bug 580869 in the CLOSED TREE
...
--HG--
extra : rebase_source : 0bfba926d30e0d6fc80bccd4a5614b1532d9234b
2010-08-06 15:01:59 -07:00
Dave Townsend
7c971976b0
Backed out changeset 300036f6c90f from bug 580869 due to test failures
...
--HG--
extra : rebase_source : 03db1d0833857740d0e80fd12d56bbc4bd5121d2
2010-08-06 15:00:19 -07:00
Ehsan Akhgari
7dc883912c
Bug 580869 - bustage fix; irc stamp=bzbarsky
2010-08-06 10:49:32 -04:00
Ehsan Akhgari
d298284e05
Bug 580869 - Cache the frame found in nsTextFrame::GetChildFrameContainingOffset; r=roc approval2.0=dbaron
...
--HG--
extra : rebase_source : c04666fc452be4108ed717686086a5f7baba753d
2010-07-23 17:37:55 -04:00
L. David Baron
75fe6757f3
Bump assertion count on Windows; followup to bug 563584.
2010-08-05 23:01:07 -07:00
L. David Baron
6d279b0435
Rename float continuations to pushed floats. (Bug 563584, patch 33) r=roc
...
This patch was generated with the following sed commands on layout/generic/*.{h,cpp}: 's/FLOAT_CONTINUATION/PUSHED_FLOAT/g;s/FloatContinuation/PushedFloat/g;s/float continuation/pushed float/g' plus whitespace fixup where the frame state bits are defined.
2010-08-05 21:59:20 -07:00
L. David Baron
48dd50ff36
Don't force availableHeight to be nonnegative, because doing so means that we'll place zero height blocks (including their non-zero-height contents) at the bottom of a page when there's not room (see nsHTMLReflowState::SetTruncated). (Bug 563584, patch 32) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
202767697e
Set incomplete status when we have continuations that we shouldn't destroy. Fixes assertion on layout/generic/crashtests/469859-1.xhtml . (Bug 563584, patch 30) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
d71021a7dd
Don't switch a constrained height to an unconstrained one due to infinite clearance. Fixes layout/reftests/bugs/563584-10b.html . (Bug 563584, patch 29) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
875b636719
Add comment describing mIsTopOfPage better. (Bug 563584, patch 28) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
5239f85a39
Don't split floats when we're not paginating. (Bug 563584, patch 26) Fixes assertion on layout/generic/crashtests/461294-1.html . r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
bc78f1fdf5
In a constrained height situation, we need to reflow anything with floats. (Bug 563584, patch 25) Fixes assertion on layout/generic/crashtests/408883-1.html . r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
5deb652621
Add bit to lines indicating that they may have a placeholder for a float that was pushed to the next line (and bump the child count up to 32 bits). (Bug 563584, patch 24) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
d34dbc633c
Adjust reftest assertion manifests for churn in nscoord_MAX-related assertions (which includes 'computed overflow area' assertion, because of width wraparound in UnionRect making overflow area empty). (Bug 563584, patch 23) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
934f7dfb67
Pass correct *remaining* height to float manager, rather than the whole height of the content area. (Bug 563584, patch 22) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
b56efbfcf6
Add checks to VerifyList that previous siblings match next siblings. (Bug 563584, patch 21) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
4a3f5d15df
Remove aReflowStatus parameters made unnecessary by previous patch. (Bug 563584, patch 20) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
46bdda8846
Rename PushTruncatedPlaceholderLine since the remaining reasons for lines being truncated are related to being next to floats, not having truncated floats. (Bug 563584, patch 19) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
5247c76404
Do the same for PlaceBelowCurrentLineFloats: don't propagate the truncation of a float into the line's reflow status. (Bug 563584, patch 18) r=roc
2010-08-05 21:59:20 -07:00
L. David Baron
867d31744c
Don't propagate the float's reflow status through places that expect an inline's reflow status, to avoid the assertion for which bug 563584 was filed. This separates pushing of floats from pushing of lines, and allows first-in-flow floats to be pushed to the next page without their associated line. (Bug 563584, patch 17) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
f3f9dbebba
Save float's next sibling since reflowing it could change the next sibling. (Bug 563584, patch 16) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
646c626078
Steal float back before reflowing it, in order to allow first continuation of a float to be pushed to the next page. (Bug 563584, patch 15) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
fd5ab03929
nsBlockFrame::ReflowFloatContinuations doesn't need anything in AddFloat other than FlowAndPlaceFloat. (Bug 563584, patch 14) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
e714f071f9
Manage float continuations to-be-pulled by the next-in-flow better by keeping them in a separate frame list until they're actually pulled. (Bug 563584, patch 13) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
99f4849c65
Track which frames were float continuations that need to be pulled to the next block rather than figuring it out again when it's time to pull them. (This allows first-in-flows to be float continuations.) (Bug 563584, patch 12) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
7c80834b1e
Make nsFrameList::RemoveFramesAfter(nsnull) remove the whole list. (Bug 563584, patch 11.5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
4f730231c6
Don't try to clear pushed floats when computing the final size of blocks. Fixes scrollbar on layout/reftests/bugs/563584-6-columns.html . (Bug 563584, patch 11) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
fe16c37241
Add the optimization mentioned in the previous patch, so we don't have to iterate all floats to determine if one was split. (Bug 563584, patch 10) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
02c1db8436
Allow the float manager to record that a float has been pushed past a break. (Bug 563584, patch 9) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
4da470a62d
Remove initialization to value that doesn't make much sense and never matters. (Bug 563584, patch 8) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
138354b6a3
Use an AutoRestore to restore mY in nsBlockReflowState::FlowAndPlaceFloat. (Bug 563584, patch 7) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
489ed8d30b
When we're in columns (and therefore not splitting floats), push floats that don't fit to the next column. (Bug 563584, patch 6) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
08a16e6b29
Replace force-fit with setting mIsTopOfPage correctly. (Bug 563584, patch 5) r=roc
2010-08-05 21:59:19 -07:00
L. David Baron
f46f248ca8
Make nsBlockReflowState::FlowAndPlaceFloat reflow the float after computing its vertical position, so we know how much height is actually available. (Bug 563584, patch 4) r=roc
...
Test coverage for this is in the future patch "Add reftests for bug 563584.".
2010-08-05 21:59:18 -07:00
L. David Baron
353538a3ba
Most of CanPlaceFloat is unnecessary given the float placement rules (in particular, that the top of a float cannot be higher than the top of any prior left or right float) and the fact that we now split floats. (Bug 563584, patch 3) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
11f75cf522
Remove aForceFit/aRelaxHeightConstraint concept from float reflow, since we now split floats rather than push them to the next page (and correct propagation of nsHTMLReflowState::mFlags::mIsTopOfPage will force fitting when we need to). (Bug 563584, patch 2) r=roc
2010-08-05 21:59:18 -07:00
L. David Baron
a33881c053
Fix assertion about float manager state by restoring old float manager state when we place a float and then cancel that placement. (Bug 563584, patch 1) r=roc
2010-08-05 21:59:18 -07:00
Chris Jones
3b7ff8f6bc
Bug 570620, part a: Fix an assertion that will soon no longer hold and remove obsoleted already_AddRefed idiom in two places. r=roc
2010-08-05 17:11:23 -05:00
Boris Zbarsky
0b5df24742
Bug 582037. When computing intrinsic widths, take the viewport's dimensions into account when it has percent-height descendants. r=dbaron
2010-08-05 17:59:36 -04:00
Robert O'Callahan
9eb991d75a
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
2010-08-13 22:01:58 +12:00
Robert O'Callahan
6ea38bb418
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
2010-08-13 22:01:13 +12:00
Robert O'Callahan
a4ddd253a6
Bug 537890. Part 11: Introduce _TO_INT_TWIPS macros and have some _TO_TWIPS callers use _TO_INT_TWIPS instead. r=dbaron
2010-08-13 21:59:16 +12:00
Robert O'Callahan
f3efde653e
Bug 537890. Part 10: Fix nsPresContext and nsIDeviceContext unit-conversion methods to be explicit about using CSS logical units instead of physical units. r=dbaron
2010-08-13 21:58:04 +12:00
Robert O'Callahan
df40488589
Bug 582467. With accelerated layer backends, we should always treat video layers as active to avoid having to read back; no point in saving composition costs on those backends anyway. r=vlad
2010-08-02 15:06:58 +12:00
L. David Baron
c06c57f6e6
Fix bustage from bug 570329 with s/windowsWidget/winWidget/g.
2010-07-30 20:50:52 -07:00
Craig Topper
fec95b227d
Remove QueryFrame support for nsICSSPseudoComparator. (Bug 576794) r=bzbarsky a2.0=bsmedberg
2010-07-30 16:48:57 -07:00
L. David Baron
9cc2e9ec05
Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
...
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Kyle Huey
cc25e38cd5
Bug 575043: Remove internal uses of nsICaseConversion. r=smontagu sr=roc
...
--HG--
extra : rebase_source : f95ad3f21a95e354324e1524c378cad7146f3241
2010-07-29 12:22:16 -07:00
Steffen Imhof
a4facb8ffc
Bug 578693 - Transport of key events to plugin in window-less case is incomplete for Qt backend r=dougt
2010-07-28 18:05:32 -07:00
Timothy Nikkel
f7c5754ce0
Bug 542136. Add crashtest.
2010-07-25 13:10:31 -05:00
Olli Pettay
abf43f852b
Bug 566466 - speed up createElement(), r=jst, peterv
2010-07-23 12:49:57 +03:00
Karl Tomlinson
fb689d79eb
b=580440 use native-rendering temp surfaces only as large as necessary r=roc a2.0=beltzner
...
--HG--
extra : rebase_source : 53788fe162ea7ef0c8b4190a08801cbd276e702b
2010-07-23 10:25:19 +12:00
Justin Lebar
445d3bb942
Bug 581051 - Move selection.modify() from nsISelection.idl into nsISelection3.idl. r,approval2.0=jst
...
--HG--
extra : rebase_source : 9008b467241f21bc66d5fca734d916400d21e3b2
2010-07-22 11:02:06 -07:00
Masayuki Nakano
660981e020
Bug 389372 - Contenteditable node is still editable without focus; r=ehsan,masayuki,roc sr=jst a=blocking-2.0:betaN+
2010-07-22 12:22:44 -04:00
Ehsan Akhgari
436482ad96
Bug 576342 - Intermittent Windows Cd failure: "REFTEST TEST-UNEXPECTED-PASS | reftest/tests/layout/generic/crashtests/463741-1.html | assertion count 3 is less than expected 4 assertions"; r=Jesse
2010-07-21 20:47:04 -04:00
Masayuki Nakano
d7540e477b
backout the previous my check-ins
2010-07-22 11:11:34 +09:00
Masayuki Nakano
742e98c291
Bug 389372 Contenteditable node is still editable without focus r=ehsan+roc, sr=jst
2010-07-22 08:46:52 +09:00
Craig Topper
b9673b8709
Bug 577438 Part 1: Add previous sibling to nsIMutationObserver::ContentRemoved. r=sicking
2010-07-21 15:05:17 -07:00
Boris Zbarsky
7b4527a47c
Bump the mac assert count too. Bug 579940.
2010-07-19 13:28:45 -04:00
Boris Zbarsky
b90e9bf3ec
Bug 441669. Look for our flow by starting at the cached location and moving out, instead of always searching in one direction and then in the other. r=roc
2010-07-19 11:55:19 -04:00
Boris Zbarsky
8411019bb0
Bump the assertion counts, since they seem to be timing-dependent now that we're not flushing layout onload.
2010-07-19 01:09:11 -04:00
Timothy Nikkel
53403c062e
Bug 563878. Part 17. Use nsIFrame::GetNearestWidget to simplify some code. r=mats
2010-07-18 21:23:48 -05:00
Timothy Nikkel
eaf04d25f4
Bug 563878. Part 15. Fix GetOffsetTo callsites. r=mats
2010-07-18 21:23:48 -05:00
Timothy Nikkel
8d58defa7a
Convert to calls of GetOffsetTo from retained layers to GetOffsetToCrossDoc. r=roc on irc
2010-07-18 21:23:48 -05:00
Timothy Nikkel
25663b3497
Bug 563878. Part 13. Implement zoom display list item to handle document hierarchies where zoom is not constant. r=mats sr=roc
2010-07-18 21:23:48 -05:00
Timothy Nikkel
460def762d
Bug 563878. Part 7. Change frame, point, rect, region APIs. r=mats sr=roc
2010-07-18 21:23:47 -05:00
Josh Aas
4e23705cc3
Bug 579516: Patch contains a number of fixes to nsPluginStreamListenerPeer memory management. Also moves storage of the stream array for cache lookups to the plugin instance rather than the instance tag. Also stops adding streams to the cached list that shouldn't be there. r=benwa
2010-07-17 19:47:29 -04:00
Markus Stange
61cb8923e4
Bug 404267 - Always allow click-through on scrollbars. r=roc
2010-07-16 15:01:39 +02:00
Robert O'Callahan
c5cdc8c894
Bug 564991. Part 44: Move IsFixedAndCoveringViewport implementation to nsDisplayBackground so it can work on any frame, not just the canvas background. r=tnikkel
2010-07-16 09:08:12 +12:00
Robert O'Callahan
158c15a807
Bug 564991. Part 43: Fix coordinates for invalidating fixed-attachment backgrounds. r=tnikkel
2010-07-16 09:08:12 +12:00
Robert O'Callahan
27f182eeac
Bug 564991. Part 42: When the root frame changes size, invalidate the changed area. r=tnikkel
2010-07-16 09:08:12 +12:00
Robert O'Callahan
2b0f4a408a
Bug 564991. Part 38: Make invalidation-during-paint work reliably. r=mats,sr=dbaron
2010-07-16 09:08:11 +12:00
Robert O'Callahan
e09df6f94d
Bug 564991. Part 36: Newly-instantiated plugins should be clipped to be invisible until we set their geometry correctly. r=mats
2010-07-16 09:08:10 +12:00
Robert O'Callahan
4e94c263b7
Bug 564991. Part 35: Fix text decorations to have a unique GetPerFrameKey. r=tnikkel
2010-07-16 09:08:10 +12:00
Robert O'Callahan
1df5a7ec56
Bug 564991. Part 27: Make plugin geometry changes asynchronous and make them happen as close to the final paint as possible. r=matspal,sr=vlad
2010-07-16 09:08:08 +12:00
Robert O'Callahan
c5362bf642
Bug 564991. Part 26: Put background-attachment:fixed backgrounds that propagated to the canvas in their own layer. r=mats,sr=dbaron
2010-07-16 09:08:06 +12:00
Robert O'Callahan
1cbc86420d
Bug 564991. Part 25: Introduce a 'has active layers' flag on frames, which times out, and use it for 'opacity'. r=mats,sr=dbaron
2010-07-16 09:08:06 +12:00
Robert O'Callahan
e3f0996f5d
Bug 564991. Part 24: Make video layer inactive if the video is not playing. r=doublec
2010-07-16 09:08:05 +12:00
Robert O'Callahan
d09c39d0a9
Bug 564991. Part 23: Introduce the concept of 'inactive' layers. r=mats,sr=dbaron
2010-07-16 09:08:05 +12:00
Robert O'Callahan
9d2392dcc8
Bug 564991. Part 22: Mark scrolled elements as inactive after a timeout. r=mats
2010-07-16 09:08:05 +12:00
Robert O'Callahan
9ac2bf6f05
Bug 564991. Part 16: Improve performance by putting each scrollbar in its own layer. Also note that Mac scrollbars are opaque. r=mats,sr=dbaron
2010-07-16 09:08:03 +12:00
Robert O'Callahan
fa8f373bc3
Bug 564991. Part 14: Scroll using the layer system. r=mats,sr=dbaron
2010-07-16 09:08:02 +12:00
Robert O'Callahan
f756e0c2a9
Bug 572613. Avoid creating a SolidColor display item when possible by poking the color into the canvas background display item. r=tnikkel
2010-07-16 09:07:53 +12:00
Robert O'Callahan
1917c1d836
Bug 564991. Part 13: Optimize invalidation to avoid repainting ThebesLayer contents sometimes. r=mats,sr=dbaron
2010-07-16 09:07:53 +12:00
Robert O'Callahan
8e44ae607d
Bug 564991. Part 12: Refactor RenderDocument to use nsLayoutUtils::PaintFrame. r=mats
2010-07-16 09:07:52 +12:00
Robert O'Callahan
fa45207070
Bug 564991. Part 7: Create Begin/EndDeferredInvalidates API so we can catch and defer invalidates on frames (and suppress certain areas completely). r=mats,sr=dbaron
2010-07-16 09:07:50 +12:00
Michael Ventnor
8139bee929
Bug 564991. Part 3: Create unique nsDisplayItem types for every single display item. r=tnikkel
2010-07-16 09:07:49 +12:00
Robert O'Callahan
a7c0fe60ac
Bug 564991. Part 2: Create retained layer API: methods on FrameLayerBuilder that frames can use to access, reuse and invalidate retained layers. r=mats,sr=vlad
2010-07-16 09:07:46 +12:00
Robert O'Callahan
270cfe600a
Bug 564991. Part 1: Create a new kind of frame property that can receive a frame pointer when its destructor is called. r=mats
2010-07-16 09:07:45 +12:00
Robert O'Callahan
7bb17dc925
Bug 572623. Rename nsDisplayItemCanvas to nsDisplayCanvas. r=vlad
2010-07-16 09:07:44 +12:00
Chris Jones
60d605a833
Bug 575836: Fix logic here. r=jst
2010-07-12 18:21:27 -05:00
Mats Palmgren
a1c32a5075
Bug 556432 - Dragging a content selection shows non-selectable text in the drag feedback. r=roc
2010-07-12 22:24:33 +02:00
Saint Wesonga
e7a357dcaf
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-05 11:42:18 +02:00
Dão Gottwald
9b15b69a1b
Backed out changeset 59ace8d80ce8
2010-07-04 22:01:13 +02:00
Saint Wesonga
8dd5da1024
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedberg
2010-07-04 21:39:17 +02:00
Ms2ger
b4907b844a
Bug 290397. Default values of 'shape' should be treated as 'rect'. r=bzbarsky
2010-07-02 16:56:09 -04:00
Timothy Nikkel
976046bf62
Bug 563878. Part 5. Rename nsIFrame::GetWindow(Offset) to GetNearestWidget. r=mats
2010-07-02 14:11:04 -05:00
Karl Tomlinson
a33e5a1d24
b=574220 refactor gfxXlibNativeRenderer and make sure the surface matches the requested visual r=roc
...
--HG--
rename : gfx/thebes/cairo-xlib-utils.c => gfx/thebes/gfxXlibNativeRenderer.cpp
2010-07-02 16:04:09 +12:00
Karl Tomlinson
53bffe7a82
b=574583 Extend X11 windowless Flash Player drawing offset workaround to handle clips also r=roc
2010-07-02 15:59:38 +12:00
Karl Tomlinson
efa9fe2155
b=573626 provide an API to create Pixmap gfxXlibSurfaces with a Drawable hint for XCreatePixmap r=vlad sr=roc
2010-07-02 15:55:24 +12:00
Jesse Ruderman
14ecbf3e68
Add bug numbers for all remaining asserts() annotations in crashtests and reftests
2010-07-01 19:33:56 -07:00
Markus Stange
5a166a073b
Bug 572697 - Add frame types eSVGGeometry and eSVGPaintServer. r=roc
...
--HG--
extra : rebase_source : c4f39637b2e251d851cbbd3dadc91a516fd93e4b
2010-07-01 18:40:19 +02:00
Simon Montagu
6b56531da2
Test for bug 574958
2010-07-01 08:30:46 -07:00
Doug Turner
c92986c46a
Merge from mc
2010-06-29 14:39:57 -07:00
Doug Turner
901e02b2de
Merging with mozilla-central. Manually merged: content/canvas/src/nsCanvasRenderingContext2D.cpp ipc/ipdl/Makefile.in toolkit/toolkit-tiers.mk toolkit/xre/nsEmbedFunctions.cpp
...
--HG--
rename : gfx/thebes/src/gfxSharedImageSurface.cpp => gfx/thebes/gfxSharedImageSurface.cpp
rename : gfx/thebes/public/gfxSharedImageSurface.h => gfx/thebes/gfxSharedImageSurface.h
2010-06-28 16:33:19 -07:00
Oleg Romashin
b8ab8239cd
Auto-merge with m-c b51803f3fdef
2010-06-25 08:30:40 -04:00
Doug Turner
4719dd0705
Automerge w mozilla-central
2010-06-24 14:06:13 -07:00
Jason Duell
d194b9d486
Merge from m-c.
...
Fair amount of merge conflicts.
Biggest item was changes to nsHttpChannel from web sockets changes.
Other likely suspects if things are borken:
nsFrameLoader.cpp:
- nsFrameLoader::EnsureMessageManager: pass "this" (orig e10s code) or
nsnull (m-c) to local process call to new nsFrameMessageManager(),
callback arg? Smaug said null.
- only calling SetCallBackData for local case. also +r smaug.
nsPrefBranch.cpp had fairly extensive merge conflicts.
nsChromeRegistry had lots of changes.
Dougt did most of the non-necko changes (thanks).
--HG--
rename : netwerk/protocol/http/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannelAuthProvider.cpp
rename : netwerk/protocol/http/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannelAuthProvider.h
2010-06-22 17:33:57 -07:00
Chris Jones
bf91852da6
Bug 572295: Add X11Util.h for X11 toolkits. r=karlt,joedrew
2010-06-21 15:35:49 -05:00
Chris Jones
e4c6da5f2d
Bug 571730: Initialize the entire XEvent union so that our simple memcpy() serializer doesn't cause valgrind to complain on copying an X*Event smaller than XEvent. r=karlt
2010-06-21 15:35:49 -05:00
Doug Turner
ded51c1c5f
Merging with M-C.
...
Hand merged the following files:
U chrome/src/nsChromeRegistry.cpp
U chrome/src/nsChromeRegistry.h
U content/base/src/nsFrameLoader.cpp
U content/base/src/nsFrameLoader.h
U dom/src/geolocation/nsGeolocation.cpp
U dom/src/geolocation/nsGeolocation.h
U netwerk/build/Makefile.in
U netwerk/cookie/nsCookieService.cpp
U netwerk/cookie/nsCookieService.h
--HG--
rename : extensions/cookie/test/unit/test_cookies.js => extensions/cookie/test/unit/test_cookies_thirdparty.js
rename : netwerk/cookie/src/nsCookieService.cpp => netwerk/cookie/nsCookieService.cpp
rename : netwerk/cookie/src/nsCookieService.h => netwerk/cookie/nsCookieService.h
rename : netwerk/dns/src/nsIDNKitInterface.h => netwerk/dns/nsIDNKitInterface.h
rename : netwerk/protocol/http/src/nsHttp.h => netwerk/protocol/http/nsHttp.h
rename : netwerk/protocol/http/src/nsHttpChannel.cpp => netwerk/protocol/http/nsHttpChannel.cpp
rename : netwerk/protocol/http/src/nsHttpChannel.h => netwerk/protocol/http/nsHttpChannel.h
rename : netwerk/protocol/http/src/nsHttpChunkedDecoder.h => netwerk/protocol/http/nsHttpChunkedDecoder.h
rename : netwerk/protocol/http/src/nsHttpHandler.cpp => netwerk/protocol/http/nsHttpHandler.cpp
rename : netwerk/protocol/http/src/nsHttpHeaderArray.h => netwerk/protocol/http/nsHttpHeaderArray.h
rename : netwerk/protocol/http/src/nsHttpRequestHead.h => netwerk/protocol/http/nsHttpRequestHead.h
rename : netwerk/protocol/http/src/nsHttpResponseHead.h => netwerk/protocol/http/nsHttpResponseHead.h
rename : netwerk/protocol/http/src/nsHttpTransaction.cpp => netwerk/protocol/http/nsHttpTransaction.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.cpp => netwerk/protocol/res/nsResProtocolHandler.cpp
rename : netwerk/protocol/res/src/nsResProtocolHandler.h => netwerk/protocol/res/nsResProtocolHandler.h
2010-06-07 13:38:02 -07:00
Dão Gottwald
b314909c2e
Backed out changeset db6f8068e9a5
2010-06-29 17:49:21 +02:00
Saint Wesonga
c3669d7e9c
Bug 562387 - Convert NS_NEWXPCOM/NS_DELETEXPCOM to new/delete. r=bsmedgerg
2010-06-29 17:14:36 +02:00
Mats Palmgren
8500089ea2
Bug 570160 - Don't create a next-in-flow for a placeholder frame, split the float instead. r=fantasai
2010-06-29 16:32:03 +02:00
Alexander Surkov
1b2bbba526
Bug 573706 - make frame based accessible creation more pellucid, r=davidb, sr=roc
2010-06-28 21:02:03 +09:00
Robert O'Callahan
a863a0478f
Bug 564991. Part 28: Update test manifest to reflect fewer assertion failures on Mac (probably because of less painting).
2010-06-28 14:17:06 +12:00
Robert O'Callahan
9e0f4d539d
Bug 572612. Make scrollbars appear in the background/border layer of the scrollable element. r=mats
2010-06-28 12:28:47 +12:00
Robert O'Callahan
9411b2cc9f
Bug 572914. Overflow areas for theme backgrounds should not be clipped by -moz-hidden-unscrollable. r=dbaron
2010-06-28 12:28:21 +12:00
Ginn Chen
271f0b4b44
Bug 571211 Sun Studio doesn't support 64bit enum for 32bit mode r=dbaron
2010-06-27 00:55:05 +08:00
Timothy Nikkel
c25a766301
Bug 574756. Make sure nsIFrame::List outputs the stylecontext of the frame. r=dbaron
2010-06-25 16:51:17 -05:00
Jesse Ruderman
c63de0b7e8
Crashtest for bug 519031.
2010-06-06 16:26:05 +02:00
Oleg Romashin
b36fb69349
Merge with latest mozilla central r 42802:ffbc3baf03ae
2010-05-25 15:19:33 -04:00
Olli Pettay
58b4f71840
m-c to e10 merge
2010-05-24 17:45:59 +03:00
Mats Palmgren
4915b380e1
Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron
2010-05-25 01:24:15 +02:00
Chris Jones
9327ed8dcc
Merged m-c
2010-05-13 18:04:53 -05:00
Henri Sivonen
2250d7a27c
Bug 534071 - Treat carriage returns as tab-like whitespace in layout. r=roc.
2010-05-12 10:57:12 +03:00
Robert O'Callahan
45cdd27b9a
b=573944 invalidate windowless plugins on instantiation r=josh
2010-06-24 16:02:12 +12:00
Josh Aas
666aab680e
nsObjectFrame code cleanup. b=572985 r=jst
2010-06-23 15:08:35 -04:00
Doug Turner
fe405e740c
merge with m-c. resolved conflicts in:
...
U chrome/src/nsChromeRegistry.cpp
U content/base/src/Makefile.in
U dom/base/nsDOMClassInfo.cpp
U toolkit/toolkit-tiers.mk
--HG--
rename : toolkit/mozapps/extensions/test/unit/test_bug541420.js => toolkit/mozapps/extensions/test/xpcshell/test_bug541420.js
2010-05-11 11:09:54 -07:00
Mike Kristoffersen
86c80047ba
Bug 564402 - slots #define in Qt, prevents Qt builds on trunk
...
--HG--
extra : rebase_source : 0dc2793cb28294addd9781bd9ca76a3e049ec110
2010-05-07 13:20:04 +02:00
L. David Baron
d472c6dbc8
Adjust expected assertion counts for crashtest. (Bug 472557)
2010-05-11 08:49:43 -07:00
Doug Turner
8f97a20153
Merge with m-c. no hand edits
2010-04-29 21:04:50 -07:00
Jim Mathies
bd6651b892
Bug 513162 - Cleanup unused widget code and CID statics. r=vlad.
2010-06-24 21:01:06 -05:00
Mats Palmgren
fb69d7564f
Backout bug 39098 due to Tinderbox orange.
2010-05-21 18:28:39 +02:00
Mats Palmgren
96b6a1a45d
Bug 39098 - Elements with visibility:hidden, visibility:collapse, or display:none get copied to the clipboard. r=dbaron
2010-05-21 15:52:07 +02:00
Brandon Sterne
bcab21793a
Bug 515460 - enforce CSP during image redirects, r=joe
2010-05-20 13:08:02 -07:00
Benoit Girard
fcb1e692fc
Remove CGContextSaveGState from nsObjectFrame. This is now done in cairo_quartz_get_cg_context_with_clip. b=562742 r=jmuizelaar
2010-05-20 15:22:44 -04:00
Benoit Girard
5742a80a1b
Use IOSurface for in-process CoreAnimation on OS X 10.6+ b=559259 r=josh.
2010-05-20 15:22:37 -04:00
L. David Baron
80e84575ad
Adjust manifest for expected assertions: An assertion was fixed, probably by revision a55765a1c2f5. (Bug 472557)
2010-05-19 07:39:10 -07:00
Robert O'Callahan
fea430c85b
Bug 559241. Reflow non-dirty overflow container children if we're supposed to reflow all kids. r=dbaron
2010-05-19 15:04:33 +12:00
Ehsan Akhgari
d051ffeaed
Bug 534785 - Move the ownership of editor and selection controller from the text frame to the content node; r=roc,jst sr=roc
...
(transplanted from 2437636244f39bbdc7d20b062e2c978b9d85c239)
--HG--
rename : layout/reftests/forms/placeholder/placeholder-14.html => layout/reftests/forms/placeholder/placeholder-18.html
extra : transplant_source : %247cbD%F3%9B%BD%C7%D2%0B%06.%2C%97%8B%9D%85%C29
2010-04-21 16:17:41 -04:00
L. David Baron
b0cc96df08
Fix spew of 'couldn't get canvas size' assertions. (Bug 566603) r=vlad
2010-05-18 10:12:33 -07:00
Vladimir Vukicevic
e80faabc40
b=561168; convert canvas to use layers for rendering - followup #2 ; r=roc
2010-05-17 21:04:22 -07:00
Vladimir Vukicevic
b99bb96c47
b=561168; convert canvas to use layers for rendering; r=roc,bas
2010-05-17 21:04:22 -07:00