- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 30 Aug 2011 13:47:47 -0700
- To: Charles Pritchard <chuck@jumis.com>
- Cc: "www-style@w3.org" <www-style@w3.org>
On Tue, Aug 30, 2011 at 1:38 PM, Charles Pritchard <chuck@jumis.com> wrote: > On 8/30/11 1:17 PM, Tab Atkins Jr. wrote: >> Relying on background-image and hidden content prevents you from doing >> certain useful things as well, like auto-sizing the element to the >> size of the element. >> >> The rendering of "content: url(foo.jpg) replaced;" is also already >> mostly in the browsers, so that's not a strong concern. > > Thanks for the reference to content: replaced; > How do I avoid re-flowing the content? > > content: url(img.jpg) replaced; is very different from > background: url(img.jpg); background-size: contain; > > One reflows content, one does not. Wait, so you want it to lay out like the normal contents were there, but display as if it were just the given image? Why? This seems unrelated to the use-case that I assumed you were trying to address in my first reply. ~TJ
Received on Tuesday, 30 August 2011 20:48:42 UTC