Firefox 如何获得-moz用户焦点:忽略工作?
我的理解是,当在一个元素上使用Firefox 如何获得-moz用户焦点:忽略工作?,firefox,tabbing,Firefox,Tabbing,我的理解是,当在一个元素上使用-moz user focus:ignore()时,Firefox在切换时应该跳过该元素。但是,请尝试: <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en
-moz user focus:ignore
()时,Firefox在切换时应该跳过该元素。但是,请尝试:
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
</head>
<body>
<form action="/">
<input type="text" value="First">
<input type="text" value="Second" style="-moz-user-focus: ignore">
<input type="text" value="Third">
</form>
</body>
</html>
-moz用户焦点:ignore
。我是不是遗漏了什么tabindex=“-1”
代替CSS作为解决方法