This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 18512 - Test entry to get to know Bugzilla system - please ignore this bug. [canvas]
Summary: Test entry to get to know Bugzilla system - please ignore this bug. [canvas]
Status: RESOLVED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: PC Windows NT
: P2 trivial
Target Milestone: ---
Assignee: Jay Munro
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-09 21:22 UTC by Jay Munro
Modified: 2012-08-09 21:23 UTC (History)
3 users (show)

See Also:


Attachments
a random image (47.25 KB, image/png)
2012-08-09 21:22 UTC, Jay Munro
Details

Description Jay Munro 2012-08-09 21:22:03 UTC
Created attachment 1170 [details]
a random image

This is a test bug, created to lean the Bugzilla bug/issue tracking service.

To reproduce:

1. Open Internet Explorer
2. Navigate to http://dev.w3.org/html5/2dcontext/
3. Press Ctrl+f, type The serialization of a color, and then press enter.
4. Read the section. 
5. Rewrite it according to the following:

Old section: 

The serialization of a color for a color value is a string, computed as follows: if it has alpha equal to 1.0, then the string is a lowercase six-digit hex value, prefixed with a "#" character (U+0023 NUMBER SIGN), with the first two digits representing the red component, the next two digits representing the green component, and the last two digits representing the blue component, the digits being in the range 0-9 a-f (U+0030 to U+0039 and U+0061 to U+0066). Otherwise, the color value has alpha less than 1.0, and the string is the color value in the CSS rgba() functional-notation format: the literal string rgba (U+0072 U+0067 U+0062 U+0061) followed by a U+0028 LEFT PARENTHESIS, a base-ten integer in the range 0-255 representing the red component (using digits 0-9, U+0030 to U+0039, in the shortest form possible), a literal U+002C COMMA and U+0020 SPACE, an integer for the green component, a comma and a space, an integer for the blue component, another comma and space, a U+0030 DIGIT ZERO, if the alpha value is greater than zero then a U+002E FULL STOP (representing the decimal point), if the alpha value is greater than zero then one or more digits in the range 0-9 (U+0030 to U+0039) representing the fractional part of the alpha, and finally a U+0029 RIGHT PARENTHESIS. User agents must express the fractional part of the alpha value, if any, with the level of precision necessary for the alpha value, when reparsed, to be interpreted as the same alpha value.

Replace with:

The serialization of a color for a color value is a string, computed as follows: 

If the color has an alpha value equal to 1.0, then the string is a lowercase six-digit hex value. The value is prefixed with a "#" character (U+0023 NUMBER SIGN), and followed by three pairs of hexadecimal digits, representing red, green, and blue values of 0 to 255. For example:

           #a3ff10

If the color has an alpha value of less than 1.0 (the color includes transparency), the string is expressed in CSS rgba() functional notation. The rgba function follows the format: 

           color = rgba( red, green, blue, alpha)

The function starts with the string rgba (U+0072 U+0067 U+0062 U+0061) , followed by a left parenthesis (U+0028). Inside the parenthesis, each color is represented by a base-10 integer in the range 0-255, separated by commas  (U+002C), and a space (U+0020). 

The alpha value is expressed as a floating point number in the range of 0-1 with a leading 0 (U+0030), followed by a decimal point (U+002E FULL STOP), followed by one or more base-10 digits. The function ends with a right parenthesis (U+0029). For example, the following represents middle gray, with a 50% transparency value. 

          Color = rgba(127, 127, 127, 0.5)