-"{{A|B={{C|D=blablabla}}}}" is parsed
+
+Running: testWikiParser
+"{{A|text=<code>it's not a code <code>}}" is parsed
+{
+ A : {
+ text : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "<code>it's not a code <code>"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+}
+"{{A|Code={{=}} }}" is parsed
+{
+ A : {
+ Code : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "="
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+}
+"{{ABC|Array={{A|B=c}}{{X|y=Z}}|text=blabla}}" is parsed
+{
+ ABC : {
+ Array : [
+ {
+ title : "A"
+ values : {
+ B : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "c"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+ }
+ {
+ title : "X"
+ values : {
+ y : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "Z"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+ }
+ ]
+ text : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "blabla"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+}
+"{{A|B=C}}" is parsed
{
A : {
B : {
- C : {
- D : "blablabla"
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "C"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+}
+"{{A|B={{C|D=blablabla}}}}" is parsed
+{
+ A : {
+ B : [
+ {
+ title : "C"
+ values : {
+ D : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "blablabla"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+ }
+ ]
+ }
+}
+"{{A|B={{C|D=bla}}|x=y}}" is parsed
+{
+ A : {
+ B : [
+ {
+ title : "C"
+ values : {
+ D : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "bla"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
}
+ ]
+ x : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "y"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
}
}
}
"{{CS|Init=black|Values={{CSS Property Value
|Data Type=color
-|Description=[[css/color|CSS color value]]}}
+|Description= [[css/color|CSS color value]]}}
}}" is parsed
{
CS : {
- Init : "black"
- Values : {
- CSS Property Value : {
- Data Type : "color"
- Description : "[[css/color|CSS color value]]"
- }
+ Init : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "black"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
}
+ Values : [
+ {
+ title : "CSS Property Value"
+ values : {
+ Data Type : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "color"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ Description : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "CSS color value"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "css/color"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+ }
+ ]
}
}
"{{A}}" is parsed
{
+ A : undefined
+}
+"{{A|B= [[http://google.com{{!}}Google]]}}" is parsed
+{
A : {
+ B : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "Google"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "http://google.com"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
}
}
-"{{A|B=bla<a=c>bla}}" is parsed
+"{{AbC|xyz
+ \r}}" is parsed
{
- A : {
- B : "bla<a=c>bla"
+ AbC : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "xyz"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
}
}
-"{{A}}" is parsed
+"{{Notes_Section
+|Notes=Do not specify the ''refChild'' parameter when inserting the first child node. If children already exist and you do not specify the ''refChild'' parameter, the ''newChild'' becomes the last child of the parent object.
+This method is accessible at run time. If elements are removed at run time, before the closing tag has been parsed, areas of the document might not render.
+}}" is parsed
{
- A : {
+ Notes_Section : {
+ Notes : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "Do not specify the "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : true
+ _text : "refChild"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " parameter when inserting the first child node. If children already exist and you do not specify the "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : true
+ _text : "refChild"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " parameter, the "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : true
+ _text : "newChild"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " becomes the last child of the parent object."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "This method is accessible at run time. If elements are removed at run time, before the closing tag has been parsed, areas of the document might not render."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
}
}
-"{{AbC|xyz
- \r}}" is parsed
+"{{External_Attribution|MSDN_link=[http://msdn.microsoft.com/en-us/library/ie/ms536365(v=vs.85).aspx cloneNode Method]|HTML5Rocks_link=}}" is parsed
+{
+ External_Attribution : {
+ HTML5Rocks_link : undefined
+ MSDN_link : {
+ _children : [
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "cloneNode Method"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "http://msdn.microsoft.com/en-us/library/ie/ms536365(v=vs.85).aspx"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+}
+"{{JS_Syntax|Formats={{JS Syntax Format|Format='''JSON.stringify(''' value [ , replacer] [ , space] ''')'''}}
+}}" is parsed
+{
+ JS_Syntax : {
+ Formats : [
+ {
+ title : "JS Syntax Format"
+ values : {
+ Format : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : true
+ _isItalic : false
+ _text : "JSON.stringify("
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " value "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "[ , replacer] "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "[ , space] ''')'''"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ }
+ }
+ ]
+ }
+}
+
+Running: testJS
+{
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "The optional number1, number2, ..., numberN arguments are numeric expressions to be evaluated."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "If no arguments are provided, the return value is equal to "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "Number.NEGATIVE_INFINITY"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "javascript/Number/constants"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : ". If any argument is "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : true
+ _isItalic : false
+ _text : "NaN"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " , the return value is also "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : true
+ _isItalic : false
+ _text : "NaN"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ summary : undefined
+}
+
+Running: testSmall
+{
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "blabla "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : true
+ _isItalic : false
+ _text : "oops"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+}
+
+Running: testHighlightAndLink
+{
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "The "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : true
+ _isItalic : false
+ _text : "flex"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " CSS property specifies the ability of a flex item to alter its dimensions to fill the available space. "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : true
+ _isItalic : false
+ _text : "flex"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " is a shorthand property comprised of the "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "flex-grow"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "css/properties/flex-grow"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : ", "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "flex-shrink"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "css/properties/flex-shrink"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : ", and "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "flex-basis"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "css/properties/flex-basis"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " properties. A flex item can be stretched to use available space proportional to its flex grow factor, or reduced proportional to its flex shrink factor to prevent overflow."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+}
+
+Running: testNamedLink
{
- AbC : "xyz"
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "naaaame"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "url"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
}
+
+Running: testBullet
{
- pageTitle : {
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "blabla"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : true
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "some_text"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : true
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "bullet"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : true
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
}
+}
+
+Running: testRemarks
+{
+ examples : [
+ ]
+ parameters : [
+ ]
remarks : {
- Remarks : "The optional number1, number2, ..., numberN arguments are numeric expressions to be evaluated.
-If no arguments are provided, the return value is equal to [[javascript/Number/constants|Number.NEGATIVE_INFINITY]]. If any argument is '''NaN''' , the return value is also '''NaN'''."
- }
- summary : "Returns the larger of a set of supplied numeric expressions."
-}
-{
- cssProperties : {
- Animatable : "Yes"
- Applies to : "All elements"
- CSS object model property : "color"
- CSS percentages : "NA"
- Computed value : "For a non-translucent color, an hexadecimal equivalent is used. Otherwise it is the RGBa equivalent"
- Inherited : "Yes"
- Initial value : "black, except in a few cases (see notes)"
- Media : "visual"
- Values : {
- CSS Property Value : {
- Data Type : "color"
- Description : "[[css/color|CSS color value]]"
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "In JavaScript arrays are sparse, and the elements in an array do not have to be contiguous. The "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : true
+ _isItalic : false
+ _text : "length"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " property is not necessarily the number of elements in the array. For example, in the following array definition, "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "my_array.length"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Code"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " contains 7, not 2:"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _code : "var my_array = new Array( );
+my_array[0] = "Test";
+my_array[6] = "Another Test";
+console.log(my_array.length);
+
+// Output
+// 7"
+ _type : "CodeBlock"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "Even if you set length to a number greater than its previous value, the number of actual elements does not increase."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _code : "console.log(my_array.length); // 7
+my_array.length = 10;
+console.log(Object.keys(my_array));
+
+// Output
+// ["0", "6"]"
+ _type : "CodeBlock"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "On the other hand, when decreasing length, the array is truncated."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _code : "console.log(my_array.length); // 10
+my_array.length = 1;
+console.log(Object.keys(my_array));
+
+// Output
+// ["0"]"
+ _type : "CodeBlock"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ summary : undefined
+}
+
+Running: testComplexLinkName
+{
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "text "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "blabla"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Code"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "url"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+}
+
+Running: testCodeInsideBullet
+{
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "some text "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "bullet & code "
+ _type : "PlainText"
+ }
+ ]
+ _type : "Code"
+ }
+ ]
+ _hasBullet : true
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+}
+
+Running: testInvalidInput
+[object Object]
+
+Running: testLinkInsideCode
+{
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : {
+ _children : [
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " "
+ _type : "PlainText"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "GOOGLE!"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "https://google.com"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " "
+ _type : "PlainText"
+ }
+ ]
+ _type : "Code"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
}
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+}
+
+Running: testExamples
+{
+ examples : [
+ {
+ code : "<!doctype html>
+<html>
+<head>
+<script type="application/javascript">
+ function insertElement()
+ {
+ var nod=document.createElement("li");
+ document.getElementById("oUL1").insertBefore(nod, document.getElementById("oLIYellow"));
+ nod.textContet="Orange";
+ }
+</script>
+</head>
+<body>
+ <p onclick="insertElement()">Click <strong>HERE</strong> to add an item to the following list.</p>
+ <ul id="oUL1">
+ <li id="oLIRed">Red</li>
+ <li id="oLIYellow">Yellow</li>
+ <li id="oLIBlue">Blue</li>
+ </ul>
+</body>
+</html>"
+ description : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "The following example shows how to use the "
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : true
+ _isItalic : false
+ _text : "insertBefore"
+ _type : "PlainText"
+ }
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " method to insert a new item into an existing list."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ language : "HTML"
+ liveUrl : "http://samples.msdn.microsoft.com/workshop/samples/author/dhtml/refs/insertBefore.htm"
+ }
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : undefined
+}
+
+Running: testJsMethod
+{
+ examples : [
+ ]
+ methods : {
+ returnValueDescription : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "The inserted node."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
}
+ returnValueName : "DOM Node"
}
- pageTitle : {
+ parameters : [
+ {
+ dataType : "DOM Node"
+ description : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "The new node to be inserted."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ name : "newNode"
+ optional : false
+ }
+ {
+ dataType : "DOM Node"
+ description : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "Supplies the placement of the new node. If this parameter is specified, the new element will be inserted immediately before this existing child node. If not, it will be added after the last child node."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ name : "refChild"
+ optional : true
+ }
+ ]
+ remarks : null
+ summary : undefined
+}
+
+Running: testLinkWithoutSpace
+{
+ examples : [
+ ]
+ parameters : [
+ ]
+ remarks : null
+ summary : {
+ _children : [
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "LINK_WITHOUT_SPACE"
+ _type : "PlainText"
+ }
+ ]
+ _type : "Inline"
+ }
+ ]
+ _type : "Link"
+ _url : "http://google.com"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+}
+
+Running: testEmptyParameters
+{
+ examples : [
+ ]
+ methods : {
+ returnValueDescription : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "Returns the DOM node specified by the given ID. Case matters, and if there is more than one node with the given ID, which node is returned is uncertain."
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ returnValueName : "DOM Node"
+ }
+ parameters : [
+ ]
+ remarks : null
+ summary : undefined
+}
+
+Running: testTable
+{
+ Table : {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : "there is a table "
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _columnNames : [
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " A"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " B"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " C"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _rows : [
+ [
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " 1"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " 2"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " 3"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ [
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " 4"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " 5"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ {
+ _children : [
+ {
+ _children : [
+ {
+ _isHighlighted : false
+ _isItalic : false
+ _text : " 6"
+ _type : "PlainText"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
+ }
+ ]
+ ]
+ _type : "Table"
+ }
+ ]
+ _hasBullet : false
+ _type : "Block"
}
- standardizationStatus : "W3C Recommendation"
- summary : "The color property sets the color of an element's foreground content (usually text), accepting any standard CSS color from keywords and hex values to RGB(a) and HSL(a)."
}