Boris Zbarsky wrote:
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"; }
I will try it, thanks
- 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)); }
ok
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... ;)
i mean, feasible for those who know layout/css code :-) I don't know yet
this part of gecko, so for me, it is impossible ;-)
Thanks for all
Laurent
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout