Commit Graph

40507 Commits

Author SHA1 Message Date
Frédéric Wang
4f8bf082e9 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
d7f9b418fd Bug 590790, part 1 - Add getTotalSize() methods to nsWindowSizes and nsArenaMemoryStats. r=njn 2014-05-08 10:52:13 +01:00
Henri Sivonen
34b67bca76 Bug 943268 - Remove nsCharsetAlias and nsCharsetConverterManager. r=emk. 2014-05-08 12:32:00 +03:00
Matt Woodrow
da8180da9c 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
f67185f255 Bug 938395 - Enable single rect painting for d3d10. r=Bas 2014-05-08 14:56:48 +12:00
Kearwood (Kip) Gilbert
730000b4b5 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
ae2d46fb74 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
c5660755f7 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
5a3bee8d99 Bug 997987 - Remove usage of nsIScriptSecurityManager::GetSubjectPrincipal. r=Ms2ger 2014-05-06 15:43:03 -07:00
Kearwood (Kip) Gilbert
df6a5c2c11 Bug 926728 - Explicitly set the sticky enabled pref on the new crashtest.
DONTBUILD
2014-05-06 18:11:23 -04:00
Kearwood (Kip) Gilbert
2696e19fbd 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
fd0c3de469 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
2b1ba99bf2 Bug 1002426 - Check restore status before overriding zoom. r=kats 2014-05-05 23:29:20 +02:00
Giovanni Sferro
50fc553974 Bug 1003741 - nsNumberControlFrame implements nsITextControlFrame. r=ehsan 2014-05-05 18:21:00 -04:00
Neil Deakin
a700e6ab19 Bug 1001234, disable arrow panel animation on linux, r=dao 2014-05-06 08:33:12 -04:00
Mats Palmgren
34134aa78b Bug 1005567 - Remove the obsolete 'grid-auto-position' property. r=simon.sapin 2014-05-06 09:45:13 +00:00
Mats Palmgren
5cd647db72 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
047f25416e 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
f84805d4da 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
e1d0f4eea2 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
4b3fe061b1 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
41d551c60b Bug 613659 - Make GetBorderRadii non-inline to make it compile on Windows. r=roc 2014-05-05 17:55:55 +00:00
Mats Palmgren
1a9476ea0a Bug 613659 - Minor whitespace fixes. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
768f7584d2 Bug 613659 - Change mode-lines and indentation to 2-space indent. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
63f1a7cfd6 Bug 613659 - Reftests for box-decoration-break. r=cam 2014-05-05 17:55:55 +00:00
Mats Palmgren
8b6a069c8a Bug 613659 - Remove remaining vestiges of -moz-background-inline-policy. r=cam 2014-05-05 17:55:54 +00:00
Mats Palmgren
402beefae6 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
361c3593e3 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
a0092289f8 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
e2efe2c0c1 Bug 613659 - Implement box-decoration-break in the style system. r=cam 2014-05-05 17:55:53 +00:00
Olli Pettay
6ab5466290 Bug 1005089, let touch.target be null, r=bz 2014-05-05 13:48:50 +03:00
Markus Stange
38855b462e 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
b406fc1145 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
a9df1300ae Bug 1000875 - Improve test_fixed_bg_scrolling_repaints.html. r=roc 2014-05-05 10:23:41 +02:00
Timothy Nikkel
5f4a3556b6 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
44a92612c5 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
623bc868c7 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
ab8164c3ba 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
f46c8dd02d 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
1d5b2388e9 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
d6998c46b9 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
f6d829e4e0 Bug 985304 part 0: Drop "running" prefix on variable 'runningFlexWeightSum', for clarity. r=mats 2014-05-04 09:10:27 -07:00
Benoit Girard
2d4361253a Bug 1005298 - Add layout.display-list.dump Preference. r=mattwoodrow 2014-05-03 20:35:47 -04:00
Mats Palmgren
784874f12b 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
4933aef60a Bug 1000376 - part 3, s/FlexItemStyleFixup/FlexOrGridItemStyleFixup/ and corresponding comment changes. r=dholbert 2014-05-03 13:42:33 +00:00
Mats Palmgren
8e16a78e6c 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
b998e12bb7 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
0cea549f22 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
d25ec45e5b 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
18857c4acb 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