Граф коммитов

6391 Коммитов

Автор SHA1 Сообщение Дата
Benoit Girard 17b6ab9f8b Bug 964885 - Implement stacking context behavior of CSS will-change. r=dbaron
--HG--
extra : rebase_source : 9417239e40a13df22c207838faf64b67d9027f6e
2014-02-05 23:50:22 -05:00
Ehsan Akhgari 7a3201ec26 Backed out 5 changesets (bug 966992, bug 965237) because of a PGO only build failure on Linux, landed on a CLOSED TREE
Backed out changeset f11cad93ceee (bug 966992)
Backed out changeset c84d530c9a51 (bug 965237)
Backed out changeset 740b13866bac (bug 966992)
Backed out changeset 8c3420cc77d8 (bug 966992)
Backed out changeset 7ddfc587edda (bug 966992)
2014-02-19 13:28:33 -05:00
Mats Palmgren f5b8acd9ca Bug 965237 - Make overflow-clip-box:content-box be the default for <input type=text/password/number> and <textarea>. r=roc 2014-02-19 14:14:53 +00:00
Mats Palmgren d3ba634b1b Bug 966992 - Implement the overflow-clip-box property in the style system. r=cam 2014-02-19 14:14:52 +00:00
Mats Palmgren 3c71ab792b Bug 966992 - Add a CSS_PROPERTY_ALWAYS_ENABLED_IN_UA_SHEETS bit for properties that are enabled by a pref but that are always enabled in UA sheets. r=cam 2014-02-19 14:14:52 +00:00
Jonathan Watt 5d725d26cd Bug 932410 - Implement the focus ring for -moz-appearance:none styled <input type=range> in a different way so that content authors can change/remove it. r=bz 2014-02-18 23:35:07 +00:00
Jonathan Watt d75e9d9879 Bug 973344 - Remove workaround introduced by bug 947718 now that bug 946184 is fixed, especially since it causes crashes with the dom.forms.number pref disabled. r=ehsan 2014-02-17 20:06:45 +00:00
L. David Baron fbcb130e34 Bug 709014 patch 1: Honor margin-left and margin-right on elements in inline layout that have 0 width and/or height (commonly, inline-blocks). r=roc
Prior to this patch, we failed to honor:
 * margin-left on elements in inline layout with 0 width and 0 height
 * margin-right on elements in inline layout with 0 width
I think that was because the code in CanPlaceFrame to discard both
margins when the width was 0 was running after the left-margin was
applied, unless the later code in PlaceFrame (checking both width 0 and
height 0) un-applied that left margin.

The assertion count change in test_value_computation.html is due to 2
additional "bad width" assertions (I presume from honoring large
margins that were previously ignored).

The change to 538935-1-ref.html is to match an improvement in rendering
of the margins in the test, where both sides of the margin are now
honored.

The change to layout/reftests/text-overflow/marker-basic-ref.html is to
keep the reference (which uses margins) rendering the same way following
the changes to margin handling.

The new behavior (in the reftests added in layout/reftests/inline/)
matches at least Chromium; I didn't check any other browsers.
2014-02-17 20:07:45 -08:00
Maks Naumov ba8f8a6ac8 Bug 973187: Fix typo (checking mRadiusX twice and not checking mRadiusY) in nsStyleGradient::HasCalc(). r=dbaron 2014-02-16 16:05:10 -08:00
Daniel Holbert f7cff805e8 Bug 969460 part 3: regression tests for "display:flex" on root node. r=bz 2014-02-15 10:43:11 -08:00
Daniel Holbert 7772871b39 Bug 969460 part 2: Use EnsureBlockDisplay to determine the 'display' of the root node, and let nsCSSFrameConstructor::ConstructDocElementFrame create flex containers. r=bz 2014-02-15 10:42:37 -08:00
Daniel Holbert f23db27f6e Bug 969460 part 1: Give EnsureBlockDisplay a second parameter, to determine whether it converts 'display:list-item' to block. r=bz 2014-02-15 10:42:35 -08:00
Mats Palmgren 98f2cf5d46 Bug 969756. r=cam 2014-02-15 17:40:38 +00:00
Vaibhav Agarwal 2ae37b022e Bug 970925 - convert testing/mochitest/android.json into skip-if statements in mochitest.ini files; r=jmaher 2014-02-15 04:53:02 -05:00
L. David Baron 65472fde5e Bug 541855: Add in the error tolerance before calling the timing function, so that we allow more error for steeper functions, and less error for most. r=dholbert 2014-02-14 21:29:12 -08:00
Ted Mielczarek 79ca8d245f Bug 968837 - Move more Mochitests into manifests. r=jmaher
--HG--
rename : toolkit/components/places/tests/browser/bug_399606/399606-history.go-0.html => toolkit/components/places/tests/browser/399606-history.go-0.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-httprefresh.html => toolkit/components/places/tests/browser/399606-httprefresh.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.reload.html => toolkit/components/places/tests/browser/399606-location.reload.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-location.replace.html => toolkit/components/places/tests/browser/399606-location.replace.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.href.html => toolkit/components/places/tests/browser/399606-window.location.href.html
rename : toolkit/components/places/tests/browser/bug_399606/399606-window.location.html => toolkit/components/places/tests/browser/399606-window.location.html
rename : toolkit/components/places/tests/browser/visituri/begin.html => toolkit/components/places/tests/browser/begin.html
rename : toolkit/components/places/tests/browser/visituri/final.html => toolkit/components/places/tests/browser/final.html
rename : toolkit/components/places/tests/browser/visituri/redirect_once.sjs => toolkit/components/places/tests/browser/redirect_once.sjs
rename : toolkit/components/places/tests/browser/visituri/redirect_twice.sjs => toolkit/components/places/tests/browser/redirect_twice.sjs
rename : toolkit/components/places/tests/browser/settitle/title1.html => toolkit/components/places/tests/browser/title1.html
rename : toolkit/components/places/tests/browser/settitle/title2.html => toolkit/components/places/tests/browser/title2.html
rename : toolkit/components/places/tests/mochitest/bug94514-postpage.html => toolkit/components/places/tests/bug94514-postpage.html
rename : toolkit/components/places/tests/mochitest/test_bug_411966.html => toolkit/components/places/tests/test_bug_411966.html
rename : toolkit/components/places/tests/mochitest/test_bug_461710_perwindowpb.html => toolkit/components/places/tests/test_bug_461710_perwindowpb.html
rename : toolkit/components/places/tests/mochitest/test_bug_94514.html => toolkit/components/places/tests/test_bug_94514.html
2014-02-06 15:37:30 -05:00
Max Vujovic 2e9f734512 Bug 948265 - [CSS Filters] Change nsSVGFilterProperty to track an nsStyleFilter chain instead of a single nsIURI and nsSVGFilterFrame. r=roc 2014-02-09 20:31:03 -08:00
Brian O'Keefe 56341318f9 Bug 772828 - Part b: use RESOURCE_FILES in moz.build instead of manual rules in Makefile.in; r=mshal 2013-11-05 13:37:54 -05:00
Masayuki Nakano 66d81c3ef0 Bug 969219 Simplify constructor of InternalTransitionEvent r=smaug 2014-02-11 14:35:25 +09:00
Masayuki Nakano 47672f20db Bug 968725 Simplify constructor of InternalAnimationEvent r=smaug 2014-02-11 14:35:25 +09:00
Ehsan Akhgari d91d200572 Bug 969757 - Remove the dead code in our tree which pretends to support OS/2; r=roc,mcmanus,gps,jorendorf,bsmedberg sr=bsmedberg 2014-02-10 17:57:01 -05:00
Sotaro Ikeda 4e32dd880b Bug 957391 - Call nsIFrame::SchedulePaint() in ImageLoader::DoRedraw(). r=mattwoodrow 2014-02-10 09:34:11 -05:00
Cameron McCormack f7a49b8eee Bug 969961 - Turn CSS Variables pref on in tests that rely on it. r=philor 2014-02-10 11:56:35 +11:00
Robert O'Callahan 533e04ff75 Bug 947588. Part 4: Set -moz-text-discard:none in devtools, XUL, text inputs, plaintext documents, view-source documents. r=heycam
--HG--
extra : rebase_source : 2db920396d9c5f8de51c4385250f2903629441fc
2014-02-05 23:23:08 +13:00
Robert O'Callahan 1e8f5d4c97 Bug 947588. Part 3.9: Remove CRs from plaintext.css. r=heycam
--HG--
extra : rebase_source : 0cf0bb02d4edcc848f71ec498fd2521312521ae8
2014-02-05 23:22:21 +13:00
Robert O'Callahan 21f9cc6065 Bug 947588. Part 1: Add "-moz-control-character-visibility" property to the style system. r=heycam
Ideally we'd make this property inaccessible to Web content style sheets, but
that seems hard since view-source and plain text documents seem to load in a
context that's very similar to Web content as far as the style system is
concerned. It doesn't matter much since it's quite safe and unlikely to be
discovered or used by anyone.

--HG--
extra : rebase_source : 009aafc992afd07fd76a9026afe0f6994b4b214a
2014-02-05 23:08:48 +13:00
Ehsan Akhgari fbb338d533 Bug 969879 - Use infallible allocation to store the style information for CSS transitions and animations; r=dbaron 2014-02-08 16:56:40 -05:00
Ehsan Akhgari 55829d1cdc Bug 969879 - Use fallible allocation to store the style information for CSS transitions and animations; r=dholbert
It seems like the sizes for these data structures can be controlled from
Web content, and we are already prepared to deal with OOM conditions,
except that we are using infallible allocations by mistake.
2014-02-08 15:11:36 -05:00
L. David Baron d31701cad1 Bug 91419 patch 9: Fix comments and debugging output referring to "special" frames. r=mats 2014-02-06 17:45:33 -08:00
Robert O'Callahan 1b8d891c71 Bug 968118. Make nsCSSProps keyword tables be int16_t instead of int32_t for a small space win. r=heycam
--HG--
extra : rebase_source : 94cf09d0d96dd3c8e2a9528f5d242e36e85fcf75
2014-02-06 00:10:44 +13:00
Alex Henrie 5b028ed455 Bug 968029 - Use unprefixed box-sizing in content/, dom/, layout/, and widget/. r=dbaron 2014-02-06 12:32:05 -07:00
Nathan Froyd 8ceeb7c617 Bug 968281 - pull helper function out of HasAttributeDependentStyle; r=bz 2014-02-05 10:16:03 -05:00
Ehsan Akhgari 060c5d2671 Bug 968643 - Part 1: Stop using [PrefControlled]; r=bzbarsky 2014-02-06 13:28:14 -05:00
Lukas Nordin 5815633a98 Bug 243412: Add box-sizing preference to control the vendor prefix; r=dbaron 2014-02-04 18:06:18 -08:00
L. David Baron 8a99d6dc2e Bug 964529: Support scientific (exponential) notation for CSS <number> values, including percentages and dimensions (but not <integer> values). r=SimonSapin
Resolved for <number> on 2012-08-15:
http://lists.w3.org/Archives/Public/www-style/2012Aug/0900.html

Resolved for percentages and dimensions in CSS teleconference 2013-04-17:
http://lists.w3.org/Archives/Public/www-style/2013Apr/0428.html
2014-01-31 16:06:46 -08:00
Ryan VanderMeulen 7fd7d52cb1 Backed out changeset 699811c420a2 (bug 964529) for crashtest asserts.
CLOSED TREE
2014-01-31 16:39:27 -05:00
L. David Baron f4874e4276 Bug 966415: Add more line breaks to nsCSSPropAliasList.h for better diffs and blame. r=bzbarsky 2014-01-31 12:28:00 -08:00
L. David Baron d2e4206fe5 Bug 964529: Support scientific (exponential) notation for CSS <number> values, including percentages and dimensions (but not <integer> values). r=SimonSapin
Resolved for <number> on 2012-08-15:
http://lists.w3.org/Archives/Public/www-style/2012Aug/0900.html

Resolved for percentages and dimensions in CSS teleconference 2013-04-17:
http://lists.w3.org/Archives/Public/www-style/2013Apr/0428.html
2014-01-31 12:27:59 -08:00
Ryan VanderMeulen 0333943bdb Backed out changeset 6e9d3acbb028 (bug 959973) for bustage. 2014-01-31 13:48:25 -05:00
Mihaela Velimiroviciu 44f55a7b5f Bug 959973 - Add tests for using variables in external style sheets. r=heycam 2014-01-31 10:58:05 +02:00
Nicholas Cameron af48c246e3 Bug 700926. Tests for border-image-source/-moz-element. r=roc 2014-01-31 16:36:43 +13:00
Nicholas Cameron 7c3fa1f471 Bug 700926. border-image-source css parsing. r=roc 2014-01-31 16:36:42 +13:00
Nicholas Cameron f3ead74e4f Bug 700926. Use nsStyleImage and nsRenderingContext to draw border-images. r=roc 2014-01-31 16:36:41 +13:00
Masatoshi Kimura 6a981b248b Bug 965961 - Remove unused css selectors for windows versions. r=bz 2014-01-31 07:55:10 +09:00
Birunthan Mohanathas 02d0812720 Bug 828300 - Replace NS_ARRAY_LENGTH with mozilla::ArrayLength/MOZ_ARRAY_LENGTH. r=ehsan 2014-01-30 13:26:54 -05:00
Mats Palmgren 0e6b7fff02 Bug 959311 - Splitting nsComboboxControlFrame makes no sense so it should always report COMPLETE reflow status. Also, make them page-break-inside:avoid by default. r=bz 2014-01-30 12:12:02 +00:00
Benoit Girard 6e831dc5e6 Bug 940842 - 2/3 - Implement will-change in layers-building code - r=mattwoodrow 2013-11-22 13:14:34 -05:00
Benoit Girard ext:(%20and%20Benoit%20Jacob%20%3Cbjacob%40mozilla.com%3E) d46862615a Bug 940842 - 1/3 - Add will-change CSS property - r=dbaron
The current spec draft is at:
http://tabatkins.github.io/specs/css-will-change/

This CSS property is disabled by default and can be enabled by toggling:
  layout.css.will-change.enabled
2013-11-22 11:48:27 -05:00
Ms2ger afb16c34a0 Bug 243412. Enable unprefixed 'box-sizing'. r=dbaron 2014-01-17 17:13:22 -07:00
Boris Zbarsky 849fb669c0 Bug 962628. Make '+' and '~' combinators work at the top level of an anonymous content forest. r=heycam 2014-01-23 15:18:06 -05:00