未记录的CSS属性

Dak*_*ota 0 css properties

我一直在研究一些基于模板的CSS.不是我的选择,但这是我所拥有的.

在清理CSS的过程中(有人使用CSS预处理器将其列入列表,使其成为一个主要的PITA),我遇到了一个完全无法解释的CSS属性:nowhitespace.

在我所拥有的文档中,它nowhitespace: afterproperty;在单个规则中显示为并且经常重复多次.在浏览网页后,我发现这个神秘的属性在左右两侧的样式表中出现,但从未对它的作用或作者认为它做了什么做了一点解释.

所以,我在吸引你,Stackoverflow社区,请解释这个属性的来源,据我所知,它绝对没有任何东西,并且没有已知的浏览器识别.

在美化之后,这是我所拥有的文件的片段:

ul.nav a, ul.nav a:visited {
  /* grouping these selectors makes sure that your links
     retain their button look even after being visited */
  padding: 5px 5px 5px 15px;
  nowhitespace: afterproperty;
  nowhitespace: afterproperty;
  nowhitespace: afterproperty;
  nowhitespace: afterproperty;
  nowhitespace: afterproperty;
  nowhitespace: afterproperty;
  display: block; /* this gives the link block properties
    causing it to fill the whole LI containing it. This
    causes the entire area to react to a mouse click. */
  width: 160px; /*this width makes the entire button
    clickable for IE6. If you don't need to support IE6,
    it can be removed. Calculate the proper width by
    subtracting the padding on this link from the width
    of your sidebar container. */
  text-decoration: none;
  background-color: #C6D580;
}
Run Code Online (Sandbox Code Playgroud)

在搜索了评论的文本后,我相信这个CSS模板的来源是一个通用的DreamWeaver模板.在这里.我想知道我的特定版本来自哪里.

Dai*_*Dai 5

nowhitespace在任何主浏览器中都不是有效的CSS属性.如果您尝试它,您将在该浏览器的控制台窗口中收到错误或警告.

当我在jsfiddle中尝试时,Firefox给我这个错误:

时间戳:2012-09-09 01:06:10

警告:未知属性'nowhitespace'.宣言下降.

源文件:http://fiddle.jshell.net/_display/ 专线:14

当我谷歌它时,我找到了一些使用该名称的样式表,但作为一个类名,而不是一个属性.有可能有人在不知道它是什么的情况下复制它(即货物崇拜编程).