Skip to content

Commit

Permalink
[Tests] Add parsing exception for "cursor" CSS property (#551)
Browse files Browse the repository at this point in the history
The `cursor` property definition now uses a stack combinator `#?`, which is not
supported by the `css-tree` parser. Adding the property to the list of
exceptions as a result.
  • Loading branch information
tidoust authored Apr 7, 2022
1 parent 2830b13 commit c554932
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion test/css/all.js
Original file line number Diff line number Diff line change
Expand Up @@ -24,11 +24,21 @@ const cssValues = [

// TEMP: constructs that are not yet supported by the parser
// See: https://github.com/w3c/reffy/issues/494#issuecomment-790713119
// (last validated on 2021-12-17)
// (last validated on 2022-04-07)
const tempIgnore = [
// Stacked combinator "+#?" not supported by css-tree
{ shortname: 'css-extensions', prop: 'valuespaces', name: '<custom-selector>' },

// Stacked combinator "#?" not supported by css-tree
{ shortname: 'css-ui', prop: 'properties', name: 'cursor' },

// Stacked combinator "+#" not supported by css-tree
{ shortname: 'fill-stroke', prop: 'properties', name: 'stroke-dasharray' },

// Unescaped comma with multiplier ",*" not supported by css-tree
{ shortname: 'svg-animations', prop: 'valuespaces', name: '<control-point>' },

// Stacked combinator "#*" not supported by css-tree
{ shortname: 'svg-strokes', prop: 'valuespaces', name: '<dasharray>' }
];

Expand Down

0 comments on commit c554932

Please sign in to comment.