Commit Graph

3567 Commits

Author SHA1 Message Date
Cameron McCormack
5e5991238e No bug - Comment typo fixes in nsCSSProps.h. (DONTBUILD) 2013-09-29 11:40:07 +10:00
Gijs Kruitbosch
28d6f95f87 Merge mozilla-central and ux 2013-09-28 09:59:15 +02:00
Gregory Szorc
f0bcf1241b Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
89c902c7b2 Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Gijs Kruitbosch
28a46b4771 Merge mozilla-central and ux 2013-09-26 10:26:16 +02:00
Ehsan Akhgari
f720bbfbaa 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
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
Ed Morley
74e3d6ce30 Backed out changeset 68b6b152f51a (bug 920223) 2013-09-30 12:50:09 +01:00
Ed Morley
5e3c678fac Backed out changeset 8b02873ee07e (bug 920223) 2013-09-30 12:50:05 +01:00
Gregory Szorc
18c2c27094 Bug 920223 - Part 3: Mass convert MOCHITEST_BROWSER_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:06 +02:00
Gregory Szorc
47e946bebe Bug 920223 - Part 2: Mass convert MOCHITEST_CHROME_FILES to manifests; rs=Ms2ger 2013-09-30 09:52:01 +02:00
Cameron McCormack
6c42f4346f No bug - Assertion text typo fix. (DONTBUILD) 2013-09-30 17:40:12 +10:00
Gijs Kruitbosch
e4b7441f3e Merge mozilla-central and ux 2013-09-24 14:55:03 +02:00
Ehsan Akhgari
1e1f27abed 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
464d030850 Bug 918176 - Silence uninitialized variable warning in nsRuleNode::ComputeContentData. r=dholbert 2013-09-20 11:24:04 +10:00
Gijs Kruitbosch
3b9ad26395 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
035c9b2b1c Merge mozilla-central and ux 2013-09-19 09:09:59 +02:00
Phil Ringnalda
059782fbe5 Merge m-c to m-i 2013-09-18 23:28:41 -07:00
Paul Rouget
dc3c24c2ef Backed out changeset 184a0076278b (bug 890195). Almost-perma orange 2013-09-18 17:53:15 +02:00
Gijs Kruitbosch
18f10e54d8 Merge mozilla-central and ux 2013-09-18 14:54:29 +02:00
Gijs Kruitbosch
1ad320d951 Merge m-c to UX 2013-09-18 10:31:05 +02:00
Jesse Ruderman
f4099a7205 Crashtest for bug 861489. 2013-09-17 20:46:17 -07:00
L. David Baron
0f7222c881 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
8a6a806c2a Merge m-c to inbound. 2013-09-17 22:47:28 -04:00
Ryan VanderMeulen
5be5179c2d Merge m-c to fx-team on a CLOSED TREE. 2013-09-17 20:27:03 -04:00
Gijs Kruitbosch
e2f47baa44 Merge mozilla-central and ux 2013-09-17 11:58:14 +02:00
Cameron McCormack
3c21650d5f 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
25896b003f 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
7371888973 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
94d8239afc Merge m-c to inbound. 2013-09-15 22:05:23 -04:00
Ehsan Akhgari
d5d3a9ae84 Bug 916610 - Minimize the #includes in layout/style; r=roc 2013-09-15 21:06:52 -04:00
Masatoshi Kimura
db96aec3fb Bug 916871 - Remove classinfo bits for CSSGroupRuleRuleList. r=bz 2013-09-18 07:56:41 +09:00
Cameron McCormack
26d2825aaf Bug 919594 - Part 3: Test. 2013-10-03 20:58:01 +10:00
Cameron McCormack
7c68f91101 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
422b5ef184 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
fd7ff97f2d No bug - Fix copy/paste error in 'mix-blend-mode' comment. (DONTBUILD) 2013-09-28 18:03:31 +10:00
Ryan VanderMeulen
b2393cd728 Merge m-c to b2g-inbound. 2013-09-14 23:07:59 -04:00
stefanh@inbox.com
bcd2b365d7 Bug 916491 - Remove -moz-mac-alternateprimaryhighlight. r=mstange. 2013-09-15 00:44:50 +02:00
Martijn Wargers
14760e0727 Bug 916158 - Remove spurious setIntPref. r=jmaher 2013-09-13 22:13:30 +02:00
Gijs Kruitbosch
cf60ec415a Merge mozilla-central and ux 2013-09-16 09:13:50 +02:00
Gijs Kruitbosch
2c07477df1 Merge m-c to ux 2013-09-15 19:30:19 +02:00
Gijs Kruitbosch
cfa5d95340 Merge m-c to ux 2013-09-13 09:42:13 +02:00
Joey Armstrong
77c5c856d3 bug 888009: move HOST_CPPSRCS to mozbuild (batch #2) r=mshal 2013-09-12 13:32:27 -04:00
Sid Stamm
3004080c1a bug 836922 - support mulitiple CSP policies at the same time. r=jst,grobinson 2013-09-12 09:25:32 -07:00
Gijs Kruitbosch
70de40c148 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
c9e329be81 Merge mozilla-central to UX 2013-09-12 01:39:29 -07:00
Ryan VanderMeulen
9283daa4fd Merge b2g-inbound to m-c. 2013-09-11 20:58:14 -04:00
Gijs Kruitbosch
9449797f29 Merge mozilla-central and ux 2013-09-11 11:25:41 +02:00
Phil Ringnalda
33b6975bad Bug 522515 followup, remove the crashtest assertion annotations that are no longer true 2013-09-10 20:01:24 -07:00
John Daggett
be5dc0a33e Bug 522515 - omit null urls from inclusion in userfont src descriptor array. r=dbaron 2013-09-11 10:36:58 +09:00
Martijn Wargers
b489a617dd Bug 914089 - b2g.json cleanup and reorder, part 3. r=jmaher 2013-09-11 13:52:42 +02:00
Ed Morley
50ba829a39 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
fd238cabbe 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
9d7bc3d7f1 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
d2aca1e122 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
fff4661d1e 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
a53f6f80b6 Bug 910937: Remove xpc_UnmarkGrayObject and use JSAPI directly. r=mccr8 2013-09-08 20:28:48 -07:00
Phil Ringnalda
c02a4a1253 Merge fx-team to m-c 2013-09-08 08:26:23 -07:00
Paul Rouget
c8447b9acc Bug 913440 - Implement a pseudo class to highlight element easily. r=bz 2013-09-07 11:39:50 +02:00
Ehsan Akhgari
61d8f84eb7 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
3956f8e1f5 Bug 913531 - Remove the unnecessary #includes from nsIXPConnect.idl; r=bholley 2013-09-06 13:50:24 -04:00
Bobby Holley
0fcc3886ab 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
eea4b28546 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
ec1a5c3498 Bug 893319 - Remove -moz-rgba() and -moz-hsla(). r=bz 2013-09-16 10:43:56 +10:00
Cameron McCormack
0127877d37 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
9030c8e31a Merge mozilla-central and ux 2013-09-10 16:46:22 +02:00
Gijs Kruitbosch
e3552ae5f3 Merge mozilla-central and ux-central 2013-09-09 17:00:49 +02:00
Gijs Kruitbosch
bebffa1788 Merge mozilla-central and ux 2013-09-08 14:26:44 +02:00
Matthew Noorenberghe
186f9be72f Merge mozilla-central to UX 2013-09-06 17:54:20 -07:00
Matthew Noorenberghe
a60bb60a2e Merge mozilla-central to UX 2013-09-06 00:10:05 -07:00
Mike Conley
cb9e730fc8 Automated merge with https://hg.mozilla.org/mozilla-central 2013-09-05 09:59:00 -04:00
Matthew Noorenberghe
3d7d1a0ddb Merge mozilla-central to UX 2013-09-04 23:31:53 -07:00
Phil Ringnalda
3914af6be4 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
2fdfb08f12 Merge mozilla-central to UX 2013-08-30 22:20:31 -07:00
Phil Ringnalda
cf2028664c Back out e46601eb7279:533dc9ea3301 (bug 912322) for Android reftest bustage 2013-09-04 21:49:16 -07:00
Gijs Kruitbosch
eec8448e00 Merge mozilla-central and ux 2013-08-29 15:30:00 +02:00
Gijs Kruitbosch
dbe438ea19 Merge m-c to UX. 2013-08-28 22:31:31 +02:00
Seth Fowler
e57e4a214f Bug 825771 (Part 1) - Add CSS support for the image-orientation property. r=dbaron 2013-08-28 15:39:06 -07:00
Mike Conley
1c71e322f2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-25 11:38:45 -04:00
Mike Conley
5dbc47be27 Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-24 15:03:12 -04:00
Ms2ger
b5df99e7e3 Revert this CLOSED TREE to changeset 4d3e221584a0. 2013-08-24 13:31:48 +02:00
Ms2ger
bca4820d34 Backed out changesets e6a3b0532422:f37447f59817 (bug 908880, bug 879682) for Windows assertion failures. 2013-08-24 10:27:21 +02:00
Markus Stange
c602b94447 Bug 908880 - Update overflow rects when dynamically changing the filter property. r=jwatt 2013-08-24 08:20:01 +02:00
Boris Zbarsky
1955cb60db 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
86b7ae4c3a 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
e903e0f569 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
05b3f24e0e Bug 912293 - Remove now redundant boilerplate from Makefile.in. r=gps 2013-09-05 09:01:46 +09:00
Daniel Holbert
d36be6c344 Bug 859807: Request longer timeout for test_transitions_per_property.html. r=dbaron 2013-09-04 13:47:24 -07:00
Kyle Huey
debb415e8e Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Ehsan Akhgari
27c999b3b4 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
690918fcba Bug 886646 - Part 3: Compute sticky positioning offsets for getComputedStyle(). r=heycam 2013-08-15 17:31:32 -07:00
Corey Ford
2fcbc01ac4 Bug 886646 - Part 2: Include sticky positioning in nsStyleDisplay::IsRelativelyPositionedStyle. r=heycam 2013-09-06 09:35:15 -04:00
Corey Ford
1b743eac38 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
1217a04fcf Bug 298619 - Use EXIF image orientation in top-level image documents. r=dolske 2013-08-29 17:16:30 -07:00
Kyle Huey
7db281d06b Back out Bug 887533 for test failures. 2013-08-22 23:40:32 -07:00
Kyle Huey
bd22797dd3 Bug 887533: Remove even more includes from dom/bindings. r=bz 2013-08-22 22:17:11 -07:00
Kyle Huey
bf31d78a83 Bug 903772: Part 3 - Refactor GlobalObject. r=peterv 2013-08-22 22:17:08 -07:00
Robert O'Callahan
0991ab95c2 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
4672bbb630 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
c1c484bd50 Back out ce03cc2994aa:ae9f95fc1136 (bug 896797) for SpiderMonkey shell build bustage
CLOSED TREE
2013-09-03 23:21:30 -07:00
Gregory Szorc
fab628e981 Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Phil Ringnalda
eb3f8a45e2 Back out cc6f66e761d8 (bug 896797) for Windows build bustage
CLOSED TREE
2013-09-03 21:55:21 -07:00
Gregory Szorc
295f553e4e Bug 896797 - Part 2: Don't list autogenerated files in EXPORTS; r=glandium 2013-09-03 20:28:05 -07:00
Birunthan Mohanathas
b823b8896b 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
a23cd291d5 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
0680d10a11 Bug 915551. Allow text-align styling on ::-moz-placeholder. r=bzbarsky 2013-09-13 14:15:01 +01:00
Ed Morley
1cb147e161 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
d4185c2d7c 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
982559c42b Merge m-c to inbound. 2013-09-11 22:20:33 -04:00
Nicholas Cameron
6fa91fd6df Bug 894497. Weaken the assertion in GetAnimationRule. r=dbaron 2013-09-12 10:34:27 +12:00
Daniel Holbert
c022dc0b7d 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
bc78994cda Bug 896050 - Implement animation of CSS filter property. r=dholbert 2013-09-11 15:24:03 -07:00
Wes Kocher
6256b8f389 Backed out changeset 87ee0a1865e4 (bug 914847) 2013-10-22 16:55:14 -04:00
Daniel Holbert
b815e13d73 Bug 875275 part 2: simplify forms.css for input[type="color"]. r=arnaud.bienner 2013-10-22 17:29:20 +02: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
Gijs Kruitbosch
f1900d6214 Merge m-c to ux 2013-08-22 22:04:20 +02:00
Gijs Kruitbosch
17683e42dc Merge m-c to UX 2013-08-22 19:55:04 +02:00
Ms2ger
dd3ed79f0d Merge PGO-green changeset from inbound to m-c. 2013-08-22 10:31:44 +02:00
Ms2ger
19f3e043e3 Bug 904831 - Part b: Move unconditional MSVC_ENABLE_PGO definitions into moz.build; r=gps 2013-08-22 08:56:01 +02:00
Ms2ger
4e45b3d52e Bug 883284 - Part e: Move LIBXUL_LIBRARY into moz.build (k-o); r=ted 2013-08-22 08:56:00 +02:00
Ms2ger
66214743ad Bug 882859 - Part b: Move FAIL_ON_WARNINGS into moz.build; r=joey+gps 2013-08-22 08:55:59 +02:00
Ms2ger
8e71491167 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
f85d1877a9 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
036abb7597 Bug 907816 - GetCSSValuesForProperty does not use the display keyword table. r=bz 2013-08-22 10:16:07 -04:00
Gijs Kruitbosch
5d5adce056 Merge m-c to ux 2013-08-20 10:49:07 +02:00
Ms2ger
4af9d89266 Merge m-c to inbound 2013-08-22 10:38:48 +02:00
Matthew Noorenberghe
4411bb5879 Merge mozilla-central to UX 2013-08-19 14:49:03 -07:00
Daniel Holbert
706bb34072 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
2a87c95927 Bug 904695 - #include fewer headers in nsContentUtils.h; r=jst 2013-08-21 15:28:26 -04:00
John Daggett
b9513dce5c Bug 904263 - check pref settings more efficiently. r=dbaron 2013-08-19 13:49:49 +09:00
Mike Conley
b6d48dba3f Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-17 20:27:30 -04:00
Nicholas Nethercote
b89a8ac1c0 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
c2ce7e67ab Bug 906790 - Minimize layout/base #includes; r=roc 2013-08-19 18:55:18 -04:00
Mike Conley
470f25355d Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-15 10:54:32 -04:00
Matthew Noorenberghe
2c18d0c5dd Merge mozilla-central to UX 2013-08-14 03:18:44 -07:00
Ms2ger
6ec28362b3 Bug 901323 - Don't include nsContentUtils.h unnecessarily; r=jlebar 2013-08-14 08:56:21 +02:00
L. David Baron
38b264af07 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
9cde798a1f Automated merge with https://hg.mozilla.org/mozilla-central 2013-08-12 17:07:53 -04:00
John Daggett
04e636e240 Bug 904263 - add tests to assure all properties can be removed. r=dbaron 2013-08-15 09:38:01 +09:00
John Daggett
8ea7ba71b1 Bug 904263 - don't set disabled subproperties within font shorthand parsing. r=dbaron 2013-08-15 09:37:57 +09:00
Matthew Noorenberghe
5daefdc625 Merge mozilla-central to UX 2013-08-08 22:56:52 -07:00
Jonathan Kew
9d6d5924e8 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
141239e413 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
1d703bb0b3 Bug 875250 - add invalid value for text-combine-horizontal. r=dbaron 2013-08-20 17:15:40 +09:00
Gijs Kruitbosch
a6e54ee4b8 Merge m-c to UX 2013-08-07 21:09:10 +02:00
Rik Cabanier
6db63a8c81 Bug 901375 - Implement support in CSS for mix-blend-mode; r=heycam 2013-08-07 16:59:10 +09:00
Matthew Noorenberghe
bae49d6e2c Merge mozilla-central to UX 2013-08-06 23:06:26 -07:00
Matthew Noorenberghe
7946b0c10c Merge mozilla-central to UX 2013-08-05 23:17:02 -07:00
Gijs Kruitbosch
1ac39936f0 Merge m-c to UX 2013-08-05 11:57:12 +02:00
Gijs Kruitbosch
e5220a0c68 Merge m-c to ux 2013-08-02 17:21:19 +02:00
Ms2ger
21409e5d2c Merge m-c to inbound. 2013-08-02 11:07:57 +02:00
Ms2ger
ac38824301 Bug 896277 - Don't return nsresult from GroupRule::AppendRulesToCssText; r=dbaron 2013-08-02 09:04:31 +02:00
Ms2ger
d5d5885d4c Bug 886408 - Move nsContentUtils::ReleaseWrapper into nsWrapperCache; r=mccr8 2013-08-02 09:04:01 +02:00
Masayuki Nakano
03e0066f13 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
ca80cd82ad 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
3999b2695d Merge mozilla-central to UX 2013-07-31 17:48:12 -07:00
Alexandre BM
3d943e77e4 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
b14d8fd39b Merge mozilla-central to UX 2013-07-30 19:16:50 -07:00
John Daggett
cb486cc9ec Bug 892929 - test that CSSFontFeatureValueRule hidden when font features disabled. r=bz 2013-07-31 14:19:49 +09:00
Cameron McCormack
cbfbb6c609 Bug 899389 - Don't null check result of NS_NewStyleContext. r=dbaron 2013-07-31 10:52:32 +10:00
Gijs Kruitbosch
c191dc6dc3 Merge m-c to UX 2013-07-30 20:27:46 +02:00
L. David Baron
066f28abe6 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
40c4d9c17c 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
1c13381de2 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-27 15:01:05 -04:00
Matthew Noorenberghe
4af74607bc Merge mozilla-central to UX 2013-07-26 00:27:14 -07:00
Gijs Kruitbosch
adb8115534 Merge m-c to UX 2013-07-25 12:10:08 +02:00
Dirk Schulze
8dc0ca2307 Bug 901847 - Fixes syntax failure in filters drop-shadow test. r=heycam 2013-08-06 17:53:53 +10:00
Max Vujovic
a0613f3e89 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
5afb53dcc3 Merge m-c to ux 2013-07-24 17:44:40 +02:00
Ms2ger
41b81693ad Bug 892489 - Implement the WebIDL API for CSSRuleList; r=bz 2013-07-24 09:27:17 +02:00
Max Vujovic
a3d913c879 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
2d782339fa Bug 908778 - Don't #include nsIContent.h in nsIFrame.h; r=mats 2013-08-23 18:15:45 -04:00
Ehsan Akhgari
2faab8bc9e 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
0ee041b9fd Bug 875934 - Move LIBRARY_NAME to moz.build, batch 3; r=mshal 2013-08-15 09:02:09 -04:00
Matthew Noorenberghe
de1150b579 Merge mozilla-central to UX 2013-07-23 23:40:52 -07:00
Gijs Kruitbosch
118088b794 Merge m-c to ux 2013-07-23 11:04:55 +02:00
Gijs Kruitbosch
03e1680427 Merge m-c to ux 2013-07-22 09:26:50 +02:00
Matthew Noorenberghe
2ded965d7c Merge mozilla-central to UX 2013-07-18 19:53:03 -07:00
Cameron McCormack
ccce38c17a No bug - White space tweak in nsCSSPropList.h. (DONTBUILD) 2013-09-29 15:45:28 +10:00
Paul Rouget
9492494622 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
ed49047d81 Automated merge with https://hg.mozilla.org/mozilla-central 2013-07-16 16:58:37 -04:00
Ms2ger
6c3982af30 Merge m-c to inbound. 2013-08-14 14:47:39 +02:00
Markus Stange
a16556961c Bug 904541 - Don't #include Layers.h in nsPresContext.h. r=roc 2013-08-14 13:33:03 +02:00
Gijs Kruitbosch
f08c892054 Merge m-c to ux 2013-07-16 14:19:40 +02:00
Matthew Noorenberghe
131a8cc6d6 Merge mozilla-central to UX 2013-07-12 22:14:28 -07:00
John Daggett
cdffe4d261 Bug 886691 - switch from references to pointers for values within GetValue. r=dbaron 2013-07-25 15:02:15 +09:00
John Daggett
31c7953287 Bug 886691 - make tests and serialization code sensitive to font features pref. r=dbaron 2013-07-25 15:01:41 +09:00
Cameron McCormack
379b6a82ac Bug 890773 - Compute -x-text-zoom properly. r=dbaron 2013-07-25 10:42:11 +10:00
Arnaud Bienner
2e3ec1b741 Bug 875275 part 1: Implement layout support for <input type="color">. r=dbaron,dholbert 2013-07-10 00:25:27 +02:00
Nicholas Cameron
dd6d5fdd9f Bug 914847. Mini-flush for animations. r=dbaron 2013-10-22 14:14:41 +02:00
John Daggett
b58fe43917 Bug 915440. Crashtest for empty font URL. r=me 2013-10-22 13:06:20 +02:00
John Daggett
4970b997ea Bug 915440 - move null URL fix to after format hint is processed. r=dbaron 2013-10-22 13:06:20 +02:00
Markus Stange
aaf1e127bb 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
5498d723b7 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
085494b95d 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
67f692e20d Merge mozilla-central and ux 2013-07-10 23:53:05 +02:00
John Daggett
0ad5eb80ed Bug 875250 - implement CSS parsing of text-orientation, text-combine-horizontal properties. r=dholbert 2013-08-19 19:26:44 +09:00
John Daggett
a9de42a1ec Bug 857142 - change name and switch to grayscale value. r=dbaron 2013-07-30 05:01:14 +09:00
John Daggett
bed3fbfbd2 Bug 857142 - implement -moz-font-smoothing. r=dbaron 2013-07-30 05:00:41 +09:00