NavQuirks Mode Test


/* Quirk: input images have a blue border (b=28010)*/
input[type=image] {
  border: 2px solid blue;
}

  • This is text in a DL, over an OL
    1. This is text in a DL, inside an OL
  • This is text in a DL, under an OL
  • /* Quirk: DL under a OL has no margins (b=33300) */
    ol dl {
      margin: 0 0 0 0;
    }
    

    /* Quirk: UL under a DL has no margins  (b=32989) */
    dl ul {
      margin: 0 0 0 0;
      color: red;
    }
    

  • This is text in an orphaned LI, under an UL
  • /* make orphaned li's have inside bullet */
    li {
      list-style-position: inside; 
    }
    

    1. This is text inside a OL
      1. This is a list inside a OL
      2. This is a list inside a OL with list-style-position: inside
      3. This is a list inside a OL
  • This is text inside a DIR
  • This is a list inside a DIR
  • This is a list inside a DIR with list-style-position: inside
  • This is a list inside a DIR
  • This is text inside a MENU
  • This is a list inside a MENU
  • This is a list inside a MENU with list-style-position: inside
  • This is a list inside a MENU
  • /* restore outside position for lists inside li's */
    li ul, li ol, li dir, li menu { 
      list-style-position: outside; 
    }
    

  • DIR LI
  • MENU LI
    1. OL LI


  • DIR DIR list-style-position: inherit
  • DIR DIR list-style-position: inside
  • DIR DIR list-style-position: outside
  • DIR MENU list-style-position: inherit
  • DIR MENU list-style-position: inside
  • DIR MENU list-style-position: outside
    1. DIR OL list-style-position: inherit
    2. DIR OL list-style-position: inside
    3. DIR OL list-style-position: outside

  • MENU DIR list-style-position: inherit
  • MENU DIR list-style-position: inside
  • MENU DIR list-style-position: outside
  • MENU MENU list-style-position: inherit
  • MENU MENU list-style-position: inside
  • MENU MENU list-style-position: outside
    1. MENU OL list-style-position: inherit
    2. MENU OL list-style-position: inside
    3. MENU OL list-style-position: outside

    1. OL DIR list-style-position: inherit
    2. OL DIR list-style-position: inside
    3. OL DIR list-style-position: outside
    1. OL MENU list-style-position: inherit
    2. OL MENU list-style-position: inside
    3. OL MENU list-style-position: outside
      1. OL OL list-style-position: inherit
      2. OL OL list-style-position: inside
      3. OL OL list-style-position: outside
    /* undo previous two rules for properly nested lists */
    ul li, dir li, menu li, ol li,
    ul ul, ul dir, ul menu, ul ol,
    dir ul, dir dir, dir menu, dir ol,
    menu ul, menu dir, menu menu, menu ol,
    ol ul, ol dir, ol menu, ol ol {
      list-style-position: inherit;
    }
    

    1. Another list item in OL
    /* Ensure that we get proper padding if the very first node
       beneath an <li> is another <ul>. This is an ugly way to
       fix the problem, because it extends the <li> up into
       what would otherwise appear to be the <ul>'s space. */
    li > ul:first-node {
      padding-top: 1em;
    }
    
    li > ol:first-node {
      padding-top: 1em;
    }