New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Documentation of IFrameElement is not valid #17456
Comments
This comment was originally written by alexe.kaigorodov@gmail.com Setter outerHtml is listed in the doc but not implemented |
This comment was originally written by alexe.kaigorodov@gmail.com IFrameElement.querySelector always return null. |
This comment was originally written by alexe.kaigorodov@gmail.com doc says: int tabIndex Gets/sets the position of the element in the tabbing order. But attempt to set tabIndex causes runtime error: |
Removed Area-HTML label. |
Assigning to doc for the main issue. There are several others raised: Removed Type-Defect label. |
This issue was originally filed by alexe.kaigorodov@gmail.com
Though IFrameElement extends HtmlElement (and so Element), its behavour is different. For example, method setInnerHtml(String html) does not parse the html parameter, but converts it to Text. Thus,
IFrameElement x = new IFrameElement();
x.setInnerHtml('<div foo="foo"><bar id="bar"></bar></div>');
var div = x.firstChild;
print("div=${div.runtimeType} ${div.toString()}");
prints
div=Text <div foo="foo"><bar id="bar"></bar></div>
But the documentation of the IFrameElement is simply inherited from HtmlElement and does not describe its specific features.
The text was updated successfully, but these errors were encountered: