bugs.jquery.com
Open in
urlscan Pro
104.131.8.164
Public Scan
URL:
http://bugs.jquery.com/ticket/12359/
Submission: On October 13 via api from US — Scanned from DE
Submission: On October 13 via api from US — Scanned from DE
Form analysis
1 forms found in the DOMjavascript:void(0);
<form class="pagefind-ui__form svelte-1d60ae3" role="search" aria-label="Search this site" action="javascript:void(0);"><input class="pagefind-ui__search-input svelte-1d60ae3" type="text" placeholder="" autocapitalize="none" enterkeyhint="search">
<button class="pagefind-ui__search-clear svelte-1d60ae3 pagefind-ui__suppressed">Clear</button>
<div class="pagefind-ui__drawer svelte-1d60ae3 pagefind-ui__hidden"> </div>
</form>
Text Content
jQuery issues have moved to GitHub. This site is now a static archive of the old Trac bugs site. Some functions and pages are no longer available. Skip to main content JQUERY SITES NAVIGATION MENU * jQuery * Plugins * UI * Meetups * Forum * Blog * About * Donate JQUERY CORE NAVIGATION MENU * Download * Documentation * Tutorials * Bug Tracker * Discussion BUG TRACKER Clear SIDE NAVIGATION BUG TRACKER New Ticket View Tickets Ticket Graph Roadmap Recent Changes * ← Previous Ticket * Next Ticket → #12359 CLOSED BUG (FIXED) Opened August 21, 2012 02:55AM UTC Closed August 27, 2012 04:39PM UTC Last modified August 27, 2012 04:48PM UTC 1.8.0 CREATING INVALID TAG/ATTRIBUTE WHEN LOADING THE LIBRARY Reported by: Herbalite Owned by: Priority: blocker Milestone: 1.8.1 Component: selector Version: 1.8.0 Keywords: Cc: Blocked by: Blocking: DESCRIPTION Using XHTML strict documents and all the related headers including xml declaration. In FF 14.0.1 and Firebug 1.10.2 I get two errors. However they do not hinder code execution, so this is low priority. The first problem occurs on line 5010 div.innerHTML = "<select><option selected></option></select>"; This should read either div.innerHTML = "<select><option **selected='selected'**></option></select>"; or div.innerHTML = "<select><option **selected=\\"selected\\"**></option></select>"; The other line is 5036 div.innerHTML = "<input type='hidden'>"; This should read div.innerHTML = "<input type='hidden'**/**>"; Attachments (0) Change History (6) CHANGED AUGUST 21, 2012 12:30PM UTC BY DMETHVIN COMMENT:1 #12357 is a duplicate of this ticket. CHANGED AUGUST 21, 2012 01:15PM UTC BY DMETHVIN COMMENT:2 milestone: None → 1.8.1 priority: undecided → blocker status: new → open This is another cry for #10198. Thanks for the clear bug report! CHANGED AUGUST 21, 2012 01:16PM UTC BY DMETHVIN COMMENT:3 component: unfiled → selector CHANGED AUGUST 24, 2012 08:19AM UTC BY TOMGROHL COMMENT:4 As mentioned in #10198, I've wrote some code to check for content type and doctype. It detects if closing tags / quoted attributes are required based on the following: 1 - content type is application/xhtml+xml 2 - content type is text/html and doctype is XHTML 3 - document is xul (Needs more testing though) Generally is a doctype and/or content type is omitted it detaults to text/html. This should fix this issue. I'll create a pull request when I get a chance. CHANGED AUGUST 27, 2012 04:39PM UTC BY TIMMY WILLISON COMMENT:5 resolution: → fixed status: open → closed Sizzle: make html from assertions xhtml compliant. Fixes #12359. Changeset: 157c561c153a7e63040904241a0e2bee82109f81 CHANGED AUGUST 27, 2012 04:48PM UTC BY DMETHVIN COMMENT:6 @Herbalite, can you try your code with http://code.jquery.com/jquery-git.js and let us know if the problem has been fixed? Thanks! P.S. Fix code now, ask me how. Copyright © 2023 The OpenJS Foundation