微软的Web工程师写了这篇文章
Vendor Prefixes and JavaScript,文中写道:
引用
In Internet Explorer, Microsoft Lowercase the first Letter, which makes it consistent with the CSS capitalisation: msTransform
然而ms这个拼法其实全然是 inconsistent。看看其他厂商的vendor prefix全部是首字母大写的(webkit同时支持大写和小写)。
所以我在该文之后留言:
No! ms is wrong (AGAIN)!!!
The first letter of vendor prefix should be Capitalized! It follows a very simple rule that any char after dash in CSS property name should be transform to uppercase.
ms BREAK this rule, and that means you can NOT diff the vendor prefixed prop -ms-xxx with the normal prop ms-xxx. Though there is no such property named ms-xxx, but it's still a bad exception.
自己给自己翻译如下:
扯淡!ms又错了!!!(我为什么要说“又”?)
vendor前缀的第一个字母应该大写!这规则很简单,CSS属性名中所有的短横线之后的那个字母应该转换为大写。
ms违背了这规则,这意味着你无法区分一个厂商前缀属性 -ms-xxx 和一个正常属性 ms-xxx。尽管现在并没有属性叫 ms-xxx,但是这仍是一个傻逼的例外。
【完】
分享到:
相关推荐
Everything You Know About CSS Is Wrong
解决On no!Something has gone wrong.
接力版三年级下册小学英语 lesson 14 what is wrong?教案(教学设计).doc
接力版三年级下册小学英语 Lesson 14 What is wrong 课时练一课一练(课后作业).doc
When wright is wrong Prwhologi. in rhr School.? 1981. /R. SO8 WHEN WRIGHT IS WRONG J A M E S Y S S E L D Y K E , BOB ALCOZZINE,’ R I C H A R D R E G A N , A N D M A R G A R E T POTTER ...
Statistics Done Wrong is a pithy, essential guide to statistical blunders in modern science that will show you how to keep your research blunder-free. You'll examine embarrassing errors and omissions ...
linear algebra done wrong
Sorry, wrong code.Sorry, wrong code.
SitePoint - Everything.You.Know.About.CSS.Is.Wrong.2008.pdf英文原版!
SitePoint Pty.Everything.You.Know.About.CSS.is.Wrong.2008.pdf
To err is human Yet most of us go through life assuming and sometimes insisting that we are right about nearly everything from the origins of the universe to how to load the dishwasher If being wrong ...
这里有一组令人触目惊心的数字。 超过一半(56%)的美国人梦想着开创自己的事业在35年甚至更长的时间里——七万多个小时,通常差不多是我们清醒时间的一半,我们中的大多数人每周都在工作(往返于工作之间)。...
You can define up to 4000 styles in a .xls workbook is a wrong excepiton 将抛异常的方法去掉,是程序继续执行,生成excel 。本来想免费,但是苦于没积分所以要了5分 见谅 。实在没积分的话可以给我发邮件,给...
HTC手机刷第三放ROM后卡开机第一屏的补救方法
Leviton is wrong on the use of corporal punishment 290 Psychology in the Schools, April, 1978, Vol. 15, No. 2. STENNETT, R. B. !VATSON, G. A. WERNER, E. E., & SMITH, R. S. WESTMAN, J. C., ...
GitHub 读取jupyter报错Sorry, something went wrong. Reload?
how not to be wrong : the power of mathematical thinking / Jordan Ellenberg.pdf,关于如何运用数学思考生活的书籍
Laravel开发-wrong-number PHP的Gematria组件
multi_proc_wrong.c 下载后直接编译运行
如何解决ChatGPT常见的错误信息Something went wrong.zip