haikuwebkit/LayoutTests/fast/dom/HTMLDocument/object-by-name-or-id-expect...

23 lines
649 B
Plaintext
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This tests when object elements are accessible by name or id directly as properties of the document object. IE allows this only if the object has not child nodes other than param and whitespace anonymous text. A PASS result means that behavior matches IE. WebKits results for comments differ.
Results:
By name:
no children: PASS
param: PASS
param and whitespace: PASS
param and empty comment: PASS
param and non-empty comment: PASS
param and text: PASS
param and img: PASS
By id:
no children: PASS
param: PASS
param and whitespace: PASS
param and empty comment: PASS
param and non-empty comment: PASS
param and text: PASS
param and img: PASS