Bug 1377053 - Add test for discrete interpolation of stroke-dasharray with 'none'; r=hiro

MozReview-Commit-ID: MuxvAeVwes

--HG--
extra : rebase_source : 6837b4273abee1f2c600524dd376c5e4698a691b
This commit is contained in:
Brian Birtles 2017-07-05 21:48:02 +09:00
parent 1e2aae7454
commit bf19615984
2 changed files with 5 additions and 2 deletions

View File

@ -220161,7 +220161,7 @@
"testharness"
],
"web-animations/animation-model/animation-types/property-list.js": [
"9dfb34806dfd264bb1155830b0548d53fcae9007",
"31ad7b4aa12e4485f95545b087779cabb56c696c",
"support"
],
"web-animations/animation-model/animation-types/property-types.js": [

View File

@ -1231,7 +1231,10 @@ var gCSSProperties = {
},
'stroke-dasharray': {
// https://svgwg.org/svg2-draft/painting.html#StrokeDasharrayProperty
types: [ 'dasharray' ]
types: [
'dasharray',
{ type: 'discrete', options: [ [ 'none', '10, 20' ] ] }
]
},
'stroke-dashoffset': {
// https://svgwg.org/svg2-draft/painting.html#StrokeDashoffsetProperty