Re: [css-houdini-drafts] [css-typed-om] [css-paint-api] What happens to unsupported property names in the registered paint styleMap?

On a related note, what would be the behaviour of iterating over unregistered custom properties that were not specified? E.g. `inputProperties` has `--bar` but `--bar` is never referenced anywhere in the file, and then we get all property/value pairs in `styleMap`.

They're not "unsupported", e.g. `styleMap.get("--bar")` doesn't throw an error, but returns null. I see two options:

1. Just ignore them like invalid properties.
2. Return `(--bar, null)` as the entry.

-- 
GitHub Notification of comment by darrnshn
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/523#issuecomment-357142024 using your GitHub account

Received on Friday, 12 January 2018 04:44:14 UTC