File:  [mozdev] / cdn / www / linkToolbar / tests.html
Revision 1.1: download - view: text, annotated - select for diffs - revision graph
Mon May 23 14:41:46 2005 UTC (14 years, 6 months ago) by clav
Branches: MAIN
CVS tags: HEAD
*** empty log message ***

    1: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
    2: 
    3: <html>
    4: 
    5: <head>
    6: 
    7: <title>Link Toolbar test page</title>
    8: 
    9: <!-- stylesheet links should not show -->
   10: <link rel="stylesheet" type="text/css" href="foo.css" title="foo style">
   11: 
   12: <!-- some general rel type tests -->
   13: <link rel="First" href="http://www.mrflip.com/resources/NavLink/index.html" title="First: NavLink: Maintain Navigational &lt;LINK&gt; Tags">
   14: <link rel="Prev" href="http://www.mrflip.com/resources/NavLink/index.html" title="Prev: NavLink: Maintain Navigational &lt;LINK&gt; Tags">
   15: <link rel="Next" href="http://www.mrflip.com/resources/NavLink/GetNavLink.html" title="Next: Navlink: How to Get It">
   16: <link rel="Last" href="http://www.mrflip.com/resources/NavLink/example/index.html" title="Last: NavLink: Example Tree">
   17: <link rel="Chapter" href="http://www.mrflip.com/resources/NavLink/index.html" title="[1] NavLink: Maintain Navigational &lt;LINK&gt; Tags">
   18: <link rel="Chapter" href="http://www.mrflip.com/resources/NavLink/AboutLinkTags.html" title="[2] NavLink: About &lt;LINK&gt; Tags">
   19: <link rel="Chapter" href="http://www.mrflip.com/resources/NavLink/GetNavLink.html" title="[3] Navlink: How to Get It">
   20: <link rel="Chapter" href="http://www.mrflip.com/resources/NavLink/UseNavLink.html" title="[4] Navlink: How to Use It">
   21: <link rel="Chapter" href="http://www.mrflip.com/resources/NavLink/example/index.html" title="[5] NavLink: Example Tree">
   22: <link rel="Section" href="http://www.mrflip.com/resources/NavLink/example/1.html" title="[5.1] NavLink: Example Tree">
   23: <link rel="Subsection" href="http://www.mrflip.com/resources/NavLink/example/1.1.html" title="[5.1.1] NavLink: Example Tree">
   24: <link rel="Subsection" href="http://www.mrflip.com/resources/NavLink/example/1.2.html" title="[5.1.2] NavLink: Example Tree">
   25: <link rel="Subsection" href="http://www.mrflip.com/resources/NavLink/example/1.2.1.html" title="[5.1.2.1] NavLink: Example Tree">
   26: <link rel="Subsection" href="http://www.mrflip.com/resources/NavLink/example/1.2.2.html" title="[5.1.2.2] NavLink: Example Tree">
   27: <link rel="Subsection" href="http://www.mrflip.com/resources/NavLink/example/1.2.3.html" title="[5.1.2.3] NavLink: Example Tree">
   28: <link rel="Subsection" href="http://www.mrflip.com/resources/NavLink/example/1.2.4.html" title="[5.1.2.4] NavLink: Example Tree">
   29: <link rel="Section" href="http://www.mrflip.com/resources/NavLink/example/2.html" title="[5.2] NavLink: Example Tree">
   30: <link rel="Subsection" href="http://www.mrflip.com/resources/NavLink/example/2.1.html" title="[5.2.1] NavLink: Example Tree">
   31: <link rel="Section" href="http://www.mrflip.com/resources/NavLink/example/3.html" title="[5.3] NavLink: Example Tree">
   32: <link rel="Section" href="http://www.mrflip.com/resources/NavLink/example/4.html" title="[5.4] NavLink: Example Tree">
   33: <link rel="Top" title="Top of Site" href="http://www.mrflip.com/resources/NavLink/index.html">
   34: <link rel="Contents" title="Site Contents" href="http://www.mrflip.com/resources/NavLink/index.html">
   35: <link rel="Search" title="Site Search" href="http://www.mrflip.com/search.html">
   36: 
   37: <!-- the all important rev=made test ;) -->
   38: <link rev="made" title="Email Author" href="mailto:noone@example.com">
   39: 
   40: <!-- extra 'next' links -->
   41: <link rel="Next" href="#foo2" title="2nd 'next' link">
   42: <link rel="Next" href="#foo3" title="3rd 'next' link">
   43: <link rel="Next" href="#foo4" title="4th 'next' link">
   44: <link rel="Next" href="#foo5" title="5th 'next' link">
   45: 
   46: <!-- some silly link types to test the LinkToolbarTransientMenu functionality -->
   47: <link rel="flibble" title="flibble homepage" href="http://mozilla.org/projects/firebird/">
   48: <link rel="flibble" title="nice stuff for flibble" href="http://cdn.mozdev.org/">
   49: 
   50: <!-- some hreflang tests -->
   51: <link rel="alternate" hreflang="en" title="an english page" href="http://example.com/1">
   52: <link rel="alternate" hreflang="es" title="spanish page" href="http://example.com/2">
   53: <link rel="alternate" hreflang="de" title="german page" href="http://example.com/3">
   54: <!-- a 5 char lang code test -->
   55: <link rel="alternate" hreflang="en-GB" title="a uk english page" href="http://example.com/4">
   56: 
   57: <!-- nonsensical language code test -->
   58: <link rel="alternate" hreflang="gibberish" title="an hreflang=gibberish page :)" href="http://example.com/5">
   59: 
   60: <!-- some media tests (to show hpw badly we handle these at the moment) -->
   61: <link rel="alternate" media="print" title="the page title" href="http://example.com/">
   62: <link rel="alternate" media="" title="the page title" href="http://example.com/2">
   63: 
   64: <!-- XXX should we test <meta http-equiv="link">, or whatever that silly syntax is ? -->
   65: 
   66: <!-- some links with multiple rel/rev values -->
   67: <link rel="next child" href="http://example.com/7" title="A rel='next child' link. could be shown twice if we're careless">
   68: <link rel="next" rev="prev" href="http://example.com/8" title="A rel=next,rev=prev link, which is probably valid">
   69: <link rel="next last" href="http://example.com/9" title="A page which is both next and last">
   70: 
   71: <link rel="next prefetch" href="http://example.com/10" title="rel='next prefetch'. should show">
   72: 
   73: <!-- some links with rel types we want to ignore, to be sure it's working correctly -->
   74: <link rel="prefetch" href="http://example.com/11" title="A prefetch link. should not show">
   75: <link rel="icon" href="http://example.com/12" title="an icon link. should not show">
   76: 
   77: <!-- some rev only tests -->
   78: <link rev="prev" href="http://example.com/13" title="rev=prev test">
   79: 
   80: <!-- a rel=made test. the moz link toolbar would map this onto the Author link, which is incorrect
   81:      (though it probably doesn't matter, since it's unlikely to be used) -->
   82: <link rel="made" href="http://example.com/14" title="rel=made, useful for web-design company maybe?">
   83: </head>
   84: 
   85: 
   86: <body>
   87: <p>you're expected (for the moment) to view the source for this page to work out what links should show</p>
   88: </body>
   89: 
   90: </html>

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>