Skip to content

Dart Editor template includes non-standard innerText #355

Closed
@DartBot

Description

@DartBot

This issue was originally filed by pimmhog...@gmail.com


To reproduce the problem:

  1. Create a new project in Dart Editor.
  2. Compile the project.
  3. Open the compiled project in Firefox.

I'd expect it to work. It doesn't.

The new project-template includes this line:
p.innerText = message;

innerText is non-stardard, and doesn't work in Firefox. The line could be replaced by:
p.textContent = message;

Note that textContent doesn't work in IE8 and lower.

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions