Skip to content

[css-viewport-1] Viewport <meta> element should have a definition #12710

Open

Description

@shubhamg13

This is regarding Issue for missing spec of Viewport <meta> element

What are the expectations for a proper definition.

Activity

  1. shubhamg13 commented on Sep 11, 2025

    @shubhamg13
    ContributorAuthor

    I'm interested in contributing CSS WG. I would like to work on this one.

    @tabatkins
    @fantasai

  2. fantasai commented on Sep 11, 2025

    @fantasai
    Collaborator

    My suggestion would be to look up the spec definitions of other, similar <meta> features to get a sense of what needs to be defined; to read some solidly written CSS specs that are CR level of stability or above, to get a sense of how a solid spec is written; and to dig up any old discussions about this feature to see what details need to be included in the definition. And then try to draft something up that is both readable and also clearly defines all the details that need to go into the spec.

    It's not a "good first bug", to be perfectly honest, as this is not a particularly easy task, but this is my advice if you want to give it a try. :)

  3. shubhamg13 commented on Sep 15, 2025

    @shubhamg13
    ContributorAuthor

    It's not a "good first bug", to be perfectly honest, as this is not a particularly easy task, but this is my advice if you want to give it a try. :)

    Yes, I agree. I guess it is itself a comprehensive tag that supports quite a many attributes or most number of attributes. Still I want to give a try.

    I went through spec definition of some <meta> tags, and discovered what a complete spec should include.

    • a definition of parent tags, if any
    • a complete definition of itself
    • examples for accurate syntax
    • list of attributes/properties
      • their definition
      • how they affect page with example
      • and ranges of values
      • default values
    • steps/algorithms for UA

    Some references

    Is it good enough to start? (Can you open my previous PR? I will work on it in draft mode.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions