

Value types not defined in this specification are defined in CSS Values & Units. This specification follows the CSS property definition conventions from using the value definition syntax from. In order to present text-overflow and block-ellipsis together. Note: This specification also reproduces the definition of the text-overflow property This specification introduces the long-standing de-facto overflow-x and overflow-y properties,Īnd defines overflow handling more fully. Which makes sense when the author’s intent Which means it is no longer an authoring error. Which allows authors to have overflow be handled by scrolling, That content to overlap with other elements.ĬSS Level 2 introduced the overflow property, In CSS Level 1, placing more content than would fit Implementations of Unstable and Proprietary Features.6.3 Fragmentation of Overflow: the continue property.6.2 Forcing a Break After a Set Number of Lines: the max-lines property.6.1 Limiting Visible Lines: the line-clamp shorthand property.5.2 Indicating Block-Axis Overflow: the block-ellipsis property.5.1 Overflow Ellipsis: the text-overflow property.

#CSS OVERFLOW CODE#
Including the spec code “css-overflow” in the title, like this:Īlternately, feedback can be sent to the ( archived) public mailing list document is governed by the 2 November 2021 W3C Process Document.

It is inappropriate to cite this document as other than work in progress. Or obsoleted by other documents at any time. īy the CSS Working Group as a Working Draft using the Recommendationĭoes not imply endorsement by W3C and its Members. If the Visual media in use is static (such as Print) the content should be treated as if the value was ‘visible’.Īuto: This value is browser and media dependent, but should allow for a horizontal scrollbar if possible in case of overflow.This section describes the status of this document at the time of its publication.Īnd the latest revision of this technical reportĬan be found in the W3C technical reports index at. Scroll: Content is clipped as necessary, but a horizontal scrollbar is made available where necessary to view the additional, non-visible content. The size of the clipping region is defined by the ‘clip’ property. Hidden: Content is clipped and content outside of the element’s box is not visible. Visible: Content is not clipped and may be rendered outside of the element’s box. Some content in an element may fall outside the element’s rendering box for a number of reasons (negative margins, absolute positioning, content exceeding the width/height set for an element, etc.) In cases where this occurs, the ‘overflow-x’ property describes what to do with the content that exceeds the element’s width.
