Commit Graph

3594 Commits

Author SHA1 Message Date
Arnaud Bienner
f4f71db5ca Bug 938334 - Use "Type" as parameter in nsCSSPseudoElements methods instead of "nsIAtom*" when it makes sense to do so. r=dbaron 2013-11-17 19:33:56 +01:00
Gijs Kruitbosch
94480b349c Merge m-c to ux 2013-11-18 13:44:32 +01:00
Gijs Kruitbosch
5cbd9e36ff Merge m-c to ux 2013-11-17 23:37:53 +01:00
Cameron McCormack
6a434aebfc Bug 933044 - Push style scopes even if we would skip pushing ancestors when there is no ancestor filter. r=bz 2013-11-17 17:51:04 +11:00
Cameron McCormack
935ad23e53 Bug 492239 - Reflow when -moz-stack-sizing is changed. r=dbaron 2013-11-18 15:15:38 +11:00
Cameron McCormack
15efcbad48 Bug 935056 - Don't apply minimum font sizes to SVG text. r=dbaron 2013-11-18 14:53:51 +11:00
Gijs Kruitbosch
ce9b4a4882 Merge mozilla-central and ux 2013-11-15 18:32:01 +01:00
Gijs Kruitbosch
3226a1bc83 Merge mozilla-central and ux 2013-11-12 17:30:17 +01:00
Gijs Kruitbosch
eac4a01c92 Merge mozilla-central and ux 2013-11-11 22:41:49 +01:00
Gijs Kruitbosch
a84d198778 Merge mozilla-central and ux 2013-11-11 09:29:29 +01:00
Ms2ger
2d2f7fa030 Bug 921718 - Part b: Move MediaList to WebIDL; r=bz 2013-11-11 09:03:17 +01:00
Ms2ger
912c0ae2b2 Bug 921718 - Part a: Rename nsMediaList::Count to Length and make it return uint32_t; r=bz 2013-11-11 09:01:01 +01:00
Ms2ger
c1e5a09403 Bug 923251 - Part i: Outparamdel nsMediaList::Clone; r=heycam 2013-11-11 09:00:55 +01:00
Ms2ger
dea78db886 Bug 923251 - Part h: Don't handle allocation failure in nsMediaQuery::Clone; r=heycam 2013-11-11 09:00:50 +01:00
Ms2ger
6c1fc9bfa4 Bug 923251 - Part g: Make nsCSSStyleSheet::WillDirty return void; r=heycam 2013-11-11 09:00:46 +01:00
Ms2ger
d2bac29347 Bug 923251 - Part d: Remove nsCSSStyleSheet::eUniqueInner_CloneFailed; r=heycam 2013-11-11 09:00:18 +01:00
Ms2ger
63ed46994e Bug 923251 - Part c: Make nsCSSStyleSheet::AppendAllChildSheets return void; r=heycam 2013-11-11 08:59:58 +01:00
Ms2ger
eafd14c859 Bug 923251 - Part b: Make Loader::PrepareSheet return void; r=heycam 2013-11-11 08:57:53 +01:00
Ms2ger
54698d817e Bug 923251 - Part a: Make ParseMediaList return void; r=heycam 2013-11-11 08:57:34 +01:00
Matthew Noorenberghe
dc43a0e285 Merge mozilla-central to UX 2013-11-09 17:46:29 -08:00
Ed Morley
69faaab2a4 Merge mozilla-central and inbound 2013-11-11 13:20:20 +00:00
Jared Wein
3a8c39e9ac Automated merge with https://hg.mozilla.org/mozilla-central 2013-11-08 13:22:23 -05:00
Gijs Kruitbosch
bdf8ffe2d3 Merge mozilla-central and ux 2013-11-07 19:21:54 +00:00
Cameron McCormack
d9f00beb2e Comment typo fix; no bug. (DONTBUILD)
--HG--
extra : rebase_source : 9b2e37ed8770288e3d83e3ac1d9b6290eb5d35cd
2013-11-07 15:33:26 +11:00
Mike Hommey
53e380d1ff Bug 935387 - Remove non recursed install targets. r=mshal 2013-11-07 10:37:45 +09:00
Gijs Kruitbosch
174d4160d6 Merge m-c to ux 2013-11-06 14:36:26 +01:00
Gijs Kruitbosch
5b8e8a7c7d Merge mozilla-central and ux 2013-11-06 09:01:08 +01:00
Cameron McCormack
f2f1f97a01 Bug 934867 - nsStyleFont::CalcDifference should return a hint when mFont.systemFont differs. r=dbaron 2013-11-06 12:23:38 +11:00
Matthew Noorenberghe
9e82ff7081 Merge mozilla-central to UX 2013-11-05 01:04:20 -08:00
Mike Hommey
c4d8fb0127 Bug 934338 - Few cleanups in layout/style/test/Makefile.in. r=mshal 2013-11-05 07:39:28 +09:00
Gijs Kruitbosch
039c9472a0 Merge mozilla-central and ux 2013-11-04 14:15:00 +01:00
Robert O'Callahan
b5eb1bd690 Backout changeset 3fb9ea77d858 for bug 876321 due to test failures (CLOSED TREE)
--HG--
extra : rebase_source : 6b21bf36f9a8bd73bdd72ddfb5fe8c25e7854071
2013-11-03 23:14:26 -08:00
Robert O'Callahan
1a45cf8388 Backout changeset 47c7022e4e11 for bug 913444
--HG--
extra : rebase_source : 6d3b0bd5c4ea52561fba9b358dae8b7843f10205
2013-11-03 23:12:58 -08:00
Gijs Kruitbosch
00aa54c9ed Merge mozilla-central and ux 2013-11-03 23:36:57 +01:00
Gijs Kruitbosch
7f18b70f01 Merge mozilla-central and ux 2013-11-02 11:33:53 +01:00
Mike Hommey
2a211e7c14 Bug 933120 - Move HOST_PROGRAM and HOST_SIMPLE_PROGRAMS to moz.build. r=gps 2013-11-02 08:44:11 +09:00
Gijs Kruitbosch
448b587886 Merge mozilla-central and ux 2013-11-01 19:51:09 +01:00
Arnaud Bienner
46140a19d3 Bug 931619 - Add a tiny border to the color swatch. r=dholbert 2013-11-13 17:59:56 +01:00
Mats Palmgren
0ef7f28bac Bug 891018 - CSS cursor property does not work properly on disabled inputs. r=bz 2013-11-01 20:31:06 +00:00
Carsten "Tomcat" Book
0844656768 merge mozilla-central to fx-team 2013-11-07 16:04:23 +01:00
Paul Rouget
d5c2ff9d10 Bug 890195 - device-width media queries should use the page width, not the actual device width. r=bz 2013-11-07 14:40:23 +01:00
Garrett Robinson
e97987f422 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
5f6b9e24c0 Bug 936100 part 5: Remove usage of flexbox pref from C++ code. r=mats 2013-11-09 07:53:14 -08:00
Daniel Holbert
691c57ea0d 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
024f68d44c 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
54a0f5d671 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
0d7ef379ad backout 57213b64023b (bug 855326) for build bustage in debug builds
CLOSED TREE
2013-11-08 11:22:36 -08:00
Garrett Robinson
7cbc01f239 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
8c465e2028 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
fcb0feac20 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
ab6295a073 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
2b5f4acfab Bug 938123 - Build layout/style in unified mode; r=roc 2013-11-14 21:42:57 -05:00
Daniel Holbert
3b62710378 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
1afb28f2b0 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
6160e9c330 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
319f4f9770 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
38cd1ccd55 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
5b63d94335 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
2b693ecfaf Bug 841601 - Add background-blend-mode tests. r=roc 2013-11-08 10:08:23 -05:00
Horia Iosif Olaru
1340220842 Bug 841601 - Add background-blend-mode to the style parsing mechanism. r=heycam 2013-11-08 10:07:36 -05:00
Ryan VanderMeulen
f90de9eccd Merge m-c to inbound on a CLOSED TREE. 2013-11-14 20:58:52 -05:00
Corey Ford
bfc27ed1e3 Bug 925259: Avoid sticky positioning inner table elements. r=dholbert 2013-11-12 12:46:47 -08:00
Benoit Girard
4926ed1e4f Bug 936864 - Fix logic error in async animation code. r=roc 2013-11-13 17:21:39 -05:00
Robert O'Callahan
05afcd89f5 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
a999a450cf 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
d4efaf67c3 Backed out changeset 0f3b26ada540 (bug 926546) for build failures on Windows CLOSED TREE 2013-11-06 11:38:58 +00:00
Jonathan Watt
047369cc68 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
c85b794065 Bug 902654 - refactor CSP call sites for readability r=dholbert r=mrbkap 2013-11-11 14:25:55 -08:00
Daniel Holbert
212a11b1d1 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
0c0dd6f24f 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
4e7fba2e7b 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
b679ae2f4c 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
0b17009152 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
c2cf6c85d0 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
942ef05b14 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
ad43cc7db8 Bug 928891 part 2 - Add input[type=color] to forms.css. r=dholbert 2013-10-27 01:16:42 +02:00
Arnaud Bienner
5d035fe562 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
6f9b1281ac Bug 929991 - Tests for text-align: true X; 2013-10-27 20:56:32 +00:00
Mats Palmgren
fd271184f9 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
091575a0f7 Bug 929991 - Style system implementation of 'text-align: true X'. r=heycam 2013-10-27 20:56:32 +00:00
Mats Palmgren
db9973f0e7 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
9655175a80 Bug 881804 (part 4) - Plumb layout into predictive network actions. r=bz 2013-10-25 14:56:56 -07:00
Robert O'Callahan
201d29edb6 Bug 261037. Support scrolled fieldsets. r=mats
--HG--
extra : rebase_source : 248521189921b2a46f0805582a3789b27c26ecbd
2013-10-23 00:46:40 +02:00
Mike Hommey
f1c0c07862 Bug 929905 - Consolidate sources in moz.build. r=gps 2013-10-25 08:23:05 +09:00
Gijs Kruitbosch
a9ac8f9beb Merge mozilla-central and ux 2013-10-29 17:23:48 +01:00
Gijs Kruitbosch
8dcf6fc1bf Merge m-c to ux 2013-10-28 10:18:27 +01:00
Gijs Kruitbosch
3e54109a58 merge m-c to UX 2013-10-27 21:18:18 +01:00
Matthew Noorenberghe
a65ad34081 Merge mozilla-central to UX 2013-10-25 18:30:46 -07:00
Gijs Kruitbosch
a6c5684a9d Merge mozilla-central and ux 2013-10-25 10:23:03 +02:00
Gijs Kruitbosch
4593d1248d Merge mozilla-central and ux 2013-10-24 10:18:26 +02:00
Mike Hommey
80c623bb6a Bug 921492 - Make StrictOrderingOnAppendList use actual alphabetical sorting. r=mshal,r=gps 2013-10-24 08:05:43 +09:00
Gijs Kruitbosch
447b965052 Merge mozilla-central and ux 2013-10-23 15:41:02 +02:00
Gijs Kruitbosch
3b433be3c9 Merge mozilla-central and ux 2013-10-23 10:44:46 +02:00
Gijs Kruitbosch
4fd7b7c65f Merge mozilla-central and ux 2013-10-23 00:37:14 +02:00
Nathan Froyd
fa82c2129e 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
deafa81d69 Bug 664362 - Generate depfiles for host objects/programs/libraries. r=gps 2013-10-22 13:40:27 +09:00
Gijs Kruitbosch
71ddb0e829 Merge m-c to UX 2013-10-18 12:56:16 +02:00
Max Vujovic
b1e4d40e37 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
ed9d589d6c Merge mozilla-central and ux 2013-10-15 08:27:26 +02:00
Olli Pettay
fae5c85b8c Bug 915210, follow the COM rules when flushing a presshell, r=bz 2013-10-14 23:27:22 +03:00