Closed Bug 788387 Opened 13 years ago Closed 13 years ago

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

Categories

(Core :: DOM: Core & HTML, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla18

People

(Reporter: cpearce, Assigned: cpearce)

References

()

Details

Attachments

(1 file)

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
Status: NEW → RESOLVED
Closed: 13 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla18
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: