「Firefox 3 Dom Improvements」修訂間的差異
出自 MozTW Wiki
 (→Firefox 3 對 DOM 的改善)  | 
				 (→Firefox 3 對 DOM 的改善)  | 
				||
| 行 9: | 行 9: | ||
* 支援 IE 的延伸規格 oncut, oncopy, onpaste, onbeforecut, onbeforecopy and onbeforepaste ([https://bugzilla.mozilla.org/show_bug.cgi?id=280959 Bug 280959])  | * 支援 IE 的延伸規格 oncut, oncopy, onpaste, onbeforecut, onbeforecopy and onbeforepaste ([https://bugzilla.mozilla.org/show_bug.cgi?id=280959 Bug 280959])  | ||
* 新增可以用於 Node.nodePrincipal, Node.baseURIObject, and [http://developer.mozilla.org/en/docs/DOM:document.documentURIObject document.documentURIObject] 的 privileged-code-only getters。Chrome code 絕對不可以在 unwrapped content object (例如: 在 [http://developer.mozilla.org/en/docs/XPCNativeWrapper XPCNativeWrapper] 的 wrappedJSObject) 上 touch (get or set) 這些 properties,詳見 [https://bugzilla.mozilla.org/show_bug.cgi?id=324464 Bug 324464]。  | * 新增可以用於 Node.nodePrincipal, Node.baseURIObject, and [http://developer.mozilla.org/en/docs/DOM:document.documentURIObject document.documentURIObject] 的 privileged-code-only getters。Chrome code 絕對不可以在 unwrapped content object (例如: 在 [http://developer.mozilla.org/en/docs/XPCNativeWrapper XPCNativeWrapper] 的 wrappedJSObject) 上 touch (get or set) 這些 properties,詳見 [https://bugzilla.mozilla.org/show_bug.cgi?id=324464 Bug 324464]。  | ||
| + | * 支援 The Web Applications 1.0 (HTML5) 的 [http://developer.mozilla.org/en/docs/DOM:document.getElementsByClassName getElementsByClassName()]  | ||
| + | |||
| + | === 參考資料 ===  | ||
| + | [http://developer.mozilla.org/en/docs/DOM_improvements_in_Firefox_3 DOM Improvements in Firefox 3 原始網頁]  | ||
於 2008年1月9日 (三) 15:28 的修訂
Firefox 3 對 DOM 的改善
Firefox 3 對 DOM 做了一些改善,改善重點之一就是加強對於「其他瀏覽器對 DOM 所增加的延伸規格」的支援。
- 支援 IE 的延伸規格 clientTop 與 clientLeft。
 - 現在不論在哪裡讀取,wondow.fullScreen perperty 可以總是保持正確,即使在 content 內也一樣。先前會錯誤地回報 false (Bug127013) 。
 - 支援 IE 的延伸規格 getClientRects and getBoundingClientRect (Bug 174397).
 - 支援 IE 的延伸規格 elementFromPoint (Bug 199692)
 - 支援 IE 的延伸規格 oncut, oncopy, onpaste, onbeforecut, onbeforecopy and onbeforepaste (Bug 280959)
 - 新增可以用於 Node.nodePrincipal, Node.baseURIObject, and document.documentURIObject 的 privileged-code-only getters。Chrome code 絕對不可以在 unwrapped content object (例如: 在 XPCNativeWrapper 的 wrappedJSObject) 上 touch (get or set) 這些 properties,詳見 Bug 324464。
 - 支援 The Web Applications 1.0 (HTML5) 的 getElementsByClassName()
 
