Jonathan Kew
223d697ee1
bug 1015603 part 6 - remove nsFontVariantTextRunFactory from layout, leaving gfx to handle small-caps. r=roc
2014-05-26 14:23:32 +01:00
Jonathan Kew
66ff5526a4
bug 1015603 part 5 - implement fake small-caps in gfx using a reduced-size clone of the font. r=roc
2014-05-26 14:23:32 +01:00
Jonathan Kew
b2fb454fde
bug 1015603 part 2 - move the special Greek uppercasing code from nsTextRunTransformations to intl/unicharutil. r=roc
2014-05-26 14:23:31 +01:00
Jonathan Kew
3a797bfe58
bug 1015603 part 1 - factor out case transformation from nsCaseTransformTextRunFactory::RebuildTextRun into a separate function. r=roc
2014-05-26 14:23:30 +01:00
Simon Montagu
8eba08a13f
Backout 38b25d5e6cf9 because assertions
2014-05-25 03:15:00 -07:00
Simon Montagu
bd81617a3f
Add a WritingMode argument to nsHTMLReflowMetrics::ISize() and BSize(). Bug 789096, r=jfkthame
2014-05-24 23:47:04 -07:00
Mats Palmgren
9115dbb0a0
Bug 508665 - part 16, Change the type of nsIFrame::mParent to nsContainerFrame* and make it private. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
3231bf9944
Bug 508665 - part 15, s/mParent/GetParent()/ in a bunch of nsIFrame sub-classes. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
3b14701888
Bug 508665 - part 14, uninline nsIFrame::GetPositionIgnoringScrolling() (since it uses a nsContainerFrame method). r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
d9fe6769d5
Bug 508665 - part 13, Move nsIFrame::IsBoxWrapped to a static function in nsFrame.cpp. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
1e7dbbc25d
Bug 508665 - part 12, Move nsIFrame::GetChildBox/GetNextBox/GetParentBox to XUL where they came from. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
99f34c07f2
Bug 508665 - part 11, Make nsIFrame::SetParent non-virtual. r=roc
2014-05-24 22:20:41 +00:00
Mats Palmgren
798dc583cb
Bug 508665 - part 9, Remove now redundant static_cast<nsContainerFrame*> and do_QueryFrame() calls. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
da5455a4b0
Bug 508665 - part 8, Move child frame insertion/removal methods from nsIFrame to nsContainerFrame. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
9b83734b6f
Bug 508665 - part 6, Require a nsContainerFrame* for aParent in nsFrameList methods. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
80071d48fe
Bug 508665 - part 5, Make nsIFrame::Init require a nsContainerFrame* for the parent frame param. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
beb1dea11c
Bug 508665 - part 4, Make nsCSSFrameConstructor use nsContainerFrame* for frames used as parent frames. r=roc
2014-05-24 22:20:40 +00:00
Mats Palmgren
285c9e041a
Bug 508665 - part 3, Change GetContentInsertionFrame() to return a nsContainerFrame*, and return null for leaf frames. Deal with GetContentInsertionFrame() returning null in a couple of places. r=roc
2014-05-24 22:20:39 +00:00
Mats Palmgren
ac5e91a762
Bug 508665 - part 1, Change the signature of SetParent/GetParent from nsIFrame* to nsContainerFrame*. r=roc
2014-05-24 22:20:39 +00:00
Daniel Holbert
c8a003c7a4
backout c3f1ab75ea51 (bug 421436) for regressing bug 439462
2014-05-22 15:10:20 -07:00
Ehsan Akhgari
643a8b5646
Bug 741295 - Part 0.1: Undo the windows.h damage in nsObjectFrame.h
2014-05-22 18:09:03 -04:00
Birunthan Mohanathas
62570a8716
Bug 869836 - Part 2: Use AppendLiteral instead of Append(NS_LITERAL_STRING(...))
. r=ehsan
2014-05-22 06:48:50 +03:00
Mats Palmgren
196236901a
Bug 1009329 - Make crashtests/724978.xhtml trigger fewer reflows to not timeout. r=dholbert
2014-05-13 05:09:00 -04:00
Simon Montagu
afbffbcd64
Remove the hack making all <br> frames 1 app unit wide. Bug 421436, r=roc
2014-05-13 07:12:16 -07:00
Mats Palmgren
c0d1ff26ed
Bug 1009272 - [css-grid] Add some sanity checks for the grid container child frame lists. r=dholbert
2014-05-19 23:57:00 +00:00
Simon Montagu
83dd7fbed2
Wait for CanPlaceFrame (i.e. after reflow) to apply start-margin and test whether the frame is a last continuation and so needs its end-margin applied. Bug 999446, r=jfkthame
2014-05-20 07:04:54 -07:00
Wes Kocher
33ddbc6a5f
Backed out changeset 40c010000007 (bug 1009272) for B2G build bustage
2014-05-19 17:20:05 -07:00
Mats Palmgren
99f67807e9
Bug 1009272 - [css-grid] Add some sanity checks for the grid container child frame lists. r=dholbert
2014-05-19 23:57:00 +00:00
Carsten "Tomcat" Book
9c3911b00f
Backed out changeset 0aaa18232af4 (bug 421436) for causing reftest failures
2014-05-19 13:11:59 +02:00
Xidorn Quan
0bab99e236
Bug 1011461 - Text in bullet shows vertical-positioning discrepancy. r=jfkthame
2014-05-17 04:13:00 +02:00
Simon Montagu
e283a459e1
Remove the hack making all <br> frames 1 app unit wide, bug 421436, r=roc
2014-05-13 07:12:16 -07:00
Daniel Holbert
ab151812bd
Bug 1011311: Drop no-longer-necessary check on availableFreeSpace's sign, in ResolveFlexibleLengths(). r=mats
2014-05-17 18:49:47 -07:00
Daniel Holbert
861db17398
Bug 1005660: Add an "early freeze" step, to freeze flex items that clearly can't grow (or shrink, if we're shrinking). r=mats
2014-05-17 18:49:06 -07:00
Mats Palmgren
b30ebc6e8f
Bug 1008908 - Remove assignment since the value isn't used. r=smontagu
2014-05-17 23:10:53 +00:00
Frédéric Wang
ec1cbe7bb1
Bug 930504 - When possible, use character substitution for basic mathvariants. r=karlt
2014-05-15 02:50:00 -04:00
Eugen Sawin
ce2193c486
Bug 1002426 - Check resolution restore status via specialized flag. r=kats, r=tn
2014-05-12 19:26:53 +02:00
Matt Woodrow
7a96e41ea7
Bug 1008787 - Clip plugin layers to the size layout expects since plugin surfaces get updated asynchronously. r=roc
2014-05-14 16:10:01 +12:00
Kartikaya Gupta
8401a0ac34
Bug 1008412 - Account for low-precision resolution in the texture size check. r=tn
2014-05-12 05:19:00 -04:00
Markus Stange
27660e14fa
Bug 1009478 - Make LayerActivity properties survive across reframes of an element. r=roc
2014-05-13 19:30:11 +02:00
Jonathan Kew
90aae4640a
bug 1001233 - convert bullet frame's margin to the block frame's writing mode when positioning bullet. r=smontagu
2014-05-13 18:09:27 +01:00
Markus Stange
b76d55f3a7
Bug 1008578 - Don't invalidate everything when a scrollframe becomes inactive. r=roc
2014-05-12 21:37:21 +02:00
Mats Palmgren
ab4c3ccbd2
Bug 1008969 - part 2, Add a basic nsGridContainerFrame::Reflow() method. r=dholbert
2014-05-13 00:47:54 +00:00
Mats Palmgren
b1b351e310
Bug 1008917 - part 16, make nsFrame::BoxReflow() return type 'void'. r=roc
2014-05-13 00:47:54 +00:00
Mats Palmgren
29ec34e09a
Bug 1008917 - part 14, make nsAbsoluteContainingBlock::Reflow() return type 'void'. r=roc
2014-05-13 00:47:53 +00:00
Mats Palmgren
b048445095
Bug 1008917 - part 13, make nsContainerFrame::ReflowOverflowContainerChildren() return type 'void'. r=roc
2014-05-13 00:47:53 +00:00
Mats Palmgren
60afe18a5c
Bug 1008917 - part 12, make nsFrame::WillReflow() return type 'void'. r=roc
2014-05-13 00:47:53 +00:00
Mats Palmgren
39083b6251
Bug 1008917 - part 11, make nsBlockFrame::ReflowDirtyLines() and nsLineLayout::ReflowFrame() return types 'void'. r=roc
2014-05-13 00:47:53 +00:00
Mats Palmgren
f9e0595bf5
Bug 1008917 - part 9,10, make DidReflow() return type 'void'. r=roc
2014-05-13 00:47:53 +00:00
Mats Palmgren
7d6cddd940
Bug 1008917 - part 8, make nsLeafFrame::DoRewflow() return type 'void'. r=roc
2014-05-13 00:47:53 +00:00
Mats Palmgren
887ebb543a
Bug 1008917 - part 5,6,7, make ReflowChild() and FinishReflowChild() return type 'void', and make a few related helper methods 'void' too. r=roc
2014-05-13 00:47:53 +00:00
Mats Palmgren
5023eccc38
Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc
2014-05-13 00:47:52 +00:00
Wes Kocher
b368d46380
Backed out changeset 46cf8e706620 (bug 1008969) for depending on bug 1008917 which was already backed out to fix a CLOSED TREE
2014-05-12 15:57:53 -07:00
Wes Kocher
4bfe3c39fd
Backed out 11 changesets (bug 1008917) for apparently introducing an intermittent failure of B2G Crashtest-2 on a CLOSED TREE
...
Backed out changeset e2ab653f688a (bug 1008917)
Backed out changeset b52154d8d900 (bug 1008917)
Backed out changeset 2ab5b01da4de (bug 1008917)
Backed out changeset f7a38df1d44f (bug 1008917)
Backed out changeset 80304bb9a572 (bug 1008917)
Backed out changeset 10ed89a302e9 (bug 1008917)
Backed out changeset 161c41991d46 (bug 1008917)
Backed out changeset 25b2475d2368 (bug 1008917)
Backed out changeset b8000b31277c (bug 1008917)
Backed out changeset 9afa5e7715e1 (bug 1008917)
Backed out changeset 5c380c21351f (bug 1008917)
2014-05-12 15:47:41 -07:00
Wes Kocher
010b8a3fee
Backed out changeset 06800eda477b (bug 1008578) for possibly breaking OSX 10.8 reftests on a CLOSED TREE
2014-05-12 14:34:42 -07:00
Mats Palmgren
28bf633328
Bug 1008969 - part 2, Add a basic nsGridContainerFrame::Reflow() method. r=dholbert
2014-05-12 21:16:05 +00:00
Mats Palmgren
8119e0547f
Bug 1008969 - part 1, Initialize the nsHTMLReflowState "frame type" correctly for display:grid/inline-grid. Add nsIFrame::IsFlexOrGridItem(), and use it to share some flexbox code in nsHTMLReflowState. r=dholbert
2014-05-12 21:16:05 +00:00
Mats Palmgren
db3ee89f8d
Bug 1008969 - part 0, make nsGridContainerFrame final for now, and remove some unnecessary boilerplate code, etc. r=dholbert
2014-05-12 21:16:05 +00:00
Markus Stange
95dd88a5ba
Bug 1008578 - Don't invalidate everything when a scrollframe becomes inactive. r=roc
2014-05-12 21:37:21 +02:00
Mats Palmgren
5aad2ff420
Bug 1008917 - part 16, make nsFrame::BoxReflow() return type 'void'. r=roc
2014-05-12 17:40:30 +00:00
Mats Palmgren
c4014878ce
Bug 1008917 - part 14, make nsAbsoluteContainingBlock::Reflow() return type 'void'. r=roc
2014-05-12 17:40:29 +00:00
Mats Palmgren
3d6cc00ad3
Bug 1008917 - part 13, make nsContainerFrame::ReflowOverflowContainerChildren() return type 'void'. r=roc
2014-05-12 17:40:29 +00:00
Mats Palmgren
1f7d702e60
Bug 1008917 - part 12, make nsFrame::WillReflow() return type 'void'. r=roc
2014-05-12 17:40:29 +00:00
Mats Palmgren
6c300b9f6d
Bug 1008917 - part 11, make nsBlockFrame::ReflowDirtyLines() and nsLineLayout::ReflowFrame() return types 'void'. r=roc
2014-05-12 17:40:29 +00:00
Mats Palmgren
7308c8e3c4
Bug 1008917 - part 9,10, make DidReflow() return type 'void'. r=roc
2014-05-12 17:40:29 +00:00
Mats Palmgren
63eaf102e1
Bug 1008917 - part 8, make nsLeafFrame::DoRewflow() return type 'void'. r=roc
2014-05-12 17:40:29 +00:00
Mats Palmgren
4cdeee2464
Bug 1008917 - part 5,6,7, make ReflowChild() and FinishReflowChild() return type 'void', and make a few related helper methods 'void' too. r=roc
2014-05-12 17:40:29 +00:00
Mats Palmgren
3272848305
Bug 1008917 - part 2,3,4, make Reflow() return type 'void', and make a few reflow related helper methods 'void' too. r=roc
2014-05-12 17:40:28 +00:00
Mats Palmgren
81d314f8e6
Bug 998535 - Apply GetSkipSides to block border+padding to make it for work for box-decoration-break:clone. r=roc
2014-05-12 11:45:28 +00:00
Mats Palmgren
12580f2489
Bug 998535 - Fix ConsumedHeight calculations so that they will work also for box-decoration-break:clone. r=roc
2014-05-12 11:45:28 +00:00
Mats Palmgren
8eb6039ff7
Bug 1007065 - Don't apply the special -moz-hidden-unscrollable clipping on nsTextControlFrame since it always has an anonymous scroll frame that deals with overflow. r=roc
2014-05-12 11:45:27 +00:00
L. David Baron
819b18e80d
Bug 1001258: Remove assertion added in bug 911786 part 3 since it turns out the first bug it found was bogus. r=dholbert
...
The crashtest is Jesse's testcase, and does show the assertion in the
crashtest harness prior to the patch, and does not with the patch.
2014-05-09 16:54:39 -07:00
Matt Woodrow
5329b64309
Bug 950312 - Part 4: Create active layers for nsDisplayMixBlendMode and nsDisplayBlendContainer if the layer manager supports all contained blend mode. r=roc
2014-05-09 21:49:27 +12:00
Benoit Jacob
2e1ef0025a
Bug 1004098 - Make nsTArray use size_t in its interface (32bitness is fine as an internal detail) - r=froydnj, sr=bsmedberg
2014-05-08 21:03:35 -04:00
Eugen Sawin
172fb1e4e7
Bug 1002426 - Check restore status before overriding zoom. r=kats
2014-05-05 23:29:20 +02:00
Mats Palmgren
7b8dd288b4
Bug 613659 - Make GetBorderRadii non-inline to make it compile on Windows. r=roc
2014-05-05 17:55:55 +00:00
Mats Palmgren
1cb8248fa4
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-05-05 17:55:54 +00:00
Mats Palmgren
40fac44b49
Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam
2014-05-05 17:55:54 +00:00
Mats Palmgren
a6082fbfb2
Bug 613659 - Add "skip sides" and border/frame size parameters to GetBorderRadii(). Add an inline convenience method for the old signature. r=cam
2014-05-05 17:55:54 +00:00
Daniel Holbert
bc08fa7cc2
Bug 1001653: Return early & break out of loops early in FlexLine::ResolveFlexibleLengths, when we have no unfrozen items remaining. r=mats
2014-05-04 19:05:51 -07:00
Daniel Holbert
2eba58f98a
Bug 985304 part 2: Make flex algorithm gracefully handle flex factors that sum to < 1. r=mats
...
When our flexibilities sum to a fraction < 1, we clamp the free space to be no
greater than that same fraction of the original free space. This effectively
makes us treat a flexibility of e.g. "0.01" as "1% of the original free space"
in that sort of situation (while still treating it as a normal flex factor if
the sum of the flex factors is greater than 1).
2014-05-04 09:10:28 -07:00
Daniel Holbert
4385fc88a0
Bug 985304 part 1: Shorten "flex weight" to "weight" in variable & function names. r=mats
...
The phrase "flex weight" used to be a term defined in the spec, but it's
long-since been replaced with "flex factor" and "scaled flex factor".
I'm now using the term "weight" to mean "flex factor, with any necessary scaling already done, ready to be used as a weight for apportioning free space".
I'm dropping the "flex" modifier from "flex weight" both for brevity & to make
it more clearly-distinguishable from actual "flex factor" usages in the code.
2014-05-04 09:10:28 -07:00
Daniel Holbert
613a3f6f4e
Bug 985304 part 0: Drop "running" prefix on variable 'runningFlexWeightSum', for clarity. r=mats
2014-05-04 09:10:27 -07:00
Nathan Froyd
4c20a67b0d
Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan
2014-04-29 13:27:26 -04:00
Birunthan Mohanathas
ff8ce9bd42
Bug 900908 - Part 3: Change uses of numbered macros in nsIClassInfoImpl.h/nsISupportsImpl.h to the variadic variants. r=froydnj
2014-04-27 03:06:00 -04:00
Aryeh Gregor
45fbfe5e45
Bug 950386 - Move mozilla::Selection to mozilla::dom::Selection; r=ehsan
2014-04-10 19:09:40 +03:00
Timothy Nikkel
dc5c4979ef
Bug 1000266. Don't purge the canvas fixed background image cache if we are only scrolling. r=mattwoodrow
...
Also NotifyRenderingChanged was on the canvas background color item, not the background image item.
Bug 818643 was a problem where the cache didn't get purged enough, but the fix meant we basically always purged the cached and never got to use it, making it useless. It meant that we purged the cache anytime the item has any type of invalidation whatsoever, even if the item would be drawn the same but the layer contents needed to be invalidated so that it would be redrawn (ie due to staying at the same position on screen but a different position in the layer).
This is really hacky, but NotifyRenderingChanged is only observed on one type of display item. So we just isolate the case where the only thing that changed is the offset (due to scrolling) and skip the NotifyRenderingChanged in that case.
2014-04-23 21:56:15 -05:00
Timothy Nikkel
8dacd34ec8
Bug 1000322. Don't let the display port base be larger than the subdocuments root frame bounds. r=roc
...
The dirty rect can be larger.
2014-04-23 21:12:11 -05:00
Ehsan Akhgari
15916f4738
Bug 491863 - Remove IBMBIDI; r=roc
2014-04-23 21:15:29 -04:00
Kartikaya Gupta
c4ff39d0ca
Bug 984460 - Fill in a missing piece of code to compute the right dirty rect in the face of CSS transforms. r=mattwoodrow
2014-04-23 09:26:52 -04:00
Kearwood (Kip) Gilbert
09214db039
Bug 920688 - Remove FIXME comment from StickyScrollContainer::ComputeStickyLimits. r=dbaron
...
- The condition described in the FIXME comment is already handled by
GetNearestBlockContainer in nsFrame.cpp (helper for
nsIFrame::GetContainingBlock).
2014-04-22 15:30:00 +02:00
Eugen Sawin
7432a9bcf8
Bug 611556 - Add persistent zoom history sessions. r=roc, r=snorp
2014-04-07 13:43:58 +02:00
Adrian Lungu
ad51575296
Bug 822480 - Add in the Resource Timing API. r=honzab, r=jst
2013-10-15 18:35:44 -07:00
Mats Palmgren
96d62d5ba4
Back out bug 613659 (for regression bug 998792)
...
--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-20 19:39:24 +00:00
Mats Palmgren
f160eee815
Bug 613659 - Make GetBorderRadii non-inline to make it compile on Windows. r=dholbert
2014-04-18 23:01:24 +00:00
Mats Palmgren
c183756a9b
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-18 23:01:23 +00:00
Mats Palmgren
3dc34b05d8
Bug 613659 - Implement box-decoration-break layout for border/box-shadow and paddding/margin for inlines. r=cam
2014-04-18 23:01:23 +00:00
Mats Palmgren
aa112b9264
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-18 23:01:23 +00: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
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
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
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
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
Daniel Holbert
7b4d635087
Bug 991285 part 1: Consistently allocate nsRenderingContext instances on the heap. r=roc
2014-04-15 12:54:10 -07: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
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
Daniel Holbert
ce29c5307d
Bug 996351: Rename nsPresShell::GetReferenceRenderingContext() to CreateReferenceRenderingContext(), to reduce implication of fallibility. r=roc
2014-04-14 21:30:25 -07:00
Daniel Holbert
20f62f5f5a
Bug 996326: Make nsDeviceContext::CreateRenderingContext() return its result directly, instead of using outparam. r=roc
2014-04-14 20:15:01 -07:00
Daniel Holbert
1270442a0f
Bug 996319: Drop always-null arg from nsTextFrame.cpp's static helper-function "GetReferenceRenderingContext". r=jdaggett
2014-04-14 17:45:39 -07:00
Seth Fowler
676414cd63
Bug 901146 - Fix misleading comment in nsImageFrame.cpp. r=tn
2014-04-14 16:26:35 -07:00
Timothy Nikkel
3a62e68278
Bug 980500. Add scrollbars that APZC places properly if we are doing the early exit ignore scroll frame when building a display list for a scrollframe. r=roc
2014-04-11 19:12:43 -05:00
Kartikaya Gupta
ab6d729aae
Bug 982888 - Populate the scroll parent field as appropriate. r=
2014-04-11 19:39:22 -04:00
Botond Ballo
05a2f728cf
Bug 982141 - Make sure the primary async-scrollable frame has a displayport set. r=tn
...
--HG--
extra : rebase_source : 6ceb20abb14f3e829ea06c3b3b911455cff9db23
2014-03-19 13:29:24 -04:00
Botond Ballo
a96bf82fbf
Bug 982141 - Factor out 'wantSubAPZC' into nsLayoutUtils. r=kats,tn
...
--HG--
extra : rebase_source : c23e9d3253991523f39d7437ab5f36172768813a
2014-04-04 10:13:30 -04:00
Botond Ballo
71f515b013
Bug 982141 - Expose the logic used to decide whether a scrollable frame should be async scrollable. r=tn
...
--HG--
extra : rebase_source : 6ce26d8d54bbf75c79b10fd8a8dc449b0d417387
2014-03-12 16:20:26 -04:00
Daniel Holbert
f199350df0
Bug 983427 part 5: Toggle switch to enable the code added in this bug & avoid reflowing flex items in bottom-to-top order. r=mats
2014-04-11 14:22:12 -07:00
Daniel Holbert
0eafe62a94
(no bug) Update ResolveFlexibleLengths() documentation & drop whitespace on blank line. comment/whitespace-only
...
(Prior to this commit, the documentation mentioned long-since-removed params aTotalFreeSpace and aItems.)
2014-04-11 14:22:10 -07:00
Ryan VanderMeulen
2bf6dfd88c
Backed out 6 changesets (bug 982141) for Windows and OSX bustage. CLOSED TREE
...
Backed out changeset 16540ab2d2cb (bug 982141)
Backed out changeset 2ad9ce9d904e (bug 982141)
Backed out changeset af219bb49c06 (bug 982141)
Backed out changeset ffe51d96e86e (bug 982141)
Backed out changeset 6642718ad3bb (bug 982141)
Backed out changeset 95b341d26f7b (bug 982141)
2014-04-10 15:27:42 -04:00
Botond Ballo
c3e7091b0a
Bug 982141 - Make sure the primary async-scrollable frame has a displayport set. r=tn
...
--HG--
extra : rebase_source : cecfe35b5407d6bbe1709eb0a2abf55ab8503c2d
2014-03-19 13:29:24 -04:00
Botond Ballo
55a6ddb4d9
Bug 982141 - Factor out 'wantSubAPZC' into nsLayoutUtils. r=kats,tn
...
--HG--
extra : rebase_source : d651c8b224c31518816a29afc003ef5ac6ed7cc7
2014-04-04 10:13:30 -04:00
Botond Ballo
d3a0899936
Bug 982141 - Expose the logic used to decide whether a scrollable frame should be async scrollable. r=tn
...
--HG--
extra : rebase_source : 1e1c2c9377b7127683fe555450fcf2354934fe93
2014-04-10 14:42:58 -04:00
Geoff Brown
e5a312f133
Bug 962676 - Reset expected assertion counts for Android crashtests; r=blassey
2014-04-09 08:38:44 -06:00
Timothy Nikkel
19f177053d
Bug 987680. Overlay scrollbars should be placed on top of content. r=roc
...
Bug 926292 accidentally put them in the background list if there were no positioned descendents they needed to be on top of it (because this was where non-overlay scrollbars went, which never made sense). If there are no positioned descendents overlay scrollbars should go on the top-most non-positioned list, which is outlines.
2014-04-09 07:12:21 -05:00
Boris Zbarsky
35fca5eeeb
Bug 991742 part 8. Remove the "aScope" argument of WebIDL/nsWrapperCache WrapObject() methods. r=bholley
...
This patch was mostly generated with the following command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e '/WrapObject(JSContext/ {; N; s/\(WrapObject(JSContext *\* *a\{0,1\}[Cc]x\),\n\{0,1\} *JS::Handle<JSObject\*> a\{0,1\}[sS]cope/\1/ ; }' -i ""
and then reverting the changes that made to
dom/bindings/BindingUtils.h, since those WrapObject methods are not
the ones we're trying to change here, plus a bunch of manual fixups
for cases that this command did not catch (including all the callsites
of WrapObject()).
2014-04-08 18:27:18 -04:00
Boris Zbarsky
56f44fdf10
Bug 991742 part 6. Remove the "aScope" argument of binding Wrap() methods. r=bholley
...
This patch was mostly generated with this command:
find . -name "*.h" -o -name "*.cpp" | xargs sed -e 's/Binding::Wrap(aCx, aScope, this/Binding::Wrap(aCx, this/' -e 's/Binding_workers::Wrap(aCx, aScope, this/Binding_workers::Wrap(aCx, this/' -e 's/Binding::Wrap(cx, scope, this/Binding::Wrap(cx, this/' -i ""
plus a few manual fixes to dom/bindings/Codegen.py, js/xpconnect/src/event_impl_gen.py, and a few C++ files that were not caught in the search-and-replace above.
2014-04-08 18:27:17 -04:00
Ryan VanderMeulen
27b28b1c13
Backed out changeset 7be71c699b85 (bug 984226) for crashtest asserts.
2014-04-08 15:31:45 -04:00
Kearwood (Kip) Gilbert
ebcffdc9e3
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) or
if 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
John Daggett
3991666744
Bug 950526 - dirty frames after reparenting. r=dbaron
2014-04-08 14:13:28 +09:00
John Daggett
c8b9bf6143
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-04-08 14:13:28 +09:00
Daniel Holbert
2568d82beb
Bug 983427 part 4c: If axes are reversed, compute flex container's baseline using the *last* flex line (which in reality is the first line). r=mats
2014-04-07 17:17:43 -07:00
Daniel Holbert
48d0797358
Bug 983427 part 4b: If axes are reversed, align baseline-aligned items with respect to to the flex-end edge (which is the "real" flex-start edge). r=mats
2014-04-07 17:17:43 -07:00
Daniel Holbert
26c5aa1b0a
Bug 983427 part 4a: Expand FlexItem baseline accessor to let caller pick the edge as well as the axis. r=mats
2014-04-07 17:17:43 -07:00
Daniel Holbert
2e15125e33
Bug 983427 part 3: If axes are reversed, swap "flex-start" and "flex-end" alignment (& treat "stretch" as a variety of "flex-start"). r=mats
2014-04-07 17:17:42 -07:00
Daniel Holbert
d590d87165
Bug 983427 part 2: If axes are reversed, link up our lists of FlexLines & FlexItems in reverse, too. r=mats
2014-04-07 17:17:42 -07:00
Daniel Holbert
80feedddba
Bug 983427 part 1: Add FlexboxAxisTracker flag to indicate whether we've detected bottom-to-top flow & are internally reversing axes. r=mats
2014-04-07 17:17:42 -07:00
Aryeh Gregor
930a4eb7ae
Bug 927558 - Missing null check in Selection::GetPrimaryFrameForFocusNode; r=ehsan
2014-04-02 19:01:01 +03:00
Timothy Nikkel
8f04d34bf0
Backout 389ff4b5612c and d234394e0147 (bug 987680) for reftest failuires.
2014-04-07 04:52:36 -05:00
Timothy Nikkel
05886c993d
Bug 987680. Overlay scrollbars should be placed on top of content. r=roc
...
Bug 926292 accidentally put them in the background list if there were no positioned descendents that they needed to be on top of it (because this was where non-overlay scrollbars went, which never made sense). If there are no positioned descendents overlay scrollbars should go on the top-most non-positioned list, which is outlines for the current implementation.
2014-04-06 22:00:01 -05:00
Phil Ringnalda
6fa221cc64
Back out b9085d8ca22e (bug 987680) for b2g reftest failures and passes
...
CLOSED TREE
2014-04-06 23:11:35 -07:00
Timothy Nikkel
3069d36554
Bug 987680. Overlay scrollbars should be placed on top of content. r=roc
...
Bug 926292 accidentally put them in the background list if there were no positioned descendents that they needed to be on top of it (because this was where non-overlay scrollbars went, which never made sense). If there are no positioned descendents overlay scrollbars should go on the top-most non-positioned list, which is outlines for the current implementation.
2014-04-06 22:00:01 -05:00
Neil Deakin
27ad778ee7
Bug 475981, remove titles from a bunch of tests, fixing box wrapped in a block warnings,r=neil
2014-04-04 13:11:12 -04:00
Mats Palmgren
c86bb74b1b
Bug 990655 - Don't apply 'text-overflow' to nsComboboxControlFrame, its anon block deals with it. r=roc
2014-04-03 18:02:09 +00:00
Daniel Holbert
1bbe685742
Bug 991512: Add convenience methods to calculate outer main & cross size of a FlexItem. r=mats
2014-04-03 10:40:12 -07:00
Tatiana Meshkova
2bd9454956
Bug 990869 - Allow to enable sub Apzc for non WIN gecko clients. r=kats
2014-04-02 18:40:00 +02:00
Masayuki Nakano
01ad44156b
Bug 989212 Rename nsEventStates to mozilla::EventStates r=smaug
...
--HG--
rename : dom/events/nsEventStates.h => dom/events/EventStates.h
2014-04-03 13:18:36 +09:00
L. David Baron
4dcfa2d418
Bug 989130 - Back out changeset fe119a83b1f2 (bug 942017) while leaving the corresponding test from changeset 3c63decb4e7e. r=jfkthame
...
This should be backed out for two reasons:
(1) It caused a serious regression with bullets from list-style-image,
which no longer affect the line box height and thus overlap.
(2) The dependency on 'line-height: normal' doesn't make sense; there's
no reason for whether line-height is 'normal' or not to affect the
behavior of bullets.
I don't currently have time to figure out why Gecko behavior differs
from other browsers on bug 942017, but that should be re-analyzed and
the bug fixed in a different way. At first glance, the code should
already be leading to the expected behavior, since the bullet ought to
have the same metrics and alignment as the block's influence on the line
box's height. Why this isn't the case should be investigated.
2014-04-01 11:53:29 -07:00
Masayuki Nakano
bd6decd65b
Bug 984271 part.2 Rename nsEventStateManager to mozilla::EventStateManager r=smaug
...
--HG--
rename : dom/events/nsEventStateManager.cpp => dom/events/EventStateManager.cpp
rename : dom/events/nsEventStateManager.h => dom/events/EventStateManager.h
2014-04-01 13:09:23 +09:00
Jonathan Kew
b1589b8ab2
bug 617008 - avoid creating a rendering context that we may not need. r=roc
2014-03-31 11:53:09 +01:00
Peter Van der Beken
e72e412aac
Bug 988334 - Stop reusing SpecialPowers for different windows. r=jmaher.
...
--HG--
extra : rebase_source : ffeb4f2d49c6a20a95cc3ca0da63b49c10dee904
2014-03-24 21:12:41 +01:00
Kartikaya Gupta
ced251bb3e
Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond,tn
2014-03-28 08:21:19 -04:00
Timothy Nikkel
b33e833306
Bug 957668. Set the display port base rect in several places. r=roc
2014-03-26 21:46:24 -04:00
Abel Lin
2e194419b6
Bug 980247 - Use offsets from GetNormalPosition() when updating continuations of position:sticky elements instead of assuming that they're all currently offset by the same amount. r=dbaron, r=corey
2014-03-26 14:45:17 -04:00
Gorman Ho
9f11aa16d4
Bug 983285 - Add a generic destructor for property values allocated with new. r=kats, r=bz
2014-03-25 09:25:47 -04:00
Matt Woodrow
e47a33ad71
Bug 976365 - Make 'perspective' create a containing block for absolute and fixed positioned children. r=dbaron
2014-03-25 11:45:43 +13:00
Simon Montagu
37ef931035
Aways use the root span's writing mode when recursing into child spans in nsLineLayout::ApplyFrameJustification. Bug 986899, r=jfkthame
2014-03-24 10:50:13 -07:00
Simon Montagu
0c95e23cef
Correction to typo in checkin for bug 789096. Bug 983691, r=jfkthame
2014-03-24 02:23:12 -07:00
Daniel Holbert
1a5334960a
Bug 984786 part 1: Add MOZ_FINAL and private destructors to some refcounted classes in layout. r=dbaron
2014-03-21 09:16:20 +08:00
Timothy Nikkel
823df74309
Bug 874950. Fix variable name to fix the build. on a CLOSED TREE
2014-03-20 18:46:30 -05:00
Timothy Nikkel
6eb349ee89
Bug 874950. Don't let fixed position conclude occlude async scrolled content. r=roc
...
It would be incorrect to occlude async scrolled content.
Instead of doing a lot of extra frame tree walking just use the flags on display items to tell if they are in fixed position subtrees.
Also, don't let the fixed position flag on display items get set if we start building display items inside a subdocument. If didn't do this non-fixed content in a subdocument that is in fixed content in the parent document would be marked as in fixed position, and no occlusion would occur at all. This means that the fix applies to slightly less cases which are less important so that a more important case works the same as before.
2014-03-20 18:23:16 -05:00
Timothy Nikkel
fa25b28ebf
Bug 874950. Record on display items if they are inside a fixed position subtree. r=roc
2014-03-20 18:23:16 -05:00
Carsten "Tomcat" Book
2b4e4f7edd
merge mozilla-inbound to mozilla-central
2014-03-20 13:56:02 +01:00
Carsten "Tomcat" Book
9fe557e5da
Backed out changeset 1d12ab8bf5fe (bug 950526) for android reftest failures on a CLOSED TREE
2014-03-20 10:00:24 +01:00
John Daggett
8a2f99bfd8
Bug 950526 - don't dump textruns within nsTextFrame::DidSetStyleContext. r=dbaron
2014-03-20 14:43:29 +08:00
Markus Stange
178e89ae41
Bug 926292 - Put overlay scrollbars on top of the topmost positioned descendant of the scrolled frame. r=mats
2014-03-20 10:12:46 +08:00
Markus Stange
89c093b68b
Bug 926292 - Add a testing pref for stopping overlay scrollbars from fading out. r=roc
2014-03-20 10:12:46 +08:00
Wes Kocher
fd0079fbe5
Backed out changeset 8764e9f061d0 (bug 980679) for a smoketest regression
2014-03-19 16:14:42 -07:00
Neil Deakin
54fd69f1a7
Bug 982734, make nsIWidget::GetWindowType and nsIWidget::GetZIndex return their values, remove some unused colour-related widget methods, r=tn
2014-03-19 12:48:08 -04:00
Xidorn Quan
bef437c64d
Bug 985186 - Unwanted white space for multiple of 10,000 in Korean counter styles. r=jfkthame
2014-03-19 10:36:28 -04:00
Makoto Kato
d846379c7f
Bug 982298 - crash in mozilla::ScrollFrameHelper::ScrollToImpl by findAgain. r=roc
2014-03-18 16:35:28 +09:00
Masayuki Nakano
abfbab58dd
Bug 983049 part.5 Rename nsEventDispatcher to mozilla::EventDispatcher r=smaug
...
--HG--
rename : dom/events/nsEventDispatcher.cpp => dom/events/EventDispatcher.cpp
rename : dom/events/nsEventDispatcher.h => dom/events/EventDispatcher.h
2014-03-18 13:48:21 +09:00
Daniel Holbert
77e70df203
Bug 983434 followup: Fix positioning of MOZ_STACK_CLASS in AutoFlexLineListClearer class definition to fix Linux static-analysis bustage.
2014-03-18 10:27:51 +08:00
Daniel Holbert
f4c4deddd3
Bug 983434 part 2: Store FlexLines and FlexItems in MFBT LinkedLists instead of nsTArrays. r=mats
2014-03-18 09:23:23 +08:00
Neil Rashbrook
c3b2f90f39
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : f8fb50de9292320eb7589dd28dc566d0f5044da6
2014-03-18 00:23:03 +00:00
Daniel Holbert
d4b9609044
Backed out c5dc2de8d224 (Bug 983434 part 2) for Linux static-analysis build bustage
...
CLOSED TREE
2014-03-18 07:27:52 +08:00
Wes Kocher
c0dba87922
Backed out 2 changesets (bug 514280) for OSX build bustage on a CLOSED TREE
...
Backed out changeset 2a015b45d808 (bug 514280)
Backed out changeset a01f97c1ed02 (bug 514280)
2014-03-17 15:19:53 -07:00
Daniel Holbert
17628b5239
Bug 983434 part 2: Store FlexLines and FlexItems in MFBT LinkedLists instead of nsTArrays. r=mats
2014-03-18 06:09:41 +08:00
Daniel Holbert
f37d570ca0
Bug 983434 part 1: Minor cleanup in nsFlexContainerFrame.cpp (rename some variables, promote a static function to a private method). r=mats
2014-03-18 06:09:40 +08:00
Neil Rashbrook
b07eaa1644
Bug 514280 Stop using nsCOMPtr for concrete types r=bsmedberg
...
--HG--
extra : rebase_source : eaca8b2925eaffb49e29a617cd72c0d6686e6d9e
2014-03-17 19:07:09 +00:00
Masayuki Nakano
7add71c341
Bug 982602 Rename ns(LoadBlocking)AsyncDOMEvent to mozilla::(LoadBlocking)AsyncEventDispatcher r=smaug
...
--HG--
rename : dom/events/nsAsyncDOMEvent.cpp => dom/events/AsyncEventDispatcher.cpp
rename : dom/events/nsAsyncDOMEvent.h => dom/events/AsyncEventDispatcher.h
2014-03-17 15:56:54 +09:00
Masayuki Nakano
a7a5e56dd5
Bug 981261 part.5 Rename nsEventListenerManager to mozilla::EventListenerManager r=smaug
...
--HG--
rename : dom/events/nsEventListenerManager.cpp => dom/events/EventListenerManager.cpp
rename : dom/events/nsEventListenerManager.h => dom/events/EventListenerManager.h
2014-03-17 15:56:53 +09:00
L. David Baron
3f0a38bfc2
Bug 981637: Make overflow events fire correctly in UpdateOverflow codepath. r=mats
...
I confirmed that the mochitest fails without the patch and passes with
it, both standalone and in the directory harness.
2014-03-16 07:21:42 +08:00
Tooru Fujisawa
32dd78ae54
Bug 983570 - Update aState.mPrevChild only when line->IsDirty is true in nsBlockFrame::ReflowDirtyLines. r=mats
2014-03-15 17:29:24 -04:00
Kyle Huey
df0e7828eb
Bug 981150: Use nsTArrayForwardDeclare.h more. r=ehsan
2014-03-15 12:00:17 -07:00
Kyle Huey
84360900b0
Bug 967364: Pass already_AddRefed by reference instead of by value. r=bsmedberg
2014-03-15 12:00:17 -07:00
Kyle Huey
510a49016d
Bug 967364: Rename already_AddRefed::get to take. r=bsmedberg
2014-03-15 12:00:15 -07:00
L. David Baron
bd66f5b3ad
Bug 697451 - Stop overriding line-height (max-ing with 1.0) on inputs other than single-line text inputs. r=bzbarsky
...
This allows *native-themed* button-type inputs to shrink more than
Chromium allows them to, but it might still be Web-compatible.
2014-03-14 17:00:12 -07:00
CJKu
e2b67702a1
Bug 982533 - Enable DEBUG_SELECTION cause compile fail. r=ehsan
2014-03-14 10:30:41 -04:00
Bill McCloskey
aa5f40a77e
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 21:38:19 -07:00
Wes Kocher
a3277d291d
Backed out changeset 88425ad0f06a (bug 982828) for introducing various mochitest-5 failures on a CLOSED TREE
...
* * *
Backed out changeset 94f9ebdc6662 (bug 982828)
2014-03-13 19:41:21 -07:00
Bill McCloskey
f4f6bf8e4d
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Bill McCloskey
7193069fa0
Backed out changeset d6261f65070a
2014-03-13 15:52:27 -07:00
Bill McCloskey
69a746922b
Bug 982828 - [e10s] Disable mochitest-plain tests that don't pass in e10s (r=ted)
2014-03-13 15:41:41 -07:00
Tom Hindle
e549835079
Bug 970363 - Fix selection moving over readonly elements in contenteditble blocks. r=roc
2014-03-12 07:45:01 -06:00
Tom Hindle
d00ff2db8c
Bug 970363 - Make PeekOffset* methods return continue reason. r=roc
2014-03-13 08:14:37 -06:00
Kartikaya Gupta
f1fd719ac3
Bug 980679 - Filter redundant scroll offset updates by scroll generation value. r=botond
2014-03-13 15:48:38 -04:00
Simon Montagu
9241d9e1ba
Use logical text layout API for GetSkipSides, bug 789096, r=jfkthame
2014-03-13 00:39:33 -07:00
L. David Baron
9ccd746fee
Bug 349259 patch 2: Prevent html:input elements from having a line-height smaller than 1. r=bz
2014-03-12 20:33:21 -07:00
L. David Baron
beb1729130
Bug 349259 patch 1: Add an nsIContent* parameter to nsHTMLReflowState::CalcLineHeight. r=bz
2014-03-12 20:33:21 -07:00
Vaibhav Agarwal
262a9b4cd4
Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher
2014-03-12 06:16:12 -04:00
Simon Montagu
677c6954d4
Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame
2014-03-11 13:23:50 -07:00
Simon Montagu
9d85f38b92
Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame
2014-03-11 02:08:36 -07:00
Carsten "Tomcat" Book
cd849b5a0d
Backed out changeset 9f92527ff03b (bug 789096) for Valgrind Test-Bustage on a CLOSED TREE
2014-03-11 09:23:32 +01:00
Carsten "Tomcat" Book
030af78620
Backed out changeset aeff4052ef00 (bug 789096)
2014-03-11 09:22:52 +01:00
Carsten "Tomcat" Book
e027e64b7a
Backed out changeset 534a0efe7d3d (bug 789096)
2014-03-11 09:22:48 +01:00
Simon Montagu
02482367cf
Use logical text layout API for GetSkipSides. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Simon Montagu
8db501aece
Use logical text layout API in nsLineLayout. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Simon Montagu
e5b0236cc4
Use logical coordinates in nsBlockFrame::ReflowBullet. Bug 789096, r=jfkthame
2014-03-10 22:19:03 -07:00
Seth Fowler
fa7d967784
Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron
2014-03-10 15:41:14 -07:00
Daniel Holbert
f823197be5
Bug 981116: Convert nsFlexContainerFrame boolean member-var into frame state bit. r=heycam
2014-03-07 15:58:38 -08:00
Daniel Holbert
f363dbb577
Bug 981127: Mark nsIFrame methods HasAllStateBits() & HasAnyStateBits() as 'const'. r=heycam
2014-03-07 15:58:37 -08:00
Alex Henrie
947750bfd5
Bug 963970 - Place combobox button where a scrollbar would be. r=roc
2014-03-06 16:24:01 -07:00
L. David Baron
359a10be0c
Bug 979748 - Simplify code based on already having checked the NS_FRAME_OUT_OF_FLOW bit. r=heycam
...
Since we've already returned if the NS_FRAME_OUT_OF_FLOW bit is not set,
and since FirstInFlow() is the same as this when GetPrevInFlow() is
null, this is a straightforward simplification of the code and should
not change behavior.
2014-03-06 22:08:57 -08:00
Seth Fowler
451d4a93d4
Backed out 3 changesets (bug 63895)
...
Backed out changeset ceafe92c7716 (bug 63895)
Backed out changeset 0199299ac111 (bug 63895)
Backed out changeset d78110a5cffa (bug 63895)
--HG--
extra : rebase_source : 76d8a63672dfdb000ff6db5d362231ed6e90c1bc
2014-03-06 16:59:56 -08:00
Vaibhav Agarwal
9a59a5c96d
Bug 971132 - B2G mochitests should use the new manifest format; r=jmaher
2014-03-06 13:42:43 -05:00
Jonathan Kew
73fcec8ebe
bug 735577 - followup 1 (v2) - allow reflow-state to be passed to the reflow-metrics constructor to get the writing mode. r=roc
2013-12-31 13:50:31 +00:00
Joel Maher
9b5829fcde
Bug 971025 - move testing/mochitest/test/test_* to testing/mochitest/test/Harness_sanity. r=ted
...
--HG--
rename : testing/mochitest/tests/SpecialPowersLoadChromeScript.js => testing/mochitest/tests/Harness_sanity/SpecialPowersLoadChromeScript.js
rename : testing/mochitest/tests/file_SpecialPowersFrame1.html => testing/mochitest/tests/Harness_sanity/file_SpecialPowersFrame1.html
rename : testing/mochitest/tests/test_SimpleTestGetTestFileURL.html => testing/mochitest/tests/Harness_sanity/test_SimpleTestGetTestFileURL.html
rename : testing/mochitest/tests/test_SpecialPowersExtension.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension.html
rename : testing/mochitest/tests/test_SpecialPowersExtension2.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersExtension2.html
rename : testing/mochitest/tests/test_SpecialPowersLoadChromeScript.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersLoadChromeScript.html
rename : testing/mochitest/tests/test_SpecialPowersPushPermissions.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPermissions.html
rename : testing/mochitest/tests/test_SpecialPowersPushPrefEnv.html => testing/mochitest/tests/Harness_sanity/test_SpecialPowersPushPrefEnv.html
rename : testing/mochitest/tests/test_bug362788.xhtml => testing/mochitest/tests/Harness_sanity/test_bug362788.xhtml
rename : testing/mochitest/tests/test_bug816847.html => testing/mochitest/tests/Harness_sanity/test_bug816847.html
rename : testing/mochitest/tests/test_sanity.html => testing/mochitest/tests/Harness_sanity/test_sanity.html
rename : testing/mochitest/tests/test_sanityEventUtils.html => testing/mochitest/tests/Harness_sanity/test_sanityEventUtils.html
rename : testing/mochitest/tests/test_sanityException.html => testing/mochitest/tests/Harness_sanity/test_sanityException.html
rename : testing/mochitest/tests/test_sanityException2.html => testing/mochitest/tests/Harness_sanity/test_sanityException2.html
rename : testing/mochitest/tests/test_sanitySimpletest.html => testing/mochitest/tests/Harness_sanity/test_sanitySimpletest.html
rename : testing/mochitest/tests/test_sanityWindowSnapshot.html => testing/mochitest/tests/Harness_sanity/test_sanityWindowSnapshot.html
rename : testing/mochitest/tests/test_sanity_cleanup.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup.html
rename : testing/mochitest/tests/test_sanity_cleanup2.html => testing/mochitest/tests/Harness_sanity/test_sanity_cleanup2.html
2014-03-05 10:32:02 -05:00
Simon Montagu
423901ddaf
Add more logical-coordinate API to nsIFrame. Bug 735577, r=jfkthame
2014-03-04 23:31:47 -08:00
L. David Baron
598c0d4122
Bug 828173 patch 5: Call AddAnimationsAndTransitionsToLayer when we choose not to repaint when handling an UpdateTransformLayer hint, so that any new animations resulting from the style change get sent to the layer. r=mattwoodrow
2014-03-04 20:13:22 -08:00
Masayuki Nakano
d26caa0d74
Bug 975688 part.28 Rename nsDOMEvent to mozilla::dom::Event r=smaug
...
--HG--
rename : dom/events/nsDOMEvent.cpp => dom/events/Event.cpp
rename : dom/events/nsDOMEvent.h => dom/events/Event.h
2014-03-05 09:37:43 +09:00
Daniel Holbert
25bd4e0e40
Bug 973701: Check NS_FRAME_OUT_OF_FLOW state bit instead of IsAbsolutelyPositioned(), when excluding out-of-flow frames from being considered as flex items. r=mats
2014-03-04 11:08:54 -08:00
Seth Fowler
d0c1e2f3fb
Bug 63895 (Part 1) - Add helper methods for retrieving overflow areas in the frame's local coordinate space. r=dbaron
2014-03-03 19:40:27 -08:00
Ehsan Akhgari
52816268c3
Bug 977418 - Special case opacity:0.99 to treat it as opacity:1 for display purposes; r=roc
...
This helps avoid significant costs in our graphics code when websites
use opacity:0.99 as a hint for creating a stacking context only.
2014-03-03 09:42:16 -05:00
L. David Baron
df9a01e6be
Bug 439204: Remove assertion "We placed a float where there was no room!" r=roc
2014-03-03 00:54:39 -08:00
L. David Baron
23fc0999c0
Bug 978620: Make nsFrameSetFrame call FinishAndStoreOverflow. r=roc
2014-03-03 00:54:39 -08:00
Makoto Kato
ba3a895ec9
Bug 968647 - Part 1. Add position change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Makoto Kato
cf57cff4a8
Backed out changeset d06ee3f1e9a3 (bug 968647)
2014-03-03 11:53:43 +09:00
Makoto Kato
14038c6580
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Timothy Nikkel
6bbec0c664
Bug 978542. If paint dumping is enabled at build time also enable frame dumping so we can get frame names in display list dumps. r=mattwoodrow
...
Also makes DidComputeVisibility available during non-debug painting so we can use it.
2014-03-02 16:22:29 -06:00
Mats Palmgren
b01df6060e
Bug 978443 - Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. r=dholbert
...
Rename NS_STYLE_CLEAR_LEFT_AND_RIGHT to NS_STYLE_CLEAR_BOTH. Also fix whitespace and remove unnecessary parens in a few places and enumerate the possible break types in an assertion so that it doesn't make assumptions on the actual property values.
2014-03-02 17:42:16 +00:00
Jesse Ruderman
6fe5378027
Bug 513110 - tests
2014-03-01 10:36:39 +00:00
Mats Palmgren
e626add88b
Bug 513110 - Adjust the maximum break type (only used in assertions) to reflect reality. r=dholbert
2014-03-01 10:36:39 +00:00
Geoff Brown
c9107bd5fd
Bug 891347 - Disable layout/generic/crashtests/385526.html on Android 2.3
2014-02-28 14:58:34 -07:00
Ryan VanderMeulen
b00f0ba8d9
Merge m-c to inbound.
2014-02-28 10:15:57 -05:00
Horia Iosif Olaru
0e770e33c0
Bug 976533 - In case there is are both a MixBlendMode and BlendContainer wrapping the same stacking display list, reverse the order so that the BlendContainer comes first. This way, it will not isolate the legitimate MixBlendMode item. r=roc
2014-02-28 09:11:37 -05:00
Carsten "Tomcat" Book
a927d781fe
merge b2g-inbound to mozilla-central
2014-02-28 14:42:11 +01:00
Carsten "Tomcat" Book
b698e9bf03
Backed out changeset e670f691e2b9 (bug 968647) for mochitest test bustage on OS X on a CLOSED TREE
2014-02-28 09:30:34 +01:00
Makoto Kato
733278c657
Bug 968647 - Part 1. Add postion change notification for IME. r=roc
2014-02-28 16:45:01 +09:00
Timothy Nikkel
00358747ba
Bug 959847. Part 11. Use nsLayoutUtils::ViewportHasDisplayPort instead of repeating boilerplate code. r=roc
2014-02-27 16:01:54 -06:00
Timothy Nikkel
33274d8cd4
Bug 959847. Part 5. Only call RecordFrameMetrics for subdocuments if we are ignoring viewport scrolling so that we don't call it twice for the same scroll frame (the other one being the scroll layers created by nsGfxScrollFrame). r=roc
2014-02-27 16:01:53 -06:00
Timothy Nikkel
b2fdd6bcf1
Bug 959847. Part 4. Call RecordFrameMetrics for subdocument layers. r=roc
...
We do this by creating a new display item type: nsDisplaySubDocument.
Original patch by Kartikaya Gupta <kgupta@mozilla.com>.
2014-02-27 16:01:53 -06:00
Timothy Nikkel
f391dc3f7b
Bug 959847. Part 3. Make zoom items be contained in resolution items for subdocuments if they occur together. r=roc
...
Wrap the zoom item in the resolution item if we have both because we want the resolution scale applied on top of the app units per dev pixel conversion. Resolution is just a scale transform and app units per dev pixel affect layout, so conceptually the resolution gets applied after.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
184dbd98bd
Bug 959847. Part 2. Don't ignore "ignore viewport scrolling" on subdocuments. r=roc
...
This means that the layer we create in nsSubDocumentFrame::BuildDisplayList becomes the scrollable layer for the document and we early early from ScrollFrameHelper::BuildDisplayList before it gets to the nsDisplayScrollLayer creation.
2014-02-27 16:01:52 -06:00
Timothy Nikkel
2457fccf35
Bug 959847. Part 1. Retrieve the displayport of the root scroll frame the same way as everywhere else does in nsSubDocumentFrame::BuildDisplayList. r=roc
2014-02-27 16:01:52 -06:00
Carsten "Tomcat" Book
236427f5bf
Merge mozilla-central to b2g-inbound
2014-02-27 15:59:39 +01:00
Kartikaya Gupta
a387c59ff5
Bug 975033 - If the displayport is too big, it's better to pretend it's not there at all. r=tn
2014-02-27 08:42:40 -05:00
Simon Sapin
c999db9386
Bug 975501 part 2: Add display:{inline-,}grid behind a pref, and a stub nsGridContainerFrame. r=dholbert
2014-02-26 23:45:29 -08:00