On 10/02/2014 10:35 AM, Felix Miata wrote:
> Anyone care to tell me what I've missed to explain why the
> attempt to enlarge the main ad image fails when JS is disabled, but the
> styles succeed to make the text larger regardless?

I haven't tried your user stylesheet, but Firefox's inspector shows that
the Craigslist image gets its "style" attribute set (with a
width/height), when scripts are enabled. It is not set when scripts are
disabled.

In particular: if I load w/o scripts, I get:
<img src="http://images.craigslist.org/00q0q_k4gMl3L1G1I_600x450.jpg";
title="image 1" alt="image 1">

...whereas if I load with scripts, I get a width & height in the style
attribute:
<img style="width: 600px; height: 450px;"
src="http://images.craigslist.org/00q0q_k4gMl3L1G1I_600x450.jpg";
title="image 1" alt="image 1">

Does that answer your question? (or at least move you in the right
direction?)
_______________________________________________
dev-tech-layout mailing list
[email protected]
https://lists.mozilla.org/listinfo/dev-tech-layout

Reply via email to