Skip to content

[emmet] http-equiv="X-UA-Compatible" in 2023Β #165933

@wesbos

Description

@wesbos

The emmet expansions ! and html:5 both produce this expansion:

<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  
</body>
</html>

The <meta http-equiv="X-UA-Compatible" content="IE=edge"> meta tag is unnecessary and should be removed. It was last used in IE10 to turn on compatibility mode and now as even IE11 is dead, we can safely remove it.

It was initially removed in 2019: #80923
Then added back in: #108119
Then suggested to remove it again in 2021, which Im pretty sure incorrectly says it was needed for ie11: #128374

Now that all IE is dead, let's get rid of it!

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugdebtCode quality issuesemmetEmmet related issuesinsiders-releasedPatch has been released in VS Code InsidersupstreamIssue identified as 'upstream' component related (exists outside of VS Code)verifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions