Commit Graph

2930 Commits

Author SHA1 Message Date
Chris Jones
b24d5d1e6d Bug 637278: INVALIDATE_NO_UPDATE_LAYER_TREE should subsume INVALIDATE_NO_THEBES_LAYERS. r=tn sr=roc 2011-03-01 12:27:35 -06:00
<Robert O'Callahan> roc@ocallahan.org
5166267748 Bug 636114 - Crash [@ PluginBackgroundSink::~PluginBackgroundSink() ]; r=jones.chris.g approval2.0=johnath 2011-03-01 08:54:37 -04:00
Ehsan Akhgari
03d0f42f3c Bug 642823 - Part 2: Correct the original test for selection.modify which tested explicitly for Windows-specific behavior; r=roc 2011-03-20 15:53:23 -04:00
Ehsan Akhgari
11ad8ed434 Bug 642823 - Make the behavior of nsISelection::Modify consistent for word selection across platforms by not eating spaces on any platform; r=roc 2011-03-20 15:49:06 -04:00
Matt Woodrow
5a9d39c5e9 Bug 629857 - When invalidating transformed items, round the original area out to the nearest pixel. r=roc a=roc 2011-02-25 11:55:23 +13:00
Mats Palmgren
6d3f80df72 Bug 635405 - Zooming a windowless plugin frame can cause it to "bleed" outside its bounds. r+a=roc 2011-02-24 13:06:14 +01:00
Robert O'Callahan
20b9397753 Bug 630835. Make BuildLayer responsible for setting a visible region on the layer, and let FrameLayerBuilder only reduce it. r=tnikkel,a=blocking
This avoids problems with FrameLayerBuilder making the visible region bigger than we expected, invalidating CONTENT_OPAQUE flags set on the layer.
In particular, we had been using TransformBounds to compute the new visible region, and for non-axis-aligned transforms this gives us a visible
region which contains areas not actually painted by the layer contents.
2011-02-23 18:38:09 +13:00
Robert O'Callahan
8c2e30a98c Bug 634844. Part 2: Don't create a new Image in BuildLayer if we already have one. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Robert O'Callahan
afda29e271 Bug 634844. nsPluginInstanceOwner::IsUpToDate should not create an Image for the plugin. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Robert O'Callahan
134548e4e6 Bug 631388. Part 2: Don't let nsDisplayPlugin bounds depend on the ImageContainer's current image bounds, since that can change during display list processing. r=cjones,a=blocking 2011-02-23 18:38:09 +13:00
Simon Montagu
f3795dcd86 Don't create or delete frames when nsTextFrame::SetLength is called from bidi resolution. Bug 635329, r+a=roc 2011-02-21 10:02:23 +02:00
Timothy Nikkel
97d427c363 Bug 633762. Only bail early if we have an async scroll pending so the ScrollTo call can update mDestination. r=roc a=roc 2011-02-20 14:03:32 -06:00
Chris Jones
dd464c0e85 Bug 635191: If the object frame has gone away, there's no way to determine IsUpToDate(), so just dispatch the paint-finished event. r=roc a=b 2011-02-18 18:32:12 -06:00
Peter Van der Beken
2552abd64a Fix for bug 633738 (quora.com bloats out of control (part 3)) - mark some known assertions caused by bug 439258. r=bz, a=jst. 2011-02-17 12:19:13 +01:00
Jonathan Kew
84c34c9615 bug 631035 part 2 - optimize storage of tab widths. r+a=roc 2011-02-18 09:07:12 +00:00
Matt Woodrow
9cb4fc37b6 Bug 634521 - Let mac plugins trigger empty transactions. r=roc a=roc 2011-02-17 16:56:06 +13:00
Mark Banner
9489346a91 Bustage fix for the bustage fix for bug 626602. Namespace statement is required, so just ifdef it for IPC builds. r+a=bustage fix 2011-02-16 19:43:36 -06:00
Chris Jones
2feec67e7c Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-16 16:43:31 -06:00
Robert O'Callahan
7344c3c89b Bug 626602. Part 4: Make the display items behind a plugin that needs readback be as visible as we can. r=tnikkel 2011-02-16 16:43:30 -06:00
Robert O'Callahan
354fb935c8 Bug 626602. Part 3: Hook up ReadbackLayers in nsObjectFrame. r=cjones 2011-02-16 16:43:30 -06:00
Ehsan Akhgari
dbd378e898 Bug 633044 - Special case empty text frames to position the caret at the correct position; r=roc a=blocking-final+ 2011-02-15 01:11:18 -05:00
Matt Woodrow
488e30f398 Bustage fix (forgot to qref). r=jst, a=bustage 2011-02-15 21:48:01 -08:00
Matt Woodrow
662d11c11f Bug 591687. Disable emtpy transactions with mac plugin layers. r=roc, a=blocker. 2011-02-15 21:25:34 -08:00
Chris Jones
4c62c14fe1 Bug 631585: Don't try to create plugin widgets in content processes, it's never going to work. r=tn a=a 2011-02-15 15:45:02 -06:00
Daniel Holbert
99a50a3910 Bug 596478: delay nsImageFrame's IsPercentageAware check until after we've lazily initialized mIntrinsicSize. r=roc a=dbaron 2011-02-15 13:34:52 -08:00
Simon Montagu
26ecc69649 Test for bug 632379, r=ehsan, a=test 2011-02-13 23:56:24 -08:00
Benoit Girard
156483e4f4 Disable OSX Plugin Layer due to regression b=633826 r+a=josh,bustage
--HG--
extra : rebase_source : 3fb0ff372479b9b6fbcb7246747bf5d769c66361
2011-02-13 21:54:33 -05:00
Simon Montagu
8e5a76d4bc Set the position of the childRect in nsXULScrollFrame::LayoutScrollArea before calling Layout. Bug 632379, r=dbaron, a=blocker 2011-02-13 08:38:29 +02:00
Matt Woodrow
5cacf25656 Bug 591687: Create MacIOSurfaceImages for Core Animation plugins. r=roc r=josh a=blocking2.0betaN+ 2011-02-12 11:09:03 -05:00
Matt Woodrow
aaef3ddcc5 Bug 591687: Add GetImage in order to create mac async plugin images in plugin code instead of nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 11:07:10 -05:00
Matt Woodrow
d6a75cf690 Bug 591687: Add interface to retrieve plugins actual (remote) drawing model from nsObjectFrame. r=bsmedberg a=blocking2.0betaN+ 2011-02-12 10:55:40 -05:00
Jonathan Kew
36ed20e7c6 bug 633322 - ensure GetDetailedGlyphs() is not called when glyph count is zero. r=roc a=blocking 2011-02-11 22:05:09 +00:00
Mats Palmgren
d82610cf02 Bug 631337 - Cannot resize the window using the corner resizer when body is position:relative. r=roc a=blocking2.0:final 2011-02-10 23:38:37 +01:00
L. David Baron
56e6f8182f Merge layout work from projects/birch, part 1. a=bsmedberg 2011-03-23 12:36:08 -07:00
Josh Aas
fc34f968eb Bug 641621: Fix bug in which we misinterpret an NPError return value as an nsresult. r=bsmedberg 2011-03-23 11:46:09 -07:00
Steven Michaud
310a1f87bf Breakage fix for patch for bug 637367 (4da037fe27b0). a=breakage-fix 2011-03-18 15:27:20 -05:00
Steven Michaud
65c49866d2 Bug 637367 - Stop DrawPlugin from accessing deleted nsObjectFrame. r=roc a=beltzner 2011-03-18 14:35:14 -05:00
Benjamin Stover
0b3ec6cfce Bug 642205 Followup: workaround for Android compiler bug r=tnikkel a=blocking-fennec CLOSED TREE 2011-03-17 15:48:47 -07:00
Benjamin Stover
4d0881f7a6 Bug 642205 Followup: Remove bogus assertion r=roc a=followup-for-blocking-fennec 2011-03-16 14:17:25 -07:00
Benjamin Stover
51e2e999ba Bug 642205 Do not build layers for asynchronous scrolling if element shouldn't be scrollable r=tn a=blocking-fennec 2011-03-16 13:18:35 -07: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
Steven Michaud
472417e274 Bug 637367 - Add null checks to nsPluginInstanceOwner::DoCocoaEventDrawRect(). r=bsmedberg a=sayrer 2011-03-11 17:50:50 -06:00
Chris Jones
e4ac9c5928 Bug 593243: Clip invalidations to the displayport when one is set. r=tn 2011-03-11 17:12:11 -06:00
Joel Maher
368d8a0909 Bug 637660 - add sandbox.Android, and skip a few crashtests so we can run green on Android. r=dbaron, a=tests 2011-03-11 09:15:33 -05: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
Ehsan Akhgari
f83c604e6c Merge cedar onto mozilla-central 2011-03-24 14:42:21 -04:00
Benjamin Stover
e08f07788f Bug 643164 Fire MozScrollAreaChanged before "load", not after r=roc 2011-03-24 10:41:23 -07:00
Jonathan Kew
4848054350 bug 418975 - support soft hyphen when calculating min width for table and fieldset. r=roc 2011-03-24 15:22:37 +00:00
Jonathan Kew
c4c9f2d9e9 bug 499292 - hide fallback text for a short time while a font downloads. r=jdaggett a=beltzner 2011-01-05 21:48:48 +00: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
Jonathan Kew
1002db5143 bug 631035 part 1 - optimize storage of DetailedGlyph records. r=roc a=blocking2.0 2011-02-10 06:50:47 +00:00
Timothy Nikkel
9336a81739 Bug 629587. Don't try to scroll based on scrollbar attributes if they represent the current scroll position. r=roc a=blocking 2011-02-09 22:35:01 -06: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
Mark Banner
c0c160d3c4 Bustage fix for the bustage fix for bug 626602. Namespace statement is required, so just ifdef it for IPC builds. r+a=bustage fix 2011-02-09 09:40:26 +00:00
Mark Banner
fbfe3e1251 Non-IPC bustage fix from bug 626602 - unnecessary using namespace mozilla::plugins statement. r+a=bustage fix 2011-02-09 09:16:59 +00:00
Chris Jones
e569db4f34 Bug 631388: Stop trying to center plugin images in their frames. r=roc a=a 2011-02-08 18:44:14 -06:00
Chris Jones
66c0a6b21b Bug 626602, part 8: Dig a tunnel from nsObjectFrame to PluginInstanceParent for background copying. r=bsmedberg sr=roc 2011-02-08 18:44:14 -06: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
Simon Montagu
e5ed17c7d6 Bug 508816 - layout patch 2011-02-07 09:59:20 +02:00
Simon Montagu
8847abc54d Tests for bug 508816, from dbaron and Enn 2011-02-07 09:59:20 +02:00
Ehsan Akhgari
44c6ad0a4f Merge backout of bug 622072 2011-03-29 14:32:11 -04:00
Ehsan Akhgari
931bd6ee19 Back out bug 622072 because it caused bug 645987 2011-03-29 14:31:53 -04:00
Alon Zakai
eb6d3ef5f2 Bug 610727 - Mark canvas layers inactive when relevant. r=roc a=blocking-fennec 2011-02-04 10:11:24 -08:00
Ehsan Akhgari
ff5cb3429d Bug 631406 - PeekOffsetNoAmount doesn't accept null as its second argument; r,a=roc 2011-02-03 19:52:46 -05:00
Markus Stange
20d43637e6 Bug 607464 - Don't use smooth scrolling for pixel scrolling. r=roc, a=roc 2011-02-04 09:00:06 +01: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
Neil Deakin
fd67e69ef1 Bug 624127, clear mousedown selection state in frame where mouse was pressed down,r=smaug,a=jst 2011-02-03 12:08:30 -05:00
Patrick Walton
5c3bd5f865 Bug 630891 - Don't repaint nsSubDocumentFrames when they move. r=roc a=roc 2011-02-02 13:53:53 -08:00
L. David Baron
cb50a6fc08 Ensure that 'load' and 'script' tests do layout and painting before we go on to the next test. (Bug 624279) r=roc a2.0=blocking
(It's tempting to remove both the direct call to RecordResult() (and
instead always go through WaitForTestEnd) and the setupPrintMode() call
not inside WaitForTestEnd, but that's probably more than I should tackle
right now.)
2011-02-02 08:40:17 -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
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
Serge Gautherie
2a012a8142 Bug 628589 - [SeaMonkey] mochitest-plain-3: permanent "TEST-UNEXPECTED-FAIL | /tests/gfx/test_acceleration.html | Acceleration enabled on x86-64 OS X". (Windows 2003 too); (Dv1) test_selection_underline.html: Move waitForExplicitFinish() out of onLoad(), Make existing todo() more explicit.
r=masayuki a=(test only).
2011-01-31 07:13:08 +01:00
Robert O'Callahan
f3db7913db Bug 616085 - Renable 508908-1.html crashtest without it hitting the network, a=test 2011-01-20 22:05:48 -08:00
Mats Palmgren ext:(%2C%20Boris%20Zbarsky%20%3Cbzbarsky%40mit.edu%3E)
b3f06834af Bug 597627 - Adding and removing lines in big textareas is really slow. r=roc a=blocking2.0:final 2011-01-28 22:08:41 +01:00
Alexander Surkov
7f72cfd7af Bug 625652 - make sure accessible tree is correct when rendered text is changed, r=davidb, sr=roc, a=roc 2011-01-28 16:42:22 +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
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
Ehsan Akhgari
963d008f0a Bug 579767 - Frame borders are sometimes not redrawn correctly after dragging them or resizing the window; r,a=roc 2011-01-26 00:41:52 -05:00
Chris Double
4e29108ec5 Bug 623998 - Reduce frameset size limit - r=roc a=blocking2.0:final 2011-01-25 14:38:07 +13: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
Boris Zbarsky
2b3d8a6402 Bug 626395. Make sure that when we're clipping our kids we don't create overflow containers for their overflow. Force the kids to lay out within our size instead. Also don't include overflowing kids in our overflow area if we're clipping them. r=roc, a=blocker 2011-01-19 17:39:31 -05:00
Timothy Nikkel
22a457e410 Bug 626343. Remove incorrect view null check in plugin widget creation. r=roc a=blocking 2011-01-18 13:43:47 -06:00
Karl Tomlinson
9c22641396 Bug 617703 - Add plugin support and prevent crash [@ libflashplayer.so@0x32884 ][@ libflashplayer.so@0x32800 ] in Fennec r=romaxa a=approval2.0 2011-01-17 21:07:49 +02: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
Neil Deakin
fee5806e2b Bug 489303, show resizer when statusbar is hidden, r=roc,gavin a=blocking 2011-01-17 09:35:32 -05: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
Mats Palmgren
2534080c69 Bug 602331 - selection addRange cannot select nodes that are being dynamically appended to the DOM. r=roc a=blocking2.0:final 2011-01-14 01:22:26 +01: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
Oleg Romashin
8ab0673f0f Bug 619176 - Plugins get Visible state every time when scrolling (:BuildLayer always make them visible). r=roc a=approval2.0 2011-01-13 15:20:53 +02:00
L. David Baron
46b5820693 Report incomplete reflow status as appropriate when frame tree is too deep. (Bug 619021) r=roc a2.0=blocking 2011-01-11 17:09:22 -08:00
L. David Baron
387c0a2245 Issue console warning when we abort reflow because the frame tree is too deep. (Bug 619021) r=roc a2.0=blocking 2011-01-11 17:09:22 -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
a056e87fc8 Add crashtest for bug 595740. a2.0=blocking, tests 2011-01-11 17:09:22 -08:00
L. David Baron
4b971b51fd Handle multiple continuations of the same float being out-of-order in the same float list. (Bug 595740) r=roc a2.0=blocking 2011-01-11 17:09:21 -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
Jonathan Kew
13736eae4a bug 621918 - part 1 - eliminate aDirtyRect parameter from gfxTextRun::Draw etc. r=roc a=roc 2011-01-11 11:17:00 +00: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
8050f8a959 Bug 602892. Part 2: Ensure that a scrollframe is 'inactive' if it can't be scrolled by blitting. r=tnikkel,a=blocking 2011-01-04 21:46:59 +13:00
Robert O'Callahan
62d193188e Bug 602892. Part 1: Refactor so that mScrollingActive is always true for scrollframes that are always active. r=tnikkel,a=blocking 2011-01-04 21:46:56 +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
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
Robert O'Callahan
635ece94a9 Bug 621260. Don't run StopPluginInstance multiple times on the same instance. Also, let StopPluginInstance do the call to instance->Stop(). r+a=josh 2010-12-20 14:37:43 +13:00
Bas Schouten
a218a71e7c Bug 620665 - Part 4: Also recreate container when types don't match. r=roc a=blocking-beta9 2010-12-29 01:07:09 +00: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
Gavin Sharp
82f380c4da Back out 0ab0603bea99 (bug 489303) due to suspected Txul regression, a=backout 2010-12-25 14:55:35 -05:00
Neil Deakin
49b5659acf Bug 489303 - No resizer since the statusbar is gone, r=gavin+roc, a=b 2010-12-21 13:19:00 -08:00
timeless@mozdev.org
95d7ec83cd Bug 620252 RomanToText could use // FALLTHROUGH comments for 3 and 2, r+a=dbaron 2010-12-19 19:38:00 -08:00
timeless@mozdev.org
c4888bce55 Bug 620304 crash [@ nsTypedSelection::GetIndicesForInterval] if !aStartIndex/!aEndIndex, r+a=jst 2010-12-20 01:19:00 -08:00
Robert O'Callahan
bfe2452ebc Bug 584251. Wallpaper around crash. r=joshmoz a=blocking-betaN+ 2010-12-24 14:37:03 -06:00
Jonathan Kew
a9323f7452 bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc 2010-12-16 14:17:41 -08:00
Steven Michaud
57a79c1b85 Bug 618487 - Divx Web Player Videos won't play on Vidbux.com and Vidxden.com and Movshare.net. r=josh a=blocking2.0BetaN+ 2010-12-20 13:49:37 -06: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
Robert O'Callahan
c727ef9b41 Bug 617152. Part 13: Fix nsXULScrollFrame::InvalidateInternal. r=tnikkel,a=blockers 2010-12-20 14:37:43 +13:00
Robert O'Callahan
deacd0626d Bug 617152. Part 11: Invalidate the ThebesLayers for an active-scroll-root using the scroll position at the last layer tree update, and do the rest of the invalidation using the current scroll position. r=tnikkel 2010-12-20 14:37:43 +13:00
Robert O'Callahan
dc7ee6cfc4 Bug 594333. Invalidate frame subtree (including layers) when moving a float. r=dbaron 2010-12-20 14:37:43 +13:00
Robert O'Callahan
a687d70497 Bug 617152. Part 9: Use desired bounds in nsDisplayList::GetBounds, not actual bounds, when computing plugin geometry. r=tnikkel 2010-12-20 14:37:43 +13:00
Robert O'Callahan
b2eb2ce72f Bug 617152. Part 8.5: Fire MozPaintWait even if the plugin layer is currently zero-size. r=tnikkel 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
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
Jonathan Kew
6531a7f776 Backed out changeset 1958ebae93cc for causing mochitest orange. a=backout 2010-12-16 15:15:35 -08:00
Jonathan Kew
7a31c3e079 bug 332636 - fix editor's handling of surrogate-pair combining marks with backspace. r=ehsan a=roc 2010-12-16 14:17:41 -08:00
Shawn Wilsher
1f59f3890b Merge mozilla-central to Places 2010-12-14 15:56:41 -08:00
Shawn Wilsher
ade39d2c6a Merge mozilla-central to Places. 2010-12-13 15:08:04 -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
Shawn Wilsher
5f893d748b Merge mozilla-central into Places. 2010-12-07 15:06:32 -08:00
Steven Michaud
afd3294490 Bug 594482 - Java applets broken with content policies. r=josh,bsmedberg a=blocking2.0BetaN+ 2010-12-07 15:18:50 -06:00
Boris Zbarsky
315d8d3845 Bug 614397. Always descend through all placeholders while doing any sort of selection display list. r=roc, a=roc 2010-12-07 08:54:50 -05:00
Shawn Wilsher
2ed7d826a8 Merge mozilla-central into Places 2010-12-06 09:48:54 -08:00
Shawn Wilsher
1a57bc2dca Merge mozilla-central to Places. 2010-12-02 09:05:33 -08:00
Boris Zbarsky
b0c658578e Bug 609272. Make sure to not apply clipping of overflow when printing to the root element, because it doesn't really make use of its overflow style itself. r=dbaron 2010-11-30 13:19:57 -05:00
Ehsan Akhgari
2d5bbf542f Bug 616085 - Disable a crashtest which accesses a network resource which is unavailable, and causes the crashtest suite to not exit cleanly; r=me a=tree-opener landed on a CLOSED TREE 2010-12-02 02:13:19 -05:00
Dave Townsend
7a0e0a5cd9 Backing out bug 614058, bug 609272, bug 478445, bug 499628, bug 605296, bug 608914 and bug 614724 due to potentially causing bug 615736 CLOSED TREE. a=backout 2010-12-01 11:01:56 -08:00
Shawn Wilsher
9cdab945a8 Merge mozilla-central into Places. 2010-11-29 08:43:57 -08:00
Boris Zbarsky
f5eba2ae67 Bug 609272. Make sure to not apply clipping of overflow when printing to the root element, because it doesn't really make use of its overflow style itself. r=dbaron 2010-11-30 13:19:57 -05:00
Shawn Wilsher
abacada9dc Merge mozilla-central into Places 2010-11-17 10:55:34 -08:00
Mats Palmgren
59244db4d6 "ASSERTION: We should have padding here" with abs pos, overflow:scroll. r=roc a=blocking2.0:final 2010-11-09 22:14:05 +01:00
Chris Jones
28d67e6217 Bug 550611: Make nsTArray optionally infallible. sr=bsmedberg a=blocking
--HG--
rename : xpcom/glue/nsTArray.cpp => xpcom/glue/nsTArray-inl.h
2010-11-08 20:48:59 -06:00
Steven Michaud
df47b58fde Bug 601182 - Spurious focus events sent to NPAPI plugins on OS X in Cocoa event mode. Patch partly by enndeakin. r=josh,smaug a=blocking2.0BetaN+ 2010-11-15 15:12:50 -06:00
Benjamin Smedberg
0aa2cd1075 Bug 611033 - Don't retain the plugin surface beyond the lifetime of the PluginInstanceParent: we only guarantee that the plugin X socket will kept alive until PluginModuleParent::ActorDestroy, r=karlt 2010-11-11 08:43:54 -05:00
Benjamin Smedberg
a95396d2ef Bug 611206 - Send the plugin information about mouse position changes when we scroll, even when we don't need to repaint the plugin, r=karlt 2010-11-15 09:41:18 -05:00
Ben Turner
7b428214f3 Bug 586216 - Don't use one timer per animated widget. r=roc a=b 2010-11-13 09:19:38 +01:00
Chris Double
c8b0bb098e Bug 577843 - Scale videos at YCbCr conversion time - r=roc a=blocking2.0
--HG--
extra : rebase_source : ae011843fdd812dbeab7e5de0bf3b6029cccb3e5
2010-10-26 16:11:13 +13:00
Benjamin Smedberg
c1f3d96e91 Final merge of bug 596451. a=blocking2.0 - Asynchronous layer-based painting on Windows. Various pieces r=josh/romaxa/karlt/jmathies/roc.
This merge includes the fix for bug 583109 - Add visibility notifications for plugins, so that asynchronous painting can be suspended when plugins are not visible. This collaterally fixes bug 606285, hulu homepage doesn't paint with async layers.

This changeset only implements asynchronous painting for out-of-process plugins. In-process painting will be implemented as a followup. Note that it is still possible to disable asynchronous layers on Windows by setting the preference mozilla.plugins.use_layers to false, but my intention is to remove this preference and sync-painting codepaths soon in a followup.
2010-11-10 10:29:09 -05:00
Benjamin Smedberg
bcb4f74440 Additional review fix for bug 583109 comment 49 (karlt). 2010-11-10 08:19:53 -05:00
Benjamin Smedberg
1417fd7f05 Fix review comments from bug 583109 (changeset 6ff3fcbb7845), comment 46. 2010-11-09 09:36:33 -05:00
Benjamin Smedberg
2aaeb2d246 Merge mozilla-central into the branch for asynchonous plugin painting (bug 596451), especially to pick up and test whether the fix for 602200 also fixes bug 607958. 2010-11-08 09:50:11 -05:00
Benjamin Smedberg
9df15ba4d0 Fix nsObjectFrame.cpp back to unix-style line endings. DOS endings crept in during the last merge for reasons I don't understand. 2010-11-08 09:48:02 -05:00
Benjamin Smedberg
010fbdcb07 Merge mozilla-central into the branch for asynchronous plugin painting on Windows. 2010-11-05 15:56:28 -04:00
Benjamin Smedberg
b5c8de3824 Bug 606285 and Bug 583109 - Send the "visible" notification when painting with async layers, so that when a plugin goes from invisible to visible it starts sending asynchronous paints. Suspend sending surface updates for asynchronous plugins when they are invisible, and set the empty clipRect so that the plugin knows that drawing is suspended per the new API. Assume that plugins are visible again when a Paint or BuildLayer call is received. r-pending=karlt 2010-11-05 10:40:55 -04:00
Jan Arne Petersen
63f71f3156 Bug 583109 - Add visibility notification for plugins by setting the NPWindow.clipRect to [0, 0, 0, 0] when the plugin is not visible, either in a background tab, or visibility: hidden. r=karlt Patch rebased against trunk by Benjamin Smedberg. 2010-11-05 10:38:33 -04:00
Ms2ger
d1816016c2 Bug 604078 - Two comparisons between signed and unsigned integers in nsTextFrame::PeekOffsetCharacter; r=ehsan a=bsmedberg 2010-11-04 16:43:01 -04:00
Ehsan Akhgari
5febe4410c Bug 424627 - Ctrl+clicking on a text control border followed by an editing operattion (e.g. paste) removes the table cell from a non-editable document; r=roc a=blocking-final+ 2010-11-01 19:04:12 -04:00
Benjamin Smedberg
0a2062e721 Merge mozilla-central to the branch for bug 596451. 2010-10-28 10:05:20 -04:00
Benjamin Smedberg
280184d562 Bug 596451 part G - Fix a condition where FixupWindow is called too early and doesn't know that we are a windowless plugin yet. Call FixupWindow from nsPluginInstanceOwner::CreateWidget, r=roc 2010-10-27 09:10:50 -04:00
Mats Palmgren
a49bc9b30b Null-check the root pres context before using it. b=599341 r=roc a=dbaron 2010-10-27 16:19:01 +02:00
Ehsan Akhgari
bc3929193c Bug 605138 follow-up: fix Thunderbird bustage. r=me a=bustage 2010-10-25 14:24:40 -04:00
Ehsan Akhgari
b3ebab6edb Bug 605138 - Part 2: Refactor nsTypedSelection::ScrollIntoView to use flags instead of parameters; r=roc a=blocking-final+ 2010-10-22 18:41:55 -04:00
Ehsan Akhgari
c5d807f1c7 Bug 605138 - Scripts from topix.net apparently causing page to scroll down when opening; r=roc a=blocking-final+ 2010-10-21 16:56:20 -04:00
Robert O'Callahan
d6707f1b58 Bug 593839. Part 1: Use nsDisplayListBuilder::IsPaintingToWindow instead of gfxContext::DESTINED_FOR_SCREEN. r=tnikkel 2010-10-25 16:38:09 +02:00
Neil Deakin
902842e19b Bug 578667, text not highlighting when selectiondrag is outside frame, r=mats,a=blocking 2010-10-25 10:06:30 -04:00
Boris Zbarsky
ebd7c067e3 Bug 484992 and bug 604420. Don't start a new network request when instantiating the plug-in for <object>s. r=josh, a=blocker 2010-10-22 21:16:29 -04:00
Ehsan Akhgari
90e76bbb1f Bug 389321 - Part 3: Use a centralized algorithm for caret positioning; r=roc a=blocking-betaN+ 2010-08-31 14:54:44 -04:00
Mats Palmgren
11ce93ed15 Backout bug 571995. a=backout 2010-10-12 18:40:44 +02:00
L. David Baron
7fe205cc61 Add an additional value to nsOverflowType so that compilers (in particular, gcc 4.5.*) know that one past the end is a value they'll need to deal with. (Bug 602826) r=roc a2.0=blocking 2010-10-11 19:20:57 -07:00
L. David Baron
0b7f765281 Make hit testing for border-radius follow the curvature of the border. (Bug 595652) r=roc a2.0=blocking2.0:betaN 2010-10-11 11:03:12 -07:00
Jesse Ruderman
8e8208ee67 Bug 570289 - add crashtest 2010-10-11 09:55:23 -07:00
Jesse Ruderman
fd58e9ed9c Bug 589002 - add crashtest 2010-10-11 09:55:23 -07:00
Jesse Ruderman
8f4714325e Bug 590426 - fix timeout/onload race in a crashtest 2010-10-11 09:55:22 -07:00
Matt Woodrow
47554e7736 Bug 594983. Look inside display sublists to determine whether there is text for the layer. r=roc,a=blocking 2010-10-11 13:58:20 +13:00
Mats Palmgren
88625a23ac Just switch to the new textrun for empty text frames. b=571995 r=roc a=blocking2.0:final 2010-10-11 00:07:01 +02:00
Ehsan Akhgari
83a84791e8 Bug 602141 - Right arrow navigation broken on later contenteditable content on single line; r=bzbarsky a=blocking-final+ 2010-10-08 15:49:47 -04:00
Ehsan Akhgari
28e97f8723 Bug 389321 - Part 1: Don't choke on textnodes which don't have a primary frame; r=roc a=blocking-betaN+ 2010-08-17 15:25:53 -04:00
Mats Palmgren
8f52e9d7f5 Delay hiding the plugin window when a delayed stop is requested (eg. during frame destruction). b=604734 r=roc a=blocking2.0:beta7 2010-10-28 22:27:52 +02:00
Ehsan Akhgari
ecfaa4d477 Bug 586662 - Part 3: Don't attempt to compare unrelated points when manipulating selections; r=roc a=blocking-betaN+ 2010-09-23 14:44:01 -04:00
L. David Baron
80e25678c7 Check isValid, since bindings in chrome (e.g., Fennec select binding) can make it be false. (Bug 596767) r=bzbarsky a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron
64d33e9f4c Avoid early return from nsImageFrame::BuildDisplayList, so we don't go blank for some selection cases. (Bug 599368) r=tnikkel a2.0=blocking2.0:final 2010-10-06 21:25:47 -07:00
L. David Baron
bea16867c4 Reflow floating ::first-letter before deciding where to place the float, since we need to reflow it to learn its width. (Bug 594303) r=roc a2.0=blocking:betaN 2010-10-06 21:25:47 -07:00
L. David Baron
cd40905288 When a frame is themed, report a border-radius of 0. (Bug 595652) r=roc a2.0=blocking2.0:betaN 2010-10-06 21:25:47 -07:00
L. David Baron
2b00d08685 Adjust known assertion counts for assertions that now happen for each overflow area. (Bug 542595, patch 21) a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron
a56a24a514 Change callers to use new nsIFrame overflow APIs. (Bug 542595, patch 20) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:47 -07:00
L. David Baron
40d60928c6 Fix miscellaneous reflow methods to use new overflow area APIs. (Bug 542595, patch 19) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron
bf7624301d Now that overflow areas are split, change nsIFrame::ComputeTightBounds to use visual overflow. While it really only needs to include frame bounds, glyph bounds, and text decorations, since glyph bounds are not part of scrollable overflow, it must use visual overflow. (Bug 542595, patch 15) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:46 -07:00
L. David Baron
501b36b2c2 Remaining nsBlockFrame changes for split overflow areas. (Bug 542595, patch 14) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
972bf93064 Change nsBlockReflowContext::PlaceBlock for split overflow areas. (Bug 542595, patch 13) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
21464c8326 Split overflow areas for block frame float continuations. (Bug 542595, patch 12) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
b26661f697 Compute nsBlockFrame.cpp's ComputeCombinedArea to split overflow areas. (Bug 542595, patch 11) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
bb2c9bd999 Compute nsBlockFrame::ComputeCombinedArea to split overflow areas. (Bug 542595, patch 10) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
b401e8f1d5 Convert nsBlockReflowState::mFloatCombinedArea and part of nsBlockFrame to split overflow areas. (Bug 542595, patch 9) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
dfd177a552 Make overflow from text frames be visual overflow only, and not scrollable. (Bug 542595, patch 8) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
03966a7c79 Make nsLineLayout track two separate overflow areas. (Bug 542595, patch 7) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
178a968ed2 Make nsLineBox track two separate overflow areas. (Bug 542595, patch 6) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
b7c46f2dc7 Remove unused method nsLineBox::CombinedAreaIntersects. (Bug 542595, patch 5) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
d86ede8347 Change FinishAndStoreOverflow API to take two overflow areas. (Bug 542595, patch 4) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
70196364ee Make ReflowOverflowContainerChildren handle split overflow areas. (Bug 542595, patch 3) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
af38a36244 Use split overflow areas in nsAbsoluteContainer::Reflow. Fixes overflow handling bug in nsPositionedInlineFrame where non-positioned overflow was ignored. (Bug 542595, patch 2) r=roc a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
L. David Baron
9cc9011dcd Convert nsIFrame APIs from having a single overflow rect to having two distinct overflow rects. (Bug 542595, patch 1) r=roc sr=bzbarsky a2.0=blocking2.0:beta8 2010-10-06 21:25:45 -07:00
Boris Zbarsky
a7d2e54c98 Bug 129941 followup. Continue creating scrollframes for native anonymous content. a=crashing tests 2010-10-06 22:21:58 -04:00
Boris Zbarsky
280f2c88c6 Bug 129941. Don't create scrollframes for blockframes (except inline blocks) while printing, and make such blockframes clip their contents instead. r=dbaron 2010-10-06 21:01:24 -04:00
Oleg Romashin
a02cd4afb2 Bug 599476 - windowless plugins in object elements with data (e.g. certain Flash pages) are not painted. r=karlt a=beta7 2010-10-02 09:00:45 -07:00
Mounir Lamouri
cc33a99998 Merging to tip. a=blocking-b7 2010-09-30 17:10:19 -07:00
Oleg Romashin
5ed5aef853 Bug 599704 - mozilla.plugins.use_layers - does not have any effect. r=roc a=beta7 2010-09-29 20:32:55 -07:00
Jesse Ruderman
f6516296f6 Bug 580504 - add crashtest. a=NPOTB 2010-09-24 11:29:07 -07:00
Josh Aas
e8cb9a73bd Bug 599086 and bug 599391: Disable tests that are now intermittent orange because we put the Mac OS X test plugin out of process. a=josh 2010-09-24 13:04:25 -04:00
Ehsan Akhgari
4c3df3f153 Bug 597333 - Crash [@ gfxTextRun::GetChar][@ nsIFrame::PeekOffset(nsPeekOffsetStruct*) ] when navigating inside a textarea; r=roc a=blocking-final+
--HG--
extra : rebase_source : 43e6b1193c5707313e06a4d0afa21bca03ab297b
2010-09-20 17:33:58 -04:00
Mats Palmgren
a8e03cc0ca Bug 559705 - "ASSERTION: Subdoc frames must have an inner view too". r=roc a2.0=roc 2010-09-18 13:28:50 +02:00
Mats Palmgren
48db0466a9 Bug 449734 part 3 - Update nsThebesDeviceContext::mWidget. r=roc a=blocking2.0:betaN 2010-09-18 13:28:50 +02:00
Mats Palmgren
698eb966cf Bug 449734 part 1 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN 2010-09-18 13:28:49 +02:00
Robert O'Callahan
594cd74d3d Bug 584494. Avoid creating opacity/transform wrappers for empty lists. r=tnikkel a2.0=blocking2.0:betaN 2010-09-17 12:29:52 -07:00
Robert O'Callahan
d4a0159920 Bug 596710. Increment (not decrement) rline to skip checking the cursor line twice. r=dbaron a=blocking 2010-09-17 12:09:08 -07:00
Robert O'Callahan
a52325c14b Bug 596414. Tell ChildView about the plugin drawing model. r=josh 2010-09-17 10:55:39 -07:00
Oleg Romashin
de25e2c90e Bug 556487 - drop layer on dead child plugin process. r=roc a=blocking2.0 2010-09-16 21:09:32 -07:00
Oleg Romashin
d24d315810 Bug 556487 - ObjectFrame GetBounds. r=roc a=blocking2.0 2010-09-16 21:09:30 -07:00
Oleg Romashin
d0a0315771 Bug 556487 - Disable layers for non-ipc usage. r=roc a=blocking2.0 2010-09-16 21:09:27 -07:00
Oleg Romashin
0bd5de10b8 Bug 556487 - ObjectFrame BuildLayer implementation. r=roc a=blocking2.0 2010-09-16 21:09:25 -07:00
Ehsan Akhgari
dae8839f12 Bug 596506 - Going to end of line using Ctrl-e on Mac positions caret after newline in textareas; r=bzbarsky a=blocking-final+ 2010-09-16 14:40:26 -04:00
Chris Jones
0a4b5217a4 Merge m-c --> cedar 2010-09-15 12:33:59 -05:00
Chris Jones
110d280286 Merge m-c --> cedar 2010-09-14 14:28:39 -05:00
Chris Jones
ee72f210ea Merge m-c --> cedar 2010-09-13 19:24:09 -05:00
Oleg Romashin
137fc0d394 Bug 595577 - Cedar is busted after merging with m-c, (Bug 459144) conflict. r=dbaron 2010-09-11 19:22:33 -07:00
Oleg Romashin
497f2db326 Merge with mozilla central 2779c55431a4, no conflicts 2010-09-10 22:32:25 -07:00
Chris Jones
4820da2166 Merge m-c --> cedar 2010-09-08 17:25:30 -05:00
Daniel Holbert
ecd6d13497 Bug 594650: Replace static variable in header file with static variable + accessor method, to fix codesighs & Composer.dll bustage. r=roc r=taras a=bustage 2010-09-09 09:41:58 -07:00
L. David Baron
d99ac32acf Clip replaced elements (for now, images, canvases, videos, and windowless plugins) to the border radius. (Bug 485501) r=roc a2.0=blocking:beta6 2010-09-09 08:21:47 -07:00
L. David Baron
d44b4ee882 Clip contents of elements with overflow != visible to the border radius. (Bug 459144, patch 14) r=roc a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
27b2504e3c Make nsIFrame::DisplaySelectionOverlay take an nsDisplayList* instead of nsDisplayListSet&. (Bug 485501) r=roc a2.0=blocking:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
4113d6f1f9 Remove unneeded nsAbsPosClipWrapper::mContainer. (Bug 459144, patch 12) r=roc a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
cec33102e4 Remove unneeded nsDisplayClip::mClippingFrame. (Bug 459144, patch 11) r=roc a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
f9bc2d9cef Fix places where I missed clamping negative calc() to 0. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:46 -07:00
L. David Baron
8aaf22a0f4 Add support for calc() on -moz-border-radius and -moz-outline-radius. (Bug 585715) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-09 08:21:45 -07:00
Chris Jones
9e23f35349 Merge m-c --> cedar 2010-09-07 17:35:15 -05:00
Timothy Nikkel
6b532c4152 Bug 594271. Don't send synth mouse moves to hidden documents. r=dbaron a=dbaron 2010-09-11 13:24:50 -05:00
Timothy Nikkel
9e47257ea3 Bug 593286. Use the frame/view system to determine parent documents, not the docshell because the docshell hierarchy doesn't stay intact during page tranisition. r=roc a=blocking final 2010-09-11 13:24:50 -05:00
Timothy Nikkel
64df346e92 Bug 593892. Draw the previous page if the new page is suppressed. r=roc a=roc 2010-09-11 13:24:49 -05:00
L. David Baron
344df4887f Simplify storage of computed calc() as a result of removing min() and max(). (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:13 -07:00
L. David Baron
fa356d0a17 Remove support for min() and max() in calc(): remove support for parsing and storage. (Bug 363249) r=bzbarsky a2.0=blocking2.0:beta6 2010-09-11 09:27:12 -07:00
L. David Baron
b272e35a61 Change the blur radius for -moz-box-shadow and text-shadow to match what is specified in css3-background, and the blur radius for canvas to follow what is specified in HTML5. (Bug 590039) r=roc a2.0=blocking2.0:beta6
This fixes the multiplication by 1.5 in
gfxAlphaBoxBlur::CalculateBlurRadius (originally added in changeset
ce9f05b57b95 for bug 467518) to work correctly.  It was previously a
multiplication by 1 due to integer division.  CalculateBlurRadius
previously multiplied by 1.880; it now multiplies by 2.820.

This changes canvas shadow handling to multiply shadowBlur by 2 before
taking its square root, as described in the spec.  This means that
canvas shadow blurs 8px or smaller are 1.5 times larger than they were
previously (due to the CalculateBlurRadius change), and canvas shadow
blurs larger than 8px are 2.121 times larger than they were previously
(due to the CalculateBlurRadius change *and* the additional factor of
sqrt(2)).

This changes text-shadow and -moz-box-shadow handling to use
CalculateBlurRadius on half of the value given instead of passing the
value through directly.  This means that text-shadow and box-shadow
blurs are multiplied by 1.410 relative to their old sizes.  It also
means that we round rather than floor, so that the effect that used to
be drawn by a blur in the range 1px to 1.99px is now drawn by a blur
anywhere in the range 0.36px to 1.05px, the effect that used to be drawn
by a blur in the range 2px to 2.99px is now drawn by a blur anywhere in
the range 1.06px to 1.77px, what used to be a drawn by a blur in the
range 3px to 3.99px is now drawn by a blur anywhere in the range 1.78px
to 2.47px, etc.
2010-09-11 09:27:12 -07:00
Chris Jones
6c7c82837a Bug 590294, part -1: Clip <browser> shadow layers properly. r=tn 2010-09-03 15:10:45 -05:00
Chris Jones
6e7a7cd71a Merge m-c --> cedar
--HG--
rename : layout/style/test/hover_helper.html => layout/style/test/chrome/hover_helper.html
rename : layout/style/test/test_hover.html => layout/style/test/chrome/test_hover.html
2010-09-03 14:07:55 -05:00
Mats Palmgren
76f0893448 Backing out bug 449734 due to unexpected orange. a=ted 2010-09-03 18:13:49 +02:00
Mats Palmgren
d234af154c Bug 449734 - Preserve presentation when dragging a tab between browser windows. r=roc a=blocking2.0:betaN 2010-09-03 16:22:00 +02:00
Robert O'Callahan
cfc08eb0c7 Bug 579276. Part 8: Bump scroll timeout up a lot. r=tnikkel 2010-09-02 21:18:39 +12:00
Ehsan Akhgari
7b654288bf Back out bug 240933 and bug 590554 because of reftest failure on Win7 and also bug 593211 2010-09-02 19:54:23 -04:00
Oleg Romashin
bd3aa71c63 Merged m-c: 51d17027ff45 -> cedar 2010-09-01 09:36:29 -07:00
Markus Stange
df248c791c Bug 591141. Protect against null pattern. r=roc
--HG--
extra : rebase_source : 51658e6b24a3c2b7857e44ab5880d240aacd8115
2010-09-06 15:12:46 +12:00
Robert O'Callahan
e10bc1e1f7 Bug 584699. Invalidate ThebesLayers in abs-pos frame subtree that's moved. r=dbaron
--HG--
extra : rebase_source : 06dd1df6b08d331b38ee8a9edbf6ce07e7841c25
2010-09-06 15:04:36 +12:00
Chris Jones
7b7af2c67c Merge m-c --> cedar
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
2010-08-31 02:29:31 -05:00
Robert O'Callahan
b10df1641d Bug 592131. Don't propagate invalidations across document boundaries where the child document's docshell is inactive (e.g., a hidden tab). r=tnikkel,a=blocking
--HG--
extra : rebase_source : 468f5fab9b2a50f515d50e147fb79bdb8d6a845c
2010-08-31 17:02:08 +12:00
Robert O'Callahan
ded033638a Bug 579323. Part 2: Actually fix the bug by calling InvalidateThebesLayersInSubtree from nsIFrame::Redraw. r=dbaron,a=blocking 2010-08-31 12:49:13 +12:00
Robert O'Callahan
3815d31b6e Bug 579323. Part 3: Fix invalidation of lines to update layers as necessary. r=dbaron
--HG--
extra : rebase_source : 6a043bda5f16f9a257fa4bfa272d8362facef4c2
2010-08-31 12:49:13 +12:00
Robert O'Callahan
c7acef03ff Bug 579323. Part 1.8: Rename InvalidateOverflowRect to InvalidateFrameSubtree. r=tnikkel
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
extra : rebase_source : f7bd38670a03e8a7f3f8c40838af114be79b06f1
2010-08-31 12:49:12 +12:00
Robert O'Callahan
bc09a0496e Bug 579323. Part 1.6: Clean up dead code, rename nsFrameFrame to nsSubDocumentFrame. r=tnikkel
--HG--
rename : layout/generic/nsFrameFrame.cpp => layout/generic/nsSubDocumentFrame.cpp
extra : rebase_source : af240f2cb12b94e544031a5860fca1a9fb1217e0
2010-08-31 12:49:11 +12:00
Robert O'Callahan
f6aa05c375 Bug 579323. Part 1.4: Switch nsIFrameFrame users to use nsSubDocumentFrame.h. r=tnikkel
--HG--
extra : rebase_source : de526602586c70b994a061bbb8a7ca2731c72bbd
2010-08-31 12:49:07 +12:00
Robert O'Callahan
b6e97790b6 Bug 579323. Part 1.2: Move nsSubDocumentFrame header to its own file. r=tnikkel
--HG--
extra : rebase_source : ff6c4109473783acea363ac05f9686034b949ecd
2010-08-31 12:46:26 +12:00
Robert O'Callahan
f566520efb Bug 579323. Part 1: Add FrameLayerBuilder::InvalidateThebesLayersInSubtree, and call it from InvalidateOverflowRect. r=tnikkel,sr=dbaron
--HG--
extra : rebase_source : c1dbc5b625e23d55ba030709f5cd429122977685
2010-08-31 12:46:26 +12:00
Timothy Nikkel
75dd64b1bf Bug 591657. nsWeakFrame needs a copy constructor because the default one does not hook into the presshell. r=smaug,dbaron a=dbaron,blocking beta5+ 2010-08-30 13:37:55 -05:00
Robert O'Callahan
8f331949bd 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
Chris Jones
49048c0d61 Merge m-c --> cedar
--HG--
rename : layout/style/test/test_hover.html => layout/style/test/hover_helper.html
2010-08-31 00:35:03 -05:00
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