| Index: LayoutTests/inspector/documentation/document-parser-expected.txt
|
| diff --git a/LayoutTests/inspector/documentation/document-parser-expected.txt b/LayoutTests/inspector/documentation/document-parser-expected.txt
|
| index 8ada58813de078883dd9d4140441a5c9db6f999d..58e01f1c91c01d31897e97ae04e46e3b3ee96029 100644
|
| --- a/LayoutTests/inspector/documentation/document-parser-expected.txt
|
| +++ b/LayoutTests/inspector/documentation/document-parser-expected.txt
|
| @@ -45,12 +45,20 @@
|
| AbC : "xyz"
|
| }
|
| {
|
| + examples : {
|
| + Single_Example : {
|
| + Code : " var x = Math.max(107 - 3, 48 * 90);
|
| + document.write(x);
|
| + // Output:
|
| + // 4320"
|
| + Description : "The following code shows how to get the larger of two expressions."
|
| + Language : "JavaScript"
|
| + }
|
| + }
|
| pageTitle : {
|
| }
|
| - remarks : {
|
| - Remarks : "The optional number1, number2, ..., numberN arguments are numeric expressions to be evaluated.
|
| + 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."
|
| }
|
| {
|
| @@ -70,9 +78,36 @@ If no arguments are provided, the return value is equal to [[javascript/Number/c
|
| }
|
| }
|
| }
|
| + examples : {
|
| + Single Example : {
|
| + Code : "/* Setting a paragraph color to turquoise with a name value */
|
| +p {color:turquoise}
|
| +/* Setting the same propriety with an hexadecimal value*/
|
| +p {color:#40E0D0}
|
| +/* with a RGB decimal value */
|
| +p { color: rgb(64,224,208) }
|
| +/* with a RGB percentage value */
|
| +p { color: rgb(25.1%,87.8%,81.6%) }
|
| +/* with an HSL value */
|
| +p { color: hsl(174,72%,56%) }
|
| +/* We now want our color to be 20% translucent which means a 80% opacity */
|
| +/* We can achieve this with an RGBa value */
|
| +p { color: rgba(64,224,208,0.8) }
|
| +/* Or an HSLa value */
|
| +p { color: hsla(174,72%,56%,0.8) }"
|
| + Language : "CSS"
|
| + LiveURL : "http://code.webplatform.org/gist/5502992"
|
| + }
|
| + }
|
| pageTitle : {
|
| }
|
| 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)."
|
| + values : {
|
| + CSS Property Value : {
|
| + Data Type : "color"
|
| + Description : "[[css/color|CSS color value]]"
|
| + }
|
| + }
|
| }
|
|
|
|
|