Commit Graph

18413 Commits

Author SHA1 Message Date
Cameron McCormack
a84a1648a9 Bug 921797 - Make nsCSSProps::BuildShorthandsContainingTable support -moz-appearance being a shorthand subproperty. r=bzbarsky 2013-09-30 13:23:43 +10:00
Matt Woodrow
ebc311f303 Bug 921233 - Enabled azure for main-thread drawing on OSX. r=jrmuizel 2013-09-30 12:17:35 +13:00
Cameron McCormack
ccce38c17a No bug - White space tweak in nsCSSPropList.h. (DONTBUILD) 2013-09-29 15:45:28 +10:00
Cameron McCormack
d099ce662c Bug 921795 - Make inDOMUtils::GetCSSValuesForProperty report "initial" not "-moz-initial". r=mina 2013-09-29 14:41:30 +10:00
Cameron McCormack
5e5991238e No bug - Comment typo fixes in nsCSSProps.h. (DONTBUILD) 2013-09-29 11:40:07 +10:00
Andrew Quartey
1d2f65d5a1 Bug 896273 - Make HTMLSelectElement::SetOptionsSelectedByIndex take a flag argument. r=Ms2ger 2013-09-28 15:04:20 -04:00
Daniel Holbert
ff8f75654f Bug 913759 part 2: reftests for percent-sized content in a button. r=bz 2013-09-28 10:24:01 -07:00
Daniel Holbert
e76736b865 Bug 913759 part 1: Treat buttonContent frames as block wrappers, so percent heights inside a button can resolve against button's height (minus focus border/padding). r=bz 2013-09-28 10:24:00 -07:00
Cameron McCormack
fd7ff97f2d No bug - Fix copy/paste error in 'mix-blend-mode' comment. (DONTBUILD) 2013-09-28 18:03:31 +10:00
Daniel Holbert
af3ddebc23 (no bug) fix typo in a comment within a reftest. DONTBUILD 2013-09-27 23:49:58 -07:00
Wes Kocher
072aab0f7f Merge fx-team to m-c 2013-09-27 20:32:24 -07:00
Kartikaya Gupta
232cdf9c5d Bug 918682 - Fix the check for finding the root content document's root scroll frame. r=tn 2013-09-27 15:15:57 -04:00
Nathan Froyd
98723f4c48 Bug 914826 - part 4 - fix source files that were bootlegging XPCOM do_* functions via generated ipdl headers; r=ehsan 2013-09-10 16:56:05 -04:00
Markus Stange
018eb43241 Bug 532828 - Don't invalidate the whole window on window activation/deactivation. r=roc 2013-09-27 17:24:32 +02:00
Ed Morley
88c9067e2b Backed out changeset 045d5fadd2fa (bug 907463) for compilation failures 2013-09-27 11:37:18 +01:00
Nicholas Cameron
618436a090 Bug 907463. Ignore result of very big canvas reftest. r=roc 2013-09-27 21:48:41 +12:00
Daniel Holbert
d1a1998fc3 (no bug) Remove useless "color" declaration (overridden by another "color" declaration several lines below it) from vertical-centering button reftest. 2013-09-26 23:43:16 -07:00
Daniel Holbert
53aadf5e35 Bug 921174 part 5: Assert that nsHTMLButtonControlFrame has exactly one child, and it's the button-content frame. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
cc6f96df36 Bug 921174 part 4: Move focusPadding into ReflowButtonContents, the only place it's used now. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
b04cfc7307 Bug 921174 part 3: Make ReflowButtonContents() use a dedicated nsHTMLReflowMetrics instance, and give it full responsibility for populating parent's metrics. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
bc7d14fa1d Bug 921174 part 2: Use a separate nsReflowStatus for button frame's reflow vs. button contents frame's reflow. r=bz 2013-09-26 23:43:16 -07:00
Daniel Holbert
696f9e163d Bug 921174 part 1: Rename reflow state variables in nsHTMLButtonFrame, for clarity. r=bz 2013-09-26 23:43:15 -07:00
Masayuki Nakano
da7066887d Bug 920377 part.13 Get rid of nsTouchEvent r=roc 2013-09-27 15:20:57 +09:00
Masayuki Nakano
cec4dab85f Bug 920377 part.11 Get rid of nsScrollPortEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano
f3842530f4 Bug 920377 part.10 Get rid of nsScrollAreaEvent r=roc 2013-09-27 15:20:56 +09:00
Masayuki Nakano
6a38167904 Bug 920377 part.6 Get rid of nsTransitionEvent r=roc 2013-09-27 15:20:55 +09:00
Masayuki Nakano
6d8b269870 Bug 920377 part.5 Get rid of nsAnimationEvent r=roc 2013-09-27 15:20:54 +09:00
Ryan VanderMeulen
bf289dbdf5 Merge fx-team to m-c. 2013-09-26 21:36:35 -04:00
Blake Kaplan
13044eee98 Bug 917515 - Check for null before checking the document. r=ehsan 2013-09-26 18:42:53 +02:00
Carsten "Tomcat" Book
645d86cc99 Merge m-c to fx-team 2013-09-26 15:57:51 +02:00
Nicholas Nethercote
159167c25b Bug 414087 (part 2) - Remove insignificant wasted space in StackBlock. r=bz. 2013-09-25 21:28:55 -07:00
Nicholas Nethercote
0f4f62f070 Bug 414087 (part 1) - Clean up the style of StackArena.{h,cpp}. r=bz. 2013-09-25 21:28:46 -07:00
Martijn Wargers
b6409bb295 Bug 917061 - Fix the last 2 crashtests that use enablePrivilege. r=dholbert 2013-09-25 20:03:38 +02:00
L. David Baron
3e3eba12f0 Followup to bug 828312 patch 9a: Mark test as fuzzy-if on Android. CLOSED TREE 2013-09-25 17:53:12 -07:00
L. David Baron
93872ab342 Followup to bug 828312 patch 9a: Mark test as fuzzy-if on Mac OS X 10.8, where the Ahem font is behaving in ways it shouldn't. CLOSED TREE 2013-09-25 15:45:24 -07:00
Ryan VanderMeulen
62eed64bbe Bug 907908 - Mark 776265-1a.html as random-if on Android 2.2 for too many intermittent failures.
DONTBUILD CLOSED TREE
2013-09-25 17:02:07 -04:00
Ryan VanderMeulen
a6baf49d6e Bug 907905 - Mark 647192-1.html as random-if on Android 2.2 for too many intermittent failures. 2013-09-25 17:01:53 -04:00
L. David Baron
38a6d76524 Bug 828312 patch 11: Don't generate change hints for restyling of later continuations, since the handling of the change hints from the first continuation is required to do the necessary work. r=bzbarsky
This depends on bug 898333 in order to avoid causing:
TEST-UNEXPECTED-FAIL | chrome://mochitests/content/chrome/dom/tests/mochitest/chrome/test_focused_link_scroll.xul | Assertion count 1 is greater than expected range 0-0 assertions.
due to the assertion:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62

The assertion count change in layout/generic/crashtests/571995.xhtml is
expected because it changes us from having 7 of:
###!!! ASSERTION: Shouldn't be trying to restyle non-elements directly: '!aContent || aContent->IsElement()', file ../../../layout/base/nsStyleChangeList.cpp, line 62
with the stack:
  mozilla::ElementRestyler::CaptureChange(nsStyleContext*, nsStyleContext*, nsChangeHint) [layout/base/nsChangeHint.h:191]
  mozilla::ElementRestyler::RestyleSelf(nsRestyleHint) [layout/base/RestyleManager.cpp:2304]
to only having one.  This is expected since this patch changes
RestyleSelf to only call CaptureChange for the first continuation or
block-in-inline sibling.
2013-09-25 12:28:08 -07:00
L. David Baron
b19b847ec9 Bug 828312 patch 10: Add assertions to check that handling of nsChangeHint_ChildrenOnlyTransform doesn't need to check continuations. r=bzbarsky
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:08 -07:00
L. David Baron
b0e32cdf38 Bug 828312 patch 9b: Make handling of RecomputePosition hint check continuations. r=bzbarsky
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:08 -07:00
L. David Baron
31df6fcc33 Bug 828312 patch 9a: Make sticky positioning handle block-in-inline splits correctly. r=dholbert
This assumes that the specification for how position:sticky behaves for
block-in-inline splits matches the specification for position:relative,
in other words, matches
http://www.w3.org/TR/CSS21/visuren.html#anonymous-block-level .

It's also necessary for patch 9b since the new rule for handling of
style change hints is that a style change hint applies to all
continuations and all block-in-inline siblings ("special siblings").

The change in StickyScrollContainer::GetScrollRanges is really the fix
for bug 918994, but adjusted for the change here to use block-in-inline
siblings ("special siblings") in addition to continuations.
2013-09-25 12:28:08 -07:00
L. David Baron
4e7bd63a47 Bug 828312 patch 8: Make handling of UpdateEffects hint check continuations. r=bzbarsky
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:07 -07:00
L. David Baron
eddf04ceed Bug 828312 patch 7: Use more typical loop structure and don't mutate |frame| in UpdateOverflow hint handling. r=bzbarsky 2013-09-25 12:28:07 -07:00
L. David Baron
2ffabf4425 Bug 828312 patch 6: Make early transform handling check continuations. r=bzbarsky
This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.
2013-09-25 12:28:07 -07:00
L. David Baron
7bb0d89ddf Bug 828312 patch 5: Don't handle UpdateCursor more than once per round of style change processing, since it's global. r=bzbarsky
(This is part of the patch stack making change hints apply across all
continuations and block-in-inline siblings.  In this case, however, the
change hint only needs to apply once, globally.)
2013-09-25 12:28:07 -07:00
L. David Baron
2c713d5f2d Bug 898209 patch 16: Move a comment that should have been moved in patch 15. No review. 2013-09-25 12:28:07 -07:00
L. David Baron
06fe81c384 Bug 898333, patch 2: Change RestyleManager::Restyle's tree traversal to reach next-continuations (and same-display block-in-inline siblings) from their prev-continuation rather than from their parent. r=bzbarsky
This patch fundamentally makes three changes:

 (1) Change the way RestyleSelf is used so that it is called in a loop,
     over all of the same-style continuations and block-in-inline
     siblings.
     (I had a note here reminding myself:
       TODO: Don't set hints for descendants!
     but I no longer remember what it meant.)

 (2) Change the traversal of children to traverse all of the children of
     the items traversed in (1).

 (3) When traversing children, skip children that are continuations,
     since we already reached them in (1) and (2).

A later patch will change the RestyleSelf loop to copy for the later
continuations rather than repeating the work.  This will mean reverting
many of the RestyleSelf changes contained here.

Some of the pieces marked temporary will be removed in bug 828312 patch
11, and the rest should hopefully be removed in bug 918064.
2013-09-25 12:28:07 -07:00
L. David Baron
d6992d5f88 Bug 898333, patch 1: Restyle the :after pseudo-element after the content children. r=bzbarsky 2013-09-25 12:28:07 -07:00
Robert Longson
6525639865 Bug 919900 - Mark reftest fuzzy on windows 7 2013-09-26 15:29:09 +01:00
Robert Longson
92809f7d98 Bug 919900 - Mark reftest fuzzy on windows 7 2013-09-26 15:22:13 +01:00