Updating themes for Firefox 3.6 编辑
This article intends to help theme authors update Firefox-3.5-compatible themes for Firefox 3.6 compatibility.
Chrome registration change
contents.rdf
is not supported anymore, you need to use chrome.manifest
instead.
Emptytext styling
XUL textboxes don't have the empty
attribute anymore, but isempty
instead. So instead of textbox[empty="true"]
, you need to use textbox[isempty="true"]
.
Right-to-left UI support
The [chromedir="rtl"]
and [chromedir="ltr"]
selectors have been obsoleted and won't work anymore on most elements. Instead, you need to use the new :-moz-locale-dir(rtl)
and :-moz-locale-dir(ltr)
selectors. See also: Making sure your theme works with RTL locales.
Cross-platform tabbed browser styling
The tabbed browser implementation no longer has a Mac-specific tabs-closebutton-box
; instead, all platforms use the same names to identify the components of the tab strip.
Full Screen toolbar button
There's a new Full Screen toolbar button available from the Customize Toolbar dialog.
See also
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论