Skip to content

why is <dialog> defaulted to display: block? #26264

@cskinfill

Description

@cskinfill

See this line

article, aside, dialog, figcaption, figure, footer, header, hgroup, main, nav, section {

It seems that this is causing the contents of the <dialog>...</dialog> to be rendered when the page is loaded. If bootstrap is not used, it will hide the contents until myDialog.showModal() is called.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions