Commit Graph

20802 Commits

Author SHA1 Message Date
Kearwood (Kip) Gilbert
a802860942 Bug 926155 - Added reftest to verify that an element contained within a sticky element that is also a scroll container will be reflowed correctly when updated. r=dholbert
This test verifies that the reflow will not be interrupted by a sticky element that is also a scroll container.
2014-04-17 16:23:22 -04:00
Nathan Froyd
6ca1704821 Bug 682216 - add a memory reporter for libnestegg's memory; r=njn,kinetik 2014-04-08 10:36:30 -04:00
Ed Morley
129ab46d09 Backed out changeset 5aa4eed6cd16 (bug 981477) for B2G reftest failures 2014-04-17 16:42:18 +01:00
Mats Palmgren
496ff866f3 merge backout 2014-04-17 15:10:44 +00:00
Mats Palmgren
1f5417d4f0 Back out bug 613659 for build failure on B2G Windows.
--HG--
rename : layout/reftests/backgrounds/background-size-slice.html => layout/reftests/backgrounds/background-size-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-slice.html => layout/reftests/backgrounds/background-size-cover-continuous.html
rename : layout/reftests/backgrounds/background-size-cover-clone.html => layout/reftests/backgrounds/background-size-cover-each-box.html
rename : layout/reftests/backgrounds/background-size-clone.html => layout/reftests/backgrounds/background-size-each-box.html
2014-04-17 15:09:18 +00:00
Mats Palmgren
f1f2785553 Bug 613659 - Minor whitespace fixes. r=cam 2014-04-17 12:11:08 +00:00
Mats Palmgren
9307008d19 Bug 613659 - Change mode-lines and indentation to 2-space indent. r=cam 2014-04-17 12:11:08 +00:00
Mats Palmgren
d6da8d555e Bug 613659 - Reftests for box-decoration-break. r=cam 2014-04-17 12:11:08 +00:00
Mats Palmgren
6d5228d24b Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam 2014-04-17 12:11:08 +00:00
Mats Palmgren
36fbe11cd8 Bug 613659 - Implement box-decoration-break layout for backgrounds. r=cam,jmuizelaar
--HG--
rename : layout/reftests/backgrounds/background-size-each-box.html => layout/reftests/backgrounds/background-size-clone.html
rename : layout/reftests/backgrounds/background-size-cover-each-box.html => layout/reftests/backgrounds/background-size-cover-clone.html
rename : layout/reftests/backgrounds/background-size-cover-continuous.html => layout/reftests/backgrounds/background-size-cover-slice.html
rename : layout/reftests/backgrounds/background-size-continuous.html => layout/reftests/backgrounds/background-size-slice.html
2014-04-17 12:11:07 +00:00
Mats Palmgren
1bbabc9e26 Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam 2014-04-17 12:11:07 +00:00
Mats Palmgren
c90bfe1387 Bug 613659 - Add "skip sides" and border/frame size parameters to GetBorderRadii(). Add an inline convenience method for the old signature. r=cam 2014-04-17 12:11:07 +00:00
Mats Palmgren
61a893d1b4 Bug 613659 - Implement box-decoration-break in the style system. r=cam 2014-04-17 12:11:07 +00:00
Nathan Froyd
14f4fdbed9 Bug 996031 - remove 455407.html crashtest; r=dholbert
The bug that this test was intended to test seems transient, according to
testing with nightlies around the time the bug was filed.  Additionally,
the test connects to external servers, which is frowned upon and will soon
be forbidden.
2014-04-15 16:31:51 -04:00
Matt Woodrow
d817c835cb Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
Carsten "Tomcat" Book
672c8c479e Backed out changeset 20b75bf44c1e (bug 997014) 2014-04-17 08:43:43 +02:00
Matt Woodrow
aed9928e36 Bug 997014 - Part 2: Make SurfaceFromElement use GetSurfaceSnapshot instead of the external API. r=roc 2014-04-17 17:29:52 +12:00
John Daggett
300a504645 Bug 964613 - check userfont sets for enabled/disabled local fonts when platform fontlist changes occur. r=jfkthame 2014-04-17 23:17:22 +09:00
Mats Palmgren
700f57423f Bug 613659 - Fix B2G build error. r=me 2014-04-17 13:55:12 +00:00
Vincent Chen
f5f42ada38 Bug 981477 - Re-enable globally-disabled reftests on B2G that actually pass. r=ahal 2014-04-17 09:23:16 -04:00
Andrew Church
91c6e90e48 Bug 981281 - Ctrl+left/right arrow skips words with leading/trailing punctuation with layout.word_select.stop_at_punctuation=false. r=mats
test3/test4 are copies of test1/test2 tweaked for stop_at_punctuation=false.
2014-04-17 09:23:16 -04:00
John Daggett
1e0a07af48 Bug 997006 - rename text-combine-horizontal to text-combine-upright. r=dholbert 2014-04-17 09:15:18 +09:00
Ed Morley
e1f439e57d Bug 991134 - Output an additional failure line for loadfailed: null failures to make bug 789751 and bug 720452 TBPL starable; r=dbaron 2014-04-17 01:13:38 +01:00
Kearwood (Kip) Gilbert
93e818d617 Bug 984226 - Add parameter to OverflowChangedTracker::AddFrame to distingush between frames that need nsIFrame::UpdateOverflow called and frames that only have a transform that has changed. r=dbaron
- OverflowChangedTracker::AddFrame now accepts an enumerated type parameter to
  indicate if the overflow areas of children have changed (CHILDREN_CHANGED),
  the overflow areas of the children have changed and the parent have changed
  (CHILDREN_AND_PARENT_CHANGED), or if only the transform has changed
  (TRANSFORM_CHANGED).
- OverflowChangedTracker::Flush no longer falls back to calling
  nsIFrame::UpdateOverflow when a frame lacks a PreTransformOverflowAreas
  property.
- Added an additional change hint, nsChangeHint_ChildrenOnlyTransform, which
  results in TRANSFORM_CHANGED being passed in to
  OverflowChangedTracker::AddFrame.
- In nsIFrame::FinishAndStoreOverflow, the passed in overflow is now stored as
  the InitialTransformProperty for elements that are IsTransformed().
- Partially corrected Bug 926155, by only calling
  OverflowChangedTracker::AddFrame on parents of the sticky element during
  StickyScrollContainer::UpdatePositions, using CHILDREN_CHANGED.
2014-03-13 17:21:25 -07:00
Simon Montagu
7efd4be22b Add some more logical getters to nsIFrame.h. Bug 735577, r=jfkthame 2014-04-16 01:03:30 -07:00
Simon Montagu
d89cfb8610 Make nsLineBox.mBounds a LogicalRect. Bug 789096, r=jfkthame 2014-04-16 01:03:28 -07:00
Boris Zbarsky
ac9f0ba11d Bug 843840 part 2. Add a way to ask DOM proxies for only their enumerable property names, and use that in the enumerate hook. r=peterv 2014-04-15 22:58:44 -04:00
Boris Zbarsky
938ba48ab7 Bug 843840 part 1. Add a way to ask DOM proxies with a named getter whether a property is enumerable or not and use that information in getOwnPropertyDescriptor. r=peterv 2014-04-15 22:58:44 -04:00
Jonathan Watt
0a0470e24e Bug 996901 - Remove lots of gfxASurface.h and gfxImageSurface.h includes and forward declarations that are no longer needed. r=mattwoodrow 2014-04-16 01:41:40 +01:00
Matt Woodrow
d0d493da83 Bug 996929 - Make nsLayoutUtils::SurfaceFromElement optimize the returned surface upfront so that it doesn't have to be converted every time it's used. r=jwatt 2014-04-16 01:40:18 +01:00
Kyle Huey
4b25f94dc9 Bug 991812: Remove uses of RefCounted<T> that live in Gecko. r=ehsan
--HG--
extra : rebase_source : 239ff77ec3765a3f190ed75b1645c6011e5d1dbd
2014-04-14 12:04:24 -07:00
Daniel Holbert
7b4d635087 Bug 991285 part 1: Consistently allocate nsRenderingContext instances on the heap. r=roc 2014-04-15 12:54:10 -07:00
Jonathan Watt
10e73de9e6 Bug 950372 - Convert imgIContainer::GetFrame to return a Moz2D SourceSurface instead of a Thebes gfxASurface. r=mattwoodrow 2014-04-15 19:02:23 +01:00
Botond Ballo
b56cd2cc98 Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan
--HG--
extra : source : 896fa761f32dad205897953d812e78dadf6136e7
2014-04-11 17:39:58 -04:00
Botond Ballo
e235befc24 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : 5353e86dcfe8b2ff6f02e577a4c69a1de6808d9b
2014-04-15 13:39:20 -04:00
Ed Morley
6a0c514644 Backed out changeset d5c38470ac06 (bug 976605) 2014-04-15 17:45:48 +01:00
Ed Morley
cc565a8c1f Backed out changeset 27ceedad1d1c (bug 976605) 2014-04-15 17:45:24 +01:00
Botond Ballo
02a3e3d2af Bug 976605 - Expose inIDOMUtils via mozilla::services. r=ehsan
--HG--
extra : source : d030d78ad4f67528ca16d8dbe6aaa72990f30ba0
2014-04-11 17:39:58 -04:00
Botond Ballo
87beae3674 Bug 976605 - Turn GeckoCC::NotifyTransform[Begin|End] into an extensible APZ state change notification mechanism. r=kats
--HG--
extra : source : bfb4af538271dc2e3148caa461f594715529021a
2014-04-11 20:27:57 -04:00
Matt Woodrow
a045672879 Bug 996393 - Part 2: Use new gfxPlatform::GetWrappedDataSourceSurface API in nsLayoutUtils::SurfaceFromElement to avoid copying. r=roc 2014-04-15 14:36:27 +12:00
Robert O'Callahan
2b3dc53f7b Bug 791480. Fix bad reftest.list merge. 2014-04-16 00:56:33 +12:00
Robert Longson
0d21bd4091 Bug 995813 - Mask and pattern elements should map more attributes to styles. r=dholbert
--HG--
rename : layout/reftests/svg/mask-basic-03.svg => layout/reftests/svg/mask-basic-04.svg
rename : layout/reftests/svg/mask-basic-03.svg => layout/reftests/svg/pattern-basic-01.svg
2014-04-15 11:48:02 +01:00
Robert O'Callahan
2fb739059a Bug 985303. Part 3: Save a block's 'bottom edge of content' in a frame property if it doesn't match the block's content height, and use it in UpdateOverflow to compute the correct overflow. r=dbaron
--HG--
extra : rebase_source : 11fe6925ee266a2e1feec5a4d5c0e5ed152516f5
2014-04-03 04:27:23 -04:00
Robert O'Callahan
0126bd0e18 Bug 985303. Part 2: Add aSkipChildLists parameter to nsLayoutUtils::UnionChildOverflow. r=dbaron
--HG--
extra : rebase_source : 4ce840181d43b62d4488e6d4a3169ac1315e1dc7
2014-04-03 04:25:03 -04:00
Robert O'Callahan
5ceb341697 Bug 985303. Part 1: Assert that nsViews are only associated with a specific, limited set of frame types. r=dbaron
--HG--
extra : rebase_source : 80ce9f2e4841b831fd37acf2b89d4ff350762ab8
2014-04-03 04:24:58 -04:00
Robert O'Callahan
84543bbdaa Bug 972713. Part 2: Ignore active scrolled roots in inactive layer trees, because they don't help and could hurt. r=mattwoodrow
--HG--
extra : rebase_source : 3c1c4abb6685f106f927f0f43dbb62fe64a37038
2014-02-18 17:00:35 +13:00
Robert O'Callahan
e5b74e7c9c Bug 972713. Part 1: Make all callers of GetAnimatedGeometryRootFor pass a display item so we can stop searching when we reach the item's reference frame. r=mattwoodrow
This guarantees that the animated geometry root for an item is always in the
same display list coordinate system as the frame.

--HG--
extra : rebase_source : 974434342459b76d62d89fdc04c22c518bf0c58b
2014-02-18 14:26:57 +13:00
Robert O'Callahan
f59292dcf8 Bug 791480. Reenable test on Windows 7. r=dbaron
--HG--
extra : rebase_source : f4432bc6143e84c58d590dc80dfcb41419524b5d
2014-03-25 22:15:49 +13:00
Robert O'Callahan
aec464eba3 Bug 791480. Make reftests enter print mode before reftest-wait is removed, so canvas-print-callback tests can finish drawing before the test ends. r=dbaron
--HG--
extra : rebase_source : f5b0ded43f9ef670478a06daf36c44987bd6b823
2014-03-25 22:11:27 +13:00
Robert O'Callahan
1090d49625 Bug 983465. Disable collapsing-text frame construction optimization on a per-document basis. r=bz
--HG--
extra : rebase_source : fc2059ac826e001660fb7233d775f8a046467f6b
2014-04-03 03:48:51 -04:00