Commit Graph

20942 Commits

Author SHA1 Message Date
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
Neil Rashbrook
f9520ae677 Bug 514280 Only use nsCOMPtr for interfaces r=bsmedberg 2014-05-08 20:08:38 +01:00
Frédéric Wang
54352c1054 Bug 1005657 - For the Unicode table, check that all the glyphs are found and come from the same font. r=karlt 2014-05-07 23:25:00 -04:00
Jonathan Watt
2ac9f9c86d Bug 590790, part 1 - Add getTotalSize() methods to nsWindowSizes and nsArenaMemoryStats. r=njn 2014-05-08 10:52:13 +01:00
Henri Sivonen
6a6cd36d81 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Matt Woodrow
612b02723b Bug 995871 - Apply CSS transforms in CSS pixel space instead of device pixel space. r=dbaron 2014-05-08 17:35:00 +12:00
Matt Woodrow
d54248516a Bug 938395 - Enable single rect painting for d3d10. r=Bas 2014-05-08 14:56:48 +12:00
Kearwood (Kip) Gilbert
d3095e1709 Bug 1005405 - Ensure that multiple frame changes coalesce correctly. r=dbaron
- When a parent frame and its child overflow are changed simultaneously,
  the strongest ChangeType should be cascaded up to the parent frames.
2014-05-06 15:02:00 +02:00
Kearwood (Kip) Gilbert
45adc7d4a4 Bug 1005405 - OverflowChangedTracker::Flush() no longer downgrades parent frames from CHILDREN_AND_PARENT_CHANGED to CHILDREN_CHANGED. r=dbaron
- When OverflowChangedTracker::Flush() coalesces multiple changes
  simultaneously, it was possible to downgrade parent frames from
  CHILDREN_AND_PARENT_CHANGED to CHILDREN_CHANGED, resulting in an incomplete
  update.
- This patch ensures that the strongest ChangeKind is retained when cascading
  up to parent frames.
2014-05-06 11:23:00 +02:00
Ehsan Akhgari
2f8ba2e791 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
5c9d904093 Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Kearwood (Kip) Gilbert
565e49ba75 Bug 926728 - Explicitly set the sticky enabled pref on the new crashtest.
DONTBUILD
2014-05-06 18:11:23 -04:00
Kearwood (Kip) Gilbert
a5279344bb 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
32f64d3ccb 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
172fb1e4e7 Bug 1002426 - Check restore status before overriding zoom. r=kats 2014-05-05 23:29:20 +02:00
Giovanni Sferro
aa8a448b80 Bug 1003741 - nsNumberControlFrame implements nsITextControlFrame. r=ehsan 2014-05-05 18:21:00 -04:00
Neil Deakin
21719f3cb3 Bug 1001234, disable arrow panel animation on linux, r=dao 2014-05-06 08:33:12 -04:00
Mats Palmgren
8d52eba6a5 Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +00:00
Mats Palmgren
3716fd29bb 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
9b5d3eccc6 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
c1bc1993a3 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
c7a90a803e 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
484a098dbf 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
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
6493d7a251 Bug 613659 - Minor whitespace fixes. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
41b3ef3651 Bug 613659 - Change mode-lines and indentation to 2-space indent. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
ba9d1e2b7c Bug 613659 - Reftests for box-decoration-break. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
aea76177e8 Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam 2014-05-05 17:55:54 +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
Mats Palmgren
4c1b15348b Bug 613659 - Implement box-decoration-break in the style system. r=cam 2014-05-05 17:55:53 +00:00
Olli Pettay
a51cf37454 Bug 1005089, let touch.target be null, r=bz 2014-05-05 13:48:50 +03:00
Markus Stange
2728d2507e 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
c7338a1b7a 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
5ddffeff89 Bug 1000875 - Improve test_fixed_bg_scrolling_repaints.html. r=roc 2014-05-05 10:23:41 +02:00
Timothy Nikkel
c8c8523705 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
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
Phil Ringnalda
28ed4f661d 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
fb1252420a 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
c243f023e3 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
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
Benoit Girard
52eac6846d Bug 1005298 - Add layout.display-list.dump Preference. r=mattwoodrow 2014-05-03 20:35:47 -04:00
Mats Palmgren
2294d72e55 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
68128d6d60 Bug 1000376 - part 3, s/FlexItemStyleFixup/FlexOrGridItemStyleFixup/ and corresponding comment changes. r=dholbert 2014-05-03 13:42:33 +00:00
Mats Palmgren
b0e008a8f9 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
c02dccfb46 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
dedc02abed 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