Skip to content

Remove the requirement for authors to provide dimensions for the map element? #96

@Malvoz

Description

@Malvoz

As I understand it, there is a requirement for authors to provide the dimensions for the map element (with no description for how UAs should handle cases when they're missing):

The required width and height attributes of the map element allow the HTML author to explicitly set the size of the rectangular area devoted to the map. If the attributes are not set directly by the HTML author, their values must be established via CSS width and height properties or through script. In any case, these values must be established in order for the map to process and display its content. The map can be re-sized via changes to those properties.

In HTML dimension attributes "may" be specified: https://html.spec.whatwg.org/#dimension-attributes.

Instead, I think we can define a default object size (this is 300x150px for iframes), which I think would better match the expectations from authors.

Metadata

Metadata

Assignees

No one assigned

    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