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 12908 - How come we leave the first 128 characters and then divide the string into three equal parts? Last time I checked, 128 % 3 == 2.
Summary: How come we leave the first 128 characters and then divide the string into th...
Status: RESOLVED WORKSFORME
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-08 11:17 UTC by contributor
Modified: 2011-08-04 05:01 UTC (History)
5 users (show)

See Also:


Attachments

Description contributor 2011-06-08 11:17:53 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/common-microsyntaxes.html
Section: http://www.whatwg.org/specs/web-apps/current-work/#colors

Comment:
How come we leave the first 128 characters and then divide the string into
three equal parts? Last time I checked, 128 % 3 == 2.

Posted from: 213.236.208.22
User agent: Opera/9.80 (X11; Linux x86_64; U; en) Presto/2.8.131 Version/11.11
Comment 1 Aryeh Gregor 2011-06-10 18:08:57 UTC
You're missing "While input's length is zero or not a multiple of three, append a U+0030 DIGIT ZERO (0) character to input."  By the time you split it into three strings of equal length, its length is divisible by three.
Comment 2 Anne 2011-06-22 21:57:44 UTC
Not a bug report then.
Comment 3 Aryeh Gregor 2011-06-23 16:49:46 UTC
<http://dev.w3.org/html5/decision-policy/decision-policy-v2.html#bug-resolutions> says INVALID is only for obvious junk or spam, WORKSFORME is for stuff that's just not a bug.
Comment 4 Michael[tm] Smith 2011-08-04 05:01:22 UTC
mass-moved component to LC1