Skip to content

@page/page-orientation example doesn't print, lacks "allow-modal" #12387

@goldnate

Description

@goldnate

MDN URL

https://developer.mozilla.org/en-US/docs/Web/CSS/@page/page-orientation

What specific section or headline is this issue about?

Example

What information was incorrect, unhelpful, or incomplete?

I wanted to see how it would print because I was confused about the sentence, "After a page is laid out, the page must be displayed rotated a quarter turn to the left (counter-clockwise)" in the description of rotate-left. Does that mean that the content must somehow be laid out sideways and then turned so that it appears correctly? Also, does that mean that the top and bottom margins indicated for the page become left and right when related to the content? I just wasn't sure so I wanted to print the example.

What did you expect to see?

I expected my browser (Firefox 130.1 (64-bit) on Windows 11 Pro v. 23H2) open up the print dialog or for a PDF of the example to download. Neither happened. Nothing happened. It looks like window.print just doesn't do anything from inside the sandbox.

Do you have any supporting links, references, or citations?

No response

Do you have anything more you want to share?

No response

MDN metadata

Page report details

Metadata

Metadata

Assignees

No one assigned

    Labels

    plus:playground🐛 bugSomething isn't working, or isn't working as expected

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions