[css3-values] Implied types in attr()

Right now, the attr() section has an issue about implying the type of
attr() expressions when the property it's used in only accepts a
single type:

# Ideally, it shouldn't be necessary to specify
# the type if it is obvious. For example, this
# should be valid: ‘background-image: attr(href);’.
# This could be described as: "If the property only
# accepts one type of value (aside from ‘inherit’
# and ‘initial’), that type is implied".

This seems technically unworkable, as it would prevent us from ever
expanding such properties to accept multiple types of values in the
future without potentially breaking attr() usage in the wild.

We suggest just dropping the issue.  Any objections?

~TJ & Fantasai

Received on Monday, 10 October 2011 21:59:45 UTC