microsoft / microsoft/vscode-edge-devtools

Missing 'viewport' problem was not shown near <meta> element

Open
#1,003 2 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug tracked
Dominant language
TypeScript
Stars
827
Forks
358
Avg merge
20h 32m
Merged PRs (30d)
10

Description

Is your feature request related to a problem? Please describe.

My html page had a <meta> element in <head>, but the problem for a missing 'viewport' wasn't shown inline. Instead, it was shown at the root <!DOCTYPE> element.

Describe the solution you'd like:

I'd like to see problem next to the <meta> element, similar to the '<html> element must have a lang attribute...' problem. See both attached images to compare the difference.

Describe alternatives you've considered:

Additional context:

WHIssue2
WHIssue1

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Compare the missing “viewport” diagnostic with the existing “html element must have a lang attribute” diagnostic, using the reported HTML page and attached screenshots as the behavioral reference. Done means the missing-viewport problem is displayed beside the relevant meta element rather than at the root doctype element.

Written by the indexing model from the issue text.

Assessment

Tech stack
html, typescript
Domain
devtools
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
38/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.