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

371 Коммитов

Автор SHA1 Сообщение Дата
Cameron McCormack 8731638062 Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me on a CLOSED TREE
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 17:38:24 +01:00
Cameron McCormack 0ba5cf9cc4 Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 17:38:16 +01:00
Cameron McCormack 590058f927 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 17:37:08 +01:00
Sebastian Hengst ed5bd31f9b Backed out changeset ad45a3da5e4a (bug 1324669) for Windows build bustage: OverflowChangedTracker.h(44). r=backout on a CLOSED TREE 2017-01-31 17:32:12 +01:00
Sebastian Hengst 24430aff14 Backed out changeset 4787d54f7aa6 (bug 1314045) 2017-01-31 17:30:25 +01:00
Sebastian Hengst 79a42c161e Backed out changeset e3687105be00 (bug 1334768) 2017-01-31 17:30:16 +01:00
Cameron McCormack 0333846acf Bug 1334768 - stylo: Adjust a bunch of reftest expectations. r=me
MozReview-Commit-ID: 1qa08cspl7o
2017-01-31 23:36:46 +08:00
Cameron McCormack e64744beef Bug 1314045 - stylo: Downgrade "Bad loading table" assertion since it occurs frequently. r=me
MozReview-Commit-ID: Hdt37MzhdsZ
2017-01-31 23:36:21 +08:00
Cameron McCormack 946b5c3633 Bug 1324669 - stylo: Downgrade SMIL assertion even further to a non-test-failing warning. r=me
MozReview-Commit-ID: 5fk6C9qaOgW
2017-01-31 23:36:12 +08:00
Hiroyuki Ikezoe 97a3868830 Bug 1334982 - Convert animation restyle hints only if we are not in process of restyling. r=heycam
MozReview-Commit-ID: 4pWeWhGaTJv
2017-01-31 16:37:39 +09:00
Cameron McCormack 59d7d77114 Bug 1334768 - stylo: Annotate one crashtest.
MozReview-Commit-ID: Jk0rMNpA9aK
2017-01-30 23:10:59 +08:00
Cameron McCormack 01afae2b4b Bug 1334768 - stylo: Test expectation adjustments for 2017-01-30 merge.
MozReview-Commit-ID: 5Uua9zyS9Db
2017-01-30 21:27:43 +08:00
Cameron McCormack 9c4ea5685f Bug 1334768 - stylo: Back out 800030115d2e and 404506488cfb for being completely wrong due to bug 1334938.
MozReview-Commit-ID: 8CGTqmtlguT
2017-01-30 16:49:54 +08:00
Florian Quèze bdc1ffa608 Bug 1334831 - script-generated patch to use .remove() instead of .parentNode.removeChild, r=jaws. 2017-01-30 08:10:22 +01:00
Cameron McCormack 7805d4716e Bug 1334768 - stylo: Test expectation adjustments for 2017-01-29 merge.
MozReview-Commit-ID: FFmvs6SHIwW
2017-01-29 15:31:56 +08:00
Wes Kocher 7cd28f7e5d Merge inbound to central, a=merge
MozReview-Commit-ID: HvoljuLV6Gj
2017-01-27 16:37:18 -08:00
Boris Chiou 56b53b069d Bug 1324691 - Part 4: Remove conditions on some crashtests. r=heycam
We should pass these animation tests now:
* 1216842-3.html
* 1216842-4.html
* 1278485-1.html
* 1290535-1.html
* layout/style/crashtest/1290994-1.html
* layout/style/crashtest/1290994-2.html
* layout/style/crashtest/1290994-3.html

And these tests still need to be verified by Bug 1334036.
* 1216842-1.html
* 1216842-2.html
* 1216842-5.html
* 1216842-6.html

MozReview-Commit-ID: 1qLcS9ovsYp

--HG--
extra : rebase_source : 7b013fd62a79352d429e2bf28246a2587a327db5
2017-01-27 14:38:55 +08:00
Florian Quèze be4dbae285 Bug 1334199 - script-generated patch to omit getComputedStyle's second argument when it's falsy, r=jaws. 2017-01-27 10:51:02 +01:00
Cameron McCormack 80d819e95c Bug 1333001 - Crashtest. r=bzbarsky 2017-01-24 10:02:46 -05:00
Cameron McCormack c5eaaabab2 Bug 1324663 - stylo: More crashtest annotation adjustments. r=me
MozReview-Commit-ID: DLHMu3nmLKO
2017-01-18 15:09:00 +08:00
Florian Quèze 85611a7b6d Bug 1331081 - script generated patch to omit addEventListener/removeEventListener's third parameter when it's false, r=jaws.
--HG--
extra : rebase_source : a22344ee1569f58f1f0a01017bfe0d46a6a14602
2017-01-17 11:50:25 +01:00
Emilio Cobos Álvarez c5efe3a064 Bug 1331272: Crashtest. r=bholley
MozReview-Commit-ID: 1bM83JuvtSm
Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io>
2017-01-16 20:32:31 +01:00
Bobby Holley e69afdcb2e Bug 1323671 - Reenable crashtests. r=me 2017-01-12 17:37:30 -08:00
Bobby Holley 004deddec2 Bug 1330401 - Don't render explicit children of bound elements with no insertion points. r=bz 2017-01-11 21:08:03 -08:00
Cameron McCormack 9f99f387ac Bug 1324663 - stylo: Adjust expectations now that we've disabled style context tree structure assertions. r=me
MozReview-Commit-ID: EORVNMWW7gu
2017-01-11 20:35:12 +08:00
Wes Kocher 105aea2522 Merge m-c to inbound a=merge
MozReview-Commit-ID: G24aq5fbYNd
2017-01-09 16:44:58 -08:00
Cameron McCormack 466ecf05e1 Bug 1324705 - stylo: Update some crashtest assertion expectations. r=emilio
These were fixed by https://github.com/servo/servo/pull/14922.

MozReview-Commit-ID: 3Ypfq0BmkIY

--HG--
extra : rebase_source : c32e69303826b65059dcae963ddce94f5f4c40f8
2017-01-09 17:34:16 +08:00
Cameron McCormack d628134419 Bug 1323706 - stylo: Re-enable one test now that StyleSheet.media works. r=xidorn
We no longer crash, though we still have a couple of assertions.

MozReview-Commit-ID: 189zGH1LdLY

--HG--
extra : rebase_source : 0c3c59b7f154b6c94681c62f1d537d748fec466a
2017-01-09 16:43:18 +08:00
Hiroyuki Ikezoe 0e03cf5f82 Bug 1328535 - Remove range-checking assertion for aDilutionRatio, in color animation code. r=dholbert
Some cubic-bezier functions, e.g. cubic-bezier(0,-0.5,0,0), produce values out
of range of [0, 1].

MozReview-Commit-ID: 9ZTsTRTcUaI

--HG--
extra : rebase_source : 7edf0c4d2702a502a9c0422be83ce7229751e815
2017-01-05 09:05:57 +09:00
Boris Zbarsky 99d2e96def Bug 1298588 part 9, gecko piece. Pass through useful default styles to cascade(). r=bholley 2017-01-04 14:52:27 -05:00
Cameron McCormack 3c057d1a75 Bug 1323717 - Re-enable 1290994-4.html. r=manishearth
MozReview-Commit-ID: 1LRTnuK0ulh

--HG--
extra : rebase_source : da27637bb01b0946c759e52bd3ea01560f959b55
2017-01-02 15:44:23 +08:00
Xidorn Quan b93e776ac9 Bug 894245 part 2 - Reject unknown enum color in CSS parser. r=dholbert
MozReview-Commit-ID: 6jfNESnFde5

--HG--
extra : rebase_source : dbe0b7f1eb45a59ef4df67ba5f1d75da1892cb17
2016-12-30 14:52:10 +11:00
Bobby Holley b32f310e62 Bug 1323649 - Reenable some crashtests. r=me 2017-01-09 11:50:23 -08:00
Cameron McCormack d4d8ba1d5f Bug 1324624 - stylo: Mark currently failing crashtests with asserts-if(stylo,...). r=xidorn
MozReview-Commit-ID: 7iiwRwiQ8s4
2016-12-21 15:42:36 +08:00
Cameron McCormack 366f6eb24d Bug 1323892 - Disable currently crashing stylo crashtests. r=xidorn
MozReview-Commit-ID: 2BNjdBWdT5V
2016-12-16 18:54:41 +08:00
Brian Birtles eb1500c6db Bug 1321357 part 1 - Copy elements from mMilestoneEntries before iterating over them; r=dholbert
MozReview-Commit-ID: GjkXYlhoeoy
2016-12-02 11:22:35 +09:00
Cameron McCormack ce08748113 Bug 1320423 - Null check cursor images to handled failed loads. r=dbaron
--HG--
extra : rebase_source : ccc18acf3ec30be54ebe2e2130d7bec55b857b16
2016-11-26 15:00:53 +08:00
Hiroyuki Ikezoe 598b376e51 Bug 1319072 - Don't assert even if coefficient is out of range [0, 1]. r=boris
MozReview-Commit-ID: 6TnuoNnHcSc

--HG--
extra : rebase_source : c112546cae35050f1c02cc09e3cff1cb5f9ac41b
2016-11-22 08:11:42 +09:00
Cameron McCormack ff10ad8bc2 Bug 1315889 - stylo: don't try to restyle elements that have been removed from the document. r=emilio
MozReview-Commit-ID: EiFS1KAKAj6
2016-11-08 16:24:34 +08:00
Cameron McCormack 1b5c96f9f7 Bug 1315894 - Clear dirty bits on entire subtree when stopping in RecreateStyleContexts due to no frame or ReconstructFrame hint. r=emilio
MozReview-Commit-ID: 5ch5gtOn0Zr
2016-11-09 14:25:58 +08:00
Xidorn Quan fe23eb51ba Bug 1314531 - Disallow xul tree pseudo-elements with user action pseudo-classes. r=heycam
MozReview-Commit-ID: 85DDwDl0oYg

--HG--
extra : rebase_source : 815ac13a1991c0b155e8a78739ba346dbe2110b0
2016-11-03 11:21:19 +11:00
Hiroyuki Ikezoe cc0747ceed Bug 1282076 - Crashtest that struct data is cached if we have animation data. r=heycam
1282076-1.html is a test case with a CSS animation.
1282076-2.html is a test case with a scripit animation.

Both of tests crashed before landing the fix for bug 1282076.
Although neither test does not crash currently any more with/without the fix,
it's worth adding them.
2016-09-22 19:42:09 +09:00
Thomas Wisniewski 2b28c5e2a9 Bug 1069012 - Unprefix ::placeholder pseudo-element. r=bz 2016-09-07 19:38:38 -04:00
Hiroyuki Ikezoe 99d11e5e5f Bug 1290994 - Do not multiply 0 by infinity in nsCSSScanner::ScanNumber. r=heycam
Without this patch test cases 1290995-{1,2,3}.html causes an assertion.
1290995-4.html is hit by the assertion in this patch if we don't avoid the
multiplication.

MozReview-Commit-ID: AtPVyPtd0r8

--HG--
extra : rebase_source : 43dbbbb98eb95faa15774b206a5776f43b1ea072
2016-08-03 19:09:58 +09:00
Hiroyuki Ikezoe cf4652beb1 Bug 1277908 - Crashtest; r=birtles
MozReview-Commit-ID: 6MZRobuKQse
2016-07-27 17:28:39 +09:00
Xidorn Quan 832704b3e6 Bug 1135534 - Crashtest for this bug. r=dholbert
MozReview-Commit-ID: 4wm23OC9j34

--HG--
extra : source : 2bbf2c2dd04ca7d4cfca331f5719e660a6b0fe65
extra : amend_source : a5fb72aab75aa540ae922abf738c859a3f466741
2016-07-04 08:59:51 +10:00
Daniel Holbert bb70efdaf2 Bug 1278463: Better-distinguish between "stroke-dasharray" keyword values vs. list values, in StyleAnimationValue.cpp. r=birtles
MozReview-Commit-ID: 9U4v322RIw7
2016-06-28 12:41:33 -07:00
cku 3cada11da2 Bug 1275026: Part 2. Crash test r=jfkthame
MozReview-Commit-ID: 5bp6XYNJB2L

--HG--
extra : rebase_source : 0ae68d23b7fb53fa35353c8a2afc69970e29f587
2016-05-24 17:38:32 +08:00
L. David Baron 55b6b3268e Bug 1111440 - Replace rest of -moz-/Moz prefixed logical margin/padding/border properties with their standard versions. r=heycam
This patch was generated by the command:
  find * -type f -exec sed -i -f ../mozpropsub {} \;
in the root of the repository, with the file ../mozpropsub containing:
s/-moz-padding-end\>/padding-inline-end/g
s/-moz-padding-start\>/padding-inline-start/g
s/-moz-margin-end\>/margin-inline-end/g
s/-moz-margin-start\>/margin-inline-start/g
s/-moz-border-end\>/border-inline-end/g
s/-moz-border-end-color\>/border-inline-end-color/g
s/-moz-border-end-style\>/border-inline-end-style/g
s/-moz-border-end-width\>/border-inline-end-width/g
s/-moz-border-start\>/border-inline-start/g
s/-moz-border-start-color\>/border-inline-start-color/g
s/-moz-border-start-style\>/border-inline-start-style/g
s/-moz-border-start-width\>/border-inline-start-width/g
s/\<MozPaddingEnd\>/paddingInlineEnd/g
s/\<MozPaddingStart\>/paddingInlineStart/g
s/\<MozMarginEnd\>/marginInlineEnd/g
s/\<MozMarginStart\>/marginInlineStart/g
s/\<MozBorderEnd\>/borderInlineEnd/g
s/\<MozBorderEndColor\>/borderInlineEndColor/g
s/\<MozBorderEndStyle\>/borderInlineEndStyle/g
s/\<MozBorderEndWidth\>/borderInlineEndWidth/g
s/\<MozBorderStart\>/borderInlineStart/g
s/\<MozBorderStartColor\>/borderInlineStartColor/g
s/\<MozBorderStartStyle\>/borderInlineStartStyle/g
s/\<MozBorderStartWidth\>/borderInlineStartWidth/g

The diffs for the following files:
  layout/style/nsCSSPropAliasList.h
  layout/style/test/property_database.js
  layout/style/test/test_value_computation.html
were then manually removed from the patch.

MozReview-Commit-ID: 8fbYnlZcn9U
2016-05-14 00:00:18 -07:00
CJKu b11e2e12ee Bug 1270795 - Crash test; r=jfkthame
MozReview-Commit-ID: CPnOAyuc6hp

--HG--
extra : rebase_source : 2586233eb9d8e931260510efbff94ae351247308
2016-05-07 00:47:13 +08:00
Brian Birtles 135b397103 Bug 1265611 - Crashtest; r=heycam
I have verified that without the fix in the first patch in this series this
test fails, but passes with the fix applied.

MozReview-Commit-ID: JmncnapbVLa
2016-04-21 17:05:46 +09:00
CJKu a31594bc4d Bug 1264949 - crash test; r=jfkthame
MozReview-Commit-ID: 34wrJ2Qq4ch

--HG--
extra : rebase_source : 89b760fa361f517cc3f006a1e54c594fd30982cd
2016-04-19 13:41:14 +08:00
Brian Birtles 658dbcfecc Bug 1264396 - Don't allow animation of 'display' property; r=heycam
MozReview-Commit-ID: HOVHXfoFv5l
2016-04-15 13:18:12 +09:00
Brian Birtles 5785877883 Bug 1245260 - Add crashtest; r=hiro
MozReview-Commit-ID: IBe0zbsCJJy

--HG--
extra : rebase_source : 9045ca886302026220dec365e63203c538c14e9a
2016-03-24 09:04:53 +09:00
L. David Baron fe18585912 Bug 1247865 - Fix assertion to handle restyling of a table::after. r=birtles
I confirmed locally that this patch does fix the assertion in the
crashtest.

MozReview-Commit-ID: L1TIAZZ1aNu

--HG--
extra : transplant_source : %FE_N%7D%AE%11%0D%92B%93%F6%3D%CFyY%3D5%7EFt
2016-02-12 22:54:26 -08:00
L. David Baron 15f112aaec Bug 1247865 - Add crashtest for assertion. r=birtles
I confirmed locally that, without the following patch, the crashtest
harness does detect the single assertion.

MozReview-Commit-ID: FRkCdxSSa7V

--HG--
extra : transplant_source : xF%BC%7E%03%B3%1Bp%EF%07%D9%28%F6C%B5s%C7%C2%15%C1
2016-02-12 22:54:26 -08:00
Xidorn Quan 4879d85cc1 Bug 1233135 - Do not touch display value of anonymous box for ruby. r=dbaron
--HG--
extra : source : 87f3c64200ab990efe341da44b70e0fc8f1c09f0
2016-01-26 20:31:45 +11:00
Brian Birtles 8505bf694f Bug 1238660 part 3 - Add crashtest; r=hiro 2016-01-13 13:38:16 +09:00
Xidorn Quan 68c176f928 Bug 1230408 - Move suppress line break check out from control of SkipParentDisplayBasedStyleFixup. r=dbaron
The flag SkipParentDisplayBasedStyleFixup is for flex/grid fixup, and it is set
for all pseudo elements other than before/after. This is not desirable for ruby
case.

Moving the code out also means elements will inherit the suppress flag directly
from "display: contents" parent (instead of the container), which is fine since
the parent should have had its flag set properly as well.

--HG--
extra : source : ab8d1c650ec6aa41cb165c278de9e06182a0c733
2016-01-08 14:34:08 +11:00
Boris Zbarsky 3c44c61fbe Bug 1226400 - crashtest for FontFaceSet::Load() crasher. r=birtles 2015-11-27 08:22:37 +09:00
Jesse Ruderman a6fae6aaa5 Bug 1227501 patch 2 - Crashtest.
--HG--
extra : commitid : 8Sld106lbG2
2015-11-24 17:45:02 -08:00
Cameron McCormack 389927a98a Bug 1223688 - Clear mInSupportsConditions when we error out of CSS.supports() upon finding no tokens. r=dholbert 2015-11-16 12:49:22 +11:00
Cameron McCormack 690d464167 Bug 1223694 - Don't bother checking for correct style scopes for native anonymous content. r=dbaron 2015-11-12 14:35:26 +11:00
Wes Kocher 19408be4f3 Backed out changeset 534bae0f55bc (bug 1221902) for being a broken crashtest
--HG--
extra : commitid : 8LsL5Evn39V
2015-11-09 14:07:10 -08:00
Jesse Ruderman 9b054b046b Bug 1186768 patch 2 - Crashtest. r=heycam
David Baron confirmed locally that this fails with a fatal assertion
without patch 1 and passes with patch 1.

--HG--
extra : commitid : I8JJwlxIugj
2015-11-06 11:26:50 +08:00
Mats Palmgren 504eab4598 Bug 1221902 part 2 - Crashtest. 2015-11-05 22:09:27 +01:00
Carsten "Tomcat" Book 86d664fb6c Backed out changeset a4101bc25be5 (bug 1186768) 2015-11-05 11:21:22 +01:00
Jesse Ruderman f27166e6a2 Bug 1186768 patch 2 - Crashtest. r=heycam
David Baron confirmed locally that this fails with a fatal assertion
without patch 1 and passes with patch 1.

--HG--
extra : commitid : ITdBA0fwuCq
2015-11-05 16:50:04 +08:00
Ryan VanderMeulen ffb659f49e Bug 696869 - Add crashtest.
--HG--
extra : rebase_source : 41c72716e6d9a93eefff3ddce1434697b8af9436
2015-11-01 07:23:24 -05:00
Ryan VanderMeulen 028dec7cc8 No bug - Various crashtest manifest cleanups.
--HG--
rename : dom/base/crashtests/713417.html => dom/base/crashtests/713417-1.html
rename : dom/workers/test/1158031.html => dom/workers/test/crashtests/1158031.html
rename : dom/workers/test/779707.html => dom/workers/test/crashtests/779707.html
rename : dom/workers/test/943516.html => dom/workers/test/crashtests/943516.html
rename : dom/workers/test/crashtests.list => dom/workers/test/crashtests/crashtests.list
rename : layout/generic/crashtests/812879.html => layout/generic/crashtests/812879-1.html
rename : layout/generic/crashtests/first-letter-638937.html => layout/generic/crashtests/first-letter-638937-1.html
extra : rebase_source : b9274dc6870030ed62bcee35350d566160502869
2015-10-31 19:35:27 -04:00
Ryan VanderMeulen 73cc584a88 Bug 477490 - Re-enable long-url-list-stack-overflow.html. 2015-10-30 19:41:18 -04:00
Ryan VanderMeulen 812796fec3 Bug 795534 - Re-enable the 786108 crashtests on Android/e10s. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen cc674dddb2 No bug - Remove annotations from the editor and layout crashtest manifests that are no longer needed. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen fac3490cb6 Bug 652976 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen 4cc44aa94f Bug 622314 - Add crashtest. 2015-10-30 19:41:17 -04:00
Ryan VanderMeulen f4f3f9c8a2 No bug - Clean up layout/style crashtest manifest. 2015-10-30 19:41:16 -04:00
Cameron McCormack d8893979ef Bug 621596 - Followup to add the test file. (CLOSED TREE)
--HG--
extra : rebase_source : 6b0e7e2402bdd8d7aa6650a6982680f17947d909
extra : amend_source : 01699d625cb9b060266ccdd0417da5d1f7ad89fb
2015-10-30 19:16:34 +11:00
Cameron McCormack 81521bc53b Bug 621596 - Don't assert when a percentage base value overflows to become negative, when getting the computed style of a property that rejects negative values. r=bzbarsky 2015-10-30 16:51:38 +11:00
Ryan VanderMeulen 8f38f910b8 Bug 575464 - Add crashtest. 2015-10-27 10:03:38 -04:00
Ryan VanderMeulen 80cc335b07 Bug 474377 - Add crashtest.
--HG--
extra : rebase_source : f84cd1c53448a790676a7cc7e55be42af9ae2c23
2015-10-24 15:03:19 -04:00
Ryan VanderMeulen 1e35b5d9be Bug 460209 - Add crashtest.
--HG--
extra : rebase_source : f729a18d65d9baa5580b8b12c911f04e7f146b99
2015-10-24 15:03:19 -04:00
L. David Baron 403e6f2a92 Bug 1206105 - Use CheckedInt for an+b selector matching. r=bzbarsky
--HG--
extra : transplant_source : %95Z1JF%FES%FF%9F%F8%F9%9D%5Eu%E7s%CC%8C%99%3C
2015-09-22 11:25:38 -07:00
Brian Birtles 8530476b49 Bug 1200568 - Don't create animations for elements that are not part of the document tree; r=dbaron
As well as ensuring that we don't create animations for elements that are not
part of the document tree, this test also adjusts the assertion that checks
this in the following ways:

* Calls GetComposedDoc() instead of GetCrossShadowCurrentDoc() since the
  latter is deprecated.
* Moves it from RequestRestyle to FlushAnimations since, depending on how we
  refactor this code in the future, it's possible we might end up calling
  RequestRestyle even for animations on elements that have been removed from the
  document but we shouldn't call FlushAnimations in this case.
2015-09-09 10:10:41 +09:00
Wes Kocher 53368e989a Backed out 2 changesets (bug 1035091)
a=backout

Backed out changeset 1fc07bdd9aa8 (bug 1035091)
Backed out changeset f6e98029d1cb (bug 1035091)

--HG--
rename : layout/style/test/chrome/test_moz_document_matching.html => layout/style/test/chrome/test_moz_document_rules.html
rename : layout/style/test/chrome/test_moz_document_nesting.html => layout/style/test/test_bug511909.html
rename : layout/style/test/chrome/test_moz_document_serialization.html => layout/style/test/test_rule_serialization.html
2015-09-03 11:41:39 -07:00
Zack Weinberg 7912db5bd1 Bug 1035091 part 2: disable @-moz-document in author sheets. r=heycam
--HG--
rename : layout/style/test/test_condition_text.html => layout/style/test/chrome/moz_document_condition_text.css
rename : layout/style/test/test_rule_serialization.html => layout/style/test/chrome/moz_document_serialization.css
rename : layout/style/test/test_condition_text.html => layout/style/test/chrome/test_moz_document_condition_text.html
rename : layout/style/test/chrome/test_moz_document_rules.html => layout/style/test/chrome/test_moz_document_matching.html
rename : layout/style/test/test_bug511909.html => layout/style/test/chrome/test_moz_document_nesting.html
rename : layout/style/test/test_rule_serialization.html => layout/style/test/chrome/test_moz_document_serialization.html
extra : rebase_source : 9d97f4cfe5e5e3bbda1d1b7910db44faf33d14c1
2015-09-02 13:54:30 -04:00
Cameron McCormack 0423ad42b1 Bug 1146101 - Test. r=dbaron a=abillings 2015-08-14 12:24:49 +10:00
Masatoshi Kimura 52428897a6 Backed out changeset acb7eb7f5ad4 (bug 1176496) for web compat problems 2015-07-15 23:37:22 +09:00
Masatoshi Kimura 6c8654865c Bug 1176496 - Drop support for -moz-prefixed gradients. r=dbaron 2015-07-10 00:57:50 +09:00
Daniel Holbert fc985d746e Bug 1167782: Null-check pseudo element in nsHTMLCSSStyleSheet::RulesMatching(). r=dbaron 2015-05-26 16:44:52 -07:00
Brian Birtles 85627bb281 Bug 1164813 - Make nsAnimationManager update cached in-effect status even when there is no frame; r=dbaron 2015-05-22 13:46:26 +09:00
Brian Birtles 3947001236 Bug 1161320 - Fix conflict between finishing and aborting a pause; r=jwatt
Animation::ResumeAt contains an assertion that, when we exit the play-pending
state, checks we either have a resolved start time or a resolved hold time.

That's normally true but if we are aborting a pause on animation that is
finished we can end up with a resolved start time (since we don't clear the
start time when we're aborting a pause) and a resolved hold time (either
because the regular finishing behavior set one, or, because play() applied
auto-rewinding behavior and set it).

In that case we should actually respect the hold time and update the start time
when resuming the animation. However, ResumeAt won't update the start time if it
is already set.

This patch fixes that by clearing the start time in DoPlay in the case where we
are aborting a pause and have a hold time.

--HG--
extra : rebase_source : 83f980d6cbc34375274f30f6527992b4fec7f639
2015-05-08 16:17:13 +09:00
Cameron McCormack 45163479b0 Bug 1163446 - Followup to add the actual test. 2015-05-11 12:27:08 +10:00
Cameron McCormack 8f153827fb Bug 1163446 - Drop reference to FontFace once a FontFaceBufferSource is loaded. r=jdaggett 2015-05-11 11:24:49 +10:00
Cameron McCormack 91197585f6 Bug 1161366 - Correctly set referrer when loading fonts with |new FontFace()|. r=dbaron 2015-05-05 19:55:28 +10:00
Cameron McCormack 5c5b8c9484 Bug 1153693 - Followup test change. 2015-04-13 16:36:14 +10:00
Cameron McCormack df13ff4889 Bug 1153693 - Only call ReleaseRef on nsStyle{ClipPath,Filter} once when setting a new value. r=dbaron 2015-04-13 12:34:15 +10:00
Cameron McCormack eff3f9d4c4 Bug 1139723 - Turn on expensive style struct assertions for 1136010-1.html, and fix pref name typo. r=dbaron 2015-03-05 14:46:18 +11:00
Cameron McCormack 5ca39a7a39 Bug 1136010 - Don't coalesce style contexts added to RestyleManager::mContextsToClear. r=dbaron 2015-03-04 18:06:29 +11:00
Jesse Ruderman c91b23533e Bug 559491 - crashtest. 2014-11-23 15:09:51 +00:00
Cameron McCormack 2c2626a679 Bug 1089463 - Clear an element's restyle bits when inserting into a shadow tree. r=bzbarsky 2014-11-15 09:08:21 +11:00
Brian Birtles cf167e36af Bug 1074651 - Detect integer overflow in BaseTimeDuration::TicksFromMilliseconds; r=bz 2014-10-02 15:14:12 +09:00
Daniel Holbert e0b9e676dc Bug 1066089: add crashtest. (test-only) 2014-09-23 14:12:54 -07:00
L. David Baron a970368ff2 Bug 972199 followup - use crashtest manifest rather than setBoolPref so that all later crashtests aren't affected by the pref change. No review. 2014-08-06 22:58:43 -07:00
Mats Palmgren d4a41f8618 Bug 637242, patch 3 of 3: crashtest. r=dbaron 2014-07-13 13:01:44 +00:00
Brian Birtles 51cf0526d8 Bug 1028514 - Check for integer overflow when converting from floating-point number milliseconds; r=froydnj
In TimeStamp_windows.cpp and TimeStamp_darwin.cpp, in
TimeStamp::FromMilliseconds we cast the floating-point number of ticks to
a 64-bit integer before passing to TimeStamp::FromTicks(int64_t).
This means that we skip the check for integer overflow performed by
TimeStamp::FromTicks(double).

This patch simply removes that cast so that we perform overflow checking.

It also adds an assertion to ElementAnimation since this is one place where
the lack of overflow checking was producing a negative value where it should
not.
2014-06-25 09:42:18 +09:00
David Major e390b7e97c Bug 576435 - Use the clamping variant of NSToCoordRound to avoid rounding nscoord_MAX. r=roc 2014-06-24 15:47:02 +12:00
Cameron McCormack 1eb6e77616 Bug 1017798 - Part 3: Crashtest. r=bzbarsky 2014-06-06 17:51:25 +10:00
Cameron McCormack df0af63410 Bug 992333 - Skip custom properties when looking for properties to transition. r=dbaron 2014-04-13 11:44:31 +10:00
L. David Baron 2fe45fbadd Bug 975397 - Call TrackImage when constructing a new nsStyleBorder. r=heycam
I confirmed that the crashtest crashes in the harness without the patch.

--HG--
rename : layout/reftests/backgrounds/blue-32x32.png => layout/style/crashtests/blue-32x32.png
2014-04-02 22:56:19 -07:00
Cameron McCormack b40f160398 Bug 989965 - Resolve style for pseudo-elements correctly when style rules that have user action pseudo-classes on them are present. r=bzbarsky 2014-04-02 15:08:52 +11:00
Brian Birtles cc4e645610 Bug 972199 part 2 - Add a crashtest for restoring the refresh driver after an advance; r=nrc
In this crash test we restore the refresh driver after manually advancing it.
This causes a situation where a layer has an animation that has yet to start.

Prior to modifying ElementAnimations::GetPositionIteration this test case would
trip an assertion there that rejected negative elapsed times when called from
the compositor thread.
2014-03-05 10:19:15 +09:00
William Chen 982c2340c8 Bug 973321 - Prevent int overflow in border image width calculation. r=dbaron 2014-02-18 14:14:31 -08:00
Cameron McCormack c568af0049 Bug 945048 - Correctly check for the CSS_PSEUDO_ELEMENT_SUPPORTS_USER_ACTION_STATE flag when parsing pseudo-classes after pseudo-elements. r=bz 2013-12-02 13:06:20 +11: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
John Daggett e86732f90b Bug 915440. Crashtest for empty font URL. r=me 2013-10-22 13:06:20 +02:00
Jesse Ruderman ece1cef136 Crashtest for bug 861489. 2013-09-17 20:46:17 -07: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 a6f1b20e1a Bug 873222 - check unit-type of font-synthesis value before use. r=dbaron 2013-06-27 14:43:00 +09:00
L. David Baron d34aaed0bf Bug 807184 patch 1: Fix uses in tests of prefixed -moz-initial. r=dholbert 2013-06-20 18:31:27 -07:00
Andrew McCreight 0718a98afd Bug 829817 - Cycle collect nsCSSPageRule. r=dbaron 2013-06-13 15:13:13 -07:00
Andrew McCreight 765c2d3211 Bug 880862 - nsUserFontSet::Destroy() should clear mRules. r=jdaggett 2013-06-11 15:20:04 -07:00
Daniel Holbert 45060ddc8d Bug 585185: Parse font-sizes as non-negative, in 'font' shorthand. r=dbaron 2013-05-24 09:39:03 +08:00
Boris Zbarsky c18bdb2db8 Bug 867487. Make sure we don't think we're cloning a complete sheet when we're actually cloning a loading one because the complete sheet was dirty. r=dbaron 2013-05-23 09:20:52 -04:00
Boris Zbarsky efe4d8a5a5 Bug 862113. Fix test for CSS2 pseudo-elements to not trigger assertions. r=dholbert 2013-04-18 01:21:46 -04:00
Daniel Holbert 32511651c4 Bug 473236, 2013 edition: Remove executable bit from files that clearly don't need it (html, xhtml, xul, svg, png, jpg, ttf files in test dirs within /layout). DONTBUILD 2013-03-25 17:01:35 -07:00
Zack Weinberg dd8331da7a Bug 842134: fix serialization of unquoted url() in CSS. r=heycam 2013-02-17 22:03:55 -05:00
Boris Zbarsky 0236f0c5b6 Bug 840898. Flag our nullable return value as actually being nullable. r=tbsaunde 2013-02-15 22:36:15 -05:00
Martijn Wargers 502e893be7 Bug 368740 - crashtest 2013-01-26 21:28:56 +01:00
Martijn Wargers b668ae5ad0 Bug 363950 - crashtest. 2013-01-26 14:15:30 +01:00
Brendan Dahl da1c0a3d9e Bug 827591 - Be more careful changing declarations on page rules. r=dbaron 2013-01-09 10:33:09 -08:00
Boris Zbarsky 75d26f98a1 Bug 822766. Be a bit more careful with our level assert in ReplaceAnimationRule. r=dbaron 2012-12-22 00:27:27 -08:00
Trevor Saunders a9e67d2fa7 bug 822842 - crash when nsROCSSPrimitiveValue::Reset() is called multiple times r=bz 2012-12-18 21:29:23 -05:00
Kyle Huey 83feb11ffb Bug 812824: Use a clean struct for inheritance on root nodes. r=dbaron,Waldo 2012-11-28 13:21:36 -08:00
Jesse Ruderman 8b32923325 Testcase for bug 806310. 2012-11-09 20:18:36 -08:00
Seth Fowler 15aee59cde Bug 786108 - Cache UTF-16 version of URI to prevent repeated conversions in the CSS scanner, and free the cache after a short time. r=bz 2012-10-03 15:28:57 -07:00
Ed Morley d3c2c6f0a2 Backout ec0dcd401a3f (bug 786108) for crashes 2012-09-28 22:04:56 +01:00
Seth Fowler c8791ccf26 Bug 786108 - Cache UTF-16 version of URI to prevent repeated conversions in the CSS scanner, and free the cache after a short time. r=bz 2012-09-28 09:56:47 -07:00
Mats Palmgren 6eaf6d0d2b Bug 788836 - Simplify @-keyword parsing by letting ParseAtKeyword deal with everthing after the @. Make it pass the first char to GatherIdent so that it returns false for a bad escape sequence at the start. r=dbaron 2012-09-12 00:20:52 +02:00
Emmanuele Bassi 0bfd16993e Bug 762303 - Unprefix CSS Transition properties and provide temporary aliases for -moz-transition and exposed subproperties. r=dbaron 2012-07-08 21:25:10 -04:00
Lazar Sumar 722dd03f66 Bug 729126 - Make NS_ABORT_IF_FALSE fire on failure for only some callers of AddCSSValuePixelPercentCalc (the existing ones, and not the new ones added in bug 522607). r=dbaron 2012-02-23 11:40:41 +13:00
Boris Zbarsky 36ee7fc855 Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking 2011-11-07 23:41:17 -05:00
Ed Morley 909149e93b Backout changeset 27b8e5fb9699 (bug 700116) for reftest failures; a=philor 2011-11-08 07:38:22 +00:00
Boris Zbarsky 8ecb4f82d6 Bug 700116. Fix the ordering if IsAlternate calls and sheet state determination so that the hashtable munging IsAlternate can do doesn't mess up our sheet states. r=sicking 2011-11-07 23:41:17 -05:00
Boris Zbarsky 97dfd95cc1 Bug 696188. Fix leak when adding different transform lists for animation. r=dholbert 2011-10-25 12:58:35 -04:00
Boris Zbarsky 11b5bde3e2 Bug 690990. Don't assert that sheets are not modified when it would be just fine for them to be modified. r=peterv 2011-10-03 15:11:59 -04:00
Boris Zbarsky 77d1e9b388 Bug 460323 testcase. 2011-09-28 15:28:33 -04:00
Jonathan Kew cc5d0a5cbe bug 671799 followup - mark crashtest assertions as being expected, r=orange 2011-07-15 16:56:59 +01:00
Jonathan Kew 5cc3e7547d bug 671799 - add tests for null URI in @font-face load-failure logging. r=bzbarsky 2011-07-15 15:52:29 +01:00
Daniel Holbert c25dc9c3aa Bug 665209: Disable recursive image loads in content(). r=bz 2011-06-22 22:21:47 -07:00
Jesse Ruderman fb3b384230 Add crashtest from bug 588627 2011-06-20 11:42:05 -07:00
Boris Zbarsky 9c81f50645 Bug 611922. When reparenting style contexts, use the visitedness of our new parent unless we're the style context for a link. In that situation, assume that our visitedness did not change. r=dbaron 2011-05-20 16:21:27 -04:00
Jesse Ruderman 64f785e38c Bug 645142 - A crash test. r=dbaron 2011-05-11 18:49:57 +02:00
L. David Baron b431403ede Don't call SetSheet with a null sheet. (Bug 645951) r=bzbarsky 2011-03-29 20:46:12 -07:00
Boris Zbarsky a593182495 Bug 605689. Copy mUnknownProperty correctly. r=dbaron, a=blocker 2010-10-20 20:24:16 -04:00
L. David Baron 2e1d6457fd Don't hit assertion when calling getPropertyPriority on unknown property. (Bug 601439) r=bzbarsky a2.0=dbaron 2010-10-17 19:36:26 -07:00
L. David Baron 21d281863f Give nsCSSFontFaceRule a copy-constructor that doesn't copy the reference count. (Bug 601437) r=bzbarsky a2.0=blocking2.0:final 2010-10-06 21:25:47 -07:00
Boris Zbarsky 840fa6f0e1 Bug 592698. We might not have a presshell by this point, so null-check it. r=dbaron 2010-09-15 12:40:11 -07:00
L. David Baron f4c51b73b2 Rename -moz-box-shadow to box-shadow: mechanical changes. (Bug 590039) r=bzbarsky a2.0=blocking2.0:beta6
Generated with:
find * -type f -exec sed -i -e 's/\<MozBoxShadow\>/boxShadow/g;s/-moz-box-shadow/box-shadow/gi' {} \;
2010-09-11 09:27:12 -07:00
L. David Baron 7d7660f740 Fix bustage from bug 570329 with s/windowsWidget/winWidget/g. 2010-07-30 20:50:52 -07:00
L. David Baron b0ac8dc333 Switch reftest manifests to new, shorter syntax for widget toolkit tests. (Bug 570329) a2.0=tests
This patch was created by running the following sed commands:
s/MOZ_WIDGET_TOOLKIT=="\(gtk2\|cocoa\|qt\|windows\)"/\1Widget/g
s/MOZ_WIDGET_TOOLKIT!="\(gtk2\|cocoa\|qt\|windows\)"/!\1Widget/g
on all *.list files in the tree.
2010-07-30 16:48:57 -07:00
Boris Zbarsky 69d8c3830b Bug 580685. We might not have a root element to resolve 'rem' against. r=dbaron 2010-07-22 17:33:37 -04:00
Jesse Ruderman 3aa2e3fa71 Add bug numbers for all remaining asserts() annotations in crashtests and reftests 2010-07-01 19:33:56 -07:00
Boris Zbarsky 5f1001dd6d Adding bug 573127 test 2010-06-23 01:43:17 -04:00
Jesse Ruderman 73e0f6b5f2 Add some crashtests and reftests
--HG--
extra : rebase_source : a167ccf140387fa50e3668422b5a74bea0527255
2010-06-17 13:21:24 -07:00
Boris Zbarsky 00f4b8a8ca Bug 571105. Don't force creation of an if-visited style contest if we don't actually need one. r=dbaron 2010-06-14 16:06:48 -04:00
Boris Zbarsky 6fc99eb310 Bug 558943. Pass the right value for aIsLink from ReparentStyleContext. r=dbaron 2010-06-08 15:58:26 -04:00
Ehsan Akhgari c9c8c3c5b3 Bug 336104 - "ASSERTION: no frame, see bug #188946"; r=roc,dbaron 2010-05-21 16:36:42 -04:00
L. David Baron 494c35914d Avoid wrapping to negative font sizes. (Bug 565248) r=roc 2010-05-13 19:36:48 -07:00
L. David Baron c4eb38acd9 Annotate remainder of crashtest mainfests (all but one test) with the tests that are known to assert. (Bug 472557) 2010-05-06 09:28:01 -07:00
L. David Baron fa654ea00f Set NS_STYLE_RELEVANT_LINK_IS_VISITED when appropriate. (Bug 147777) r=bzbarsky 2010-04-02 18:58:27 -07:00
Boris Zbarsky f203c2ec0f Bug 509569. Avoid assertion by not storing structs with unused inherit logical box props in them, even though it would be ok to do so. r=dbaron 2010-04-01 22:09:05 -04:00
Zack Weinberg 467d507067 Bug 498036: Report malformed URIs in @import rules to the error console, not by setting the parser's low-level error flag. r=bz 2010-02-17 13:02:56 -08:00
Boris Zbarsky 3d37798b11 Bug 536789. Null-check the body, since we might not have one. r=dbaron 2009-12-27 08:48:10 -05:00
Daniel Holbert e0fbc42788 Bug 522320: Mask out internally-used OVERRIDE_ALL bit before trying to convert "text-decoration" values to strings. r=dbaron 2009-10-24 20:51:45 -07:00
Jesse Ruderman fbaaa060e5 Add more crashtests 2009-08-27 21:11:40 -07:00
Jesse Ruderman e1c6eeae90 Add crashtests 2009-08-27 19:48:20 -07:00
Zack Weinberg eb2100a887 Fix DEBUG-only crash parsing empty 'src' descriptor of @font-face rule. (Bug 511304) r=dbaron 2009-08-20 14:52:47 -07:00
Boris Zbarsky 294d2e51ec Bug 509155. Don't store outline structs in the rule tree if outline-color:inherit is set on the root element. r=dbaron 2009-08-10 10:54:22 -04:00
Boris Zbarsky 3a7c74d351 Bug 509156. Don't assert on GetUniqueStyleData calls if we're using our parent's struct before the call. r=dbaron 2009-08-10 10:54:21 -04:00
L. David Baron fdf121fa7c Don't resolve a new context for the root when we're computing rem units for the root. (Bug 478321) r=bzbarsky 2009-08-01 08:53:40 -07:00
Shawn Wilsher 0250f35c11 Backed out changeset 8506b25206cf (bug 504311) because the test added uses enablePrivilege which hangs tinderbox asking for privileges. 2009-07-30 13:16:15 -07:00
Robert O'Callahan 3a0de712cc Bug 504311. Don't reframe text when white-space changes between preformatted values, or between non-preformatted values. r=bz
--HG--
extra : rebase_source : 7f545ad1d85bcda74d18d9308539b45149a4a194
2009-07-30 15:02:22 +12:00
Boris Zbarsky d2c3684946 Bug 495269. Fix our detection of @import rules when cloning sheets. r+sr=dbaron 2009-05-28 18:16:31 -04:00
Daniel.S 8c314c3895 Add test for bug 317561. 2009-04-23 10:17:40 -04:00
Jesse Ruderman 397e21afab Add a bunch of crashtests 2009-02-10 22:18:05 -08:00
Jesse Ruderman e6ffd994a3 Add some crashtests 2009-02-10 16:36:04 -08:00
Jesse Ruderman c71da356d4 Skip long-url-list-stack-overflow.html because it keeps timing out. See bug 477490. 2009-02-08 09:15:15 -08:00
Jesse Ruderman 4d5ffd6842 Add crashtests for the following bugs: https://bugzilla.mozilla.org/buglist.cgi?quicksearch=328944+401042+413085+416461+431705+437142+449006+463741+465651+472782+474744 2009-02-07 21:33:31 -08:00
John Daggett 4fa1e0a97e Bug 474704 - drop channel on cross-site load failure to avoid leak. r=bz,jonas, sr=jonas 2009-01-31 17:58:42 +09:00
L. David Baron ac63f0ffe2 Some additional tests for 'rem' unit from css3-values. (Bug 472195) 2009-01-20 13:58:48 -08:00
L. David Baron 7e835827aa Avoid building user font set when handling units involving font metrics in media query expressions. (Bug 473892) r+sr=bzbarsky 2009-01-16 19:44:21 -08:00
L. David Baron ec41673b0d Avoid recursion after parsing CSS comments. (Bug 473914) r+sr=bzbarsky 2009-01-16 19:44:21 -08:00
Zack Weinberg 2e3270b262 Bug 473720: don't treat a parse error in a known CSS @-rule as an unknown @-rule r+sr=dbaron 2009-01-16 19:44:20 -08:00
Jeff Walden 9dd8a0c775 Bug 473911 - Crash due to too much recursion in nsCSSDocumentRule::URL::~URL. r+sr=dbaron 2009-01-16 15:33:57 -08:00
John Daggett 23fe0a5fab change crashtest for 472237 to use local font 2009-01-08 17:36:24 +09:00
John Daggett ed52e0fd79 Bug 472237 - check for null user font set before using. r+sr=dbaron 2009-01-07 13:45:41 +09:00
Daniel.S afc29208b0 Adding crashtest 2008-12-28 12:14:28 -08:00
L. David Baron 5f8a99c47d Disable -moz-transform and -moz-transform-origin for :first-line and :first-letter pseudo-elements. (Bug 466845) r+sr=bzbarsky a=blocking1.9.1+ 2008-12-12 10:59:03 -08:00
L. David Baron 385ed10f75 Use a local stack rather than the call stack in SkipUntil to avoid excessive recursion. (Bug 432561) r+sr=bzbarsky 2008-12-07 10:00:43 -08:00