Commit Graph

1494 Commits

Author SHA1 Message Date
Boris Zbarsky
e168ed8802 Bug 502567. Get rid of the silly ShouldBuildChildFrames check. r=neil 2009-10-07 21:00:38 -04:00
Robert O'Callahan
9758ecee67 Bug 520462. Let NS_PLUGIN_ACTIVATE events look up the view hierarchy to find a frame. r=karlt
--HG--
extra : rebase_source : 1368db2f5ebe70b43cdaa5040265f54728ab32b4
2009-10-07 17:19:59 +13:00
Neil Deakin
19b8634b1c Bug 517916, crash if the capturing element has no view, r=roc 2009-10-05 10:00:05 -04:00
L. David Baron
7e2aee0cc5 Fix spelling of synthetic in macro name. 2009-10-02 14:06:42 -07:00
Boris Zbarsky
82ca879d78 Bug 519590. Don't interrupt reflow until some time has passed. r=roc 2009-10-02 14:05:32 -04:00
Sylvain Pasche
7c7c7a40b3 Bug 499447. Don't restart our interrupted reflow until some time passes, to give system event processing a fair shot. r=bzbarsky 2009-10-02 14:05:31 -04:00
Boris Zbarsky
4fc405cefa Bug 512336. Make frame lists doubly-linked. r=roc,fantasai 2009-10-02 12:27:37 -04:00
Robert O'Callahan
20bb54d1d3 Bug 508908. Disable windowed plugins in popup windows, since they don't work. r=dbaron
--HG--
extra : rebase_source : 1acfac3d3613d332586fade393f2911552bd03e0
2009-09-30 08:18:20 +10: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
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
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
Neil Deakin
492e487e7d Bug 513299, add a flag to focus events to indicate that a window was raised, fixes issue where text in a field is selected when a window is raised, r=smaug.sr=neil 2009-10-01 14:53:10 -03:00
David Zbarsky
8d8553ee41 Bug 488249. Replace IsNodeOfType(eHTML) checks with namespace checks. r+sr=jst 2009-08-24 16:02:07 -04:00
Mats Palmgren
31d408bca4 Adjust the caret y-position for zero-height inlines. b=503531 r=roc 2009-09-29 23:07:05 +02:00
David Zbarsky
bb6a0e81f4 Bug 507762: Parse CSS style sheets independently of case-sensitivity, and instead check case correctly when using the stylesheets. r=dbaron 2009-09-28 23:07:45 -07:00
Timothy Nikkel
73a27c9267 Bug 518777. When drawing the canvas background color for drawWindow, adjust CanvasArea because it is relative to the frame itself. r=roc
--HG--
rename : layout/base/tests/test_bug514127.html => layout/base/tests/test_bug518777.html
extra : rebase_source : 252a78c5444513eac82b6ebc6ae202aef91bc5ce
2009-09-28 20:40:24 -05:00
Neil Deakin
a11c6e6243 Bug 516615, when capturing, check if the target frame's content is a descendant of the capturing content, rather than using the frame tree, r=roc,sr=smaug 2009-09-28 10:17:01 -04:00
Kyle Huey
c815c08e8d Bug 513684. Stop :hover from bleeding through certain elements. r=roc Test fixes from Markus Stange <mstange@themasta.com>. 2009-09-26 16:35:05 -07:00
Geoff Lankow
bd900ff5fd Bug 517882: Implement a -moz-tab-size CSS property that specifies the number of spaces between tab stops in preformatted text. r=roc, dbaron 2009-09-26 13:23:47 -07:00
Dão Gottwald
b15d2e3fde Backed out changeset a2d46929bcbd 2009-09-26 22:21:22 +02:00
Kyle Huey
dbd51bf4f0 Bug 513684 - Stop :hover from bleeding through certain elements. r=roc 2009-09-13 22:54:44 -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
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
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
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
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
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
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
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
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
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
Mats Palmgren
4e06ef038e Bug 233463, patch 5 - Remove nsFrameList(nsIFrame*) ctor. 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
8279fd683e Bug 233463, patch 0 - Use nsFrameList methods instead of nsIFrame::SetNextSibling. r=bzbarsky 2009-09-18 13:09:35 +02: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
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
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
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
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
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