Commit Graph

6394 Commits

Author SHA1 Message Date
Garrett Robinson
1da990368c Bug 855326 - CSP 1.1 nonce-source for scripts and styles r=mrbkap r=dholbert r=geekboy 2013-11-08 15:44:39 -08:00
Daniel Holbert
8ebaab4740 Bug 936100 part 5: Remove usage of flexbox pref from C++ code. r=mats 2013-11-09 07:53:14 -08:00
Daniel Holbert
07aa124808 Bug 936100 part 4: Rename file_flexbox* mochitests (which were previously loaded in iframes) to test_flexbox*. r=mats
--HG--
rename : layout/style/test/file_flexbox_align_self_auto.html => layout/style/test/test_flexbox_align_self_auto.html
rename : layout/style/test/file_flexbox_child_display_values.xhtml => layout/style/test/test_flexbox_child_display_values.xhtml
rename : layout/style/test/file_flexbox_flex_grow_and_shrink.html => layout/style/test/test_flexbox_flex_grow_and_shrink.html
rename : layout/style/test/file_flexbox_flex_shorthand.html => layout/style/test/test_flexbox_flex_shorthand.html
rename : layout/style/test/file_flexbox_layout.html => layout/style/test/test_flexbox_layout.html
rename : layout/style/test/file_flexbox_order.html => layout/style/test/test_flexbox_order.html
rename : layout/style/test/file_flexbox_order_table.html => layout/style/test/test_flexbox_order_table.html
2013-11-09 07:53:03 -08:00
Daniel Holbert
b67a0b187c Bug 936100 part 3: Remove pref-setting mochitest wrappers for flexbox-specific mochitests, and transfer their boilerplate into the actual test files (currently named "file_"). r=mats 2013-11-09 07:53:03 -08:00
Daniel Holbert
95689eaaae Bug 936100 part 2: Adjust non-flexbox-specific mochitests to no longer bother with flexbox pref. r=mats 2013-11-09 07:53:02 -08:00
Daniel Holbert
9a3437dd77 backout 57213b64023b (bug 855326) for build bustage in debug builds
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
5add685cdd Bug 855326 - CSP 1.1 nonce-source for scripts and styles. r=mrbkap r=dholbert r=geekboy 2013-11-08 09:20:43 -08:00
Bobby Holley
0e8da71548 Bug 911864 - Annotate the members of marquee that correspond to properties in HTMLMarqueeElement per HTML5. r=smaug 2013-11-01 15:31:57 +01:00
Olli Pettay
7c590bb650 Bug 934788 - Faster selector matching for attribute selectors by not counting the number of attributes, r=bz 2013-11-05 13:53:57 +02:00
Patrick McManus
4f441f5d46 bug 895700 - load user fonts at high priority r=roc
--HG--
extra : rebase_source : ed695dd11ed294b5000e53a3523d83ef44853c2b
2013-11-16 09:34:25 -05:00
Ehsan Akhgari
35ff0cae16 Bug 938123 - Build layout/style in unified mode; r=roc 2013-11-14 21:42:57 -05:00
Daniel Holbert
e846bd6bb3 Bug 936628: Add media query to check for whether we have a color picker backend available. r=jimm 2013-11-10 19:07:59 -08:00
Robert O'Callahan
8f81714137 Bug 913444. Track restyling of margins and treat such nodes as active scrolled roots. r=mattwoodrow
Restyling margin-top and margin-bottom will typically require reflow and cause
sibling elements to be moved and invalidated, so it's not a big win to layerize
such nodes. However, layerizing them should be relatively harmless.

--HG--
extra : rebase_source : b41764dd8ab3651afeec2756c436e059f25b7d46
2013-09-09 17:08:42 -07:00
Robert O'Callahan
68cb18ba63 Bug 913444. Track restyling of margins and treat such nodes as active scrolled roots. r=mattwoodrow
Restyling margin-top and margin-bottom will typically require reflow and cause
sibling elements to be moved and invalidated, so it's not a big win to layerize
such nodes. However, layerizing them should be relatively harmless.

--HG--
extra : rebase_source : 659593b6b6990aa859144641eb23e7ccf384a82a
2013-09-09 17:08:42 -07:00
Robert O'Callahan
e16db34522 Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
--HG--
extra : rebase_source : f92bcf0b60cadefa0197cdffcd6dd9b4eaa6b2d5
2013-09-09 17:08:41 -07:00
Robert O'Callahan
8cf17406d8 Bug 876321. Track restyling of top/left/right/bottom and treat such nodes as active scrolled roots. r=mattwoodrow
--HG--
extra : rebase_source : 24e7900efdb476a0533808956b9604d144e4db89
2013-09-09 17:08:41 -07:00
Robert O'Callahan
9e62a53158 Bug 745485. Optimize positioning offset changes whenever the computed size does not change. r=dholbert
--HG--
extra : rebase_source : 16388d3cb0c6ee9acc1416ca0d27b2a53b0062ee
2013-09-09 17:08:41 -07:00
Horia Iosif Olaru
439ac01d43 Bug 841601 - Add background-blend-mode tests. r=roc 2013-11-08 10:08:23 -05:00
Horia Iosif Olaru
56504fb58d Bug 841601 - Add background-blend-mode to the style parsing mechanism. r=heycam 2013-11-08 10:07:36 -05:00
Ryan VanderMeulen
98ea4dada0 Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Corey Ford
1da3373a87 Bug 925259: Avoid sticky positioning inner table elements. r=dholbert 2013-11-12 12:46:47 -08:00
Benoit Girard
d382306711 Bug 936864 - Fix logic error in async animation code. r=roc 2013-11-13 17:21:39 -05:00
Robert O'Callahan
0e38e49729 Bug 911889. Part 6: A scripted change to element.style.opacity or element.style.transform in a setTimeout or requestAnimationFrame callback should trigger our "style property is animated" heuristic. r=dbaron 2013-09-04 23:47:23 +12:00
Robert O'Callahan
62b7c5862c Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.
2013-09-04 23:30:57 +12:00
Ed Morley
ad2980b01b Backed out changeset 0f3b26ada540 (bug 926546) for build failures on Windows CLOSED TREE 2013-11-06 11:38:58 +00:00
Jonathan Watt
509059ce0b Bug 926546 - Modify assertion in nsComputedDOMStyle::GetPropertyCSSValue to mention the pseudo-element concerned to aid debugging. r=dbaron 2013-11-06 10:05:18 +00:00
Garrett Robinson
b40f532521 Bug 902654 - refactor CSP call sites for readability r=dholbert r=mrbkap 2013-11-11 14:25:55 -08:00
Daniel Holbert
cd758b567d Bug 932066: Turn input[type="color"] style on or off based on a -moz-system-metric pseudoclass instead of an %ifdef. r=jimm 2013-11-11 12:08:40 -08:00
Cameron McCormack
63e8d03dd6 Bug 930270 - Don't initialize the ancestor filter for elements outside the document. r=dbaron
--HG--
extra : rebase_source : fa10a28a8bbd9eaf670f8133ccd81a9c706ebec7
2013-11-01 13:44:40 +11:00
Cameron McCormack
8a7175ea9f Bug 927734 - Loosen assertions about the contents of the style scope stack. r=dbaron
--HG--
extra : rebase_source : 6b9b7e4051bebeb7da640c7878229b1d014841dd
2013-11-01 13:44:27 +11:00
Phil Ringnalda
fb73812f4a Back out 0a88dee3b92b:dc5cc7d7b84d (bug 911889) for beaucoup unexpected assertions
--HG--
extra : rebase_source : a2a13633b6028c99a3c732dbbafe8c800bc32071
2013-10-28 23:38:02 -07:00
Robert O'Callahan
a0b6414124 Bug 911889. Part 6: A scripted change to element.style.opacity or element.style.transform in a setTimeout or requestAnimationFrame callback should trigger our "style property is animated" heuristic. r=dbaron
--HG--
extra : rebase_source : ac1d4ccfa3c82132ff73aeb1d66a09765004be4a
2013-09-04 23:47:23 +12:00
Robert O'Callahan
7633c2c898 Bug 911889. Part 2: Refactor MarkLayersActive code into its own class and be much more explicit about what it does. r=mattwoodrow
This also changes the functionality a little bit to track independent
per-property mutation counts and independent "content active" status.

--HG--
extra : rebase_source : e69b8e7a95d36720bd38d74f0789ede603e58a09
2013-09-04 23:30:57 +12:00
Arnaud Bienner
b7d6e57361 Bug 930277 - Toggle dom.forms.color on everywhere but on B2G, Android and Metro as these platforms don't have a color picker ready yet. r=dholbert 2013-10-28 19:56:59 +01:00
Arnaud Bienner
722d4bbb4f Bug 928891 part 2 - Add input[type=color] to forms.css. r=dholbert 2013-10-27 01:16:42 +02:00
Arnaud Bienner
e011b41277 Bug 928891 part 1 - Split button properties in forms.css (text vs non-text). r=dholbert 2013-10-27 00:25:58 +02:00
Mats Palmgren
cdb4ffd305 Bug 929991 - Tests for text-align: true X; 2013-10-27 20:56:32 +00:00
Mats Palmgren
4d866337f3 Bug 929991 - Put 'text-align: true X' support behind a preference (disabled by default). r=heycam 2013-10-27 20:56:32 +00:00
Mats Palmgren
241ee3a30d Bug 929991 - Style system implementation of 'text-align: true X'. r=heycam 2013-10-27 20:56:32 +00:00
Mats Palmgren
e8b7a09b19 Bug 914432 - Add support for multiple prefs to enable/disable values in the same property keyword table. r=dbaron 2013-10-27 20:56:32 +00:00
Nicholas Hurley
d45e44771a Bug 881804 (part 4) - Plumb layout into predictive network actions. r=bz 2013-10-25 14:56:56 -07:00
Robert O'Callahan
662b96cf0e Bug 261037. Support scrolled fieldsets. r=mats
--HG--
extra : rebase_source : 248521189921b2a46f0805582a3789b27c26ecbd
2013-10-23 00:46:40 +02:00
Mike Hommey
b000a846c2 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Gijs Kruitbosch
a7d75a9eb1 Merge mozilla-central and ux 2013-10-29 17:23:48 +01:00
Gijs Kruitbosch
686af64168 Merge m-c to ux 2013-10-28 10:18:27 +01:00
Gijs Kruitbosch
aceea3dc8b merge m-c to UX 2013-10-27 21:18:18 +01:00
Matthew Noorenberghe
0ba166e52e Merge mozilla-central to UX 2013-10-25 18:30:46 -07:00
Gijs Kruitbosch
0aa036514a Merge mozilla-central and ux 2013-10-25 10:23:03 +02:00
Gijs Kruitbosch
7af76e1cdc Merge mozilla-central and ux 2013-10-24 10:18:26 +02:00
Mike Hommey
59a17d0f20 Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Gijs Kruitbosch
0dcf8beb08 Merge mozilla-central and ux 2013-10-23 15:41:02 +02:00
Gijs Kruitbosch
8223d647f4 Merge mozilla-central and ux 2013-10-23 10:44:46 +02:00
Gijs Kruitbosch
cf532beaaa Merge mozilla-central and ux 2013-10-23 00:37:14 +02:00
Nathan Froyd
d390eec815 Bug 929494 - use template typedefs, not inheritance, to define nsTArray element copiers; r=ehsan
There's no reason to use inheritance here, and using plain typedefs avoids massive
amounts of code duplication for the common case of copying with mem*.  Code savings
on Android come in at about 570K (!), or ~2% of libxul .text size, which is a massive
win.
2013-10-22 10:36:34 -04:00
Mike Hommey
d8daefaa34 Bug 664362 - Generate depfiles for host objects/programs/libraries. r=gps 2013-10-22 13:40:27 +09:00
Gijs Kruitbosch
2b30d3ad35 Merge m-c to UX 2013-10-18 12:56:16 +02:00
Max Vujovic
d6a69e0e49 Bug 913990 - When encountering bogus URI during style computation for filter, fall back to initial value. r=dholbert 2013-10-17 14:37:57 -04:00
Gijs Kruitbosch
260f898123 Merge mozilla-central and ux 2013-10-15 08:27:26 +02:00
Olli Pettay
d49cfe7f06 Bug 915210, follow the COM rules when flushing a presshell, r=bz 2013-10-14 23:27:22 +03:00
Gijs Kruitbosch
daea3c25b4 Merge mozilla-central and ux 2013-10-11 11:43:01 +02:00
Cameron McCormack
276d28820e Bug 899808 - Fix matching of pseudo-elements in scoped style sheets. r=dbaron 2013-10-11 10:28:49 +11:00
Gijs Kruitbosch
cf76828190 Merge mozilla-central and ux 2013-10-10 20:23:18 +02:00
Cameron McCormack
ecdfb566f4 Bug 925218 - Include -moz-system-font as a component of the 'all' shorthand. r=dbaron 2013-10-10 12:31:21 +11:00
Gijs Kruitbosch
f66f8124ef Merge mozilla-central and ux 2013-10-09 13:39:14 +02:00
Gijs Kruitbosch
09de8b70e1 Merge mozilla-central and ux 2013-10-04 07:51:17 +02: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
Gijs Kruitbosch
4ef230e3b8 Merge m-c to ux 2013-10-03 17:20:04 +02:00
Gijs Kruitbosch
1eb9880322 Merge mozilla-central and ux 2013-10-02 09:48:41 +02:00
Gijs Kruitbosch
d4692f3c09 Merge m-c to UX 2013-10-01 12:00:42 +02:00
Gijs Kruitbosch
e69a32b297 Merge m-c to UX 2013-10-01 00:36:26 +02:00
Gijs Kruitbosch
049fc011e0 Merge mozilla-central and ux 2013-09-30 19:26:47 +02: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
Gijs Kruitbosch
a119cc3f76 Merge mozilla-central and ux 2013-09-29 11:56:48 +02:00
Cameron McCormack
35a8300954 No bug - Comment typo fixes in nsCSSProps.h. (DONTBUILD) 2013-09-29 11:40:07 +10:00
Gijs Kruitbosch
e604070b3f Merge mozilla-central and ux 2013-09-28 09:59:15 +02: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
Gijs Kruitbosch
61d5ef43b7 Merge mozilla-central and ux 2013-09-26 10:26:16 +02: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
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
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
Gijs Kruitbosch
4d06bc4b7e Merge mozilla-central and ux 2013-09-24 14:55:03 +02: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
Cameron McCormack
dd52e08ef1 Bug 918176 - Silence uninitialized variable warning in nsRuleNode::ComputeContentData. r=dholbert 2013-09-20 11:24:04 +10:00
Gijs Kruitbosch
ad93de7f1e Merge m-c to UX
--HG--
rename : browser/base/content/test/Makefile.in => browser/base/content/test/general/Makefile.in
rename : browser/base/content/test/browser_bug462289.js => browser/base/content/test/general/browser_bug462289.js
rename : browser/base/content/test/browser_bug624734.js => browser/base/content/test/general/browser_bug624734.js
rename : browser/base/content/test/head.js => browser/base/content/test/general/head.js
2013-09-19 17:15:24 +02:00
Gijs Kruitbosch
832fa93f0a Merge mozilla-central and ux 2013-09-19 09:09:59 +02: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
Gijs Kruitbosch
3f371ab30b Merge mozilla-central and ux 2013-09-18 14:54:29 +02:00
Gijs Kruitbosch
aeaa73f245 Merge m-c to UX 2013-09-18 10:31:05 +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
Gijs Kruitbosch
c7ad748134 Merge mozilla-central and ux 2013-09-17 11:58:14 +02: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
Cameron McCormack
5e05c379b4 Bug 915439 - Use longer timeouts for test_value_computation.html and test_value_storage.html. r=bzbarsky 2013-09-19 11:35:19 +10:00
Mike Hommey
18d895f774 Bug 917086 - Disallow DIRS, PARALLEL_DIRS and TEST_DIRS under TOOL_DIRS and TEST_TOOL_DIRS, and adapt moz.build files accordingly. r=gps
Also mark TOOL_DIRS/TEST_TOOL_DIRS directories in backend.mk and recurse them normally instead of forcing make -C dir libs for them.
2013-09-19 07:43:02 +09:00
Ryan VanderMeulen
14aa813413 Merge m-c to inbound. 2013-09-15 22:05:23 -04:00
Ehsan Akhgari
6ada2899b2 Bug 916610 - Minimize the #includes in layout/style; r=roc 2013-09-15 21:06:52 -04:00
Masatoshi Kimura
d8a83aa453 Bug 916871 - Remove classinfo bits for CSSGroupRuleRuleList. r=bz 2013-09-18 07:56:41 +09: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
Cameron McCormack
9c2465aff9 No bug - Fix copy/paste error in 'mix-blend-mode' comment. (DONTBUILD) 2013-09-28 18:03:31 +10:00
Ryan VanderMeulen
77d0581129 Merge m-c to b2g-inbound. 2013-09-14 23:07:59 -04:00
stefanh@inbox.com
a1a4ebc6d6 Bug 916491 - Remove -moz-mac-alternateprimaryhighlight. r=mstange. 2013-09-15 00:44:50 +02:00
Martijn Wargers
e526b6ab4a Bug 916158 - Remove spurious setIntPref. r=jmaher 2013-09-13 22:13:30 +02:00
Gijs Kruitbosch
afe135745e Merge mozilla-central and ux 2013-09-16 09:13:50 +02:00
Gijs Kruitbosch
496f050885 Merge m-c to ux 2013-09-15 19:30:19 +02:00
Gijs Kruitbosch
914bdb1a7c Merge m-c to ux 2013-09-13 09:42:13 +02:00
Joey Armstrong
d1be2c217c bug 888009: move HOST_CPPSRCS to mozbuild (batch #2) r=mshal 2013-09-12 13:32:27 -04:00
Sid Stamm
3d7137a7d2 bug 836922 - support mulitiple CSP policies at the same time. r=jst,grobinson 2013-09-12 09:25:32 -07:00
Gijs Kruitbosch
9d0f79691e Merge m-c to UX
--HG--
rename : browser/base/content/test/browser_tabopen_reflows.js => browser/base/content/test/browser_windowopen_reflows.js
2013-09-12 18:05:07 +02:00
Matthew Noorenberghe
fd9b516e69 Merge mozilla-central to UX 2013-09-12 01:39:29 -07:00
Ryan VanderMeulen
a352effd6a Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Gijs Kruitbosch
58c4a032e1 Merge mozilla-central and ux 2013-09-11 11:25:41 +02:00
Phil Ringnalda
ba4d2831fe Bug 522515 followup, remove the crashtest assertion annotations that are no longer true 2013-09-10 20:01:24 -07:00
John Daggett
c23a17de07 Bug 522515 - omit null urls from inclusion in userfont src descriptor array. r=dbaron 2013-09-11 10:36:58 +09:00
Martijn Wargers
8491344516 Bug 914089 - b2g.json cleanup and reorder, part 3. r=jmaher 2013-09-11 13:52:42 +02:00
Ed Morley
f7bce95a91 Backed out changeset 5c9f3fb14995 (bug 910517) for Android talos failures
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-09 16:07:48 +01:00
Nicholas Nethercote
7983bb2a7f Bug 910517 (3rd attempt) - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 2b2a1b2667d6562fcf803ec48b4a8c10fdd519a3
2013-08-27 16:24:51 -07:00
Nicholas Nethercote
cc604f4854 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 76bf96ce8d6e16c8573584d9e8e70c80371f66eb
2013-08-27 16:24:51 -07:00
L. David Baron
e07d68d79f Bug 906378: Make the test for transitions not being supported in test_transitions_per_property.html only use about 50 values for each property to avoid the O(N^2) case blowing up. r=dholbert
This currently causes a reduction in the number of background-image
values tested (by 54810, a majority of the assertions in the test file).
It doesn't change the number of values tested for any other property.
2013-09-09 12:21:24 +02:00
L. David Baron
83888f2a57 Bug 900783: Make HasAnimationOfProperty return false in the refresh driver tick in which the transition completes. r=nrc
I don't know of any observable bug that this fixes, but the code without
this fix seems incorrect; the "removed sentinel" concept generally
requires that callers enumerating transitions check that they're not
enumerating the sentinel.

This ensures that HasAnimationOfProperty switches from returning true to
false in the first refresh cycle after the end of the animation rather
than the second.

I originally wrote this in
https://bugzilla.mozilla.org/show_bug.cgi?id=876626#c13 but it turned
out not to be related to that bug.
2013-09-09 12:21:24 +02:00
Kyle Huey
888aba875b Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Phil Ringnalda
69020f2282 Merge fx-team to m-c 2013-09-08 08:26:23 -07:00
Paul Rouget
0a48e68b74 Bug 913440 - Implement a pseudo class to highlight element easily. r=bz 2013-09-07 11:39:50 +02:00
Ehsan Akhgari
cfc4d18351 Bug 913619 - Minimize the #includes in image/src; r=jrmuizel
This patch was generated by running include-what-you-use on image/src,
and then removing the #include statements suggested by that tool, either
replacing them with forward declarations of the used names in headers,
or dropping the ones that were completely unnecessary, and then adding
new #include statements in other places that were implicitly relying on
some of the removed #include statements.
2013-09-07 09:01:08 -04:00
Ehsan Akhgari
82b9523028 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Bobby Holley
99b9464952 Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-06 09:12:56 -07:00
L. David Baron
abaca9e65e Bug 915053: Remove quirk allowing {} around style attribute. r=heycam
The tests pass with the patch; without the patch
test_style_attribute_quirks.html fails 2 tests.
2013-09-17 04:44:15 -07:00
Cameron McCormack
f6af37ece9 Bug 893319 - Remove -moz-rgba() and -moz-hsla(). r=bz 2013-09-16 10:43:56 +10:00
Cameron McCormack
633b59f1ac Bug 874507 - Make clip-path, filter, mask and opacity work on <marker> elements. r=longsonr 2013-09-16 15:06:29 +10:00
Gijs Kruitbosch
1ea72c3a1a Merge mozilla-central and ux 2013-09-10 16:46:22 +02:00
Gijs Kruitbosch
fd0c4089c1 Merge mozilla-central and ux-central 2013-09-09 17:00:49 +02:00
Gijs Kruitbosch
ac0cc86253 Merge mozilla-central and ux 2013-09-08 14:26:44 +02:00
Matthew Noorenberghe
b969271e2e Merge mozilla-central to UX 2013-09-06 17:54:20 -07:00
Matthew Noorenberghe
b2cd8e53a5 Merge mozilla-central to UX 2013-09-06 00:10:05 -07:00
Mike Conley
a7dfe464f8 Automated merge with https://hg.mozilla.org/mozilla-central 2013-09-05 09:59:00 -04:00
Matthew Noorenberghe
83409ca290 Merge mozilla-central to UX 2013-09-04 23:31:53 -07:00
Phil Ringnalda
26ceee4fb5 Back out 4537337759b7 (bug 910517) because nobody expects the talos inquisition
--HG--
rename : content/canvas/src/WebGLMemoryReporterWrapper.h => content/canvas/src/WebGLMemoryMultiReporterWrapper.h
2013-09-04 22:42:06 -07:00
Matthew Noorenberghe
c6fd93987e Merge mozilla-central to UX 2013-08-30 22:20:31 -07:00
Phil Ringnalda
51f479662d Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Gijs Kruitbosch
6572ce444f Merge mozilla-central and ux 2013-08-29 15:30:00 +02:00
Gijs Kruitbosch
afa2cae3ef Merge m-c to UX. 2013-08-28 22:31:31 +02:00
Seth Fowler
9af1f57738 Bug 825771 (Part 1) - Add CSS support for the image-orientation property. r=dbaron 2013-08-28 15:39:06 -07:00
Mike Conley
1a3593d384 Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-25 11:38:45 -04:00
Mike Conley
cbab103c3d Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-24 15:03:12 -04:00
Ms2ger
47f9af7214 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Ms2ger
137da0f245 Backed out changesets e6a3b0532422:f37447f59817 (bug 908880, bug 879682) for Windows assertion failures. 2013-08-24 10:27:21 +02:00
Markus Stange
6afd565885 Bug 908880 - Update overflow rects when dynamically changing the filter property. r=jwatt 2013-08-24 08:20:01 +02:00
Boris Zbarsky
831b3fcdcf Bug 908576 part 7. Move the various DOMProxyHandler classes into the binding implementation files. r=smaug 2013-08-23 22:42:42 -04:00
Nicholas Nethercote
1f32372424 Bug 910517 - Remove nsIMemoryReporter, and rename nsIMemoryMultiReporter as nsIMemoryReporter. r=mmcr8.
--HG--
rename : content/canvas/src/WebGLMemoryMultiReporterWrapper.h => content/canvas/src/WebGLMemoryReporterWrapper.h
extra : rebase_source : 9142be547b2eeef37a8073a710ce23070f98cf65
2013-08-27 16:24:51 -07:00
Bobby Holley
22a073b7ea Bug 912322 - Fix tests. r=bz
The crashtest changes are untested (aside from the fact that they don't crash).
2013-09-04 19:05:51 -07:00
Mike Hommey
f8bc7fa754 Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Daniel Holbert
0819e225af Bug 859807: Request longer timeout for test_transitions_per_property.html. r=dbaron 2013-09-04 13:47:24 -07:00
Kyle Huey
52234568d4 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07: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
Corey Ford
7850f5f462 Bug 886646 - Part 3: Compute sticky positioning offsets for getComputedStyle(). r=heycam 2013-08-15 17:31:32 -07:00
Corey Ford
a6ff6cfd81 Bug 886646 - Part 2: Include sticky positioning in nsStyleDisplay::IsRelativelyPositionedStyle. r=heycam 2013-09-06 09:35:15 -04:00
Corey Ford
18ef871386 Bug 886646 - Part 1: Support position:sticky in the CSS parser, enabled by a preference. r=heycam 2013-09-05 15:47:08 -07:00
Seth Fowler
fdd7525321 Bug 298619 - Use EXIF image orientation in top-level image documents. r=dolske 2013-08-29 17:16:30 -07:00
Kyle Huey
ffc165fd35 Back out Bug 887533 for test failures. 2013-08-22 23:40:32 -07:00
Kyle Huey
7be62a98b2 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
d2e93ff015 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Robert O'Callahan
2bed019e71 Bug 909157. Invalidate rendering observers when an image changes. r=mattwoodrow
--HG--
extra : rebase_source : 04b127fde9a9e07e50c6196f53a1eea3c8f04db6
2013-09-04 23:13:11 +12:00
Gregory Szorc
63350a4987 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
d0f16d5486 Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
9df929a380 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
891e62de26 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
3e38679ec7 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
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
Mounir Lamouri
dcafc131eb Bug 915551. Allow text-align styling on ::-moz-placeholder. r=bzbarsky 2013-09-13 14:15:01 +01:00
Ed Morley
45a4b4555f Backed out changeset ffd9c7bbd2fe (bug 261037) for compilation failures in nsCSSFrameConstructor on a CLOSED TREE 2013-10-23 15:44:19 +01:00
Robert O'Callahan
c911ce58ef Bug 261037. Support scrolled fieldsets. r=mats
The main change here is to have nsCSSFrameConstructor able to construct
a scrollframe for nsFieldSetFrame's inner frame.
To make this work properly (as much like normal scrolled elements, and
to be consistent with Chrome), we need another major change, which is to move
the padding from the nsFieldSetFrame to its inner frame. We do this by copying
the padding to the inner frame and ignoring the padding on the outer frame.
To get this right for percentage padding and intrinsic widths is a little
tricky. For that, we need nsLayoutUtils::IntrinsicForContainer to be able to
ignore the padding on a frame so we don't add it twice.
Overriding nsFieldSetFrame::GetScrollTargetFrame makes setting scrollTop/
scrollLeft on a <fieldset> work as expected.
* * *
Bug 261037 - A fieldset overflow:auto reftest.

--HG--
extra : rebase_source : 6ca585f685965d3a538bde64ad4057c5fd7b538f
2013-10-23 00:46:40 +02:00
Ryan VanderMeulen
10c13ed83a Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Nicholas Cameron
1cd12ac2e4 Bug 894497. Weaken the assertion in GetAnimationRule. r=dbaron 2013-09-12 10:34:27 +12:00
Daniel Holbert
9cd2fb6d36 Bug 896050 followup: fix some nits in the filter animation mochitest code. (test-only, no review) 2013-09-11 15:24:04 -07:00
Dirk Schulze
10ac32e77a Bug 896050 - Implement animation of CSS filter property. r=dholbert 2013-09-11 15:24:03 -07:00
Wes Kocher
ce222963ef Backed out changeset 87ee0a1865e4 (bug 914847) 2013-10-22 16:55:14 -04:00
Daniel Holbert
e48007a2d4 Bug 875275 part 2: simplify forms.css for input[type="color"]. r=arnaud.bienner 2013-10-22 17:29:20 +02: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
Gijs Kruitbosch
8eaff7a253 Merge m-c to ux 2013-08-22 22:04:20 +02:00
Gijs Kruitbosch
5619e9c0a9 Merge m-c to UX 2013-08-22 19:55:04 +02:00
Ms2ger
913bab58b0 Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
bdfaa84f5b Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
49f603cd4d Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
4807f1c86c Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
5869ffd59e Bug 905751 - Don't include binding headers in ns{I,DOM}CSSDeclaration.h; r=roc 2013-08-22 08:29:57 +02:00
Gijs Kruitbosch
2e6d788293 Merge m-c to UX
--HG--
rename : browser/base/content/test/browser_tabopen_reflows.js => browser/base/content/test/browser_windowopen_reflows.js
2013-08-21 13:13:32 +02:00
Mina Almasry
66e6988bb8 Bug 907816 - GetCSSValuesForProperty does not use the display keyword table. r=bz 2013-08-22 10:16:07 -04:00
Gijs Kruitbosch
27fc510686 Merge m-c to ux 2013-08-20 10:49:07 +02:00
Ms2ger
f805d8d6eb Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Matthew Noorenberghe
4ffe6302c1 Merge mozilla-central to UX 2013-08-19 14:49:03 -07:00
Daniel Holbert
736bd407f4 Bug 907547: Update nsCSSValue::BufferFromString documentation to indicate that it's infallible, and remove callers' unneeded null-checks. r=bz 2013-08-21 12:31:38 -07:00
Ehsan Akhgari
f9b077c0c8 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
John Daggett
7b4b662576 Bug 904263 - check pref settings more efficiently. r=dbaron 2013-08-19 13:49:49 +09:00
Mike Conley
41a4a4b627 Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-17 20:27:30 -04:00
Nicholas Nethercote
2585de9a07 Bug 905017 (part 1) - Minimize inclusions of JS engine headers in .h and .idl files. r=billm.
--HG--
extra : rebase_source : 984c61ab12f46be0509b1ce0d458d9a6e5841c64
2013-08-17 15:50:18 -07:00
Ehsan Akhgari
2621b190f1 Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Mike Conley
5ff2b9da6b Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-15 10:54:32 -04:00
Matthew Noorenberghe
912071cb19 Merge mozilla-central to UX 2013-08-14 03:18:44 -07:00
Ms2ger
1a5ae526d9 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
L. David Baron
f76fcad70f Bug 893308: Move hashtable of @keyframes rules (keyed by name) from nsAnimationManager to RuleCascadeData. r=heycam 2013-08-14 21:58:37 -07:00
Mike Conley
3a70af0be9 Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-12 17:07:53 -04:00
John Daggett
4f5ff964a4 Bug 904263 - add tests to assure all properties can be removed. r=dbaron 2013-08-15 09:38:01 +09:00
John Daggett
54d60f72ae Bug 904263 - don't set disabled subproperties within font shorthand parsing. r=dbaron 2013-08-15 09:37:57 +09:00
Matthew Noorenberghe
cb97ebb1fc Merge mozilla-central to UX 2013-08-08 22:56:52 -07:00
Jonathan Kew
ec5b5b31a1 bug 879963 - unit tests for redundant downloading of a repeated @font-face resource, and for rendering regressions when multiple rules refer to the same font. r=dbaron,jdaggett 2013-08-12 10:08:00 +01:00
Jonathan Kew
964fc5670a bug 879963 - preserve in-progress font loaders when updating the user font set, and avoid adding duplicate face entries to a user font family. r=dbaron,jdaggett 2013-08-12 10:07:55 +01:00
John Daggett
496a9cd010 Bug 875250 - add invalid value for text-combine-horizontal. r=dbaron 2013-08-20 17:15:40 +09:00
Gijs Kruitbosch
f69da9ef1f Merge m-c to UX 2013-08-07 21:09:10 +02:00
Rik Cabanier
31e1c48b4f Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam 2013-08-07 16:59:10 +09:00
Matthew Noorenberghe
3a8e5aed4e Merge mozilla-central to UX 2013-08-06 23:06:26 -07:00
Matthew Noorenberghe
8c897d2838 Merge mozilla-central to UX 2013-08-05 23:17:02 -07:00
Gijs Kruitbosch
4996f524c2 Merge m-c to UX 2013-08-05 11:57:12 +02:00
Gijs Kruitbosch
59eae10b77 Merge m-c to ux 2013-08-02 17:21:19 +02:00
Ms2ger
50634577d5 Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
fa4df90145 Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron 2013-08-02 09:04:31 +02:00
Ms2ger
5dcc1ed0f0 Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Masayuki Nakano
38ea6c4763 Bug 812995 Support 'blink' value at -moz-text-decoration-line and drop -moz-text-blink r=dbaron 2013-08-06 23:02:34 +09:00
Mike Hommey
2e729aa83d Bug 881323 - Re-implement CycleCollectorParticipant with actual vtables, with constexpr to avoid static initializers. r=mccr8 2013-08-02 10:29:05 +09:00
Matthew Noorenberghe
b7459452a2 Merge mozilla-central to UX 2013-07-31 17:48:12 -07:00
Alexandre BM
e51c160435 Bug 905449: Make helper-function signatures in nsStyleAnimation more consistent about coefficient-ordering. r=dholbert 2013-08-16 10:09:48 -07:00
Matthew Noorenberghe
116c1b7c2a Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
John Daggett
1ce5573685 Bug 892929 - test that CSSFontFeatureValueRule hidden when font features disabled. r=bz 2013-07-31 14:19:49 +09:00
Cameron McCormack
05e24cfc2c Bug 899389 - Don't null check result of NS_NewStyleContext. r=dbaron 2013-07-31 10:52:32 +10:00
Gijs Kruitbosch
7209a1137f Merge m-c to UX 2013-07-30 20:27:46 +02:00
L. David Baron
05e6a37bb5 Bug 898892: Move nsStyleConsts.h from layout/base to layout/style. r=heycam
This fixes a mistake from bug 272151, as discussed in the thread
https://groups.google.com/d/topic/mozilla.dev.tech.layout/5e4O84CO-sw/discussion

--HG--
rename : layout/base/nsStyleConsts.h => layout/style/nsStyleConsts.h
2013-07-30 17:36:09 -07:00
L. David Baron
c2fb56d067 Bug 898888: Transition manager should use SetStyleContext rather than SetStyleContextWithoutNotification. r=nrc
While debugging bug 858937 I noticed that the transition manager was
calling nsIFrame::SetStyleContextWithoutNotification rather than
nsIFrame::SetStyleContext.  SetStyleContextWithoutNotification should
only be used for things that aren't really style changes, but are
instead changes we make during frame construction before things are
really initialized.  Anything that's really a dynamic style change, as
these are, should use SetStyleContext.

I realize I said the opposite in bug 780692 comment 186, and bz said the
same in bug 780692 comment 204, which is why this is the state that it
is.
2013-07-30 17:36:08 -07:00
Mike Conley
e181e23c37 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-27 15:01:05 -04:00
Matthew Noorenberghe
5dca60419c Merge mozilla-central to UX 2013-07-26 00:27:14 -07:00
Gijs Kruitbosch
db1dd60d63 Merge m-c to UX 2013-07-25 12:10:08 +02:00
Dirk Schulze
bbd8a0f445 Bug 901847 - Fixes syntax failure in filters drop-shadow test. r=heycam 2013-08-06 17:53:53 +10:00
Max Vujovic
bcb8fc561d Bug 898175 - Refactor filter parsing to use a keyword lookup table for filter function names. r=dbaron 2013-08-06 17:53:30 +10:00
Gijs Kruitbosch
ebd16b1344 Merge m-c to ux 2013-07-24 17:44:40 +02:00
Ms2ger
5e67b6622c Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz 2013-07-24 09:27:17 +02:00
Max Vujovic
0bd2b965c3 Bug 895182 - [CSS Filters] Implement parsing for blur, brightness, contrast, grayscale, invert, opacity, saturate, sepia. Co-authored with Dirk Schulze (krit). r=heycam 2013-07-22 15:08:33 -07:00
Ehsan Akhgari
b1e52dbb47 Bug 908778 - Don't #include nsIContent.h in nsIFrame.h; r=mats 2013-08-23 18:15:45 -04:00
Ehsan Akhgari
0e024fd271 Bug 908724 - Avoid #including nsPresContext.h in nsIScrollableFrame.h; r=mats
nsPresContext.h pulls in a large number of headers which should not
be needed in nsIScrollableFrame, if we just move ScrollbarStyles to
its own header
2013-08-23 16:20:07 -04:00
Brian O'Keefe
d118b95a0d Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Matthew Noorenberghe
ff94bc4ff2 Merge mozilla-central to UX 2013-07-23 23:40:52 -07:00
Gijs Kruitbosch
bae02ad2bc Merge m-c to ux 2013-07-23 11:04:55 +02:00
Gijs Kruitbosch
45a1ad5f32 Merge m-c to ux 2013-07-22 09:26:50 +02:00
Matthew Noorenberghe
c8e922ef53 Merge mozilla-central to UX 2013-07-18 19:53:03 -07:00
Cameron McCormack
a1e8e82753 No bug - White space tweak in nsCSSPropList.h. (DONTBUILD) 2013-09-29 15:45:28 +10:00
Paul Rouget
b042dc9c82 Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz 2013-07-17 05:08:00 +02:00
Mike Conley
e87883ceef Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-16 16:58:37 -04:00
Ms2ger
f1fc9a981c Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Markus Stange
1213991850 Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc 2013-08-14 13:33:03 +02:00
Gijs Kruitbosch
39c713e176 Merge m-c to ux 2013-07-16 14:19:40 +02:00
Matthew Noorenberghe
3cb1da3f70 Merge mozilla-central to UX 2013-07-12 22:14:28 -07:00
John Daggett
9903bd2223 Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron 2013-07-25 15:02:15 +09:00
John Daggett
e2baf5a4ad Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron 2013-07-25 15:01:41 +09:00
Cameron McCormack
1858ab68cb Bug 890773 - Compute -x-text-zoom properly. r=dbaron 2013-07-25 10:42:11 +10:00
Arnaud Bienner
574b47d090 Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert 2013-07-10 00:25:27 +02:00
Nicholas Cameron
018dd19575 Bug 914847. Mini-flush for animations. r=dbaron 2013-10-22 14:14:41 +02:00
John Daggett
e86732f90b Bug 915440. Crashtest for empty font URL. r=me 2013-10-22 13:06:20 +02:00
John Daggett
d57960106a Bug 915440 - move null URL fix to after format hint is processed. r=dbaron 2013-10-22 13:06:20 +02:00
Markus Stange
4822f99e19 Bug 929362 - When refusing compositor animation during BuildLayer, set a property on the frame that disables all async animations on it forever. r=roc
--HG--
extra : rebase_source : 98c9b690a4842c19314dd46f5e531601b77fe527
2013-10-22 12:30:45 +02:00
Max Vujovic
ba787de1f1 Bug 897094 - Mismatched parenthesis in some CSS functions do not prevent parsing of subsequent CSS properties. r=heycam 2013-07-30 15:38:01 -04:00
Ehsan Akhgari
2824b29025 Bug 895322 - Part 1: Replace the usages of MOZ_STATIC_ASSERT with C++11 static_assert; r=Waldo
This patch was mostly generated by running the following scripts on the codebase, with some
manual changes made afterwards:

# static_assert.sh
#!/bin/bash
# Command to convert an NSPR integer type to the equivalent standard integer type

function convert() {
echo "Converting $1 to $2..."
find . ! -wholename "*nsprpub*" \
       ! -wholename "*security/nss*" \
       ! -wholename "*/.hg*" \
       ! -wholename "obj-ff-dbg*" \
       ! -name nsXPCOMCID.h \
       ! -name prtypes.h \
         -type f \
      \( -iname "*.cpp" \
         -o -iname "*.h" \
         -o -iname "*.cc" \
         -o -iname "*.mm" \) | \
    xargs -n 1 `dirname $0`/assert_replacer.py #sed -i -e "s/\b$1\b/$2/g"
}

convert MOZ_STATIC_ASSERT static_assert
hg rev --no-backup mfbt/Assertions.h \
                   media/webrtc/signaling/src/sipcc/core/includes/ccapi.h \
                   modules/libmar/src/mar_private.h \
                   modules/libmar/src/mar.h


# assert_replacer.py
#!/usr/bin/python

import sys
import re

pattern = re.compile(r"\bMOZ_STATIC_ASSERT\b")

def replaceInPlace(fname):
  print fname
  f = open(fname, "rw+")
  lines = f.readlines()
  for i in range(0, len(lines)):
    while True:
      index = re.search(pattern, lines[i])
      if index != None:
        index = index.start()
        lines[i] = lines[i][0:index] + "static_assert" + lines[i][index+len("MOZ_STATIC_ASSERT"):]
        for j in range(i + 1, len(lines)):
          if lines[j].find("                 ", index) == index:
            lines[j] = lines[j][0:index] + lines[j][index+4:]
          else:
            break
      else:
        break
  f.seek(0, 0)
  f.truncate()
  f.write("".join(lines))
  f.close()

argc = len(sys.argv)
for i in range(1, argc):
  replaceInPlace(sys.argv[i])

--HG--
extra : rebase_source : 4b4a4047d82f2c205b9fad8d56dfc3f1afc0b045
2013-07-18 13:59:53 -04:00
Gijs Kruitbosch
6cd359a5e6 Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
John Daggett
03504b2684 Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert 2013-08-19 19:26:44 +09:00
John Daggett
e96b5011ab Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
8eb7f1edcc Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00
Dirk Schulze
27731f2af6 Bug 898361 - Implement parsing for drop-shadow. r=heycam 2013-08-05 17:02:27 +10:00
L. David Baron
a7c8d44db9 Bug 896138 patch 4: Move restyle management code from nsCSSFrameConstructor to RestyleManager. r=heycam
This moves restyling management out of nsCSSFrameConstructor (thus
reducing its size), and keeps the restyling code closer together.

This is the first of two big chunks of code moved in this patch series.
A later patch in this series will move related code from nsFrameManager
into the same destination file.
2013-07-20 12:14:25 -07:00
Nicholas Cameron
cf168d842a Bug 700926; reshuffle background image drawing. r=roc
--HG--
extra : rebase_source : 4e4786a75cfdccc47ffa524331792eab3a7a83ea
2013-07-19 20:40:02 +12:00
Jonathan Kew
83bfaa5b69 bug 879963 - test for redundant downloading of a repeated @font-face resource. r=dbaron 2013-07-17 12:53:38 +01:00
Jonathan Kew
50ab64699b bug 879963 - part 2 - avoid adding duplicate face entries to a user font family. r=dbaron 2013-07-17 12:53:31 +01:00
Jonathan Kew
de12b8e12a bug 879963 - part 1 - preserve in-progress font loaders when updating the user font set. r=dbaron 2013-07-17 12:53:24 +01:00
Ms2ger
32cf0a6f16 Backout changeset a58abd7408bf for mochitest and crashtest crashes. 2013-08-04 12:21:17 +02:00
Dirk Schulze
ea188a5971 Bug 898361 - Implement drop-shadow parsing for the filter property. r=heycam 2013-08-04 18:58:28 +10:00
Cameron McCormack
ad5ce3ee02 Bug 899894 - Don't null check nsStyleSet::ResolveBlah return values. r=dbaron 2013-08-03 14:11:06 +10:00
Cameron McCormack
9e4cce4c84 Bug 899886 - Don't return null from nsStyleSet::ReparentStyleContext. r=dbaron 2013-08-03 14:11:05 +10:00
Gijs Kruitbosch
9eb64db035 Merge m-c to UX 2013-07-09 13:09:02 +02:00
Jared Wein
04643a1be1 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-07 21:35:26 -04:00
Gijs Kruitbosch
3261b5d01f Merge mozilla-central and ux 2013-07-05 00:49:58 +02:00
Jared Wein
cef6c82991 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-03 12:40:14 -04:00