[Bug 18512] New: Test entry to get to know Bugzilla system - please ignore this bug. [canvas]

https://www.w3.org/Bugs/Public/show_bug.cgi?id=18512

           Summary: Test entry to get to know Bugzilla system - please
                    ignore this bug. [canvas]
           Product: HTML WG
           Version: unspecified
          Platform: PC
        OS/Version: Windows NT
            Status: NEW
          Severity: trivial
          Priority: P2
         Component: HTML Canvas 2D Context
        AssignedTo: ian@hixie.ch
        ReportedBy: jaymunro@microsoft.com
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Created attachment 1170
  --> https://www.w3.org/Bugs/Public/attachment.cgi?id=1170
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)

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Thursday, 9 August 2012 21:22:05 UTC