W3C home > Mailing lists > Public > public-css-testsuite@w3.org > June 2015

Re: CR+LF or LF?

From: Gérard Talbot <css21testsuite@gtalbot.org>
Date: Wed, 03 Jun 2015 14:06:06 -0400
To: Koji Ishii <kojiishi@gmail.com>
Cc: Public CSS Test suite mailing list <public-css-testsuite@w3.org>
Message-ID: <7d21928fbf56a29d87553f4654501dd1@gtalbot.org>
Le 2015-06-03 14:03, Gérard Talbot a écrit :
> Le 2015-06-03 04:45, Koji Ishii a écrit :
>> Hi all,
>> 
>> Is there a guideline for the use of CR+LF or LF in the test suites?
>> 
>> I'm seeing it's a bit mixed, and it causes showing differences on
>> every import to our repo.
>> 
>> Should we fix our import script to convert them, or should they be
>> fixed in the CSS WG repo?
>> 
>> /koji
> 
> "
> Style Rules
> 
> A number of style rules should be applied to the test file. These are
> not uniformly enforced throughout the existing tests, but will be for
> new tests. Any of these rules may be broken if the test demands it:
> 
>     No trailing whitespace
> 
>     Use spaces rather than tabs for indentation
> 
>     Use UNIX-style line endings (i.e. no CR characters at EOL).
> "
> 
> Style rules
> http://testthewebforward.org/docs/test-format-guidelines.html#style-rules
> 
> UNIX-style line endings could be better described ...
> 


And also here (better described!):

"
The test does not use the Unicode byte order mark (BOM U+FEFF). The test 
uses Unix line endings (LF, no CR). The executable bit is not set 
unnecessarily.
"
In depth Checklist
http://testthewebforward.org/docs/review-checklist.html#in-depth-checklist

Gérard
-- 
Test Format Guidelines
http://testthewebforward.org/docs/test-format-guidelines.html

Test Style Guidelines
http://testthewebforward.org/docs/test-style-guidelines.html

Test Templates
http://testthewebforward.org/docs/test-templates.html

CSS Naming Guidelines
http://testthewebforward.org/docs/css-naming.html

Test Review Checklist
http://testthewebforward.org/docs/review-checklist.html

CSS Metadata
http://testthewebforward.org/docs/css-metadata.html
Received on Wednesday, 3 June 2015 18:06:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 20 January 2023 19:58:21 UTC