Commit Graph

3620 Commits

Author SHA1 Message Date
Matt Brubeck
a900917304 Back out 6d41ddb6b9bc (bug 708175) because of Android test failures 2012-04-11 20:08:54 -07:00
Scott Johnson
de8896f75e Bug 708175: Disable font inflation for fixed-width or fixed-height input controls. [r=dbaron]
--HG--
rename : layout/reftests/font-inflation/input-text-1-ref.html => layout/reftests/font-inflation/input-text-1-height-ref.html
rename : layout/reftests/font-inflation/input-text-1.html => layout/reftests/font-inflation/input-text-1-height.html
rename : layout/reftests/font-inflation/input-text-1-ref.html => layout/reftests/font-inflation/input-text-1-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-1.html => layout/reftests/font-inflation/input-text-1-noheight.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-height-ref.html
rename : layout/reftests/font-inflation/input-text-2.html => layout/reftests/font-inflation/input-text-2-height.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-noheight.html
rename : layout/reftests/font-inflation/input-text-3-ref.html => layout/reftests/font-inflation/input-text-3-height-ref.html
rename : layout/reftests/font-inflation/input-text-3.html => layout/reftests/font-inflation/input-text-3-height.html
rename : layout/reftests/font-inflation/input-text-3-ref.html => layout/reftests/font-inflation/input-text-3-noheight-ref.html
rename : layout/reftests/font-inflation/input-text-3.html => layout/reftests/font-inflation/input-text-3-noheight.html
2012-04-11 18:12:19 -05:00
David Humphrey (:humph)
9534b79926 Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc,smaug 2012-04-11 17:55:21 -04:00
Robert O'Callahan
c1fcb8ec46 Backing out changesets ef599d7f3f11, 70ef464f50e3 and 1a204c38918e (bug 735898) due to test failures. 2012-04-12 00:34:23 +12:00
Robert O'Callahan
09dac64814 Bug 735898. Part 3: In DisplayBorderBackgroundOutline, when we have created an nsDisplayBackground item and it's themed, don't bother checking to create an nsDisplayBorder item. r=mattwoodrow
It turns out that calling HasBorder() is especially expensive for themed frames since we call into the theme engine to compute the border, so avoiding it is a nice win.
2012-04-11 16:49:34 +12:00
Robert O'Callahan
84a03695da Bug 735898. Part 1: Cache bounds (union of all child item bounds) in nsDisplayWrapList. r=mattwoodrow 2012-04-11 16:48:47 +12:00
Robert O'Callahan
04eb195d7e Bug 735898. Part 0: Fix comment. 2012-04-11 16:48:37 +12:00
L. David Baron
8b45fe3efa Run font inflation reftests with the reftest harness rather than inside of mochitest. (Bug 743817) r=sjohnson
--HG--
rename : layout/base/tests/font-inflation/bug707855-innerFrame-ref.html => layout/reftests/font-inflation/bug707855-innerFrame-ref.html
rename : layout/base/tests/font-inflation/bug707855-innerFrame.html => layout/reftests/font-inflation/bug707855-innerFrame.html
rename : layout/base/tests/font-inflation/bug707855-ref.html => layout/reftests/font-inflation/bug707855-ref.html
rename : layout/base/tests/font-inflation/bug707855.html => layout/reftests/font-inflation/bug707855.html
rename : layout/base/tests/font-inflation/bullet-1-ref.html => layout/reftests/font-inflation/bullet-1-ref.html
rename : layout/base/tests/font-inflation/bullet-1.html => layout/reftests/font-inflation/bullet-1.html
rename : layout/base/tests/font-inflation/bullet-2-ref.html => layout/reftests/font-inflation/bullet-2-ref.html
rename : layout/base/tests/font-inflation/bullet-2.html => layout/reftests/font-inflation/bullet-2.html
rename : layout/base/tests/font-inflation/consecutive-inline-ref.html => layout/reftests/font-inflation/consecutive-inline-ref.html
rename : layout/base/tests/font-inflation/consecutive-inline.html => layout/reftests/font-inflation/consecutive-inline.html
rename : layout/base/tests/font-inflation/container-with-clamping-innerFrame-ref.html => layout/reftests/font-inflation/container-with-clamping-innerFrame-ref.html
rename : layout/base/tests/font-inflation/container-with-clamping-innerFrame.html => layout/reftests/font-inflation/container-with-clamping-innerFrame.html
rename : layout/base/tests/font-inflation/container-with-clamping-ref.html => layout/reftests/font-inflation/container-with-clamping-ref.html
rename : layout/base/tests/font-inflation/container-with-clamping.html => layout/reftests/font-inflation/container-with-clamping.html
rename : layout/base/tests/font-inflation/css-transform-1-ref.html => layout/reftests/font-inflation/css-transform-1-ref.html
rename : layout/base/tests/font-inflation/css-transform-1.html => layout/reftests/font-inflation/css-transform-1.html
rename : layout/base/tests/font-inflation/css-transform-2-ref.html => layout/reftests/font-inflation/css-transform-2-ref.html
rename : layout/base/tests/font-inflation/css-transform-2.html => layout/reftests/font-inflation/css-transform-2.html
rename : layout/base/tests/font-inflation/decoration-1-ref.html => layout/reftests/font-inflation/decoration-1-ref.html
rename : layout/base/tests/font-inflation/decoration-1.html => layout/reftests/font-inflation/decoration-1.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile-2.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile-2.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile-3.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile-3.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile-4.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile-4.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile-ref.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile-ref.html
rename : layout/base/tests/font-inflation/disable-fontinfl-on-mobile.html => layout/reftests/font-inflation/disable-fontinfl-on-mobile.html
rename : layout/base/tests/font-inflation/fixed-height-body-child-ref.html => layout/reftests/font-inflation/fixed-height-body-child-ref.html
rename : layout/base/tests/font-inflation/fixed-height-body-child.html => layout/reftests/font-inflation/fixed-height-body-child.html
rename : layout/base/tests/font-inflation/fixed-height-body-ref.html => layout/reftests/font-inflation/fixed-height-body-ref.html
rename : layout/base/tests/font-inflation/fixed-height-body.html => layout/reftests/font-inflation/fixed-height-body.html
rename : layout/base/tests/font-inflation/input-checkbox.html => layout/reftests/font-inflation/input-checkbox.html
rename : layout/base/tests/font-inflation/input-radio.html => layout/reftests/font-inflation/input-radio.html
rename : layout/base/tests/font-inflation/input-text-1-ref.html => layout/reftests/font-inflation/input-text-1-ref.html
rename : layout/base/tests/font-inflation/input-text-1.html => layout/reftests/font-inflation/input-text-1.html
rename : layout/base/tests/font-inflation/input-text-2-ref.html => layout/reftests/font-inflation/input-text-2-ref.html
rename : layout/base/tests/font-inflation/input-text-2.html => layout/reftests/font-inflation/input-text-2.html
rename : layout/base/tests/font-inflation/input-text-3-ref.html => layout/reftests/font-inflation/input-text-3-ref.html
rename : layout/base/tests/font-inflation/input-text-3.html => layout/reftests/font-inflation/input-text-3.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1a-ref.html => layout/reftests/font-inflation/intrinsic-fit-1a-ref.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1a.html => layout/reftests/font-inflation/intrinsic-fit-1a.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1b-ref.html => layout/reftests/font-inflation/intrinsic-fit-1b-ref.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1b.html => layout/reftests/font-inflation/intrinsic-fit-1b.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1c-ref.html => layout/reftests/font-inflation/intrinsic-fit-1c-ref.html
rename : layout/base/tests/font-inflation/intrinsic-fit-1c.html => layout/reftests/font-inflation/intrinsic-fit-1c.html
rename : layout/base/tests/font-inflation/intrinsic-fit-2a.html => layout/reftests/font-inflation/intrinsic-fit-2a.html
rename : layout/base/tests/font-inflation/intrinsic-fit-2b.html => layout/reftests/font-inflation/intrinsic-fit-2b.html
rename : layout/base/tests/font-inflation/intrinsic-fit-2c.html => layout/reftests/font-inflation/intrinsic-fit-2c.html
rename : layout/base/tests/font-inflation/intrinsic-max-1-ref.html => layout/reftests/font-inflation/intrinsic-max-1-ref.html
rename : layout/base/tests/font-inflation/intrinsic-max-1.html => layout/reftests/font-inflation/intrinsic-max-1.html
rename : layout/base/tests/font-inflation/intrinsic-min-1-ref.html => layout/reftests/font-inflation/intrinsic-min-1-ref.html
rename : layout/base/tests/font-inflation/intrinsic-min-1.html => layout/reftests/font-inflation/intrinsic-min-1.html
rename : layout/base/tests/font-inflation/preformatted-text-ref.html => layout/reftests/font-inflation/preformatted-text-ref.html
rename : layout/base/tests/font-inflation/preformatted-text.html => layout/reftests/font-inflation/preformatted-text.html
rename : layout/base/tests/font-inflation/select-combobox-1-ref.html => layout/reftests/font-inflation/select-combobox-1-ref.html
rename : layout/base/tests/font-inflation/select-combobox-1.html => layout/reftests/font-inflation/select-combobox-1.html
rename : layout/base/tests/font-inflation/select-combobox-2-ref.html => layout/reftests/font-inflation/select-combobox-2-ref.html
rename : layout/base/tests/font-inflation/select-combobox-2.html => layout/reftests/font-inflation/select-combobox-2.html
rename : layout/base/tests/font-inflation/select-listbox-1-ref.html => layout/reftests/font-inflation/select-listbox-1-ref.html
rename : layout/base/tests/font-inflation/select-listbox-1.html => layout/reftests/font-inflation/select-listbox-1.html
rename : layout/base/tests/font-inflation/select-listbox-2-ref.html => layout/reftests/font-inflation/select-listbox-2-ref.html
rename : layout/base/tests/font-inflation/select-listbox-2.html => layout/reftests/font-inflation/select-listbox-2.html
rename : layout/base/tests/font-inflation/text-1-ref.html => layout/reftests/font-inflation/text-1-ref.html
rename : layout/base/tests/font-inflation/text-1.html => layout/reftests/font-inflation/text-1.html
rename : layout/base/tests/font-inflation/text-2-ref.html => layout/reftests/font-inflation/text-2-ref.html
rename : layout/base/tests/font-inflation/text-2.html => layout/reftests/font-inflation/text-2.html
rename : layout/base/tests/font-inflation/text-3-ref.html => layout/reftests/font-inflation/text-3-ref.html
rename : layout/base/tests/font-inflation/text-3.html => layout/reftests/font-inflation/text-3.html
rename : layout/base/tests/font-inflation/text-4-ref.html => layout/reftests/font-inflation/text-4-ref.html
rename : layout/base/tests/font-inflation/text-4.html => layout/reftests/font-inflation/text-4.html
rename : layout/base/tests/font-inflation/textarea-1-ref.html => layout/reftests/font-inflation/textarea-1-ref.html
rename : layout/base/tests/font-inflation/textarea-1.html => layout/reftests/font-inflation/textarea-1.html
rename : layout/base/tests/font-inflation/textarea-2-ref.html => layout/reftests/font-inflation/textarea-2-ref.html
rename : layout/base/tests/font-inflation/textarea-2.html => layout/reftests/font-inflation/textarea-2.html
rename : layout/base/tests/font-inflation/textarea-3-ref.html => layout/reftests/font-inflation/textarea-3-ref.html
rename : layout/base/tests/font-inflation/textarea-3.html => layout/reftests/font-inflation/textarea-3.html
rename : layout/base/tests/font-inflation/video-1.html => layout/reftests/font-inflation/video-1.html
2012-04-10 10:56:59 -07:00
Robert O'Callahan
d0dd680745 Bug 733607. Restructure logic to compute snapped bounds of display items in layer coordinates. Moves responsibility for computing snapped bounds from within the display items to callers of GetBounds/GetOpaqueRegion. r=tnikkel
Previously we snapped the results of nsDisplayItem::GetBounds and
nsDisplayItem::GetOpaqueRegion internally. By tracking which display items were
inside transforms, we disabled snapping quite conservatively whenever an ancestor
had a transform, which is undesirable.

With this patch, we don't snap inside GetBounds or GetOpaqueRegion, but just return
a boolean flag indicating whether the item will draw with snapping or not. This flag
is conservative so that "true" means we will snap (if the graphics context has a transform
that allows snapping), but "false" means we might or might not snap (so it's always safe
to return false).

FrameLayerBuilder takes over responsibility for snapping item bounds. When it converts
display item bounds to layer pixel coordinates, it checks the snap flag returned from
the display item and checks whether the transform when we draw into the layer will be
a known scale (the ContainerParameters scale factors) plus integer translation. If both
are true, we snap the item bounds when converting to layer pixel coordinates. With
this approach, we can snap item bounds even when the items have ancestors with active
transforms.
2012-04-10 23:24:18 +12:00
Wes Johnston
2ba46f571f Backed out changeset f5d6cc2e4726 2012-04-09 10:44:32 -07:00
Wes Johnston
e196e635a6 Bug 740218 - Support transactions in sqlitebridge and use them. r=gcp,rnewman,lucasr 2012-04-09 10:08:37 -07:00
Kyle Huey
50f43dd111 Back out Bug 679230 due to Android reftest failures. 2012-04-07 10:36:49 -07:00
Kyle Huey
7a78607b88 Bug 697230: Part 1 - Centralize style image observers. r=bz 2012-04-07 08:58:41 -07:00
Wes Johnston
b73f02bb64 Bug 741666 - Fix copying touchEvents if someone holds a reference. r=smaug 2012-04-04 10:08:53 -07:00
Marco Bonardo
5eb9c1dad8 Merge last green PGO from inbound to central 2012-04-04 13:36:36 +02:00
Olli Pettay
19b67623db Bug 742183 - Handle MicroTasks correctly with showModalDialog, r=sicking 2012-04-04 09:23:45 +03:00
Mark Capella
38934b4912 Bug 712936 - Convert users of PR_STATIC_ASSERT to MOZ_STATIC_ASSERT. r=jwalden 2012-04-02 17:21:24 -07:00
Ryan VanderMeulen
e30ff35d31 Backout 17deb5f61b4d (bug 150073) due to build bustage. a=shouldausedtryfirst 2012-04-03 20:22:42 -04:00
Olli Pettay
aef37dab12 Bug 641821, MutationObserver, r=sicking
--HG--
extra : rebase_source : a680c883b22976edf38eea23fb516215e081084f
2012-03-31 09:30:13 -07:00
Phil Ringnalda
0abdfa04b8 Back out b00bf7f3869c (bug 737976) for apparently causing mochitest-1 leaks on a CLOSED TREE 2012-03-28 22:43:09 -07:00
Phil Ringnalda
6e9250f387 Back out 0cb85ff0f764 (bug 738568), 9949bb092303 (bug 730209), 095fd525afa7 (bug 729924), dcf8929a8115 (bug 633602) because of widely scattered and unclear bustage on a CLOSED TREE 2012-03-28 22:37:46 -07:00
Kyle Huey
c3096d813b Bug 737976: Remove nsINodeInfo. rs=bent 2012-03-28 19:07:37 -07:00
David Humphrey
b174382f2b Bug 633602 - Implement Pointer Lock (Mouse Lock) API. r=roc, smaug 2012-03-28 21:00:14 -04:00
Daniel Holbert
032e66c4c1 Bug 740067: Make nsCSSFrameConstructor::CreateNeededTablePseudos return void. r=bz 2012-03-28 12:43:15 -07:00
Chris Lord
dad1744a74 Bug 739604 - Split out dumping of paint buffers from paint lists. r=mattwoodrow
Split dumping of paint buffers into a separate environment variable, vs.
dumping of paint buffers to allow for dumping only of paint lists.
2012-03-28 19:10:28 +01:00
Shriram Kunchanapalli
05c95fc3b7 Bug 150073 - Remove nsCRT:: in nsCRT::strlen. f=sgautherie, r=dougt 2012-02-18 19:17:01 +05:30
Scott Johnson
78dc9ccc4e Bug 740331: Add explicit styles for links in tests for bug 708187 to combat random oranges. [r=dbaron] 2012-04-03 15:17:17 -07:00
Alexander Surkov
ed99cf3a8a Bug 656225 - XUL listbox accessible tree doens't get updated, r=tbsaunde, bz 2012-03-27 16:29:51 +09:00
Scott Johnson
563a904303 Bug 708187: Disable caching of font inflation inside of BuildTextRunsScanner to prevent bleeding of bad values. [r=dbaron] 2012-03-26 22:37:16 -07:00
Boris Zbarsky
eca080bae6 Bug 739004. When cloning a static clone, set the mOriginalDocument of the new clone to the mOriginalDocument of the thing being cloned, not to the thing being cloned (which is not an original document at all). r=smaug 2012-03-24 20:46:03 -04:00
Daniel Holbert
eabfa26b3f Bug 739439: Make nsFrameConstructorState::GetGeometricParent() a const method. r=bz 2012-03-26 15:36:13 -07:00
Matt Woodrow
d6105b78f4 Bug 729955 - Invalidate destroyed out-of-flow frames before unregistering the placeholder frame. r=bz 2012-03-26 11:27:37 -07:00
Ehsan Akhgari
fe02fdb396 Bug 726592 - Uninitialised value use in nsTextFrame::GetChildFrameContainingOffset; r=roc
--HG--
extra : rebase_source : 3e5d2fafc028edb2940bef07302161670692d5a1
2012-03-26 09:09:38 -07:00
Scott Johnson
473dddfa8f Bug 711418 - Enable font inflation for body and html elements with fixed heights. [r=dbaron] 2012-03-23 22:47:43 -05:00
Jeff Gilbert
0c50aa229e Bug 696569 - Allow for non-premultiplied data for canvases - r=bjacob,joedrew 2012-03-23 15:10:50 -07:00
Edwin Flores
2930697827 Bug 738392 - Fix plugins not rendering inside CSS transform on Mac OSX r=roc 2012-03-23 11:21:57 -07:00
Daniel Holbert
97f4b320f3 Bug 738007: Minor code cleanup in nsCSSFrameConstructor::FlushAccumulatedBlock. r=bz 2012-03-22 10:31:19 -07:00
Henri Sivonen
f2d3f89eb7 Bug 737417 part 1 - Split charset source constants out of nsIParser.h. r=smaug. 2012-03-22 16:42:42 +02:00
Jim Mathies
3ba9aa7eeb Bug 737983 - win8 fixup for generic keyword collision, r=smaug. 2012-03-22 09:18:41 -05:00
Simon Montagu
923520c121 Check for orphaned non-fluid continuations after deleting content. Bug 730562, r=roc 2012-03-21 16:50:54 -07:00
Simon Montagu
80800656c5 Check for orphaned fluid continuations after deleting content. Bug 726460, r=roc 2012-03-21 16:50:37 -07:00
Aryeh Gregor
68e33b8d45 Bug 734953 - Remove skew() transformation function; r=dbaron 2012-03-20 13:39:57 -04:00
Hessam Salehi
25b8143afe Bug 474505 - Replace uses of nsVoidPtrHashkey with nsPtrHashKey<T>; r=bsmedberg 2012-03-21 14:07:31 -04:00
Mounir Lamouri
4ccbf5168d Merging mozilla-inbound into mozilla-central. 2012-03-21 11:29:28 +01:00
Serge Gautherie
65541011e6 Bug 737454. (Av1) test_bug518777.html: Move code from body to head, Rewrite it a little. r=roc. 2012-03-21 04:31:37 +01:00
Mounir Lamouri
e87118ae02 Merging mozilla-central into mozilla-inbound. 2012-03-20 11:41:17 +01:00
Mounir Lamouri
06ec3f6bac Merging mozilla-inbound into mozilla-central. 2012-03-20 11:39:42 +01:00
Serge Gautherie
b0e4f3c327 Bug 735805. (AAv1) test_bug518777.html misses waitForExplicitFinish() + finish(). r=roc. 2012-03-20 08:27:50 +01:00
Adam Dane [:hobophobe]
f6bfd29afb Bug 720126 - Update scroll API to use ScrollAxis parameters (where and when). r=roc 2012-03-19 21:09:50 -05:00
Mats Palmgren
234949ebc1 Bug 735943 - Don't crash if nsSMILAnimationController::FlushResampleRequests destroyed the pres shell. r=bz 2012-03-20 19:02:38 +01:00