Hacker News
new
|
past
|
comments
|
ask
|
show
|
jobs
|
submit
login
evanm
on Oct 24, 2014
|
parent
|
context
|
favorite
| on:
CSS-only plotting
Couldn't this be reduced by, like, a lot by simply using this CSS3 gem?
height: attr(sata-cp-size px);
bennettfeely
on Oct 24, 2014
|
next
[–]
Someday, but right now the support for using 'attr()' function in properties other than 'content' is very poor.
nness
on Oct 24, 2014
|
parent
|
next
[–]
Correct, attr() for use with anything than the content property is unsupported by most browsers.
(
https://developer.mozilla.org/en-US/docs/Web/CSS/attr
)
RussianCow
on Oct 24, 2014
|
prev
[–]
Yes, once we get to the point where we can stop supporting IE <= 9. :)
Guidelines
|
FAQ
|
Lists
|
API
|
Security
|
Legal
|
Apply to YC
|
Contact
Search:
height: attr(sata-cp-size px);