On Monday, June 23, 2014, Rick Gordon <li...@rickgordon.com> wrote:

> 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:
>
>
Understood. But turning off js did not allow me to replicate the issue.
Regardless, you would think if a negative z index put the content behind a
solid blue div with js enabled - as is the case with the rule in the CSS -
why did anyone see any content at any time!?!?

Like I said, odd one.


-- 

Tom Livingston | Senior Front-End Developer | Media Logic |
ph: 518.456.3015x231 | fx: 518.456.4279 | mlinc.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