This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
HTTPXHTMLResource.countExtraneousChars returns an invalid valid when called with a start parameter greater than 0, because the "for" loop goes from start + 1 to length ... instead of from start + 1 to start + length As far as I can tell, the only cases when the method is called with a start parameter greater than 0 is while parsing CSS stylesheets. This is not a big deal since the number of extraneous characters in CSS stylesheets is displayed in the moki representation of a resource but not used in tests. Example ----- p { color:black; /* 10 */ } The additional carriage return after the CSS comment is not counted as extraneous.
I updated the "for" loop, and the moki file of the MinimizeTest 7 test case.