Chris Jones
a23b322c10
Merge backout
2010-08-31 00:32:51 -05:00
Chris Jones
b4fc7982d0
Revert temporary landing of 130078
2010-08-31 00:32:24 -05:00
Timothy Nikkel
72cb3f4b66
Revert to rev 36a5e2fa01c9
2010-08-28 01:11:22 -05:00
Robert O'Callahan
1c6cd8ed20
Bug 130078. Part 2. Remove widgets from all subframes. r=dbaron
2010-08-27 18:15:08 -05:00
Robert O'Callahan
c02234511d
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-27 18:15:08 -05:00
Timothy Nikkel
8139d1a8d5
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-27 03:34:27 -05:00
Timothy Nikkel
db9bbf8746
Revert to rev 7dd7010e3dc7.
2010-08-27 03:29:44 -05:00
Timothy Nikkel
a9ea89a789
imported patch recordignoringsuppressiononsubdocs
2010-08-26 22:01:43 -05:00
Timothy Nikkel
cfa2a2df1a
imported patch suppresswhenenteringsubdocs
2010-08-26 22:01:43 -05:00
Robert O'Callahan
32c50c5467
Bug 590468. Part 6: Fix setting of nsDisplayList::mOpaque, and return it from nsDisplayWrapList::IsOpaque. r=tnikkel
2010-08-26 22:01:43 -05:00
Chris Jones
8992432666
Merge m-c --> cedar
2010-08-26 21:36:43 -05:00
Robert O'Callahan
06af911885
Temporarily landing patches for bug 130078. Will be backed out when it lands for real.
2010-08-20 18:24:40 -05:00
Chris Jones
6616076b0a
Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1
2010-08-20 14:29:02 -05:00
Chris Jones
26435d9035
Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc
2010-08-20 14:29:02 -05:00
Chris Jones
5e7a13a689
Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc
2010-08-20 14:29:01 -05:00
Robert O'Callahan
06241c1e45
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-20 14:29:01 -05:00
Oleg Romashin
832333ab06
Merged with mozilla-central: 00186bbb7459
2010-08-24 14:21:48 -07:00
Chris Jones
2eea7a3ba1
Update nsDisplayRemote to new nsDisplayItem interface
2010-08-23 22:23:37 -05:00
Chris Jones
1b38174082
Merge remote-frame code into m-c tip
2010-08-23 22:10:50 -05:00
Robert O'Callahan
79b8d06302
Bug 581222. Extend gfxAlphaBlur to support "spread radii". r=vlad
...
--HG--
extra : rebase_source : e644ae08007e52c524c3237d336441f1413f846b
2010-08-23 21:30:07 +12:00
Robert O'Callahan
794cc06f63
Bug 581222. Back out patch that disabled box-shadows for native-themed content elements.
...
--HG--
extra : rebase_source : 4685dfdddd9e0bf1ed9e5f8401d6bc73b91a5600
2010-08-23 21:30:07 +12:00
Chris Jones
9ce9433a4a
Bug 570620, part o: Connect the dots to enable drawing remote frames for <browser remote>: create the frame on the content side, insert a display item for it in compositor-side SubdocFrame, and use IPC-enabled layer managers to make it all work. r=mats sr=roc
2010-08-20 18:24:41 -05:00
L. David Baron
26ed2a5639
Add support for calc() to 'vertical-align' and 'text-indent'. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
L. David Baron
70c2ff90c6
Share IsPaddingZero between nsBlockFrame and nsInlineFrame by putting it in nsLayoutUtils. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
L. David Baron
ed01917887
Add support for calc() to the '{margin,padding}-{top,right,bottom,left}' and '-moz-margin-{start,end}' properties. (Bug 585715) r=bzbarsky a2.0=blocking:beta6+
2010-08-31 12:05:12 -04:00
L. David Baron
8bd67bd46c
Remove no-longer-needed code for handling unconstrained containing block widths. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-31 12:05:12 -04:00
Ehsan Akhgari
15e706b2f1
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : b66535705ec25cd4dca7378424b78cc3bef94e46
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
90ab413a2e
Bug 240933 - Part 13: Consider text frame continuations containing only newlines editable; r,a=roc
...
--HG--
extra : rebase_source : e9f3001867e7992513484b92993a5d6a222273f6
2010-08-13 18:58:26 -04:00
Ehsan Akhgari
ed558e9032
Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc
...
--HG--
extra : rebase_source : 8e6451d2e1414a61e15a9ffaf94470e02d2d0b72
2010-08-13 18:58:24 -04:00
Ehsan Akhgari
578ac0b85f
Bug 240933 - Part 12: Avoid injecting textnodes as children of br nodes; r,a=roc
...
--HG--
extra : rebase_source : 5b6a4d870c1f95da0d2a1233d1648096ae599174
2010-08-13 18:58:24 -04:00
Ms2ger
a2c049c1fc
Bug 531030 - Remove support for the spacer element; r=bzbarsky a=blocking-betaN
2010-08-20 08:05:05 +02:00
Robert O'Callahan
812e6204ae
Bug 584282. Use nsDisplayItem::ToReferenceFrame() instead of calling nsDisplayListBuilder::ToReferenceFrame, wherever possible. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 730ba8640cb37bd8484ff069b5d6fd46d9bc3e84
2010-08-13 22:01:58 +12:00
Robert O'Callahan
a581cd6197
Bug 584282. Add nsDisplayItem::mToReferenceFrame and initialize it in the constructor. r=tnikkel,a=dbaron
...
--HG--
extra : rebase_source : 496cbde7c495eb8872c3d0ffc0ca4c57c2a6a777
2010-08-13 22:01:13 +12:00
Karl Tomlinson
9262413ddf
backout dbbb9575aae1 due to build issues in some configurations b=577743
2010-08-23 16:27:49 +12:00
Chris Double
2c4ba817cd
Bug 577743 - Scale videos at YCbCr to RGB conversion time - r=roc a=blocking
2010-08-23 13:47:33 +12:00
Oleg Romashin
b413ca6239
Bug 556487 - Snap plugin rect to integer pixels. r=roc a=blocking2.0
...
--HG--
extra : rebase_source : 6442890eb41dce7a134173b5d1e1c87c589cadd1
2010-09-07 19:51:50 -07:00
Oleg Romashin
ff18db0258
Bug 556487 - Post Reflow Callback for nsObjectFrame r=roc a=blocking2.0
...
--HG--
extra : rebase_source : c8058990232bbabf8fbd36890e0fb6190c318faf
2010-09-07 17:36:59 -07:00
Alon Zakai
4606f548ac
Bug 359608 - Animated GIFs are animated even when user navigates to another page.r=bholley,bz;sr=bz;a=blocker
2010-09-07 17:33:02 -07:00
L. David Baron
86166b79e6
Reduce the border-radius of elements with overflow != visible so that any present scrollbars are not clipped. (Bug 459144, patch 8) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
4f34aba74d
Add border-radius-related helper functions to nsIFrame. (Bug 459144, patch 6) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
fb568df1f4
Move clamping of border-radii that are too big from nsCSSRendering::ComputePixelRadii to nsIFrame::ComputeBorderRadii. This also fixes a bug in nsDisplayBoxShadowOuter::ComputeVisibility. (Bug 459144, patch 5) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:35 -07:00
L. David Baron
59ce09e952
Move skip-sides handling from nsCSSRendering::ComputePixelRadii to nsIFrame::ComputeBorderRadii. This fixes a bug (ignoring skip-sides) in nsDisplayBoxShadowOuter::ComputeVisibility, and improves the no-border-radius optimizations when skip-sides allow us to take them. (Bug 459144, patch 3) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:34 -07:00
L. David Baron
228dbed13a
Make nsIFrame::ComputeBorderRadii take an nsSize instead of two nscoords. (Bug 459144, patch 2) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:34 -07:00
L. David Baron
452d0afadd
Move nsCSSRendering::GetBorderRadiusTwips to nsIFrame and rename it to ComputeBorderRadii. (Bug 459144, patch 1) r=roc a2.0=blocking:beta6+
2010-09-07 15:20:34 -07:00
Timothy Nikkel
5071730cb3
Bug 588407. Put top level content documents in a container layer. r=roc
2010-08-21 19:55:55 -05:00
Daniel Holbert
52375da4a7
Bug 276431 Patch 9: Handle kFullImageSpaceRect in imgIContainerObserver::OnFrameChanged impls. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
f87ade996b
Bug 276431 Patch 8: Handle kFullImageSpaceRect in the only nontrivial imgIDecoderObserver::OnDataAvailable impl. r=roc a=blocking
2010-09-08 13:40:39 -07:00
Daniel Holbert
a9e17bd649
Bug 276431 Patch 3b: Make nsImageFrame compute its transform on-demand. r=roc a=blocking
2010-09-08 13:40:38 -07:00
Daniel Holbert
d2bf82c2fc
Bug 276431 part 3: Make nsImageFrame store an intrinsic ratio separate from its intrinsic size, and accept percentages in its intrinsic size. r=roc a=blocking
2010-09-08 13:40:38 -07:00
Ehsan Akhgari
2c6440bc8d
Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron
...
--HG--
extra : rebase_source : 51ab2d6caf2b8827cf2e1eb88e5034d75268f658
2010-07-16 17:34:36 -04:00
Ehsan Akhgari
42c1926629
Bug 240933 - Part 3.1: Position the selection before the terminating newline when clicking to the right of the line; r=roc a=dbaron
...
--HG--
extra : rebase_source : 93b34b04837da161ebedd900bbe8edc002c934ad
2010-07-16 17:34:36 -04:00
Ehsan Akhgari
8b538d8a3a
Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron
...
--HG--
extra : rebase_source : 198f679bb5cea82b710c921576fa44c59f77aa23
2010-07-13 21:49:16 -04:00
Ehsan Akhgari
8c0a628bb6
Bug 240933 - Part 3: Correct the caret movement throughout textareas (and pre elements with caret browsing turned on as well); r=roc a=dbaron
...
--HG--
extra : rebase_source : 9f015607bc84a11137ab11ba47c14e98c20e3970
2010-07-13 21:49:16 -04:00
Mounir Lamouri
dd70db2b50
Bug 590387 - Crash [@ nsGenericHTMLFormElement::UpdateFormOwner] when attaching an element with @form set to an element which is not in a document. r=sicking a2.0=blocking
...
--HG--
extra : rebase_source : 9f2a36b9a622c9ef1a2e3501ba45a297b8451d9e
2010-08-25 22:45:43 +02:00
Boris Zbarsky
d4692ab044
Bug 580167 part 3. Make nsLineLayout call ReflowText as needed. r=dbaron
2010-08-25 14:54:47 -04:00
Boris Zbarsky
49fc0489a4
Bug 580167 part 1. Create an nsTextFrame::ReflowText that doesn't need a reflow state. r=dbaron
2010-08-25 14:54:46 -04:00
L. David Baron
a9774b11d6
Make IsAutoHeight be a member of nsLayoutUtils so we don't have to have two copies of it. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
065207f2c7
Add support for calc() to the 'top', 'right', 'bottom', and 'left' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:56 +02:00
L. David Baron
091d6b7837
Add support for calc() to the 'height', 'min-height', and 'max-height' properties. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
L. David Baron
1a458f4877
Introduce nsStyleCoord::HasPercent to check for either a percent value or a calc() value containing a percent. (Bug 585715) r=bzbarsky a2.0=blocking+
2010-08-25 12:17:55 +02:00
Jonas Sicking
5656569763
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
Ehsan Akhgari
27aec6b8bd
Bug 593211 - Part 3: Optimize nsBlockInFlowLineIterator by using the line cursor if present; r,a=roc
...
--HG--
extra : rebase_source : 03f9f9532373592b415e622788204a7766d998f6
2010-09-08 20:15:24 -04:00
Mounir Lamouri
6d9bb03e5f
Move 590387.html crashtest to content/html/content/crashtests/ a=test-only
...
--HG--
rename : layout/generic/crashtests/590387.html => content/html/content/crashtests/590387.html
2010-08-28 02:35:42 +02:00
Robert O'Callahan
7db127ab8d
Bug 584494 - Regression: Transform rotation testcase performs significantly worse - r=dbaron
2010-09-02 14:07:37 -04:00
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