Commit Graph

5971 Commits

Author SHA1 Message Date
Birunthan Mohanathas
e3709383ec Bug 784739 - Switch from NULL to nullptr in layout/; r=ehsan
--HG--
extra : rebase_source : 0d0d9e11be9d39e4457bddd0bac7e19a50b91b0b
2013-10-08 14:47:21 -04:00
Ehsan Akhgari
eff9a278ad Bug 924221 - Minimize the #includes in gfx/thebes; r=bjacob
--HG--
extra : rebase_source : af198eb9b9739ce718ba0d16c385624a722cde51
2013-10-07 19:15:59 -04:00
Cameron McCormack
77d3a04ce0 Bug 842329 - Part 4: Test. r=bzbarsky 2013-10-04 04:49:20 +10:00
Cameron McCormack
56501a1c99 Bug 842329 - Part 3: Serialize the "all" shorthand property as the empty string unless all components are inherit/initial/unset. r=bzbarsky 2013-10-04 04:49:20 +10:00
Cameron McCormack
fb248cc0a3 Bug 842329 - Part 2: Parse the "all" shorthand property. r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
5404114dde Bug 842329 - Part 1: Add "all" shorthand property. r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
c5c9f06632 Bug 921731 - Part 10: Modify existing style tests to use "unset". r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
cc863abc63 Bug 921731 - Part 9: Serialize shorthands using "unset" like those containing "inherit" or "initial". r=bzbarsky 2013-10-04 04:49:19 +10:00
Cameron McCormack
b2916d5339 Bug 921731 - Part 8: Support "unset" in computation of properties. r=bzbarsky 2013-10-04 04:49:18 +10:00
Cameron McCormack
93beb58930 Bug 921731 - Part 7: Treat "unset" on inherited properties like "inherit" in nsRuleNode::HasAuthorSpecifiedRules. r=bzbarsky 2013-10-04 04:49:18 +10:00
Cameron McCormack
8b086062e7 Bug 921731 - Part 6: Treat "unset" as "inherit" when determining rule detail for inherited style structs. r=bzbarsky 2013-10-04 04:49:18 +10:00
Cameron McCormack
2d6b8d2837 Bug 921731 - Part 5: Support eCSSUnit_Unset in nsRuleNode.cpp's SetFactor. r=bzbarsky 2013-10-04 04:49:18 +10:00
Cameron McCormack
ddd157214b Bug 921731 - Part 4: Support eCSSUnit_Unset in nsRuleNode.cpp's SetDiscrete. r=bzbarsky 2013-10-04 04:49:17 +10:00
Cameron McCormack
964e2e36c6 Bug 921731 - Part 3: Support eCSSUnit_Unset in nsRuleNode.cpp's SetCoord. r=bzbarsky 2013-10-04 04:49:17 +10:00
Cameron McCormack
837c085515 Bug 921731 - Part 2: Parse "unset" in property values whereever "inherit" and "initial" are allowed. r=bzbarsky 2013-10-04 04:49:17 +10:00
Cameron McCormack
48fc905829 Bug 921731 - Part 1: Add new eCSSUnit_Unset unit for nsCSSValues. r=bzbarsky 2013-10-04 04:49:17 +10:00
Cameron McCormack
63297fbefd Bug 919594 - Part 3: Test. 2013-10-03 20:58:01 +10:00
Cameron McCormack
784abee411 Bug 919594 - Part 2: Encapsulate the computed style map and make it take disabled properties into account. r=bzbarsky 2013-10-03 20:58:01 +10:00
Cameron McCormack
cab8475d29 Bug 919594 - Part 1: Move computed style map entries to a preprocessor included file. r=bzbarsky 2013-10-03 20:58:01 +10:00
Ehsan Akhgari
7bb8ab1a35 Bug 923151 - Part 2: Don't #include nsIDocument.h in mozilla/dom/Element.h; r=jst
--HG--
extra : rebase_source : 8c5f5429574313a1304eb2779cdb6b5702e4094d
2013-10-02 16:09:18 -04:00
Ehsan Akhgari
bf34a5f2f0 Bug 922933 - Don't #include nsIDocument.h in nsIContent.h; r=jst
--HG--
extra : rebase_source : 51f56fa27604224eacc2ba384bb826c49f4f917f
2013-10-02 07:40:07 -04:00
Ehsan Akhgari
77b5078c36 Bug 921753 - Part 1: Avoid #including nsStyleStructInlines.h in nsIFrame.h; r=roc
This patch reduces the number of files that transitively #include
gfx/2d.h from 1782 to 1582.
2013-10-01 17:00:38 -04:00
Ehsan Akhgari
290feb1ade Bug 921876 - Stop #including nsIFrame.h in nsLayoutUtils.h; r=roc
This patch does the following:
* Move nsIFrame::IntrinsicSize to mozilla::IntrinsicSize so that it can
  be forward-declared.
* Move a number of templated inline nsLayoutUtils methods to nsIFrame.
* Use mozilla::layout::FrameChildListID instead of the
  nsIFrame::ChildListID typedef in nsLayoutUtils.h.
* Move nsReflowFrameRunnable to its only user, nsProgressMeterFrame.cpp.
* Make a number of functions requiring nsIFrame.h out-of-line.
* Remove the nsIFrame.h #include from nsLayoutUtils.h and add it to the
  places which require it implicitly.
2013-09-30 17:26:04 -04:00
Gregory Szorc
54c1de66d6 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
e6acf6270f Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Ed Morley
53a451894a Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Ed Morley
2c7dd24541 Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
8344d8a946 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
0b4364c6f3 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Cameron McCormack
3cbfe1b398 No bug - Assertion text typo fix. (DONTBUILD) 2013-09-30 17:40:12 +10:00
Cameron McCormack
dd52e08ef1 Bug 918176 - Silence uninitialized variable warning in nsRuleNode::ComputeContentData. r=dholbert 2013-09-20 11:24:04 +10:00
Cameron McCormack
65050ca272 Bug 921797 - Make nsCSSProps::BuildShorthandsContainingTable support -moz-appearance being a shorthand subproperty. r=bzbarsky 2013-09-30 13:23:43 +10:00
Cameron McCormack
a1e8e82753 No bug - White space tweak in nsCSSPropList.h. (DONTBUILD) 2013-09-29 15:45:28 +10:00
Cameron McCormack
35a8300954 No bug - Comment typo fixes in nsCSSProps.h. (DONTBUILD) 2013-09-29 11:40:07 +10:00
Cameron McCormack
9c2465aff9 No bug - Fix copy/paste error in 'mix-blend-mode' comment. (DONTBUILD) 2013-09-28 18:03:31 +10:00
Masayuki Nakano
aa9e5eb547 Bug 920377 part.6 Get rid of nsTransitionEvent r=roc 2013-09-27 15:20:55 +09:00
Masayuki Nakano
8f0b224c34 Bug 920377 part.5 Get rid of nsAnimationEvent r=roc 2013-09-27 15:20:54 +09:00
L. David Baron
d0255c650f 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
Frank Yan
483c701a7d Bug 880672: Add support for unprefixed cursor:grab and cursor:grabbing. r=bzbarsky sr=dbaron 2013-06-24 00:32:44 -07:00
Birunthan Mohanathas
2f82a6a077 Bug 906852 - Make layout/style/nsFontFaceLoader.* pointer notation follow layout code style. r=mats 2013-09-25 09:48:20 -04:00
Masayuki Nakano
80d3ef9ea0 Bug 912956 part.17 mozilla/ContentEvents.h should be included directly r=roc 2013-09-25 20:21:20 +09:00
Birunthan Mohanathas
838549a149 Bug 264517 - Move the _LAYOUT variant of COMPUTED_STYLE_MAP_ENTRY into a property bit. r=dbaron 2013-09-23 09:28:55 -04:00
Ehsan Akhgari
3c5faf2f1e Bug 919355 - Part 2: Don't #include nsDeviceContext.h in Units.h; r=roc 2013-09-23 07:55:35 -04:00
Phil Ringnalda
95c5bfc8b9 Merge m-c to m-i 2013-09-18 23:28:41 -07:00
Paul Rouget
b5a1da4913 Backed out changeset 184a0076278b (bug 890195). Almost-perma orange 2013-09-18 17:53:15 +02:00
Jesse Ruderman
ece1cef136 Crashtest for bug 861489. 2013-09-17 20:46:17 -07:00
L. David Baron
37241fd435 Bug 861489: Fix SkipAnimationRule to do the right thing in the presence of new cascading rules. r=bzbarsky 2013-09-17 20:46:17 -07:00
Ryan VanderMeulen
e6b0a07ee6 Merge m-c to inbound. 2013-09-17 22:47:28 -04:00
Ryan VanderMeulen
8e0a6c6e41 Merge m-c to fx-team on a CLOSED TREE. 2013-09-17 20:27:03 -04:00
Cameron McCormack
04a7cd61c6 Bug 918156 - Silence uninitialized variable warning in an unreachable branch of nsStyleUtil::ComputeFunctionalAlternates. r=jdaggett 2013-09-19 11:35:22 +10:00