I didn't search too deeply, but I suspect it's because the <html> element is classed as js, and there are a significant number of styles in the CSS that are like this:

.js .inner{background:#1d335c;left:0;width:175%}

This is a commonly used approach, in which <html> is initially classed as .no-js, and then a script is run to change the class to .js. If it fails, you can assume that JavaScript is not enabled, and style with the possibility of either .js or .no-js as an ancestor.

Rick Gordon

------------------------
On 6/23/14 12:10 PM, "Tom Livingston" wrote:

On Mon, Jun 23, 2014 at 3:08 PM, Norman Fournier
        I don't understand why any browser showed any content at all.
The selector needed JS to be active, but I tried my browser with and
without JS and I still saw the content...

Odd one.


___________________________________________
RICK GORDON
EMERALD VALLEY GRAPHICS AND CONSULTING
___________________________________________
WWW: http://www.shelterpub.com
______________________________________________________________________
css-discuss [css-d@lists.css-discuss.org]
http://www.css-discuss.org/mailman/listinfo/css-d
List wiki/FAQ -- http://css-discuss.incutio.com/
List policies -- http://css-discuss.org/policies.html
Supported by evolt.org -- http://www.evolt.org/help_support_evolt/

Reply via email to