Skip to content

Size shorthand is overwriting an existing CSS property #2166

Open
@thecrowkeep

Description

@thecrowkeep

I was mighty confused why my printing stylesheet wasn't working, until I finally discovered that the size property was being replaced with width and height.

size is a property used for defining @page size

I might recommend wh as a shorthand instead, as it describes the format of the string to be passed, is shorter, and is generally more descriptive than size. On top of not conflicting with an existing property.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions