Commit Graph

5686 Commits

Author SHA1 Message Date
Jonathan Kew
780a99bd49 Bug 518357, followup to fix linux reftest breakage by undoing change to media-query-remove-1 test, a=dholbert_sheriff 2009-09-26 00:04:45 +01:00
Steven Michaud
89701df418 Bug 516249 - [10.6] Wrong event modifiers passed to plugin on switching Spaces with Ctrl-<number key>. r=josh 2009-09-25 15:10:04 -05:00
Jonathan Kew
1b4863c480 Bug 518357, make reftests less sensitive to default font size settings. r=roc
--HG--
extra : rebase_source : 1914dd5f2998a2f45e10ccf3574d854ba9240f52
2009-09-23 15:55:55 +01:00
Jonathan Kew
5ec0ea75b5 Bug 423599: eliminate space from reftest, to avoid dependency on default font metrics. r=bzbarsky
--HG--
extra : rebase_source : f9b5b2f7136c71bdbb9fae5e0d9819a6dba88c64
2009-09-22 12:15:18 +01:00
Jonathan Kew
d354840def Bug 517895: make column reftests more robust in the face of default font-metrics changes. r=roc
--HG--
extra : rebase_source : 4e105edb5d4241e1f4775dfc522ad4a29effdb43
2009-09-22 00:11:10 +01:00
Boris Zbarsky
1636c697f1 Bug 518274. Disabling this test until we can make it pass reliably on Linux in hopes of reopening the CLOSED TREE 2009-09-25 11:53:39 -04:00
Graeme McCutcheon
f9440e42ac Bug 510575 - fix calculation of bounds in nsTypedSelection::GetIndicesForInterval, and ensure range adding code always checks for duplicates. r=roc 2009-09-25 11:11:42 +01:00
Josh Aas
70134898a3 Stop sending bogus (incomplete) events to plugins on Mac OS X when the object frame is asked to handle events we don't care about. b=518135 r=roc 2009-09-24 17:03:50 -04:00
liucougar
5104b445c7 Bug 396392 - Support for getClientRects and getBoundingClientRect in DOM Range
r=roc sr=(jonas, roc)
2009-09-24 23:01:48 +02:00
Boris Zbarsky
ce54997bc6 Bug 516286. No need to clear ancestor intrinsic widths on top/left/right/bottom changes anymore. r=dbaron 2009-09-24 13:59:43 -04:00
Boris Zbarsky
dd0fc89b33 Bug 514773. Don't trigger rulenode gc unless we have rulenodes to gc. r=dbaron 2009-09-24 13:59:43 -04:00
Michael Ventnor
b1ac8d20b5 Bug 514670 - -moz-box-shadow should follow radius only on corners with radius. r=roc 2009-09-24 08:46:39 +02:00
Markus Stange
36822e5cf2 Bug 515446 - Combine the two Create methods of nsIWidget into one. Also remove nsCocoaWindow's capability of adapting its NSWindow from aNativeParent. r=josh, sr=roc 2009-09-24 18:18:10 +12:00
Roy Frostig
049a9fbdc8 Bug 514732. Issue a DOM event for document resizing. r=smaug sr=roc 2009-09-11 16:13:56 -07:00
Mats Palmgren
cf4ae83f1a Store the overflow out of flows as an nsFrameList. b=516974 r=bzbarsky 2009-09-24 04:39:21 +02:00
Timothy Nikkel
0120bb5758 Bug 515028. Change the description of openPopupAtScreen to reflect that coordinates are not relative to the current screen. r=enndeakin sr=bzbarsky
--HG--
extra : rebase_source : 6c4d13f0b2c91dbdd7c2a9325c5ced0ee74bf9d4
2009-09-23 00:04:41 -05:00
Timothy Nikkel
cf4ff4828a Bug 334460. Turn warning on re-entry into frame construction into an assertion. r=bzbarsky
--HG--
extra : rebase_source : a9c5cf5446a04322956b951c09154a6ebb82cf2a
2009-09-22 23:52:08 -05:00
Olli Pettay
26fe92f082 Bug 514856 - Server side image maps are broken, r=bz
--HG--
extra : rebase_source : d0a5c4795c0279d612435a0c0ad9cb6d5a4783a8
2009-09-23 18:11:48 +03:00
Zelgadis
18ad8d6e45 Bug 517949 - Null pointer in PresShell::UnsuppressAndInvalidate() leads to crash
r+a1.9.2=roc
2009-09-23 16:38:57 +02:00
Jonathan Watt
93d857ad71 Attempt intermittent orange fix. Bug 518274. reftest: dynamic--inline-resize-window-width.xhtml intermittently fails.
--HG--
extra : rebase_source : 53ae20830f886d5076538c04bac8f6344ac5b4e3
2009-09-23 13:15:54 +02:00
Jonathan Watt
c727301a48 Attempt intermittent orange fix. Bug 518274. reftest: dynamic--inline-resize-window-width.xhtml intermittently fails. 2009-09-23 11:42:59 +02:00
Josh Aas
57878ef860 Fix dragging in Google Maps street view on Mac OS X. b=516602 r=roc 2009-09-22 21:52:49 -04:00
Josh Aas
a62ce6bc2e 64-bit Mac OS X fixes for nsObjectFrame.cpp. b=518184 r=roc 2009-09-22 18:17:41 -04:00
Vladimir Vukicevic
f492ca4132 b=514334; add option to disable canvas cache in reftests (intermittent crash when running reftests on low memory devices); r=roc 2009-09-22 13:01:11 -07:00
Timothy Nikkel
ca4682bf22 Bug 435441 patch 4 followup fix. One instance of mPendingRestyles -> aRestyles was missed in patch 4. r=dbaron 2009-09-22 14:01:55 -05:00
Graeme McCutcheon
4dc6beed49 Bug 493111 - ASSERTION: Range index not returned. r=roc 2009-09-22 19:05:39 +01:00
Mats Palmgren
f4053c057e Eliminate long delays with a few SVG reftests. b=517744 r=longsonr 2009-09-22 19:01:03 +02:00
Rich Walsh
5c1a94f9fe [OS/2] Bug 517880 - Build Break following removal of nsplugindefs.h, r=pweilbacher 2009-09-22 15:49:26 +02:00
Markus Stange
670c6722c8 Bug 517412 - 64 Bit fixes for nsLookAndFeel.mm. Also removes some unused colors. r=josh, r=dbaron 2009-09-22 20:03:17 +12:00
Neil Deakin
22715396a4 Bug 516076, pass a contextual window to focus controller methods, so that it retrieves the controller for the right window, r=neil,sr=smaug 2009-09-21 13:39:44 -04:00
Serge Gautherie
47e80c08bb Bug 498128 - xpcshell-tests: add option to enable/disable file logging; (Av3a) Support --[no-]logfiles in xpcst suite, improve dir/file handling in 3 suites
r=ted.mielczarek
2009-09-21 18:19:21 +02:00
Robert O'Callahan
b45fe9a213 Bug 516740. Never simplify the visible region by increasing its area when we're subtracting opaque areas from the visible region. Instead, just don't subtract the opaque area if it would make the visible region too complex. r=bzbarsky
--HG--
extra : rebase_source : 388dd9229d6d1a50efd409f508aded95f1ec226a
2009-09-20 00:12:48 +12:00
Robert O'Callahan
bab2afc1ec Bug 435441. Fix signed/unsigned warning. r=dbaron
--HG--
extra : rebase_source : 2aac24423b822a5737714115ff9bc3c53677ddd2
2009-09-20 00:12:48 +12:00
Robert O'Callahan
956121ecec Bug 508945. Additional fixes for plugin printing when the plugin has borders or padding. r=dbaron
--HG--
extra : rebase_source : ea7b64d55c43a04c72ad38529aa35c3a3bb7a127
2009-09-11 13:44:20 +12:00
Robert O'Callahan
794f4fa11d Bug 508495. Remove CreateWidgetForView from nsIFrame and nsObjectFrame since it's no longer used there. r=dbaron
--HG--
extra : rebase_source : c400af6f507ea046e952b9c612dc2d7fca00ff91
2009-09-30 07:32:43 +10:00
Robert O'Callahan
0661a95762 Bug 508495. Let CSS borders and padding apply to plugin elements, and fix layout, painting and event handling to work with them. r=dbaron
--HG--
extra : rebase_source : c42240c5a88dc05579b658f8cc29ff289422986b
2009-09-11 13:44:20 +12:00
Robert O'Callahan
d56dfa741e Bug 513082. Instead of passing aDirtyRect to nsDisplayItem::Paint, have nsDisplayList::OptimizeVisibility (renamed to ComputeVisibility) compute the intersection of the visible region with the bounds of each display item and store the result in the item's mVisibleRect. This lets us do less work to paint display items which have a small intersection with the visible region but a large intersection with the bounding-box of the visible region. r=dbaron
--HG--
extra : rebase_source : 76db4b87ef9e5a6e9de7677edc08c26e2cbc462e
2009-09-07 12:35:14 +12:00
Robert O'Callahan
2e6f2bd071 Bug 513082. Round out 'region of moving visible content' to device pixels to reduce incidence of stray subpixel rectangles causing unnecessary painting. r=dbaron
--HG--
extra : rebase_source : a976be084de5b610089cebe1da9a9c5a2e580cb2
2009-09-07 12:35:14 +12:00
Robert O'Callahan
8383498b71 Bug 510856. Create tests for which areas of the page are repainted or blitted by scrolling. r=dbaron
--HG--
extra : rebase_source : ab2ce1c1a77c42b0ea319cfe4aa0da89395cd632
2009-09-07 12:35:13 +12:00
Robert O'Callahan
3574bf3fd3 Bug 510856. Additional scrolling tests.
--HG--
extra : rebase_source : 053c6aae0cc3b458647b296ffb6ce885af2ef7a4
2009-09-07 12:35:13 +12:00
Robert O'Callahan
3f31ace6a0 Bug 510856. ComputeRepaintRegionForCopy should not look outside the update rect for moving and non-moving visible content. r=dbaron
--HG--
extra : rebase_source : 4b2bb7ca8ca883c4d2ba6e14f5a43c82c831fc32
2009-09-07 12:35:13 +12:00
Robert O'Callahan
79306e31ef Bug 442715. Invalidate the whole border-box when an element's size changes and its background is being clipped by a border-radius. r=dbaron
--HG--
extra : rebase_source : b9e738ebd64cbcc871a7d1a7178e1eccf64e66f1
2009-09-25 11:52:13 +12:00
Robert O'Callahan
7fa763ef88 Bug 509693. Remove eWindowType_java (unused) and actually use eWindowType_plugin. r=josh
--HG--
extra : rebase_source : 14ebf24d00378e65e75b75692b9d82a020966db1
2009-09-24 21:32:20 +12:00
Robert O'Callahan
e4bc55769e Bug 514660. Use classes instead of an explicit 'style' attribute to style the anonymous DIV of a text control, so that the styles are treated as user-agent styles and not removed when author styling is disabled. r=bzbarsky
--HG--
extra : rebase_source : 949e902529b2e0f48539d40141614038dfea0ea2
2009-09-23 23:02:27 +12:00
Robert O'Callahan
12b82f1f1d Bug 510856. Round out 'visible area of moving content' to device pixel edges to avoid stray subpixel rectangles needing to be repainted. r=dbaron
--HG--
extra : rebase_source : 83e0e490c4b145fb774ad149c7f7a9e6ff8998c7
2009-09-07 12:35:12 +12:00
Robert O'Callahan
6de615de1b Bug 510110. Extend MozAfterPaint event to contain list of PaintRequest objects with information about individual invalidations. r=dbaron,sr=jst
--HG--
extra : rebase_source : 0e8b9f424d50c2d9e346f7ff15834202a6c101d1
2009-09-04 16:49:18 +12:00
Mats Palmgren
34d1363139 Remove unused methods. b=516976 r=bzbarsky 2009-09-20 23:37:30 +02:00
Timothy Nikkel
5f8ff6cfdc Bug 514127. Draw the canvas background color on the whole canvas area instead of just the viewport when RenderDocument is called with ignore scrolling flag. r=roc 2009-09-19 12:20:42 +02:00
Phil Ringnalda
e62c83fdc6 Bug 495228 - Remove checks for mac MOZ_WIDGET_TOOLKIT, r=ted 2009-09-18 19:59:53 -07:00
Vladimir Vukicevic
51833424c4 b=517559; remove runtime (startup) dependency on opengl32.dll, to fix Ts; r=mwsteele 2009-09-18 16:48:36 -07:00
Vladimir Vukicevic
411b62d064 b=517557; remove --enable-canvas; r=ted 2009-09-18 16:48:35 -07:00
Boris Zbarsky
d52b43f127 Bug 515534. Simplify some nsTableRowGroupFrame methods by assuming that the frame constructor did not screw up. r=bernd 2009-09-18 14:52:58 -04:00
Boris Zbarsky
82c38f6a01 Bug 515703. In some cases we can end up checking whether an element is the default submit before we've updated our default submit; in that situation wehave to do it the slow way. r=jst 2009-09-18 14:52:27 -04:00
Michael Ventnor
7b53709720 Bug 512988 - Text-shadow blur and underline messes up with padding-left. r+sr=roc 2009-09-18 20:18:35 +02:00
Peter Van der Beken
8646309708 Fix for bug 508780 (Stop using tearoff from quickstubs for nsDOMCSSDeclaration/nsComputedDOMStyle), part 2. r=jst.
--HG--
extra : rebase_source : 31cf92522c323b3acf062903a4e5c33ed568230c
2009-09-18 15:09:55 +02:00
Mats Palmgren
4e06ef038e Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
90fe0851f3 Bug 233463, patch 4 - Make nsIFrame::mNextSibling private. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
7ca7fe2f91 Bug 233463, patch 3 - Make Destroy/RemoveFrame() methods void and assert that the frame to remove is present. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
377056c269 Bug 233463, patch 2 - Introduce nsFrameList::mLastChild member for fast access to the last sibling frame. r=bzbarsky 2009-09-18 13:09:36 +02:00
Mats Palmgren
9aacd90f4f Bug 233463, patch 1 - Minor cleanup of frame list related code in nsTableRowGroupFrame. r=bzbarsky 2009-09-18 13:09:35 +02:00
Mats Palmgren
8279fd683e Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky 2009-09-18 13:09:35 +02:00
Jonathan Kew
8f71962ebf Bug 517283: fix gfxCoreTextFontGroup and bidi reftests to resolve failures with the Core Text backend, r=roc 2009-09-18 09:20:01 +01:00
Vladimir Vukicevic
371933ca83 b=516213; Freshen WebGL implementation and enable on trunk (part 2); r=mwsteele,roc 2009-09-17 23:01:12 -07:00
Neil Deakin
3599d06edc Bug 516991, get the right scrollable view from within the selection scroll timer, otherwise scrolling is jumpy, r=roc 2009-09-17 16:33:29 -04:00
Neil Deakin
6d83cdc84a Bug 516880, use the right presshell when getting frames during mouse capture, r=roc 2009-09-17 12:59:42 -04:00
Jonathan Kew
b2508cbfdd Bug 507970, reftests for loading new WOFF font format and rejecting invalid fonts, r=jdaggett
--HG--
extra : rebase_source : 8645f63a6db39a0c04e9d59bd4fc486bd61d4d99
2009-09-17 12:17:08 +01:00
Jonathan Kew
5d195abe72 Bug 507970, part 3: add @font-face format hint for woff fonts, r=jdaggett
--HG--
extra : rebase_source : 44bbd8455cffbd21d77fafdec21e1a80792cd6d7
2009-09-17 12:03:12 +01:00
Jonathan Kew
7f99e7a86f Bug 507970, part 2: implement support for downloadable WOFF fonts, r=jdaggett
--HG--
extra : rebase_source : e68c49d2dbea815e453f9ab52ba89bd9127d3f51
2009-08-30 14:55:24 +01:00
Josh Aas
923b0e293c Gecko should use NPAPI directly, remove nsplugindefs.h abstractions. b=516661 r/sr=jst 2009-09-16 21:30:26 -04:00
L. David Baron
bcdd12c9a9 Add bug number for FIXME comment. 2009-09-16 12:01:18 -07:00
Mats Palmgren
948203eb7d Replace PR_MIN/PR_MAX with NS_MIN/NS_MAX. b=512106 r=roc 2009-09-16 17:01:36 +02:00
Olli Pettay
af258882ac Bug 516237, r=enndeakin, sr=neil
--HG--
extra : rebase_source : 0d7f5d0c5fb23052788d8a07908e5f7f4b29d43a
2009-09-15 21:15:16 +03:00
Frédéric WANG
c2b403d5d9 Bug 403311 layout/mathml/tests/ : xml pages are not W3C-valid r=karlt
--HG--
extra : rebase_source : 82994603822ca886070d76c9aaadf8ac8676018a
2009-09-16 14:06:39 +12:00
Zack Weinberg
1bbb6caf46 Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron 2009-09-16 10:00:04 +12:00
Olli Pettay
e63ac851ea backout Bug 516237 2009-09-15 17:34:57 +03:00
Olli Pettay
8880343068 Bug 516237, r=enndeakin, sr=neil
--HG--
extra : rebase_source : 44179b032971ced59a7d5af9e59724b9d32c41dc
2009-09-15 11:55:29 +03:00
Justin Dolske
f221ae86bd Backed out changeset a3f33def2dca (bug 497495 part 4) 2009-09-14 17:26:08 -07:00
Boris Zbarsky
efc26f0c70 Bug 497495 (frame poisoning) part 4: Change nsPresArena to maintain separate free lists for every frame class, based on its FrameIID. Pass the necessary information in from AllocateFrame and FreeFrame. r=roc sr=dbaron 2009-09-14 17:29:56 -04:00
Robert Longson
592e45db92 Bug 509274 - Make sizing reftests more robust 2009-09-14 21:45:14 +01:00
Robert Longson
84ff613d07 Bug 512890 - crashtest for ABORT: NULL content node with SVG filter, em units. 2009-09-14 21:19:46 +01:00
Robert Longson
806975ddab Bug 512890 - ABORT: NULL content node with SVG filter, em units. r=roc 2009-09-14 21:12:37 +01:00
Neil Deakin
b944f3866f Bug 497434 - Tooltips no longer shown for bookmarks in places' menupopups, r=neil, mak 2009-09-14 13:06:33 +02:00
Daniel Holbert
16a6a6205f Bug 503961: Initialize block-reflow-state's nsOverflowContinuationTracker a little later, so that it doesn't end up with stale overflow-list pointers. r=fantasai r=roc 2009-09-13 17:26:01 -07:00
Mats Palmgren
1df99a1262 Bug 513318 - visibility:collapse causes scrollbar issues for XUL elements, r=roc 2009-09-13 16:05:55 -07:00
Neil Deakin
05a4dea73e Bug 510335, add support for right/bottom attributes in stack, remove left/top css property support, r=neil,sr=bz 2009-09-13 17:13:54 -04:00
Neil Deakin
02a7469b05 Bug 503943, add mouse capturing api to elements, remove capturing from views, r=roc,sr=smaug 2009-09-13 09:13:16 -04:00
Bobby Holley
0b02012ed8 Bug 435296 - Sync decode handling for decode-on-draw. r=roc 2009-09-12 16:44:18 -06:00
Bobby Holley
2d5ec55945 Bug 435296 - Decode-On-Draw. r=joe,roc,bz,dolske,peterw sr=vlad 2009-09-12 16:44:18 -06:00
Zack Weinberg
17eb5a6efc Bug 497495 part 3: Add methods to every nsFrame subclass that expose the as-allocated identity of every frame object. Also some cleanups to the QueryFrame implementation. r=dbaron sr=roc 2009-09-12 17:49:24 +01:00
Daniel Holbert
ebe1fbb37c Add UncomputeValue method to nsStyleAnimation, for converting computed values into specified values. (Bug 504652) r=dbaron 2009-09-11 09:29:23 -07:00
Robert Longson
300606b3d6 Bug 515080 - setting fill doesn't always cause re-styling. r=bzbarsky 2009-09-11 14:39:12 +01:00
L. David Baron
cf9a633c3c Use nsRefPtr for new context in ReResolveStyleContext. (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
a3a84f5a7b Pass style rule to post-resolve callbacks. (Maybe not the long term approach for CSS transitions, but easiest right now.) (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
8143dbf5aa Allow multiple post-resolve callbacks. (Maybe not the long term approach for CSS transitions, but easiest right now.) (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
7f32fb197e Separate nsCSSPropertySet out from nsCSSDataBlock so that it can be used elsewhere (for transitions). (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
0b77a89d40 Make style changes know whether they are for transitions or not. (Bug 435441) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
a242d6fd9e Add support for animation of nsStyleSVGPaint values to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
d7d12a62a5 Add support for animation of color values (conversion of nscolor values to nsStyleCoord and animation of eStyleUnit_Color nsStyleCoords) to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
477e364bde Add support for color values to nsStyleCoord so nsStyleAnimation can animate colors. (Bug 504652) r=bzbarsky 2009-09-11 06:46:36 -04:00
L. David Baron
753f9818ab Add support for animation of nscoord values to nsStyleAnimation. (Bug 504652) r=dholbert sr=bzbarsky 2009-09-11 06:46:36 -04:00