mirror of
https://github.com/dart-lang/sdk
synced 2024-09-21 07:41:39 +00:00
Element.style is not null
BUG= Review URL: https://codereview.chromium.org//960503006 git-svn-id: https://dart.googlecode.com/svn/branches/bleeding_edge/dart@44220 260f80e4-7a28-3924-810f-c04153c831b5
This commit is contained in:
parent
6f5a2f5d44
commit
c363abff4a
|
@ -12667,6 +12667,7 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
|
|||
|
||||
@DomName('Element.style')
|
||||
@DocsEditable()
|
||||
@Returns('CssStyleDeclaration')
|
||||
final CssStyleDeclaration style;
|
||||
|
||||
@DomName('Element.tagName')
|
||||
|
|
|
@ -108,6 +108,10 @@ _dart2js_annotations = monitored.Dict('dartmetadata._dart2js_annotations', {
|
|||
"@Returns('NodeList|HtmlCollection')",
|
||||
],
|
||||
|
||||
'Element.style': [ # Element.style is never null.
|
||||
"@Returns('CssStyleDeclaration')",
|
||||
],
|
||||
|
||||
"ErrorEvent.error": [
|
||||
"@Creates('Null')", # Only returns values created elsewhere.
|
||||
],
|
||||
|
|
Loading…
Reference in a new issue