Re: CR+LF or LF?

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