- From: Roland Illig via GitHub <sysbot+gh@w3.org>
- Date: Tue, 16 Jul 2019 19:52:01 +0000
- To: public-css-archive@w3.org
rillig has just created a new issue for https://github.com/w3c/csswg-drafts: == [css-animations-1] Inconsistent indentation leads to paragraph breaks == https://www.w3.org/TR/2018/WD-css-animations-1-20181011/#animation-duration ![image](https://user-images.githubusercontent.com/3233724/61322750-aef7e180-a80e-11e9-9347-9ffa5d42d10f.png) There is a paragraph break before "as defined by". That paragraph break should not be there. It is probably caused by the indentation of the source file, which changes from 3 tabs to 6 spaces. There are two more indentation changes in this specification, but these go unnoticed, probably because the formatter program treats a tab as being equivalent to 4 spaces: ~~~ .\css-animations-1\Overview.bs:526: Indentation change from ttt to ssssss: as defined by 'animation-direction', will be displayed if .\css-animations-1\Overview.bs:529: Indentation change from ssssss to ttt: then the animation has no visible effect. .\css-animations-1\Overview.bs:1160: Indentation change from t to ssss: last declared {{CSSKeyframeRule}} matching the specified keyframe selector. .\css-animations-1\Overview.bs:1183: Indentation change from t to ssss: last declared {{CSSKeyframeRule}} matching the specified keyframe selector. ~~~ Such inconsistencies should be detected in all specifications and should not occur again. I quickly hacked together a little Java program to do that, but it uses regular expressions for parsing HTML and cannot cope with all the edge cases, therefore I won't publish it. Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/4120 using your GitHub account
Received on Tuesday, 16 July 2019 19:52:03 UTC