[hash-name-reference.html]
  type: testharness
  [HTML (standards) IMG usemap="#hash-name"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#hash-name"]
    expected: FAIL

  [HTML (standards) IMG usemap="#hash-id"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#hash-id"]
    expected: FAIL

  [HTML (standards) IMG usemap="#non-map-with-this-name"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#non-map-with-this-name"]
    expected: FAIL

  [HTML (standards) IMG usemap="#non-map-with-this-id"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#non-map-with-this-id"]
    expected: FAIL

  [HTML (standards) IMG usemap="#two-maps-with-this-name"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#two-maps-with-this-name"]
    expected: FAIL

  [HTML (standards) IMG usemap="#two-maps-with-this-id"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#two-maps-with-this-id"]
    expected: FAIL

  [HTML (standards) IMG usemap="#two-maps-with-this-name-or-id"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#two-maps-with-this-name-or-id"]
    expected: FAIL

  [HTML (standards) IMG usemap="#two-maps-with-this-id-or-name"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#two-maps-with-this-id-or-name"]
    expected: FAIL

  [HTML (standards) IMG usemap="# "]
    expected: FAIL

  [HTML (standards) OBJECT usemap="# "]
    expected: FAIL

  [HTML (standards) IMG usemap="#\\n"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#\\n"]
    expected: FAIL

  [HTML (standards) IMG usemap="#percent-escape-name-%42"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#percent-escape-name-%42"]
    expected: FAIL

  [HTML (standards) IMG usemap="#percent-escape-id-%42"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="#percent-escape-id-%42"]
    expected: FAIL

  [HTML (standards) IMG usemap="# hash-space-name"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="# hash-space-name"]
    expected: FAIL

  [HTML (standards) IMG usemap="# hash-space-id"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="# hash-space-id"]
    expected: FAIL

  [HTML (standards) IMG usemap=" #space-before-hash-name"]
    expected: FAIL

  [HTML (standards) OBJECT usemap=" #space-before-hash-name"]
    expected: FAIL

  [HTML (standards) IMG usemap=" #space-before-hash-id"]
    expected: FAIL

  [HTML (standards) OBJECT usemap=" #space-before-hash-id"]
    expected: FAIL

  [HTML (standards) IMG usemap="http://example.org/#garbage-before-hash-name"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="http://example.org/#garbage-before-hash-name"]
    expected: FAIL

  [HTML (standards) IMG usemap="http://example.org/#garbage-before-hash-id"]
    expected: FAIL

  [HTML (standards) OBJECT usemap="http://example.org/#garbage-before-hash-id"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#hash-name"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#hash-name"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#hash-id"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#hash-id"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#non-map-with-this-name"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#non-map-with-this-name"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#non-map-with-this-id"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#non-map-with-this-id"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#two-maps-with-this-name"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#two-maps-with-this-name"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#two-maps-with-this-id"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#two-maps-with-this-id"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#two-maps-with-this-name-or-id"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#two-maps-with-this-name-or-id"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#two-maps-with-this-id-or-name"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#two-maps-with-this-id-or-name"]
    expected: FAIL

  [HTML (quirks) IMG usemap="# "]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="# "]
    expected: FAIL

  [HTML (quirks) IMG usemap="#\\n"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#\\n"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#percent-escape-name-%42"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#percent-escape-name-%42"]
    expected: FAIL

  [HTML (quirks) IMG usemap="#percent-escape-id-%42"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="#percent-escape-id-%42"]
    expected: FAIL

  [HTML (quirks) IMG usemap="# hash-space-name"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="# hash-space-name"]
    expected: FAIL

  [HTML (quirks) IMG usemap="# hash-space-id"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="# hash-space-id"]
    expected: FAIL

  [HTML (quirks) IMG usemap=" #space-before-hash-name"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap=" #space-before-hash-name"]
    expected: FAIL

  [HTML (quirks) IMG usemap=" #space-before-hash-id"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap=" #space-before-hash-id"]
    expected: FAIL

  [HTML (quirks) IMG usemap="http://example.org/#garbage-before-hash-name"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="http://example.org/#garbage-before-hash-name"]
    expected: FAIL

  [HTML (quirks) IMG usemap="http://example.org/#garbage-before-hash-id"]
    expected: FAIL

  [HTML (quirks) OBJECT usemap="http://example.org/#garbage-before-hash-id"]
    expected: FAIL

  [XHTML img usemap="#hash-name"]
    expected: FAIL

  [XHTML object usemap="#hash-name"]
    expected: FAIL

  [XHTML img usemap="#hash-id"]
    expected: FAIL

  [XHTML object usemap="#hash-id"]
    expected: FAIL

  [XHTML img usemap="#non-map-with-this-name"]
    expected: FAIL

  [XHTML object usemap="#non-map-with-this-name"]
    expected: FAIL

  [XHTML img usemap="#non-map-with-this-id"]
    expected: FAIL

  [XHTML object usemap="#non-map-with-this-id"]
    expected: FAIL

  [XHTML img usemap="#two-maps-with-this-name"]
    expected: FAIL

  [XHTML object usemap="#two-maps-with-this-name"]
    expected: FAIL

  [XHTML img usemap="#two-maps-with-this-id"]
    expected: FAIL

  [XHTML object usemap="#two-maps-with-this-id"]
    expected: FAIL

  [XHTML img usemap="#two-maps-with-this-name-or-id"]
    expected: FAIL

  [XHTML object usemap="#two-maps-with-this-name-or-id"]
    expected: FAIL

  [XHTML img usemap="#two-maps-with-this-id-or-name"]
    expected: FAIL

  [XHTML object usemap="#two-maps-with-this-id-or-name"]
    expected: FAIL

  [XHTML img usemap="# "]
    expected: FAIL

  [XHTML object usemap="# "]
    expected: FAIL

  [XHTML img usemap="#\\n"]
    expected: FAIL

  [XHTML object usemap="#\\n"]
    expected: FAIL

  [XHTML img usemap="#percent-escape-name-%42"]
    expected: FAIL

  [XHTML object usemap="#percent-escape-name-%42"]
    expected: FAIL

  [XHTML img usemap="#percent-escape-id-%42"]
    expected: FAIL

  [XHTML object usemap="#percent-escape-id-%42"]
    expected: FAIL

  [XHTML img usemap="# hash-space-name"]
    expected: FAIL

  [XHTML object usemap="# hash-space-name"]
    expected: FAIL

  [XHTML img usemap="# hash-space-id"]
    expected: FAIL

  [XHTML object usemap="# hash-space-id"]
    expected: FAIL

  [XHTML img usemap=" #space-before-hash-name"]
    expected: FAIL

  [XHTML object usemap=" #space-before-hash-name"]
    expected: FAIL

  [XHTML img usemap=" #space-before-hash-id"]
    expected: FAIL

  [XHTML object usemap=" #space-before-hash-id"]
    expected: FAIL

  [XHTML img usemap="http://example.org/#garbage-before-hash-name"]
    expected: FAIL

  [XHTML object usemap="http://example.org/#garbage-before-hash-name"]
    expected: FAIL

  [XHTML img usemap="http://example.org/#garbage-before-hash-id"]
    expected: FAIL

  [XHTML object usemap="http://example.org/#garbage-before-hash-id"]
    expected: FAIL

