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


Groups > comp.lang.javascript > #30690

Re: Failing to get DIV content to flip between initial and alternate version

From Stanimir Stamenkov <s7an10@netscape.net>
Newsgroups comp.lang.javascript
Subject Re: Failing to get DIV content to flip between initial and alternate version
Date 2016-06-19 09:40 +0300
Organization A noiseless patient Spider
Message-ID <nk5ep5$hc5$1@dont-email.me> (permalink)
References <nk04oi$t3m$1@dont-email.me> <XnsA62A755FDFCC0eejj99@194.109.6.166> <9f7327d0-11b9-4ff1-98aa-e8f55701d962@googlegroups.com> <nk47km$81a$1@dont-email.me> <85fe3ea5-5a7f-4ae3-ba26-ee72c9ef9604@googlegroups.com>

Show all headers | View raw


Sat, 18 Jun 2016 13:50:58 -0700 (PDT), /Michael Haufe (TNO)/:
> On Saturday, June 18, 2016 at 2:32:43 PM UTC-5, Stanimir Stamenkov wrote:
>
>> As someone else has written in this thread, <script> will do in the
>> 21 century.  If the type is "text/javascript" specifying it is
>> pretty much redundant, and all examples I'm seeing in latest
>> specifications do not use 'type' attribute, if not necessary:
>>
>> https://www.w3.org/TR/html5/scripting-1.html#the-script-element
>>
>> (search for "<script" w/o quotes on the page)
>
> I would agree with you in principle only if the following is no
> longer considered valid and is ignored in HTML5:
>
> <https://www.w3.org/TR/html4/interact/scripts.html#h-18.2.2>

"As HTML does not rely on a specific scripting language, document 
authors must explicitly tell user agents the language of each script."

I suspect this has never been true in reality.  JavaScript has ever 
been the only scripting language on the Web.

> Also, contingent on downrev browser behavior. For instance, even
> though older IE versions would trigger strict mode when seeing
> the new doctype, they may indeed still follow the legacy
> algorithm for determining script type.

If one has to support older browser versions it would need to be 
tested, and adjusted if not really working there.  Have you 
experienced a case/browser where it is not working?

> How many browsers are considered 100% HTML5 compliant right now
> anyway? Not that they would need to be of course, but in this
> particular case I haven't seen any stats one way or another on
> whether this is implemented.

I'm speculating it is implemented in all recent version browsers, 
and probably supported by older version browsers, but I would like 
to see some representative stats, also.

-- 
Stanimir

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


Thread

Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-16 23:18 -0700
  Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-17 11:32 +0200
    Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-17 19:00 -0700
      Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-18 11:35 +0200
        Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-18 19:16 -0700
          Re: Failing to get DIV content to flip between initial and alternate version Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2016-06-19 14:23 +0000
            Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-20 04:13 -0700
              Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-20 04:16 -0700
                Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-26 12:53 +0200
                Re: Failing to get DIV content to flip between initial and alternate version $Bill <news@todbe.com> - 2016-06-26 16:22 -0700
                Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-27 10:49 +0200
                Re: Failing to get DIV content to flip between initial and alternate version Doc O'Leary  <droleary@2015usenet1.subsume.com> - 2016-06-27 13:58 +0000
                Re: Failing to get DIV content to flip between initial and alternate version Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-06-27 05:43 +0200
                Re: Failing to get DIV content to flip between initial and alternate version John Harris <niam@jghnorth.org.uk.invalid> - 2016-06-27 09:38 +0100
                Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-27 11:00 +0200
                Re: Failing to get DIV content to flip between initial and alternate version John Harris <niam@jghnorth.org.uk.invalid> - 2016-06-28 10:04 +0100
                Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-28 12:13 +0200
                Re: Failing to get DIV content to flip between initial and alternate version John Harris <niam@jghnorth.org.uk.invalid> - 2016-06-29 16:16 +0100
                Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-29 19:48 +0200
          Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-25 16:40 +0200
    Re: Failing to get DIV content to flip between initial and alternate version "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-18 10:59 -0700
      Re: Failing to get DIV content to flip between initial and alternate version Stanimir Stamenkov <s7an10@netscape.net> - 2016-06-18 22:32 +0300
        Re: Failing to get DIV content to flip between initial and alternate version "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-18 13:50 -0700
          Re: Failing to get DIV content to flip between initial and alternate version Stanimir Stamenkov <s7an10@netscape.net> - 2016-06-19 09:40 +0300
            Re: Failing to get DIV content to flip between initial and alternate version "Michael Haufe (TNO)" <tno@thenewobjective.com> - 2016-06-19 12:21 -0700
            Re: Failing to get DIV content to flip between initial and alternate version Thomas 'PointedEars' Lahn <PointedEars@web.de> - 2016-06-25 18:37 +0200
    Re: Failing to get DIV content to flip between initial and alternate version Stanimir Stamenkov <s7an10@netscape.net> - 2016-06-18 22:17 +0300
      Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-25 16:45 +0200
        Re: Failing to get DIV content to flip between initial and alternate version "Christoph M. Becker" <cmbecker69@arcor.de> - 2016-06-25 17:17 +0200
          Re: Failing to get DIV content to flip between initial and alternate version "Evertjan." <exxjxw.hannivoort@inter.nl.net> - 2016-06-25 19:02 +0200

csiph-web