Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(dialog): log warning if doctype is missing
Logs a warning in the dialog service, if the doctype is missing. In such cases, the page is put into quirks mode, which causes the dialog to take up the entire height of the viewport, without much feedback regarding why. We can't really do much to work around the height issue in Material, however not adding a doctype isn't a good idea in general. Fixes angular#2351.
- Loading branch information