use decl.prop instead of undefined decl.name
While working on TypeScript types in the oxide version, I noticed that we used `decl.name`, which is not defined... oops!
This commit is contained in:
parent
5d4949845a
commit
fde30c307e
1 changed files with 1 additions and 1 deletions
|
|
@ -412,7 +412,7 @@ function isParsableNode(node) {
|
|||
let isParsable = true
|
||||
|
||||
node.walkDecls((decl) => {
|
||||
if (!isParsableCssValue(decl.name, decl.value)) {
|
||||
if (!isParsableCssValue(decl.prop, decl.value)) {
|
||||
isParsable = false
|
||||
return false
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue