Re: blindness attempting to locate JS affect

Daniel Holbert <[email protected]>
Newsgroups gmane.comp.mozilla.devel.layout
Message-ID <[email protected]>
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?)
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.