Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.javascript > #4247

Re: When do elements get their style attribute values?

From dhtml <dhtmlkitchen@gmail.com>
Newsgroups comp.lang.javascript
Subject Re: When do elements get their style attribute values?
Date 2011-07-17 09:10 -0700
Organization http://groups.google.com
Message-ID <a476f91d-522f-4988-8667-53735cc47e7f@a2g2000prf.googlegroups.com> (permalink)
References (2 earlier) <timstreater-77DC5D.18214715072011@news.individual.net> <2976520.SPkdTlGXAF@PointedEars.de> <timstreater-2B95E1.21504315072011@news.individual.net> <3f5e837b-b881-44fd-a5b2-1632be2d684a@r5g2000prf.googlegroups.com> <timstreater-2926CA.09110617072011@news.individual.net>

Show all headers | View raw


On Jul 17, 1:11 am, Tim Streater <timstrea...@greenbee.net> wrote:
> In article
> <3f5e837b-b881-44fd-a5b2-1632be2d6...@r5g2000prf.googlegroups.com>,
>
>  dhtml <dhtmlkitc...@gmail.com> wrote:
> > Where the style for `e` is defined? Is it in style attribute? An
> > external stylesheet? In a STYLE element in the head?
>
> It's in an external style sheet.
>
The title of the thread is "When do elements get their style attribute
values?" which got me to thinking about how the browser parses start
tag. The term "attribute" has a specific meaning when talking about an
element. Your problem is not that.

Your problem is that you have is an external stylesheet and you to
know was when elements get their styles from that.

Diego stated: "OK, in Safari it seems stylesheet are loaded
asynchronously." However I'm thinking onload shouldn't fire until
after all stylesheets have loaded. Can you upload a reduced test case
so we can see what's going on?

> "That excessive bail ought not to be required, nor excessive fines imposed,
> nor cruel and unusual punishments inflicted"  --  Bill of Rights 1689
An historical document having little bearing on law in America
(unfortunately).
--
Garrett

Back to comp.lang.javascript | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-12 17:14 +0100
  Re: When do elements get their style attribute values? Martin Honnen <mahotrash@yahoo.de> - 2011-07-12 18:20 +0200
    Re: When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-12 17:44 +0100
  Re: When do elements get their style attribute values? Hans-Georg Michna <hans-georgNoEmailPlease@michna.com> - 2011-07-13 15:27 +0200
    Re: When do elements get their style attribute values? "Evertjan." <exjxw.hannivoort@interxnl.net> - 2011-07-13 13:37 +0000
    Re: When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-13 14:49 +0100
      Re: When do elements get their style attribute values? Hans-Georg Michna <hans-georgNoEmailPlease@michna.com> - 2011-07-14 20:24 +0200
        Re: When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-14 22:08 +0100
  Re: When do elements get their style attribute values? RobG <rgqld@iinet.net.au> - 2011-07-14 16:08 -0700
    Re: When do elements get their style attribute values? Andrew Poulos <ap_prog@hotmail.com> - 2011-07-15 12:50 +1000
    Re: When do elements get their style attribute values? SteveYoungTbird <stephen.young@chello.at> - 2011-07-15 16:43 +0200
    Re: When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-15 18:21 +0100
      Re: When do elements get their style attribute values? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-15 20:11 +0200
        Re: When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-15 21:50 +0100
          Re: When do elements get their style attribute values? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-16 11:11 +0200
            Re: When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-16 12:38 +0100
              Re: When do elements get their style attribute values? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-17 02:43 +0200
                Re: When do elements get their style attribute values? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-17 02:45 +0200
          Re: When do elements get their style attribute values? dhtml <dhtmlkitchen@gmail.com> - 2011-07-16 19:12 -0700
            Re: When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-17 09:11 +0100
              Re: When do elements get their style attribute values? dhtml <dhtmlkitchen@gmail.com> - 2011-07-17 09:10 -0700
                Re: When do elements get their style attribute values? Tim Streater <timstreater@greenbee.net> - 2011-07-17 20:18 +0100
                Re: When do elements get their style attribute values? dhtml <dhtmlkitchen@gmail.com> - 2011-07-17 22:30 -0700
          Re: When do elements get their style attribute values? dhtml <dhtmlkitchen@gmail.com> - 2011-07-16 19:18 -0700
        Re: When do elements get their style attribute values? SteveYoungTbird <stephen.young@chello.at> - 2011-07-16 10:47 +0200
          Re: When do elements get their style attribute values? Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2011-07-16 11:01 +0200

csiph-web