Closed Bug 1108277 Opened 6 years ago Closed 6 years ago

the <canvas> element returns incorrect min/pref inline-size in vertical writing modes

Categories

(Core :: Layout: Block and Inline, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla37

People

(Reporter: jfkthame, Assigned: jfkthame)

References

(Blocks 1 open bug)

Details

Attachments

(3 files)

For a simple demonstration, put a <canvas> inside an html <button>, as in the attached testcase, and note how the *width* of the canvas contributes to the *height* of the enclosing button.
Assignee: nobody → jfkthame
Status: NEW → ASSIGNED
Looking around in layout/generic, I notice the same issue exists for video and plugin frames; let's fix those while we're here.
Attachment #8532844 - Flags: review?(smontagu)
Attachment #8532842 - Flags: review?(smontagu) → review+
Attachment #8532844 - Flags: review?(smontagu) → review+
You need to log in before you can comment on or make changes to this bug.