• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /openjdk10/langtools/src/jdk.javadoc/share/classes/jdk/javadoc/internal/doclets/formats/html/resources/jquery/

Lines Matching refs:div

1323  * @param {Function} fn Passed the created div and expects a boolean result
1326 var div = document.createElement("div");
1329 return !!fn( div );
1334 if ( div.parentNode ) {
1335 div.parentNode.removeChild( div );
1338 div = null;
1479 support.attributes = assert(function( div ) {
1480 div.className = "i";
1481 return !div.getAttribute("className");
1488 support.getElementsByTagName = assert(function( div ) {
1489 div.appendChild( doc.createComment("") );
1490 return !div.getElementsByTagName("*").length;
1494 support.getElementsByClassName = assert(function( div ) {
1495 div.innerHTML = "<div class='a'></div><div class='a i'></div>";
1499 div.firstChild.className = "i";
1502 return div.getElementsByClassName("i").length === 2;
1509 support.getById = assert(function( div ) {
1510 docElem.appendChild( div ).id = expando;
1595 assert(function( div ) {
1601 div.innerHTML = "<select><option selected=''></option></select>";
1605 if ( !div.querySelectorAll("[selected]").length ) {
1612 if ( !div.querySelectorAll(":checked").length ) {
1617 assert(function( div ) {
1626 div.appendChild( input ).setAttribute( "t", "" );
1628 if ( div.querySelectorAll("[t^='']").length ) {
1634 if ( !div.querySelectorAll(":enabled").length ) {
1639 div.querySelectorAll("*,:x");
1649 assert(function( div ) {
1652 support.disconnectedMatch = matches.call( div, "div" );
1656 matches.call( div, "[s!='']:x" );
2925 return div1.compareDocumentPosition( document.createElement("div") ) & 1;
2931 if ( !assert(function( div ) {
2932 div.innerHTML = "<a href='#'></a>";
2933 return div.firstChild.getAttribute("href") === "#" ;
2944 if ( !support.attributes || !assert(function( div ) {
2945 div.innerHTML = "<input/>";
2946 div.firstChild.setAttribute( "value", "" );
2947 return div.firstChild.getAttribute( "value" ) === "";
2958 if ( !assert(function( div ) {
2959 return div.getAttribute("disabled") == null;
3322 div = document.createElement("div");
3325 div.setAttribute( "className", "t" );
3326 div.innerHTML = " <link/><table></table><a href='/a'>a</a><input type='checkbox'/>";
3329 all = div.getElementsByTagName("*") || [];
3330 a = div.getElementsByTagName("a")[ 0 ];
3338 input = div.getElementsByTagName("input")[ 0 ];
3343 support.getSetAttribute = div.className !== "t";
3346 support.leadingWhitespace = div.firstChild.nodeType === 3;
3350 support.tbody = !div.getElementsByTagName("tbody").length;
3354 support.htmlSerialize = !!div.getElementsByTagName("link").length;
3407 delete div.test;
3437 // Opera does not clone events (and typeof div.attachEvent === undefined).
3439 if ( div.attachEvent ) {
3440 div.attachEvent( "onclick", function() {
3444 div.cloneNode( true ).click();
3450 div.setAttribute( eventName = "on" + i, "t" );
3452 support[ i + "Bubbles" ] = eventName in window || div.attributes[ eventName ].expando === false;
3455 div.style.backgroundClip = "content-box";
3456 div.cloneNode( true ).style.backgroundClip = "";
3457 support.clearCloneStyle = div.style.backgroundClip === "content-box";
3477 container = document.createElement("div");
3480 body.appendChild( container ).appendChild( div );
3489 div.innerHTML = "<table><tr><td></td><td>t</td></tr></table>";
3490 tds = div.getElementsByTagName("td");
3502 div.innerHTML = "";
3503 div.style.cssText = "box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;";
3508 support.boxSizing = div.offsetWidth === 4;
3513 support.pixelPosition = ( window.getComputedStyle( div, null ) || {} ).top !== "1%";
3514 support.boxSizingReliable = ( window.getComputedStyle( div, null ) || { width: "4px" } ).width === "4px";
3516 // Check if div with explicit width and no margin-right incorrectly
3520 marginDiv = div.appendChild( document.createElement("div") );
3521 marginDiv.style.cssText = div.style.cssText = divReset;
3523 div.style.width = "1px";
3529 if ( typeof div.style.zoom !== core_strundefined ) {
3534 div.innerHTML = "";
3535 div.style.cssText = divReset + "width:1px;padding:1px;display:inline;zoom:1";
3536 support.inlineBlockNeedsLayout = ( div.offsetWidth === 3 );
3540 div.style.display = "block";
3541 div.innerHTML = "<div></div>";
3542 div.firstChild.style.width = "5px";
3543 support.shrinkWrapBlocks = ( div.offsetWidth !== 3 );
3556 container = div = tds = marginDiv = null;
6027 // unless wrapped in a div with non-breaking characters in front of it.
6028 _default: jQuery.support.htmlSerialize ? [ 0, "", "" ] : [ 1, "X<div>", "</div>" ]
6031 fragmentDiv = safeFragment.appendChild( document.createElement("div") );
6563 tmp = tmp || safe.appendChild( context.createElement("div") );
7759 // If a selector was specified, locate the right elements in a dummy div
7761 jQuery("<div>").append( jQuery.parseHTML( responseText ) ).find( selector ) :