Skip to content
This repository was archived by the owner on Oct 8, 2021. It is now read-only.
This repository was archived by the owner on Oct 8, 2021. It is now read-only.

div 'jquery-mediatest' not closed, making X(HT)ML validation fail #4541

@drkhdr

Description

@drkhdr

The div 'jquery-mediatest' is not properly closed in jquery.mobile-1.1.0.js, line 1573:

testDiv = $( "<div id='jquery-mediatest'>" ),

... does not close the div. it should be as follows:

testDiv = $( "<div id='jquery-mediatest'></div>" ),

Unless the div is properly closed, the page fails in webkit (e.g. chrome 19) & internet explorer 9 for "XHTML5"
To reproduce, just set the doctype, xmlns and content-type as follows:

<!DOCTYPE html>
<html lang='en' xmlns='http://www.w3.org/1999/xhtml'>
  <head>
    <title>...</title>
    <meta CONTENT='application/xhtml+xml; charset=utf-8' HTTP-EQUIV='CONTENT-TYPE' />

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions