:fullscreen pseudo-class should have box-sizing:border-box style

RESOLVED FIXED in mozilla18

Status

()

RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: cpearce, Assigned: cpearce)

Tracking

unspecified
mozilla18
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
The fullscreen spec [1] says that the :fullscreen pseudo-class should have the box-sizing:border-box style.

Without this, the fullscreen element's content is offset by the width of its borders and padding, causing content at the right and bottom to be outside of the view port.

For example, see the testcase:
http://people.mozilla.org/~cpearce/lorem-fullscreen.html

Click the "lorem" button to fullscreen div containing the "Lorem ipsum..." text, and note that the vertical scroll bar and right border is hidden off-screen, and the last line is lost too when you scroll to the bottom too.

[1] http://dvcs.w3.org/hg/fullscreen/raw-file/tip/Overview.html#:fullscreen-pseudo-class
(Assignee)

Comment 1

6 years ago
Created attachment 658354 [details] [diff] [review]
Patch: Add -moz-box-sizing:border-box to :-moz-full-screen
Attachment #658354 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/35e22307b242
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.