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:
sra@google.com 2015-03-04 03:54:22 +00:00
parent 6f5a2f5d44
commit c363abff4a
2 changed files with 5 additions and 0 deletions

View file

@ -12667,6 +12667,7 @@ abstract class Element extends Node implements GlobalEventHandlers, ParentNode,
@DomName('Element.style')
@DocsEditable()
@Returns('CssStyleDeclaration')
final CssStyleDeclaration style;
@DomName('Element.tagName')

View file

@ -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.
],