Commit Graph

20933 Commits

Author SHA1 Message Date
Ehsan Akhgari
3a73b820e8 Bug 650586 - test_flush_on_paint.html needs to be explicit about its setTimeout requirements; r=roc 2014-05-06 21:21:20 -04:00
Bobby Holley
0a5fb33d0a Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Kearwood (Kip) Gilbert
1f555f8bc9 Bug 926728 - Explicitly set the sticky enabled pref on the new crashtest.
DONTBUILD
2014-05-06 18:11:23 -04:00
Kearwood (Kip) Gilbert
e166d2b6ec Bug 926728 - Add crashtest to ensure that assertion is not fired when recalculating the position of a sticky with ib-split siblings. r=corey
- Added crashtest to ensure that the "Should be starting from the first
  continuation" assertion is not fired when recalculating the position of a
  sticky with ib-split siblings.
2014-04-25 15:29:50 -07:00
Kearwood (Kip) Gilbert
c693df8618 Bug 926728 - Only pass the first continuation or or-split-sibling of the sticky element to StickyScrollContainer::PositionContinuation. r=dbaron, r=corey
- RestyleManager::RecomputePosition now calls
  StickyScrollContainer::PositionContinuation with the first continuation
  or ib-split-sibling of the passed frame, as PositionContinuations will
  update all continuations at once, and expects the first continuation
  to be passed in.
2014-04-25 15:29:56 -07:00
Eugen Sawin
160103aa7f Bug 1002426 - Check restore status before overriding zoom. r=kats 2014-05-05 23:29:20 +02:00
Giovanni Sferro
1810b4b59d Bug 1003741 - nsNumberControlFrame implements nsITextControlFrame. r=ehsan 2014-05-05 18:21:00 -04:00
Neil Deakin
0f4e9d2353 Bug 1001234, disable arrow panel animation on linux, r=dao 2014-05-06 08:33:12 -04:00
Mats Palmgren
a023718b82 Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +00:00
Mats Palmgren
2575422e86 Bug 994592 - Make 'row' the initial value for 'grid-auto-flow' and remove 'none' as a valid value. And add the 'stack' variants. r=simon.sapin 2014-05-06 09:45:13 +00:00
Eric Rahm
53ee1bf751 Bug 1003479 - Fix incorrect usage of SizeOfIncludingThis and SizeOfExcludingThis functions. r=njn
--HG--
extra : rebase_source : 2d51e1fc1b642b0efa60cb4e25e8b142577e93d3
2014-05-01 10:37:54 -07:00
Jonathan Kew
b0b6198867 bug 992100 - mask out complex-script codepoints in fonts that lack the necessary layout tables. r=roc 2014-05-05 19:59:55 +01:00
Mats Palmgren
6a61084a42 Bug 988653 - Fix 'border-image' layout for fragmented boxes and add support for both box-decoration-break:clone/slice. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
5b14b1ed4b Bug 613659 - Add a Restore() method to Restore the current gfxContext if any. r=roc 2014-05-05 17:55:55 +00:00
Mats Palmgren
d2401b4e6b Bug 613659 - Make GetBorderRadii non-inline to make it compile on Windows. r=roc 2014-05-05 17:55:55 +00:00
Mats Palmgren
a9080db387 Bug 613659 - Minor whitespace fixes. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
4b382093f1 Bug 613659 - Change mode-lines and indentation to 2-space indent. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
ef7aa8de24 Bug 613659 - Reftests for box-decoration-break. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
5d7896ffef Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam 2014-05-05 17:55:54 +00:00
Mats Palmgren
bc91ad154e 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
093343bb24 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
e4d13492ff 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
Mats Palmgren
8c6161f5d5 Bug 613659 - Implement box-decoration-break in the style system. r=cam 2014-05-05 17:55:53 +00:00
Olli Pettay
0d3011caaf Bug 1005089, let touch.target be null, r=bz 2014-05-05 13:48:50 +03:00
Markus Stange
5fbe031638 Bug 1000875 - Fix nsDisplayBackgroundImage::GetInsideClipRegion calculation for canvas frames. r=roc
The opaque region of the background image display item was incorrectly clipped to the viewport size, offset by the scroll position. nsDisplayBackgroundImage::GetBoundsInternal has a special case for canvas frames that sets the clip area to the whole canvas area; this patch does the same for GetInsideClipRegion.
2014-05-05 10:27:38 +02:00
Markus Stange
4da14e9bdd Bug 1000875 - Add invalidation debugging annotations for changes of a layer's forced background color. r=roc 2014-05-05 10:26:28 +02:00
Markus Stange
03e23b3d9b Bug 1000875 - Improve test_fixed_bg_scrolling_repaints.html. r=roc 2014-05-05 10:23:41 +02:00
Timothy Nikkel
cd813e35bb Bug 1000423. Properly convert from appunits/layout device pixels to layer pixels for composition bounds calculation. r=botond
To get layer pixels (doesn't matter which layer, they are all the same to layout because there is no async transform) you need to multiply by the cumulative resolution.

The fact that our units system says that multiplying by the parent resolution will work is a problem with our units system.
2014-05-04 23:18:18 -05:00
Daniel Holbert
ea8650181b 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
Phil Ringnalda
6f92ea9975 Bug 926155 followup, set the sticky pref so it still works in release builds
--HG--
extra : rebase_source : 28390cdf7de273c1358a699a7a697819df76e9ed
2014-05-04 09:11:44 -07:00
Daniel Holbert
92ca658314 Bug 996945: Remove prohibition on flex-grow & flex-shrink properties transitioning between 0 and other values. r=mats 2014-05-04 09:12:32 -07:00
Daniel Holbert
6b2a8c9f12 Bug 985304 part 3: Extend flexbox layout mochitest to cover cases with flex values that sum to less than 1. f=mats 2014-05-04 09:10:40 -07:00
Daniel Holbert
5c25bcfc2e 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
a92674c20a 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
b94eb57155 Bug 985304 part 0: Drop "running" prefix on variable 'runningFlexWeightSum', for clarity. r=mats 2014-05-04 09:10:27 -07:00
Benoit Girard
6f2902ffc4 Bug 1005298 - Add layout.display-list.dump Preference. r=mattwoodrow 2014-05-03 20:35:47 -04:00
Mats Palmgren
af2665068b Bug 1000376 - part 4, Add some grid item tests. r=dholbert
These are only for detecting assertions/crashes for now since grid layout isn't implemented yet.

--HG--
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1-ref.xhtml => layout/reftests/css-grid/grid-whitespace-handling-1-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1a.xhtml => layout/reftests/css-grid/grid-whitespace-handling-1a.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-1b.xhtml => layout/reftests/css-grid/grid-whitespace-handling-1b.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2-ref.xhtml => layout/reftests/css-grid/grid-whitespace-handling-2-ref.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/flexbox-whitespace-handling-2.xhtml => layout/reftests/css-grid/grid-whitespace-handling-2.xhtml
rename : layout/reftests/w3c-css/submitted/flexbox/support/ahem.css => layout/reftests/css-grid/support/ahem.css
rename : layout/reftests/w3c-css/submitted/flexbox/support/solidblue.png => layout/reftests/css-grid/support/solidblue.png
2014-05-03 13:42:33 +00:00
Mats Palmgren
cdd8fec4ec Bug 1000376 - part 3, s/FlexItemStyleFixup/FlexOrGridItemStyleFixup/ and corresponding comment changes. r=dholbert 2014-05-03 13:42:33 +00:00
Mats Palmgren
6b4f00d46c Bug 1000376 - part 2, Implement frame construction part for anonymous grid items (reusing the anon flex item code). r=dholbert 2014-05-03 13:42:33 +00:00
Mats Palmgren
71c593addf Bug 1000376 - part 1, Add -moz-anonymous-grid-item in the style system. r=dholbert 2014-05-03 13:42:33 +00:00
Mats Palmgren
53974d2b54 Bug 1002607 - Increment the number of columns, 'column', only after we have seen a new token. r=simon.sapin 2014-05-03 13:42:32 +00:00
Ms2ger
d312bddf2f Bug 1004202 - Stop calling PrepareToStartLoad in nsDocumentViewer::LoadStart; r=smaug
Before bug 968805, none of the callers would reach this branch. The callers in
nsContentDLF.cpp call LoadStart immediately after constructing the
nsDocumentViewer, so they hit the !mDocument case, and the comparison was
always false for the caller in nsHTMLDocument::Open, as it passed an
nsIHTMLDocument pointer, so the nsISupports pointers being compared were
always different. (XPCOM rules require SameCOMIdentity in this case, to avoid
exactly this issue.)

I tested that the removed code was never reached after a backout of bug 968805.
2014-05-03 09:34:00 +02:00
Ms2ger
898d118c27 Bug 995664 - Move CSSRuleList to WebIDL; r=bz
As CSSRuleList is the last consumer of nsArraySH and nsGenericArraySH, this
also removes those classes.
2014-05-03 09:32:54 +02:00
Jonathan Watt
b4193f7b6d Bug 1004327 - Don't limit the number of significant fractional digits for <input type=number>. r=bz 2014-05-02 10:25:40 +01:00
Matt Woodrow
c8d0971807 Bug 952721 - Base our decision to prerender transformed content on it's screen space size, not the untransformed size. r=tn 2014-05-02 14:30:57 +12:00
Daniel Holbert
c14f4ee514 Bug 1002632: Make an image document's refresh driver receive ticks from the image's clients, & disable its internal timer. r=bz 2014-05-01 09:31:54 -07:00
Jonathan Kew
8b1998b5d8 bug 1002325 - don't try to rebuild rules if the font set is being deleted. r=jdaggett 2014-05-01 08:54:11 +01:00
Nathan Froyd
b2b2d28887 Bug 1003306 - part 2 - use services::GetPermissionManager everywhere that's appropriate; r=ehsan 2014-04-29 13:27:26 -04:00
Ryan VanderMeulen
80d774ea50 Merge m-c to inbound on a CLOSED TREE. 2014-04-30 16:47:33 -04:00
Vicamo Yang
8354f79a2e Bug 996443: carry emulator arch automatically for mach commands. r=ahal 2014-05-01 00:57:39 +08:00