怪异模式(英语:quirks mode)是指在计算机领域中,一些网页浏览器为了维持对较旧的网页设计的向后兼容性,而使用的一种技术,有别于严格遵循万维网联盟(W3C)与互联网工程任务组(IETF)标准而设计的“标准模式”。
这种情况下各个浏览器依据自己的DOCTYPE规则列表来触发怪异模式,参照这个浏览器比较图表。
Therefore each browser has its own list with doctypes that trigger quirks mode. See this browser comparison chart for an overview of these lists.
换句话说,所有的浏览器需要提供两种模式:怪异模式(即兼容模式)服务于旧式规则,严格模式服务于标准规则。
In other words, all browsers needed two modes: quirks mode for the old rules, strict mode for the standard.
php自v3.0就已经提供了OOP功能,但直到V5.3到来时,PHP的OOP实现内的怪异之处还是会阻止一些常见设计模式的使用。
PHP has provided OOP capabilities since V3.0, but until V5.3 came along, some oddities in PHP's OOP implementation prevented the use of a number of popular design patterns.
involves an awkward collision of different artistic modes and entirely distinct planes of reality.
这对于约翰逊的影响牵扯到不同艺术模式的怪异碰撞,以及和现实世界的完全脱离。
应用推荐