Laurent Jouanneau wrote:
- if I could use this sort of property on any tag :
display:-moz-line-break;
so the tag act as <br>
tagname:after { white-space: pre; content: "\A"; }
- if I could use :
background-image:url(attr(src));
width: -moz-of-background-image;
height: -moz-of-background-image;
on a tag like this : <myMediaTag src="foo.png" />, so it acts as a
<img> tag.
This one is tougher. There are CSS3 proposals to do this; most simply:
myMediaTag { content: url(attr(src)); }
What do you think about this ideas ? is it feasible by hacking the layout ?
Depends on how much hacking you want to do. ;) Everything is feasible in the
end... ;)
-Boris
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout