tree: 14c2281aea97a7062c41eb19064feeea8d6cb9f7 [path history] [tgz]
  1. 3d/
  2. animationworklet/
  3. composition/
  4. custom-properties/
  5. direction-and-fill/
  6. events/
  7. hit-testing/
  8. interpolation/
  9. prefixed/
  10. resources/
  11. responsive/
  12. stability/
  13. svg/
  14. timing/
  15. usecounters/
  16. web-animations/
  17. add-keyframes-in-shadow-recalc.html
  18. add-keyframes-recalc.html
  19. additive-transform-animations-expected.html
  20. additive-transform-animations.html
  21. animation-border-overflow-expected.txt
  22. animation-border-overflow.html
  23. animation-cancel-in-raf.html
  24. animation-css-rule-types.html
  25. animation-delay-updates-animation.html
  26. animation-finish-in-raf.html
  27. animation-finish-promise-gc.html
  28. animation-matrix-negative-scale-unmatrix.html
  29. animation-none-keyword-expected.txt
  30. animation-none-keyword.html
  31. animation-paused-hardware-expected.html
  32. animation-paused-hardware.html
  33. animation-properties-in-keyframe-are-ignored-expected.txt
  34. animation-properties-in-keyframe-are-ignored.html
  35. animation-pseudo-rem.html
  36. animation-shorthand-name-order.html
  37. animation-shorthand-overriding.html
  38. animation-shorthand-removed.html
  39. animation-start-expected.txt
  40. animation-start-option.html
  41. animation-start.html
  42. animations-csstext.html
  43. animations-parsing-001.html
  44. animations-parsing-002.html
  45. animations-parsing-003.html
  46. animations-parsing-004.html
  47. animations-parsing-005.html
  48. big-number-clamping.html
  49. big-rotation-expected.txt
  50. big-rotation.html
  51. cascade-important-expected.txt
  52. cascade-important.html
  53. change-in-animation-frame.html
  54. change-keyframes-name.html
  55. change-keyframes.html
  56. change-one-anim.html
  57. change-transform-style-during-animation-expected.html
  58. change-transform-style-during-animation.html
  59. combo-transform-rotate+scale-expected.txt
  60. combo-transform-rotate+scale.html
  61. composited-filter-animation-expected.html
  62. composited-filter-animation.html
  63. compounding-transitions-on-repeatable-list.html
  64. computed-style.html
  65. cross-fade-background-image-expected.html
  66. cross-fade-background-image.html
  67. cross-fade-border-image-source-expected.txt
  68. cross-fade-border-image-source.html
  69. cross-fade-list-style-image-expected.html
  70. cross-fade-list-style-image.html
  71. cross-fade-webkit-mask-box-image-expected.html
  72. cross-fade-webkit-mask-box-image.html
  73. DIR_METADATA
  74. display-change-does-not-terminate-animation.html
  75. display-inline-style-adjust-expected.html
  76. display-inline-style-adjust.html
  77. display-none-cancel-computedstyle.html
  78. display-none-cancels-nested-animations.html
  79. display-none-iframe-has-no-animation.html
  80. display-none-terminates-animation.html
  81. duplicated-keyframes-name-expected.txt
  82. duplicated-keyframes-name.html
  83. dynamic-stylesheet-loading-expected.txt
  84. dynamic-stylesheet-loading.html
  85. element-animate-no-style-recalc.html
  86. end-exclusive-expected.txt
  87. end-exclusive.html
  88. fill-unset-properties.html
  89. font-size-using-ems.html
  90. generic-from-to-expected.txt
  91. generic-from-to.html
  92. getAnimations-css.html
  93. import-expected.txt
  94. import.html
  95. inline-transform-expected.html
  96. inline-transform.html
  97. insert-composited-animation-expected.html
  98. insert-composited-animation.html
  99. insert-style-dependent-animation-expected.html
  100. insert-style-dependent-animation.html
  101. keyframe-autoclose-brace.html
  102. keyframe-default-timing-function-expected.txt
  103. keyframe-default-timing-function.html
  104. keyframe-rule-cssom-modify-deleted-crash.html
  105. keyframe-selector-negative-percentage.html
  106. keyframe-timing-functions-multiple-properties-expected.txt
  107. keyframe-timing-functions-multiple-properties.html
  108. keyframes-append-rule.html
  109. keyframes-comma-separated-expected.txt
  110. keyframes-comma-separated.html
  111. keyframes-cssom-change-name-updates-animation.html
  112. keyframes-cssom-duplicate-offsets.html
  113. keyframes-cssom-updates-animation.html
  114. keyframes-cssom-updates-compositor-animation.html
  115. keyframes-duplicate-offsets.html
  116. keyframes-expected.txt
  117. keyframes-find-rule.html
  118. keyframes-infinite-iterations-expected.txt
  119. keyframes-infinite-iterations.html
  120. keyframes-invalid-keys-expected.txt
  121. keyframes-invalid-keys.html
  122. keyframes-iteration-count-non-integer-expected.txt
  123. keyframes-iteration-count-non-integer.html
  124. keyframes-missing-arguments.html
  125. keyframes-out-of-order-expected.txt
  126. keyframes-out-of-order.html
  127. keyframes-rule.html
  128. keyframes-style-declaration-updates-animation.html
  129. keyframes.html
  130. lazy-detached-animation-stop.html
  131. line-height-animation-expected.txt
  132. line-height-animation.html
  133. matrix-anim-expected.txt
  134. matrix-anim.html
  135. missing-from-to-expected.txt
  136. missing-from-to-transforms-expected.txt
  137. missing-from-to-transforms.html
  138. missing-from-to.html
  139. missing-keyframe-properties-expected.txt
  140. missing-keyframe-properties-repeating-expected.txt
  141. missing-keyframe-properties-repeating.html
  142. missing-keyframe-properties.html
  143. multiple-animations-expected.txt
  144. multiple-animations.html
  145. multiple-keyframes-expected.txt
  146. multiple-keyframes.html
  147. multiple-same-name-css-animations.html
  148. negative-delay-expected.txt
  149. negative-delay.html
  150. neutral-keyframe-crashtest.html
  151. opacity-transform-animation-expected.html
  152. opacity-transform-animation.html
  153. perspective-expected.html
  154. perspective.html
  155. play-state-expected.txt
  156. play-state-initially-paused.html
  157. play-state.html
  158. README.md
  159. regression-1063652-crash-expected.txt
  160. regression-1063652-crash.html
  161. retain-zero-percent.html
  162. retarget-modified-transition.html
  163. reverse-transition-cross-browser.html
  164. reverse-transition-with-delay.html
  165. reverse-transition-with-easing.html
  166. reverse-transition-with-negative-delay.html
  167. reverse-transition.html
  168. rotate3d-negated-axes-expected.html
  169. rotate3d-negated-axes.html
  170. shorthand-unitless-zero.html
  171. simultaneous-start-left-expected.txt
  172. simultaneous-start-left.html
  173. simultaneous-start-transform-expected.txt
  174. simultaneous-start-transform.html
  175. single-frame-filter-animation-no-crash-expected.txt
  176. single-frame-filter-animation-no-crash.html
  177. some-keyframes-empty-expected.txt
  178. some-keyframes-empty.html
  179. stacked-neutral-keyframe-css-animations.html
  180. stacked-neutral-keyframe-expected.html
  181. stacked-neutral-keyframe.html
  182. start-time-grouping.html
  183. state-at-end-event.html
  184. svg-use-animation-crash.html
  185. transform-post-multiplication.html
  186. transition-and-animation-1.html
  187. transition-and-animation-2.html
  188. transition-and-animation-3.html
  189. transition-visited.html
  190. transition-zoomed-length.html
  191. transitions-replay.html
  192. unanimated-style-expected.txt
  193. unanimated-style.html
  194. underlying-background-position-edge.html
  195. unsigned-underflow-expected.txt
  196. unsigned-underflow.html
  197. visited-link-color-animation-expected.html
  198. visited-link-color-animation.html
  199. width-using-ems-expected.txt
  200. width-using-ems.html
  201. wrong-keyframe-name.html
third_party/blink/web_tests/animations/README.md

This directory contains test that rely in internal testing APIs as well as legacy tests, which should be migrated to WPT over time (or simply removed if we have the equivalent coverage in WPT). When fixing a test flake in this directory subtree, consider migrating to WPT if here only for legacy reasons.

Please avoid adding new tests to this directory or any of its sub-folders. New tests should be authored in WPT with few exceptions. The following guidelines may be useful for choosing where to place a test:

  • scroll-driven animation: external/wpt/scroll-animations
  • CSS transition: external/wpt/css/css-transitions
  • CSS animation: external/wpt/css/css-animations
  • web animations API: external/wpt/web-animations
  • animation worklet: external/wpt/animation-worklet
  • animated paint worklet: external/wpt/css/css-paint-api
  • animated transform: external/wpt/css/css-transforms/animation
  • background animation: external/wpt/css/css-backgrounds/animations
  • clip-path animation: external/wpt/css/css-masking/clip-path/animations

Exceptions to authoring in WPT are when an internal testing API is needed or testing Chromium specific behavior (e.g. compositor thread). Before adding a new internal API or adding a test based on an existing testing API, check if a similar problem has been solved in a WPT test. For example, the functionality in the internal animation pause API is fully replaceable with web-animation API calls that are supported on all browsers.

Please refer to README.md files in these WPT directories for more help on writing effective tests.

In some cases, multiple folders may seem appropriate (e.g. a scroll-driven transform), though even in these cases, one category may be more central to the test (common theme across sub-tests). If the sub-tests feel too disjoint to fall into a single category, then consider breaking into multiple tests.