Commit Graph

8158 Commits

Author SHA1 Message Date
Robert O'Callahan
3ecd0a2a97 Bug 585817. Part 3: Remove nsSVGUtils::GetThebesComputationalSurface and use gfxPlatform::ScreenReferenceSurface instead. r=jwatt 2010-08-19 13:49:35 -05:00
Chris Jones
39ff0004c3 Bug 582057, part b: Remove nsIDeviceContext::SupportsNativeWidgets because it's not used meaningfully, and will be confusing in content processes. sr=roc 2010-08-19 13:49:35 -05:00
Chris Jones
9b55c914bc Bug 582057, part g: Split nsIView::CreateWidget into CreateWidget, CreateWidgetForParent, and CreateWidgetForPopup in preparation of eliminating IIDs here. sr=roc 2010-08-19 13:49:35 -05:00
Chris Jones
d4d7c43a07 Bug 582057, part i: Use nsIWidget::CreateChild in nsIView::CreateWidget* (where possible). r=roc a=blocking-fennecb1 2010-08-19 13:49:35 -05:00
Mounir Lamouri
c3e6d1d85d Bug 506554 - Implement the CSS3 pseudo-classes :required and :optional for HTML. r=sicking sr=bz a2.0=blocking 2010-08-19 02:03:20 +02:00
Mounir Lamouri
ef6632684a Bug 344615 - Implement <input type="url">. r=sicking, sr=smaug a2.0=blocking 2010-08-18 20:33:37 +02:00
Mounir Lamouri
17e57ca845 Bug 555559 - Implement <input type="email">. r=smaug,sicking sr=jst a2.0=blocking 2010-08-18 20:31:54 +02: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
e749c034f3 Fix sorting errors in layout/reftests/bugs/reftest.list. 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
Takanori MATSUURA
05b4001200 Bug 587614. Remove use of MOZ_NO_INSPECTOR_APIS. r=roc,a=NPOTB 2010-08-19 21:44:01 +12:00
Mark Banner
32648806db Backed out changeset f600448ae7db / bug 471643 due to reftest failures 2010-08-19 09:27:01 +01:00
Zack Weinberg
531e232c65 Bug 471643: Make vertical percentages in border-radius relative to box height. r=dbaron 2010-08-19 09:45:32 +02:00
Daniel Holbert
5d6d60ecb4 (no bug) a few whitespace fixes in layout, to triger fresh builds on a CLOSED TREE 2010-08-18 21:53:55 -07:00
Timothy Nikkel
f2fbddac07 Bug 572599. If we get an event on a child widget that is in a disconnected view subtree the view subtree might not have a root widget. r=roc 2010-08-18 20:16:58 -05: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
fcaca91e69 Bug 587539. When we get a paint event for a widget in a disconnected view subtree there isn't a display root widget. 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
dc8b4d0852 bug 512260 - part 6 - lock images in nsStyleList::SetListStyleImage.r=dbaron,a=blocker 2010-08-16 12:23:09 -04: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
Bobby Holley
b3f5a9dc56 bug 512260 - part 4 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleContentData.r=dbaron,a=blocker 2010-08-06 13:27:01 -04:00
Bobby Holley
250fbc04bd bug 512260 - part 3 - call nsDocument::AddImage and RemoveImage on images stored in nsStyleBackground.r=dbaron,a=blocker 2010-08-05 17:57:18 -04:00
Bobby Holley
6788ead45a bug 512260 - part 2 - Make ImageRenderer take a pointer to nsStyleImage rather than making a copy.r=dbaron,a=blocker 2010-08-05 17:30:19 -04:00
Bobby Holley
7a580f398c bug 512260 - Add image tracker to nsDocument and register content images with it.r=roc,sr=dbaron,a=blocker 2010-08-03 20:40:29 -04:00
Brian Birtles
36e7527d9a Bug 544855 - Make discrete to-animation only visit to value, r=dholbert, a=blocking-betaN+ 2010-08-18 19:20:24 +09:00
Brian Birtles
62844c6133 Bug 485157: SMIL event timing, part 5 make default event base the animation target, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
f5f57834b2 Bug 485157: SMIL event timing, part 3 event registration and timing, r=smaug, dholbert; sr=roc, a=roc 2010-08-18 19:20:24 +09:00
Brian Birtles
c81d68f39a Bug 485157: SMIL event timing, part 1 refactor added end time handling, r=dholbert, sr=roc, a=roc 2010-08-18 19:20:24 +09: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
Robert O'Callahan
dfbb28ab06 Bug 537890. Part 7: Tests for pt/pc/mm/cm/in not being physical units, and for mozmm being physical units. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
dc13662908 Bug 537890. Part 5: Make pc, in, mm and cm be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
907d0109b7 Bug 537890. Part 4.5: Create 'mozmm' unit for physical millimeters on screen devices. r=dbaron 2010-08-13 21:58:02 +12:00
Robert O'Callahan
b7df1787ef Bug 537890. Part 4: Make points be a fixed number of CSS pixels. r=dbaron 2010-08-13 21:58:01 +12:00
Robert O'Callahan
87bbf8a495 Bug 537890. Part 8: Define MM_PER_INCH_FLOAT. r=dbaron 2010-08-13 21:57:57 +12:00
Rob Arnold
beb6ddf7e8 Bug 554982 - Add support for borderless glass and remove the borders from the main window. r=roc,dao a=blocking2.0 2010-08-17 23:07:10 -04: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
Neil Deakin
838688f1fb Bug 551434 - Store the keydown target and retarget the keypress/keyup events when focus changes from chrome to content. r=smaug 2010-08-17 14:37:50 +02:00
Mounir Lamouri
41b8bedd41 Bug 587875 - Build bustage: nsRefreshDriver.h is included by files not included when SMIL is disabled. r=jst@mozilla.org, a=buildbustage 2010-08-17 02:08:35 +02: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
Jeff Muizelaar
e7ecb4fea4 Disable more intermittent reftests on D2D 2010-08-16 09:36:02 -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
Phil Ringnalda
547f4dfeaa Bug 587530 - Put nsICapturePicker in the properly named xpt, and package it for Firefox, r=roc, a=gavin 2010-08-15 18:37:53 -07:00
Edmund Wong
7ef58c704b Bug 585336: Fix "a the" in comments (for General core code). r=timeless a=NPOTB (comment-only) 2010-08-15 15:50:02 -07:00
Ms2ger
120c26ed9f Make nsICSSRule::Clone return the cloned value directly. (Bug 585137) r=bzbarsky a2.0=dbaron 2010-08-15 11:19:34 -04:00
Mounir Lamouri
034db79f04 Bug 568441 - Explicitely show the caret in nsTextControlFrame when the content is no longer disabled and focused. r=roc a2.0=blocking+ 2010-08-15 11:19:34 -04:00
Mats Palmgren
520a653dae Get the parent pres shell from the docshell instead of the document. b=587064 r=roc a=blocking2.0 2010-08-15 15:54:02 +02:00
Robert Longson
79c3db79d2 Bug 584322: Fix confusion between premultiplied and non-premultiplied colors that was causing feDisplacementMap to offset the result incorrectly. r=roc a2.0=dbaron 2010-08-15 08:42:29 -04:00
L. David Baron
810d004cf3 Correct parenthesis-matching inside of :not(). (Bug 586070) r=bzbarsky a2.0=bsmedberg 2010-08-15 08:42:29 -04:00
Robert Sayre
0ab67ae195 Backed out changeset 7b475a00cd7c. Reftest bustage. 2010-08-14 21:27:43 -04:00
Robert Longson
011cb3e886 Bug 584322 - feDisplacementMap seems to be adding an offset. r=roc, a=dbaron 2010-08-14 20:42:18 -04:00
Jeff Muizelaar
dadfc555de Bug 586835. Disable a couple more intermittent reftest fails with D2D.
Not sure what's going on with these yet...
2010-08-14 08:32:38 -04: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
Jeff Muizelaar
932d88e8c5 Bug 586835. Disable the d2d reftests that fail but are still sane. r=joe
This is in preparation for enabling d2d by default. A bunch of these will be
changed from random-if to fuzzy-if when bug 580786 lands. Some of them should
also be fixed or investigated more thoroughly before final.
2010-08-13 11:44:24 -04:00
Jeff Muizelaar
b58eb91fc9 Bug 583857. Expose whether D2D is enabled to reftests. r=roc 2010-08-13 11:44:21 -04:00
Robert Sayre
f80324a33f Merge tracemonkey to mozilla-central. 2010-08-13 12:45:44 -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
Robert Sayre
ff3fd8aeaf Merge mozilla-central to tracemonkey. 2010-08-12 10:12:04 -07:00
Robert Sayre
e0df9dbc6a Disable the test for bug 458898. See bug 562955. 2010-08-11 09:59:54 -07:00
Olli Pettay
58fd6133b2 Bug 585815, create treerange list straight to the mFirstRange, r=neil
--HG--
extra : rebase_source : f71a56d90b51e26d3d5d8aedc969ca51c09f0fd3
2010-08-12 15:05:43 +03:00
Olli Pettay
67ad9ee7ed Bug 583957, lazy menuframe update, r=enndeakin, sr=neil, a=dbaron
--HG--
extra : rebase_source : f036ff3e7ee39225f17d1d4aba0d4e7c71960d58
2010-08-12 14:59:03 +03:00
Mats Palmgren
a9ff1e450d Bug 576649. r=bzbarsky a=blocking2.0 2010-08-10 19:04:43 -03: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
275faa4f5e Bug 506826 - Tests. 2010-08-13 15:36:19 +02: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
18bccb9bd9 Bug 572689 - Allow overriding ID targets with mozSetImageElement for the BackgroundImageProperty which is used for -moz-element drawing. r=roc 2010-08-13 15:36:05 +02:00
Markus Stange
27b4c7fdf3 Bug 506826 - Hook up -moz-element painting. r=roc 2010-08-13 15:34:01 +02:00
Markus Stange
c90a203b09 Bug 506826 - Add nsSVGIntegrationUtils::DrawPaintServer for use in -moz-element drawing. r=roc 2010-08-13 15:32:27 +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
62cafdb8cc Bug 506826 - Make nsLayoutUtils::PaintFrame able to draw all continuations of a frame. r=roc 2010-08-13 15:32:04 +02:00
Markus Stange
2ea78354c5 Bug 572689 - Make nsSVGRenderingObservers observe elements instead of frames. r=roc 2010-08-13 15:31:31 +02:00
Markus Stange
3df2a2ce8e Bug 506826 - Parsing for background-image: -moz-element(#elementID). r=dbaron 2010-08-13 15:33:37 +02:00
Markus Stange
d3a1fa6d47 Bug 572689 - Add an SVG property for -moz-element called BackgroundImageProperty and make it able to handle multiple observers with different observer URLs. r=roc 2010-08-13 15:30:45 +02:00
Markus Stange
b7ae3b9683 Bug 572680 - Add nsLayoutUtils::DrawPixelSnapped. r=roc 2010-08-13 15:30:37 +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
Timothy Nikkel
7e149ba847 Bug 579621. Fix print preview tests to be content subdocuments. r=roc 2010-08-13 21:57:29 +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
Robert O'Callahan
254458b52a Backed out changeset 0c4519d63a98 2010-08-12 11:32:21 +12:00
Boris Zbarsky
657e764de8 Bug 577607 part 2. Teach the refresh driver to flush restyles and reflow on more than one presshell. r=roc 2010-08-11 17:05:27 -04:00
Boris Zbarsky
d9188b16ef Bug 577607 part 1. Make sure resource documents don't have presshells when their display document doesn't. r=roc 2010-08-11 17:05:26 -04: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
d45401cfa4 Distinguish between 50% and calc(50%), etc., in computed style calc expressions. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -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
L. David Baron
bc1a47c26f Make a common base class for calc ops that use nsStyleCoord as input. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
5e2de175f2 There's no need for a separate CoordPercentCalc implementation; ComputeCalc can handle that. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
86686305cb Add a 'display:block' prerequisite for 'width' property tests so that calc() tests will actually have a percentage basis and thus actually test the code. (Bug 585715) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
fe0508e3b2 Fix places where we should skip to a closing parenthesis during errors parsing functions. (Bug 575672) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
L. David Baron
248a3cdc5f CSS transition timing functions should not allow X arguments to cubic-bezier() outside of 0-1. (Bug 575672) r=bzbarsky a2.0=blocking2.0+ 2010-08-11 12:32:52 -07:00
Boris Zbarsky
456e9e5548 Bug 569520 part 2. Implement a mozRequestAnimationFrame/mozAnimationStartTime API. r=roc, a=joe 2010-08-11 17:05:28 -04:00