Re: javascipt to bust out of iframe

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • VK

    Re: javascipt to bust out of iframe

    On Jun 8, 12:07 am, Dr J R Stockton <j...@merlyn.de mon.co.ukwrote:
    In comp.lang.javas cript message <Sa2dnX8T_fKOF9 TVnZ2dnUVZ_qqgn Z2d@prairi
    ewave.com>, Fri, 6 Jun 2008 14:03:45, rfr <rfroh...@iw.ne tposted:
    >
    Unfortunatley, I don't think that use of "target" will pass the WC3
    validator. That menas you will not be able to use validation to check your
    code to be sure it is up to standards and hopefully more cross-bowser.
    >
    A single expected failure does disallow use of the "valid" logo; but it
    does not prevent the rest of the page being checked. To make sure, do
    an occasional test with target not used.
    >
    If JavaScript is available, I suppose one could add the target attribute
    by script, or write the whole link by script.
    That would be clearly a childish behavior: "it is OK to do if daddy
    cannot see it". W3C Validator doesn't really validate anything for a
    longest time by now anyway. With some caution it can be still used as
    a markup errors checker, as well as HTML Tidy can be. Outside that its
    HTML part is just a curious artifact of W3C ideas about the future of
    the Web as they had them in 1998-99

    At the modern time the DOCTYPE is only used for the mode switch with
    two doctypes covering all needs:
    <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"for
    BackCompat mode
    <!DOCTYPE htmlfor CSS1Compat mode

    See also:



  • Thomas 'PointedEars' Lahn

    #2
    Re: javascipt to bust out of iframe

    VK wrote:
    W3C Validator doesn't really validate anything for a longest time by now
    anyway. [...]
    Evidently, you do not have a single clue what you are talking about.
    At the modern time the DOCTYPE is only used for the mode switch with two
    doctypes covering all needs: <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01
    Transitional//EN"for BackCompat mode
    Valid, but recommended against *because* of the DOCTYPE switch that
    triggers even more different rendering behavior among user agents.
    <!DOCTYPE htmlfor CSS1Compat mode
    Not Valid HTML 4.01, though.
    This is ridiculous. You are referring to an *incomplete* *draft*
    for HTML *5* that (obviously) lacks wide support.


    F'up2 comp.infosystem s.www.authoring.html

    PointedEars
    --
    Prototype.js was written by people who don't know javascript for people
    who don't know javascript. People who don't know javascript are not
    the best source of advice on designing systems that use javascript.
    -- Richard Cornford, cljs, <f806at$ail$1$8 300dec7@news.de mon.co.uk>

    Comment

    Working...