Skip to content

Commit aaf3e8a

Browse files
committed
Update at-keyframes syntax tests
Prepare for future changes to core CSS syntax. Avoid failing tests.
1 parent 2db653c commit aaf3e8a

File tree

1 file changed

+27
-11
lines changed

1 file changed

+27
-11
lines changed

tests/syntax_test_css.less

Lines changed: 27 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -728,19 +728,35 @@
728728
/* ^ meta.number.integer.decimal.css constant.numeric.value.css */
729729
/* ^^ meta.number.integer.decimal.css constant.numeric.suffix.css */
730730
731-
@keyframes beat, "bounce", none {}
732-
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.at-rule.keyframe.css - meta.block */
733-
/* ^^ meta.at-rule.keyframe.css meta.block.css - meta.property-list */
734-
/* ^ - meta.at-rule - meta.block */
731+
@keyframes beat {}
732+
/* ^^^^^^^^^^^^^^^^ meta.at-rule.keyframe.css - meta.block */
733+
/* ^^ meta.at-rule.keyframe.css meta.block.css */
734+
/* ^ - meta.at-rule - meta.block */
735735
/* ^ keyword.control.directive.css punctuation.definition.keyword.css */
736736
/* ^^^^^^^^^ keyword.control.directive.css - punctuation */
737737
/* ^^^^ entity.other.animation-name.css */
738-
/* ^ punctuation.separator.sequence.css */
739-
/* ^^^^^^^^ meta.string.css string.quoted.double.css */
740-
/* ^ punctuation.separator.sequence.css */
741-
/* ^^^^ invalid.illegal.identifier.css */
742-
/* ^ punctuation.section.block.begin.css */
743-
/* ^ punctuation.section.block.end.css */
738+
/* ^ punctuation.section.block.begin.css */
739+
/* ^ punctuation.section.block.end.css */
740+
741+
@keyframes "beat" {}
742+
/* ^^^^^^^^^^^^^^^^^^ meta.at-rule.keyframe.css - meta.block */
743+
/* ^^ meta.at-rule.keyframe.css meta.block.css */
744+
/* ^ - meta.at-rule - meta.block */
745+
/* ^ keyword.control.directive.css punctuation.definition.keyword.css */
746+
/* ^^^^^^^^^ keyword.control.directive.css - punctuation */
747+
/* ^^^^^^ meta.string.css string.quoted.double.css */
748+
/* ^ punctuation.section.block.begin.css */
749+
/* ^ punctuation.section.block.end.css */
750+
751+
@keyframes none {}
752+
/* ^^^^^^^^^^^^^^^^ meta.at-rule.keyframe.css - meta.block */
753+
/* ^^ meta.at-rule.keyframe.css meta.block.css */
754+
/* ^ - meta.at-rule - meta.block */
755+
/* ^ keyword.control.directive.css punctuation.definition.keyword.css */
756+
/* ^^^^^^^^^ keyword.control.directive.css - punctuation */
757+
/* ^^^^ invalid.illegal.identifier.css */
758+
/* ^ punctuation.section.block.begin.css */
759+
/* ^ punctuation.section.block.end.css */
744760
745761
@keyframes- beat, bounce {}
746762
/* ^^^^^^^^^^^^^^^^^^^^^^^^^^^ meta.at-rule.other.css */
@@ -801,7 +817,7 @@
801817
/* ^^ keyword.other.selector.css */
802818
803819
@media ;
804-
/* ^^^^^^^^ - keyword - punctuation */
820+
/* ^^^^^^^ - keyword - punctuation */
805821
806822
body {}
807823
/* ^^^^^^^^ - entity - support */

0 commit comments

Comments
 (0)