Title: CSS Overflow Module Level 4
Status: ED
Work Status: Revising
ED: https://drafts.csswg.org/css-overflow-4/
Shortname: css-overflow
Group: csswg
Level: 4
TR: https://www.w3.org/TR/css-overflow-4/
Editor: L. David Baron, Google https://www.google.com/, https://dbaron.org/, w3cid 15393
Editor: Florian Rivoal, On behalf of Bloomberg, http://florian.rivoal.net/, w3cid 43241
Editor: Elika J. Etemad / fantasai, Apple, http://fantasai.inkedblade.net/contact, w3cid 35400
Abstract: This module contains the features of CSS relating to scrollable overflow handling in visual media.
	It builds on the CSS Overflow Module Level 3,
	defining
	'line-clamp', its longhands, and its legacy pre-standard syntax;
	adding a 'block-ellipsis' property;
	and expanding 'overflow-clip-margin' with longhands.
At Risk: ''continue: discard''
url: https://drafts.csswg.org/selectors-3/#subject; type: dfn; text: subject;
url: https://www.w3.org/TR/CSS21/visudet.html#strut; type: dfn; text: strut;
WPT Display: closed
WPT Path Prefix: /css/css-overflow/line-clamp/

Introduction

This specification extends [[!CSS-OVERFLOW-3]]. It contains several primary sections: : [[#overflow-properties|Overflow Scrolling and Clipping Controls]] :: This section defines relatively simple extensions to the 'overflow-*' properties [[css-overflow-3#overflow-properties|in Level 3]]. : [[#auto-ellipsis|Automatic Ellipses]]. :: This section defines some experimental extensions to the '*-ellipsis' properties [[css-overflow-3#auto-ellipsis|in Level 3]]. Note: At the time of writing, [[CSS-OVERFLOW-3]] is not completely finalized yet. To avoid accidental divergences and maintenance overhead, This specification is written as a delta specification over css-overflow Level 3. Once the level 3 specification is final, its content will be integrated into this specification, which will then replace it. Until then, this specification only contains additions and extensions to level 3.

Value Definitions

This specification follows the CSS property definition conventions from [[!CSS2]] using the value definition syntax from [[!CSS-VALUES-3]]. Value types not defined in this specification are defined in CSS Values & Units [[!CSS-VALUES-3]]. Combination with other CSS modules may expand the definitions of these value types. In addition to the property-specific values listed in their definitions, all properties defined in this specification also accept the CSS-wide keywords as their property value. For readability they have not been repeated explicitly.

Module Interactions

This module extends features defined in [[!CSS-OVERFLOW-3]].

Overflow Concepts and Terminology

Issue: Copy [[css-overflow-3#overflow-concepts|Level 3 content]] when final.

Scrolling and Clipping Overflow

Issue: Copy [[css-overflow-3#overflow-properties|Level 3 content]] when final.

Managing Overflow: the 'overflow-x', 'overflow-y', and 'overflow' properties

This level extends the 'overflow-x' and 'overflow-y' properties (and 'overflow' [=shorthand=]) to apply to [=replaced elements=]. On [=replaced elements=], the [=used values=] of all computed values other than ''overflow/visible'' is ''overflow/clip''. Host languages should define [=UA style sheet=] rules that apply a default value of ''overflow/clip'' to such elements and set their 'overflow-clip-margin' to ''overflow-clip-margin/content-box''. Note: Application of 'overflow' to [=replaced elements=] was added to allow images to paint effects outside their effective layout box; the recommended UA style sheet rules are to effect their original behavior as a default. See discussion in Issue 7059 and Issue 7144. This is a change from CSS2.1 and is at-risk. ISSUE(7144): Application of 'overflow' to [=replaced elements=] is still being worked out.

Changing Clipping Bounds: the 'overflow-clip-margin-*' properties

	Name: overflow-clip-margin-top, overflow-clip-margin-right, overflow-clip-margin-bottom, overflow-clip-margin-left, overflow-clip-margin-block-start, overflow-clip-margin-inline-start, overflow-clip-margin-block-end, overflow-clip-margin-inline-end
	Value: <> || <>
	Initial: ''0px''
	Inherited: no
	Logical property group: overflow-clip-margin
	Applies to: boxes to which 'overflow' applies
	Computed value: the computed <> and a <> keyword
	Animation type: per computed value if the <> values match; otherwise discrete
	
	Name: overflow-clip-margin, overflow-clip-margin-inline, overflow-clip-margin-block
	Value: <> || <>
	Initial: ''0px''
	Inherited: no
	Applies to: boxes to which 'overflow' applies
	
These properties and their shorthands define the overflow clip edge of the box, i.e. precisely how far outside its bounds the box’s content is allowed to paint before being clipped by effects (such as ''overflow: clip'', above) that are defined to clip to the box’s [=overflow clip edge=]. The [=shorthand=]/[=longhand=] relationships are as for 'margin', but note that the [=shorthands=] have a restricted syntax. Values are defined as follows:
: <> :: Specifies the box edge to use as the [=overflow clip edge=] origin, i.e. when the specified offset is zero. If omitted, defaults to ''overflow-clip-margin/padding-box'' on non-[=replaced=] elements, or ''overflow-clip/content-box'' on [=replaced=] elements. ISSUE(7144): Application of 'overflow-clip-margin' to [=replaced elements=] is still being worked out. : <> :: The specified offset dictates how much the [=overflow clip edge=] is expanded from the specified box edge. Negative values shrink the box, instead. Defaults to zero if omitted.
The [=overflow clip edge=] is shaped in the corners exactly the same way as an outer box-shadow with a spread radius of the same cumulative offset from the box’s [=border edge=]. See [[css-backgrounds-3#corner-shaping]] and [[css-backgrounds-3#shadow-shape]], noting in particular the formula for outsets beyond the [=border edge=].

Automatic Ellipses

Inline Overflow Ellipsis: the 'text-overflow' property

	Name: text-overflow
	Value: [ clip | ellipsis | <> | fade | <> ]{1,2}
	Initial: clip
	Applies to: block containers
	Inherited: no
	Percentages: refer to the width of the line box
	Computed value: as specified, with lengths made absolute
	Animation type: by computed value type
	
line-clamp-auto-009.html line-clamp-auto-010.html webkit-line-clamp-036.html webkit-line-clamp-037.html line-clamp-with-text-overflow-string-003.html ISSUE: This section might need to be re-synced against [[CSS-OVERFLOW-3]]. This property specifies rendering when inline content overflows its line box edge in the inline progression direction of its block container element ("the block") that has 'overflow' other than ''overflow/visible''. Even though this property is not inherited, anonymous block container boxes generated to establish the line box's inline formatting context (see [=block container=]) are ignored, and the value of the property that applies is the one on the non anonymous box. This can be seen in the “nested paragraph” part of : even though the word “NESTED” is wrapped in an anonymous block container whose 'text-overflow' property has the initial value, it is ellipsed. Text can overflow for example when it is prevented from wrapping (e.g. due to white-space: nowrap or a single word is too long to fit). Values have the following meanings:
clip
Clip inline content that overflows its block container element. Characters may be only partially rendered.
ellipsis
Render an ellipsis character (U+2026) to represent clipped inline content. Implementations may substitute a more language, script, or writing-mode appropriate ellipsis character, or three dots "..." if the ellipsis character is unavailable.
<>
Render the given string to represent clipped inline content.
fade( [ <> ] )
Clip inline content that overflows its line box. Characters may be only partially rendered. In addition, the UA must apply a fade out effect near the edge of the line box, reaching complete transparency at the edge. Issue: Do we need to define the way the fade out is calculated so that the fading is identical across browsers? It should probably be something like ''mask-image: linear-gradient(to right, rgba(0,0,0,1), rgba(0,0,0,0))'', except applied to the relevant portion of the line only. The argument determines the distance over which the fade effect is applied. The <> is resolved against the width of the line box. Values lower than 0 are clipped to 0. Values greater than the width of the line box are clipped to the width of the line box. Issue: If the line box is too short to display the fade effect at the desired length, should we drop the effect, or shrink the distance it is applied over until it fits, or clip the end of the fade? Issue: How should we deal with things overflowing out of the line box, or overlapping onto it? Should fade apply to the logical content of the line, or to the physical area of the line box, or the intersection of both?
fade
Same as ''fade()'', but the distance over which the fading effect is applied is determined by the UA. ''1em'' is suggested as a reasonable value.
The term "character" is used in this property definition for better readability and means "grapheme cluster" [[!UAX29]] for implementation purposes. If there is one value, it applies only to the end line box edge. If there are two values, the first value applies to the line-left edge, and the second value applies to the line-right edge. The terms end, line-left and line-right are defined in [[!CSS-WRITING-MODES-3]]. Note: the use of line-left and line-right rather than start and end when there are two values is intentional, to facilitate the use of directional characters such as arrows. For the ellipsis and string values, implementations must hide characters and atomic inline-level elements at the applicable edge(s) of the line as necessary to fit the ellipsis/string, and place the ellipsis/string immediately adjacent to the applicable edge(s) of the remaining inline content. The first character or atomic inline-level element on a line must be clipped rather than ellipsed.

Bidi ellipsis examples

These examples demonstrate which characters get hidden to make room for the ellipsis in a bidi situation: those visually at the edge of the line. Sample CSS:

		div {
			font-family: monospace;
			white-space: pre;
			overflow: hidden;
			width: 9ch;
			text-overflow: ellipsis;
		}
		
Sample HTML fragments, renderings, and your browser:
HTMLReference renderingYour Browser
<div>שלום 123456</div>
123456 ם…
שלום 123456
<div dir=rtl>שלום 123456</div>
…456 שלום
שלום 123456

ellipsing details

user interaction with ellipsis

text-overflow examples

These examples demonstrate setting the text-overflow of a block container element that has text which overflows its dimensions: sample CSS for a div:

		div {
			font-family: Helvetica, sans-serif;
			line-height: 1.1;
			width: 3.1em;
			border: solid .1em black;
			padding: 0.2em; margin:1em 0;
		}
		
sample HTML fragments, renderings, and your browser:
HTML sample rendering your browser

				<div>
				CSS IS AWESOME, YES
				</div>
				
First, a box with text drawing outside of it.
CSS IS AWESOME, YES

				<div style="text-overflow:clip; overflow:hidden">
				CSS IS AWESOME, YES
				</div>
				
Second, a similar box with the text clipped outside the box.
CSS IS AWESOME, YES

				<div style="text-overflow:ellipsis; overflow:hidden">
				CSS IS AWESOME, YES
				</div>
				
Third, a similar box with an ellipsis representing the clipped text.
CSS IS AWESOME, YES

				<div style="text-overflow:ellipsis; overflow:hidden">
				NESTED
				 <p>PARAGRAPH</p>
				WON'T ELLIPSE.
				</div>
				
Fourth, a box with a nested paragraph demonstrating anonymous block boxes equivalency and non-inheritance into a nested element.
NESTED

PARAGRAPH

WON'T ELLIPSE.

				<div style="text-overflow:fade; overflow:hidden">
				CSS IS AWESOME, YES
				</div>
				
a box with the text fading out on overflow.
CSS IS AWESOME, YES
Note: the side of the line that the ellipsis is placed depends on the 'direction' of the block. E.g. an overflow hidden right-to-left (direction: rtl) block clips inline content on the left side, thus would place a text-overflow ellipsis on the left to represent that clipped content. Issue: insert RTL example diagram here to illustrate note.

ellipsis interaction with scrolling interfaces

This section applies to elements with text-overflow other than ''text-overflow:clip'' (non-clip text-overflow) and overflow:scroll. When an element with non-clip text-overflow has overflow of scroll in the inline progression dimension of the text, and the browser provides a mechanism for scrolling (e.g. a scrollbar on the element, or a touch interface to swipe-scroll, etc.), there are additional implementation details that provide a better user experience: When an element is scrolled (e.g. by the user, DOM manipulation), more of the element's content is shown. The value of text-overflow should not affect whether more of the element's content is shown or not. If a non-clip text-overflow is set, then as more content is scrolled into view, implementations should show whatever additional content fits, only truncating content which would otherwise be clipped (or is necessary to make room for the ellipsis/string), until the element is scrolled far enough to display the edge of the content at which point that content should be displayed rather than an ellipsis/string.
This example uses text-overflow on an element with overflow scroll to demonstrate the above described behavior. sample CSS:

		div.crawlbar {
			text-overflow: ellipsis;
			height: 2em;
			line-height: 1em;
			overflow: scroll;
			white-space: nowrap;
			width: 15em;
			border:1em solid black;
		}
		
sample HTML fragment:

		<div class="crawlbar">
		CSS is awesome, especially when you can scroll
		to see extra text instead of just
		having it overlap other text by default.
		</div>
		
demonstration of sample CSS and HTML:
CSS is awesome, especially when you can scroll to see extra text instead of just having it overlap other text by default.
As some content is scrolled into view, it is likely that other content may scroll out of view on the other side. If that content's block container element is the same that's doing the scrolling, and the computed value of 'text-overflow' has two values, with the value applying to the start edge being a non-clip value, then implementations must render an ellipsis/string in place of the clipped content, with the same details as described in the value definition above, except that the ellipsis/string is drawn in the start (rather than end) of the block's direction (per the direction property). While the content is being scrolled, implementations may adjust their rendering of ellipses/strings (e.g. align to the box edges rather than line edges).
Same as previous example except with text-overflow: ellipsis ellipsis, demonstrated:
CSS is awesome, especially when you can scroll to see extra text instead of just having it overlap other text by default.
If there is insufficient space for both start and end ellipses/strings, then only the end ellipsis/string should be rendered.

Indicating Block-Axis Overflow: the 'block-ellipsis' property

		Name: block-ellipsis
		Value: no-ellipsis | auto | <>
		Initial: no-ellipsis
		Applies to: [=block containers=]
		Inherited: yes
		Percentages: N/A
		Computed value: specified value
		Animation type: discrete
	
block-ellipsis-invalid.html block-ellipsis-valid.html continue-001.html This property allows inserting content into the last line box before a [=clamp point=] or a (forced or unforced) region break to indicate the continuity of truncated / interrupted content. It only affects line boxes contained directly by the block container itself, but as it inherits, will have an effect on descendants’ line boxes unless overridden. block-ellipsis-011.html block-ellipsis-012.html block-ellipsis-022.html block-ellipsis-repaint-002.html line-clamp-auto-016.html line-clamp-auto-017.html Ignoring any intervening [=absolutely positioned=] elements or element closing boundaries, this property affects a line box that immediately precedes a [=region break=] or a [=clamp point=] when both participate in the same [=independent formatting context=]. line-clamp-auto-034.html line-clamp-auto-036.html line-clamp-auto-039.html line-clamp-auto-040.html Note: See ''continue: discard'' for a way to generate boxes with such a [=region break=].
```html
Line 1
Line 2
Line 3
Line 4
Line 5
``` Here the clamp point is not immediately after a line box, but the only thing between it and the last line box are element closing boundaries and abspos, and both are in the same independent formatting context, so "Line 4" is ellipsized.
Meanwhile, in this example, there is an in-flow element between the line box and the clamp point, so no ellipsis is shown: ```html
Line 1
Line 2
Line 3
```
In this example, the last line box is contained in an [=independent formatting context=], so no ellipsis will be shown: ```html
Line 1
Line 2
Line 3
```
The inserted content is called the block overflow ellipsis. Values have the following meanings:
no-ellipsis
The rendering is unaffected. block-ellipsis-023.html
auto
Render an ellipsis character (U+2026)-- or a more typographically-appropriate equivalent-- as the block overflow ellipsis at the end of the affected line box. UAs should use the conventions of the content language, writing system, and writing mode to determine the most appropriate ellipsis string. line-clamp-with-text-overflow-string-001.html line-clamp-with-text-overflow-string-002.html line-clamp-with-text-overflow-string-003.html
<>
Render the specified string as the block overflow ellipsis at the end of the affected line box. The UA may truncate this string if it is absurdly long. When set to the empty string, the behavior is identical to the ''no-ellipsis'' value. block-ellipsis-024.html
When 'block-ellipsis' is neither ''no-ellipsis'' nor the empty string, the [=block overflow ellipsis=] string is placed at the end of the line box reducing the space available to the other contents of the line. block-ellipsis-023.html block-ellipsis-024.html block-ellipsis-repaint-001.html block-ellipsis-repaint-003.html block-ellipsis-repaint-004.html More specifically: * The [=block overflow ellipsis=] is wrapped in an anonymous inline whose parent is the [=block container=]’s [=root inline box=]. This inline is assigned ''unicode-bidi: isolate'' and ''line-height: 0''. block-ellipsis-002.html block-ellipsis-003.html block-ellipsis-004.html block-ellipsis-005.html block-ellipsis-006.html block-ellipsis-010.html * The user agent makes room as necessary of the [=block overflow ellipsis=] by displacing content from the end of the line as if wrapping, until the last soft wrap opportunity (see [[!CSS-TEXT-3]]) that would still allow the entire block overflow ellipsis to fit on the line, applying [[css-text-4#white-space-rules]] including [[css-text-4#white-space-phase-2]] before insertion. block-ellipsis-001.html block-ellipsis-028.html block-ellipsis-029.html block-ellipsis-030.html webkit-line-clamp-025.html For this purpose, soft wrap opportunities added by 'overflow-wrap' are ignored, as are those inhibited by ''text-wrap-mode: nowrap''. block-ellipsis-013.html block-ellipsis-014.html block-ellipsis-015.tentative.html block-ellipsis-016.html block-ellipsis-017.html block-ellipsis-027.html If this results in the entire contents of the line box being displaced, the line box is considered to contain a [=strut=], as defined in [[CSS2/visudet#leading]]. block-ellipsis-016.html block-ellipsis-018.html block-ellipsis-025.html Displacing content to make room for the [=block overflow ellipsis=] can cause the [=logical height=] of line box where it is inserted to shrink. This must not cause a reevaluation of the effects of the 'continue' property and must not change which line box is the last one before the truncated content. line-clamp-auto-041.html * The anonymous inline of [=block overflow ellipsis=] is placed after any remaining content, after [[css-text-4#white-space-phase-2]], as a direct child of the block container’s root inline box. block-ellipsis-004.html block-ellipsis-005.html block-ellipsis-006.html block-ellipsis-026.html webkit-line-clamp-014.html webkit-line-clamp-032.html webkit-line-clamp-035.html Text alignment and justification occurs after placement, and measures the inserted block overflow ellipsis together with the rest of the line’s content. webkit-line-clamp-051.html webkit-line-clamp-052.html webkit-line-clamp-053.html Note: Setting the [=block overflow ellipsis=]'s 'line-height' to ''0'' makes sure that inserting it cannot cause the line's height to grow, which could cause further relayouts and potentially cycles. This is almost equivalent to inserting the [=block overflow ellipsis=] as a paint-time operation, except that it still participates in alignment and justification. The downside is that unusually tall / deep glyphs in the [=block overflow ellipsis=] may overflow. The [=block overflow ellipsis=] must not be included in either the ''::first-letter'' nor the ''::first-line'' pseudo-elements. block-ellipsis-007.html block-ellipsis-008.html block-ellipsis-009.html block-ellipsis-019.html block-ellipsis-020.html block-ellipsis-021.html If the [=block overflow ellipsis=] is placed before a [=region break=] and there is a subsequent fragmentation container in the [=fragmentation context=] that would receive subsequent content, then the content displaced by the block overflow ellipsis must be pushed to that fragmentation container. If it is placed before a [=clamp point=], then the displaced content must be pushed to the remainder of the [=inline formatting context=]. The UA must treat the block overflow ellipsis as an unbreakable string, If any part of the [=block overflow ellipsis=] overflows, it is treated as [=scrollable overflow=], and its rendering is affected by the 'text-overflow' property. The block overflow ellipsis does not capture events: pointer events are dispatched to whatever is underneath it. It also has no effect on the intrinsic size of the box: its min-content and max-content sizes are calculated exactly as if 'block-ellipsis' were ''no-ellipsis''. Note: Future specifications may extend this feature, for example by providing an ''::ellipsis'' pseudo-element to style the text, or by allowing the selection of a child element of the block to use as either an inline-level or block-level indicator (in which case, it can capture events).

Suppressing Excess Content

Limiting Visible Lines: the 'line-clamp' shorthand property

		Name: line-clamp
		Value: none | [<> || <<'block-ellipsis'>>] ''-webkit-legacy''?
		Initial: none
		Percentages: N/A
	
line-clamp-valid.html line-clamp-invalid.html The 'line-clamp' property is a shorthand for the 'max-lines', 'block-ellipsis', and 'continue' properties. It allows limiting the contents of a block container to the specified number of lines; remaining content is fragmented away and neither rendered nor measured. Optionally, it also allows inserting content into the last line box to indicate the continuity of truncated/interrupted content. line-clamp-001.html webkit-line-clamp-034.html The values have the following meaning:
none
Sets 'max-lines' to ''max-lines/none'', 'continue' to ''continue/auto'', and 'block-ellipsis' to ''no-ellipsis''. line-clamp-020.html line-clamp-auto-038.html webkit-line-clamp-018.html
<>
<'block-ellipsis'>
Sets 'continue' to ''collapse'' if either or both values are specified, unless the ''line-clamp/-webkit-legacy'' keyword is also specified. Sets 'max-lines' to the specified <> or to ''max-lines/none'' if omitted, and 'block-ellipsis' to other component of the value if specified or to ''block-ellipsis/auto'' if omitted. line-clamp-auto-001-crash.html line-clamp-auto-002-crash.html line-clamp-auto-001.html
-webkit-legacy
Sets 'continue' to ''continue/-webkit-legacy''.
See the corresponding longhand properties for details about how this mechanism operates.
In this example, the lead paragraph of each article is listed in a shortened menu, truncated to fit within 5 lines that end with “… (continued on next page)”: li { line-clamp: 5 "… (continued on next page)"; } strong { display: block; text-transform: uppercase; } <li><a href="cheese-is-milk"> <strong>Cheese is Actually Made of Milk!</strong> Investigative reporters at the World Wide Web Press Corps have discovered the secret of cheese. Tracing through byzantine layers of bureaucracy and shadow corporations, our crack team of journalists have traced the source of camembert. </a></li> Sample rendering:
			+---------------------------------------+
			| CHEESE IS ACTUALLY MADE OF MILK!      |
			| Investigative reporters at the World  |
			| Wide Web Press Corps have discovered  |
			| the secret of cheese. Tracing through |
			| byzantine…  (continued on next page)  |
			+---------------------------------------+
		

Legacy compatibility

For compatibility with legacy content, UAs that support 'line-clamp' must also support the '-webkit-line-clamp' property and the additional ''continue/-webkit-legacy'' value for the 'continue' property.
		Name: -webkit-line-clamp
		Value: none | <>
		Initial: none
		Percentages: N/A
	
webkit-line-clamp-041-crash.html webkit-line-clamp-042-crash.html webkit-line-clamp-bug-1926732-crash.html webkit-line-clamp-049.html webkit-line-clamp-valid.html webkit-line-clamp-invalid.html
		Name: continue
		New Values: -webkit-legacy
	
Like 'line-clamp', '-webkit-line-clamp' is a shorthand of 'max-lines', 'block-ellipsis', and 'continue', except that: line-clamp-019.html line-clamp-034.html webkit-line-clamp-005.html * its syntax is ''line-clamp/none'' | <> * it unconditionally sets 'block-ellipsis' to ''block-ellipsis/auto'' webkit-line-clamp-003.html webkit-line-clamp-004.html * it sets 'continue' to ''continue/-webkit-legacy'' instead of ''collapse'' when an <> is specified (as if the ''line-clamp/-webkit-legacy'' keyword was set on 'line-clamp') webkit-line-clamp-001.html webkit-line-clamp-002.html webkit-line-clamp-003.html webkit-line-clamp-004.html The -webkit-legacy value behaves identically to ''collapse'', except that it only takes effect if the [=specified value=] of the 'display' property is ''-webkit-box'' or ''-webkit-inline-box'' and the value of the '-webkit-box-orient' property is ''-webkit-box-orient/vertical''. webkit-line-clamp-001.html webkit-line-clamp-002.html webkit-line-clamp-007.html webkit-line-clamp-015.html webkit-line-clamp-016.html webkit-line-clamp-024.html webkit-line-clamp-026.html webkit-line-clamp-048.html Note: Implementations of the legacy '-webkit-line-clamp' property have not behaved identically to what is specified here. The historical behavior is quirky and less robust, as documented for example in this blog post. The current design learns from the mistakes of that early experiment, and is intended to be sufficiently compatible with existing content that implementations can eventually be changed to follow to the specified behavior. If further adjustments are found to be necessary, they will be incorporated to this specification. In the meanwhile, authors should be aware that there may be discrepancies.

Forcing a Break After a Set Number of Lines: the 'max-lines' property

		Name: max-lines
		Value: ''none'' | <>
		Initial: ''none''
		Applies to: block containers which are also either [=line-clamp containers=] or [=fragmentation containers=] that capture [=region breaks=]
		Inherited: no
		Percentages: N/A
		Computed value: the keyword ''max-lines/none'' or an integer
		Animation type: by computed value type
	
max-lines-valid.html max-lines-invalid.html webkit-line-clamp-030.html If the value of 'max-lines' is not none, then, given a [=computed value=] of N: - If the box is a [=line-clamp container=], its line-based clamp point is set to the first possible clamp point after its Nth descendant in-flow line box. If fewer than N line boxes exist, or if there are no possible clamp points after the Nth descendant in-flow line box, then that line-clamp container has no [=line-based clamp point=]. block-ellipsis-022.html line-clamp-001.html line-clamp-002.html line-clamp-003.html line-clamp-005.html line-clamp-006.html line-clamp-030.html line-clamp-with-abspos-018.html webkit-line-clamp-003.html webkit-line-clamp-004.html webkit-line-clamp-005.html webkit-line-clamp-006.html webkit-line-clamp-009.html webkit-line-clamp-010.html webkit-line-clamp-017.html webkit-line-clamp-019.html webkit-line-clamp-020.html webkit-line-clamp-021.html webkit-line-clamp-022.html webkit-line-clamp-023.html webkit-line-clamp-030.html webkit-line-clamp-031.html webkit-line-clamp-033.html webkit-line-clamp-038.html webkit-line-clamp-039.html webkit-line-clamp-040.html webkit-line-clamp-043.html webkit-line-clamp-block-in-inline-001.html webkit-line-clamp-dynamic-001.html webkit-line-clamp-with-line-height.html webkit-line-clamp-with-max-height.html line-clamp-content-height-with-dynamic-change.html - If the box is a [=fragmentation container=] that captures [=region breaks=], a region break is forced after its Nth descendant in-flow line box. If fewer than N line boxes exist, then 'max-lines' introduces no region break. Only line boxes in the same block formatting context are counted: the contents of descendants that establish independent formatting contexts are skipped over while counting line boxes. line-clamp-006.html webkit-line-clamp-011.html webkit-line-clamp-012.html webkit-line-clamp-013.html webkit-line-clamp-027.html webkit-line-clamp-029.html Note: This implies that 'max-lines' has no effect when applied to [=multi-column containers=], since any line box they contain are nested into [=independent formatting contexts=]. discard/discard-multicol-004.html Only positive integers are accepted. Zero or negative integers are invalid and must cause the declaration to be ignored. Note: The 'widows', 'orphans', and 'break-inside' properties do not affect the position of the forced region break introduced by the 'max-lines' property.
Note: Despite the “region break” name, this is not a dependency on [[CSS-REGIONS-1]]. The word “region” is only used as a classifier for forced breaks: they can be “page breaks” (breaks across pages [[css-page-3]]), “column breaks” (breaks across multi-column layout columns [[css-multicol-1]]), or “region breaks” (breaks across any other kind of CSS-induced fragmentation containers). If an implementation supports neither [[CSS-REGIONS-1]] nor ''continue: discard'', then it will have had no occasion yet to run into that kind of breaks, and this will be an addition. However the addition does not involve bringing over any of the [[CSS-REGIONS-1]] functionality. All that is needed is: * be able to fragment * classify these fragmentation containers as “Category 3” (i.e. not pages nor columns) for the purpose of forced breaks.

Handling of Excess Content: the 'continue' property

		Name: continue
		Value: auto | discard | collapse
		Initial: ''continue/auto''
		Applies to: [=block containers=] and [=multicol containers=]
		Inherited: no
		Percentages: N/A
		Computed value: specified keyword
		Animation type: discrete
	
continue-valid.html continue-invalid.html line-clamp-014.html line-clamp-015.html line-clamp-029.html The 'continue' property gives authors the ability to truncate/interrupt the content inside a box, either by visually hiding the remaining content, or by turning the box into a [=fragmentation container=] (see [[!CSS-BREAK-3]]) and discarding the content after the [=fragmentation break=].
auto
If the box has more content than can fit, the excess content is handled according to the usual rules.
collapse
If the box is a [=block container=], then it must [=establish an independent formatting context=] that also becomes a [=line-clamp container=]. This causes all content after the [=clamp point=] to be visually hidden, and to not be taken into account for the box's [=automatic block size=]. line-clamp-004.html line-clamp-008.html line-clamp-009.html line-clamp-013.tentative.html line-clamp-031.html webkit-line-clamp-006.html webkit-line-clamp-040.html continue-001.html If the box is a [=multicol container=], the behavior is the same as ''continue/auto''.
discard
The box must [=establish an independent formatting context=] and becomes a [=fragmentation container=] that captures region breaks, if it is not already. [[!CSS-BREAK-3]] Content after the first [=region break=] is not rendered. Note: This [=region break=] might be forced (e.g. imposed by 'max-lines' or by another mechanism, such as the 'break-before'/'break-after' properties) or [=unforced break|unforced=] (e.g. if the content would otherwise overflow this [=fragmentation container=] due to its size constraints). Breaks applying to other [=fragmentation contexts=] (such as pagination of this box itself) do not cause any content to be discarded. See [[#discarding-content]] for further details. Issue: ''continue: discard'' is meant to generalize and replace the region-fragment property from [[CSS-REGIONS-1]]. Once it is sufficiently stable in this specification, region-fragment should be removed from the regions specification in favor of this. Note: ''continue: discard'' is [=at risk=]: it may be removed before advancement to [=Recommendation=] if criteria for advancement are not fulfilled.
Given, as in the illustration bellow, an article with one excessively long overflowing line and four more lines in the [=block dimension=] than can fit, different renderings are possible based on the combination of the 'overflow' and 'continue' property.
article with one excessively long line and four more that can fit in the block direction
''continue: collapse'' / ''continue: discard'' ''continue: auto''
''overflow: visible'' rendering with continue:discard and overflow:visible rendering with continue:auto and overflow:visible
''overflow: hidden'' rendering with continue:discard and overflow:hidden rendering with continue:auto and overflow:hidden
When 'text-wrap-style' is set to ''text-wrap-style/balance'' on a block container whose 'continue' has a value other than ''continue/auto'', or which participates in the [=block formatting context=] established by an element whose 'continue' has a value other than ''continue/auto'', layout must first be computed as if 'text-wrap-style' were set to 'text-wrap-style/stable'. Then, after any excess content has been truncated and after any necessary [=block overflow ellipsis=] has been inserted, the remaining content must be rebalanced, as per ''text-wrap-style: balance''. If this rebalancing would cause the [=logical height=] of the content to grow, the cutoff point ([=clamp point=] or [=fragmentation break=]) must be reevaluated, and any necessary [=block overflow ellipsis=] reapplied accordingly. Whether to rebalance again after that is up to the user agent, but if it does so, it must always ensure that the constraints about the placement of the cutoff point are adhered to, no matter how many iterations it choose to make. line-clamp-balance-001.html line-clamp-balance-002.html line-clamp-balance-003.html line-clamp-balance-004.html line-clamp-balance-005.html line-clamp-balance-006.html line-clamp-balance-007.html line-clamp-balance-008.html line-clamp-balance-009.html line-clamp-balance-010.html line-clamp-balance-011.html line-clamp-balance-012.html For other values of 'text-wrap-style', whether to apply them before the effects of the 'continue' property, after, or both, is undefined in this level. Additionally, for compatibility (see [[#webkit-line-clamp]]), when the [=computed value=] of the 'continue' property is ''collapse'', ''continue/-webkit-legacy'', or ''discard'' and the [=computed value=] of the '-webkit-box-orient' property is ''vertical'': * If the [=specified value=] of the 'display' property is ''-webkit-box'', the [=computed value=] becomes ''flow-root'' and the box establishes a [=BFC=]. line-clamp-016.html line-clamp-017.html line-clamp-018.html webkit-line-clamp-007.html webkit-line-clamp-008.html webkit-line-clamp-045.html webkit-line-clamp-046.html * If the [=specified value=] of the 'display' property is ''-webkit-inline-box'', the [=computed value=] becomes ''inline-block'' and the box establishes a [=BFC=]. webkit-line-clamp-024.html webkit-box-computed.html Note: This means that 'line-clamp' (set without ''line-clamp/-webkit-legacy'') will work if both or neither of ''-webkit-box-orient: vertical'' and ''display: -webkit-box'' or ''display: -webkit-inline-box'' are set, but not if ''display: -webkit-box'' or ''display: -webkit-inline-box'' is set while ''-webkit-box-orient: vertical'' isn't, as the box would be a [=flex container=] rather than a [=block container=], and thus the 'continue' property would not apply. line-clamp-029.html

Line-clamp containers

A line-clamp container is an [=independent formatting context|independent=] [=block formatting context=] that additionally follows the rules in this section. Line-clamp containers can have a clamp point, which is one of the following block-axis positions inside it: - The start of the [=line-clamp container=]. line-clamp-auto-011.html line-clamp-auto-037.html - A point between two consecutive [=line boxes=] in an [=inline formatting context=] contained by the line-clamp container's [=block formatting context=]. line-clamp-auto-004.html line-clamp-auto-005.html line-clamp-auto-013.html line-clamp-auto-014.html line-clamp-auto-016.html line-clamp-auto-017.html line-clamp-auto-with-ruby-001.html line-clamp-auto-with-ruby-002.html line-clamp-auto-with-ruby-003.html line-clamp-auto-with-ruby-004.html webkit-line-clamp-031.html webkit-line-clamp-040.html For this definition, [=out-of-flow=] boxes between two line boxes don't prevent them from being consecutive. This is the case even if the second line box is pushed down by [=floats=]. Such out-of-flow boxes are considered to be after the clamp point. - A point between two [=in-flow=] [=block-level=] sibling boxes in the line-clamp container's [=block formatting context=]. Any [=out-of-flow=] boxes in between are considered to be after the clamp point. line-clamp-auto-034.html line-clamp-auto-035.html line-clamp-auto-036.html block-ellipsis-011.html block-ellipsis-012.html line-clamp-003.html line-clamp-auto-006.html line-clamp-auto-007.html line-clamp-auto-008.html line-clamp-auto-012.html line-clamp-auto-033.html webkit-line-clamp-004.html The auto clamp point will be set to the last possible clamp point such that, for it and all previous possible clamp points, the line-clamp container's [=automatic block size=] (as determined below) is not greater than the [=block size=] the box would have if its automatic block size were infinite. If the [=block size=] would be infinite, then there is no [=auto clamp point=]. If the [=line-clamp container=]'s [=block formatting context root=] has a [=computed value=] of 'max-lines' set to ''max-lines/none'', then the actual [=clamp point=] is the [=auto clamp point=], if any. Otherwise, the actual clamp point is the [=line-based clamp point=], if any. line-clamp-011.html line-clamp-035.html line-clamp-auto-001.html line-clamp-auto-004.html line-clamp-auto-005.html line-clamp-auto-006.html line-clamp-auto-007.html line-clamp-auto-008.html line-clamp-auto-011.html line-clamp-auto-012.html line-clamp-auto-013.html line-clamp-auto-014.html line-clamp-auto-016.html line-clamp-auto-033.html line-clamp-auto-035.html line-clamp-auto-036.html line-clamp-auto-037.html line-clamp-auto-039.html line-clamp-auto-040.html line-clamp-auto-with-ruby-002.html line-clamp-auto-with-ruby-003.html line-clamp-auto-with-ruby-004.html webkit-line-clamp-006.html webkit-line-clamp-031.html webkit-line-clamp-040.html webkit-line-clamp-with-line-height.html webkit-line-clamp-with-max-height.html Issue(12041): Having the actual [=clamp point=] be the earlier of the [=line-based clamp point=] and the [=auto clamp point=], if both exist, is a wanted behavior, but the syntax for it is still being worked out. Within a [=line-clamp container=], the following boxes and line boxes become [=invisible boxes=]: - Any [=in-flow=] or floating boxes that follow the [=clamp point=] in the box tree. This includes [=independent formatting contexts=] and all of their descendants. line-clamp-008.html line-clamp-026.html line-clamp-027.html line-clamp-028.html line-clamp-031.html line-clamp-032.html line-clamp-033.html line-clamp-auto-033.html line-clamp-auto-with-ruby-002.html - Any [=line boxes=] that follow the [=clamp point=] inside an [=inline formatting context=]. line-clamp-010.html line-clamp-026.html line-clamp-027.html line-clamp-028.html webkit-line-clamp-040.html - Any [=absolutely positioned box=] which has an invisible box within its [=containing block chain=], and all of its descendants. line-clamp-with-abspos-001.html line-clamp-with-fixed-pos-001.html line-clamp-with-abspos-002.html line-clamp-with-fixed-pos-002.html line-clamp-with-abspos-003.html line-clamp-with-fixed-pos-003.html line-clamp-with-abspos-004.html line-clamp-with-fixed-pos-004.html line-clamp-with-abspos-005.html line-clamp-with-fixed-pos-005.html line-clamp-with-abspos-006.html line-clamp-with-fixed-pos-006.html line-clamp-with-abspos-007.html line-clamp-with-fixed-pos-007.html line-clamp-with-abspos-008.html line-clamp-with-fixed-pos-008.html line-clamp-with-abspos-009.html line-clamp-with-fixed-pos-009.html line-clamp-with-abspos-010.html line-clamp-with-fixed-pos-010.html line-clamp-with-abspos-011.html line-clamp-with-fixed-pos-011.html line-clamp-with-abspos-012.html line-clamp-with-fixed-pos-012.html line-clamp-with-abspos-013.html line-clamp-with-fixed-pos-013.html line-clamp-with-abspos-014.html line-clamp-with-fixed-pos-014.html line-clamp-with-abspos-015.html line-clamp-with-fixed-pos-015.html line-clamp-with-abspos-016.html line-clamp-with-fixed-pos-016.html line-clamp-with-abspos-017.html line-clamp-with-fixed-pos-017.html line-clamp-with-abspos-020.html line-clamp-with-abspos-021.html line-clamp-with-abspos-022.html line-clamp-with-abspos-023.html webkit-line-clamp-abspos-001.html Any overflow such invisible boxes and line boxes might have is always counted as [=ink overflow=] rather than [=scrollable overflow=]. line-clamp-021.html line-clamp-with-abspos-019.html NOTE: This differs from the ''display: none''-like behavior of not rendered content with ''continue: discard''. Within a [=line-clamp container=], floats which have not been made into [=invisible boxes=] must be visually clipped to the [=content edge=] of the [=line-clamp container=]. They do not introduce any clearance that would make the [=line-clamp container=] increase its height, and do not contribute to the [=scrollable overflow area=]. If a [=block container=] contains a [=clamp point=], within itself or in any of its descendants, its [=automatic block size=] will not take into account any invisible boxes, nor any clipped float. This also applies for the [=line-clamp container=] itself. line-clamp-004.html line-clamp-009.html line-clamp-auto-004.html line-clamp-auto-005.html

Discarding Content

Note: ''continue: discard'', and thus this subsection, is [=at risk=]: it may be removed before advancement to [=Recommendation=] if criteria for advancement are not fulfilled. Content that is “not rendered” due to ''continue: discard'' is discarded, similar to ''display: none'': * It is not rendered. * It is also not made available for speech rendering. * It does not allow user interaction. * Issue(2970): Make sure effects on OM are well defined * Issue(2971): What about [=positioned=] elements whose static position is in the discarded content are not rendered? See also discussions in the Sydney F2F meeting. However, since intrinsic sizes are calculated across fragmentation containers, this content is taken into account for the purpose of finding the box’s min-content and max-content inline sizes (see [[css-break-3#varying-size-boxes]]). Min-content and max-content block sizes are calculated based on the content from the start of the [=fragmented flow=] to the first [=forced break=] if any, or to the end of the [=fragmented flow=] if there is no forced break. Note: This differs from the ''visibility: hidden''-like behavior of content after the [=clamp point=] with ''continue: collapse''. Note: In the case of parallel fragmentation flows, content occurring after the fragmentation break in the box tree could still be rendered, if it is laid out above the position representing the end of this fragmentation container. Additionally, if the box is a [=multi-column container=], any [=overflow columns=] are also not rendered, nor is any subsequent content-- including any [=out of flow=] content whose static position is in or after overflow columns, nor is any additional [=multi-column line=] or [=multi-column row=] that would be generated to hold such content. discard/discard-multicol-001.html discard/discard-multicol-002.html discard/discard-multicol-003.html discard/discard-multicol-004.html
In the absence of the 'continue' property, based on [[css-multicol-1 inline]], the following markup and associated CSS would be expected to render as follows. <div class="multicol"> <p>Column 1</p> <p>Column 2</p> <p>Column 3</p> <p>Overflow column <div class="spanner">Spanner 1</div> </p> <div class="spanner">Spanner 2</div> <p>Following 1</p> <p>Following 2</p> <p>Following 3</p> <div class="spanner">Spanner 3</div> <p>Following 4</p> <p>Following 5</p> <p>Following 6</p> </div>

			.multicol {
			  columns: 3;
			  border: solid 1px;
			}
			.multicol p {
			  break-after: column;
			  break-inside: avoid;
			}
			.spanner {
			  column-span: all;
			  text-align: center;
			}
		
		
Column 1 Column 2 Column 3 Overflow column Spanner 1 Spanner 2 Following 1 Following 2 Following 3 Spanner 3 Following 4 Following 5 Following 6
There is one overflow column, a spanner whose static position is within that overflow column, another spanner whose static position is after the overflow column, inflow content after the spanners and the overflow column, and another spanner whose static position is in this subsequent inflow content. If we additionally apply the following style, everything starting from and including the overflow column is discarded.

			.multicol {
			  continue: discard;
			  block-ellipsis: auto;
			}
		
		
Column 1 Column 2 Column 3…

Appendix A: Possible extensions for ''scrollbar-gutter''

This section is non-normative.
Issue: This section documents current attempts at extending the 'scrollbar-gutter' property to solve additional use cases. However, it does not currently have consensus. It is presented here to encourage discussion, but non-experimental implementation is not recommended.
This example exercises all the additional values of the 'scrollbar-gutter' property: * ''scrollbar-gutter: always'' on the scroll container * ''scrollbar-gutter: match-parent'' on each row inside the scroll container
With classic scrollbars
With overlay scrollbars
Name: scrollbar-gutter
New Values: auto | [ [ stable | always ] && both-edges? ] || match-parent
Applies to: all elements
For overlay scrollbars, the precise width of the scrollbar gutter, if present, is UA defined. However, it must not be 0, and it must not change based on user interactions with the page or the scrollbar even if the scrollbar itself changes, with the expectation that it covers the width of the overlay scrollbar in its widest form, to the extent that this is well defined. The new values of this property have the following meaning:
always
The scrollbar gutter is always present when 'overflow' is ''overflow/scroll'', ''overflow/hidden'', or ''overflow/auto'', regardless of the type of scrollbar or of whether the box is overflowing.
''scrollbar-gutter: always'' can be bused to solve the problem of (small) interactive elements near the edge of the element getting covered by an appearing overlay scrollbar. A representative case would be a basic todo list, with each line starting with some text and ending with a right-aligned checkbox. With a classic scrollbar, everything is fine, but an overlay scrollbar could obscure the check boxes and make them hard to interact with.
Checkboxes adjacent to a classic scrollbar

					A scrollable todo list with checkboxes on the right edge,
					adjacent to the scrollbar.
					This situation poses no particular problem.
Checkboxes and an overlay scrollbar

					A scrollable todo list with checkboxes on the right edge.
					When the overlay scrollbar is hidden,
					the situation poses no particular problem,
					but when it pops in,
					it covers the checkboxes,
					getting in the way of interacting with them.
Overlay Scrollbar are typically transient and disappear when not interacted with, so the checkboxes they cover are not impossible to use. But when the scrollbar is shown it does get in the way, and that makes for an awkward interaction. The author might try and solve the problem by adding some right padding, but (1) how much?, and (2) that padding isn't needed in the case of classic scrollbars. ''scrollbar-gutter: always'' solves this problem, yielding an identical result in first case of classic scrollbars, but adding the desired gutter with overlay scrollbars:
Checkboxes and an overlay scrollbar and ''scrollbar-gutter: always''

					A scrollable todo list with checkboxes on the right edge,
					shifted left by a gutter.
					Whether the overlay scrollbar is hidden or visible,
					the checkboxes remain uncovered,
					and can be interacted with.
Apple is reluctant to add this value, as authors may use it too broadly, inserting gutters with overlay scrollbars even when not justified by interactive elements, defeating the space-saving advantage of overlay scrollbars. An alternative solution has been suggested: as the focus is interactive elements, maybe we could have a property that applies to the elements that needs to avoid being under the scrollbar. When turned on, it would enlarge the right or left margin of the element as appropriate by just the right value to push it out from under an overlay scrollbar if that's where it would end up, but would leave the element unchanged otherwise. Possibly, an addition toggle would cause the element to enlarge both its inline-end and inline-start margins or neither, rather than just one. This could typically be useful for block-level descendants of the scroller with visible borders or background: adding space on one side to avoid collisions with the overlay scrollbar would make them look off-center when the scrollbar disappears. Increasing the margin on both sides avoids that. Yet another possibility is to have a choice between growing the margin to protect the element, or growing the padding to protect the element's content. The syntax could be something like scrollbar-avoid: none | [self | content] && both-edges?. An interesting consideration is that this may alleviate the need for ''scrollbar-gutter: match-parent'', as it seems that situations that would have been addressed by ''scrollbar-gutter: stable'' or ''scrollbar-gutter: always'' on the parent and ''scrollbar-gutter: match-parent'' on the select children could instead be addressed by leaving the parent as ''scrollbar-gutter: auto'' and using scrollbar-avoid: self or scrollbar-avoid: content on the relevant children.
match-parent
On a [=block-level=] box whose parent has a [=scrollbar gutter=] (or gutters on both edges), this causes the box to have [=scrollbar gutter=] on the same side(s) and of the same width as its parent’s gutter(s). Moreover, that gutter is made to overlap that of the parent box.
The gutter of a ''scrollbar-gutter: match-parent'' box overlaps with that of its parent.
If the box with ''scrollbar-gutter: match-parent'' has a non-zero border or margin on the side where the gutter is expected, then the size of that box's gutter is parent.gutter - child.border - child.margin, and the gutter+border+margin is what collapses with the parent's gutter. If the box with ''scrollbar-gutter/ match-parent'' is itself a [=scroll container=], depending on the type of scrollbars, on its 'overflow' property, and on the other values of the 'scrollbar-gutter' property, it may need additional gutter for its own scrollbars. This comes in addition to the amount of gutter added for the sake of the ''scrollbar-gutter/match-parent'' value and does not collapse with the parent's gutter.
A scroller with an child whose background intrudes into the gutter, thanks to ''scrollbar-gutter/match-parent''
A ''scrollbar-gutter/match-parent'' box inside a scroll container with classic scrollbars, ''overflow: auto'', and ''scrollbar-gutter: stable''
The background of the match-parent element is visible in the gutter when the scrollbar isn't there.
A scrollable box with ''scrollbar-gutter/match-parent'' inside another scroll container
The element has a double gutter, one for its own scrollbar, one to match its parent's.
A scrollable box with ''scrollbar-gutter/match-parent'' inside another scroll container, with bidi
The element has a two gutters, one for its own scrollbar, one to match its parent's, on opposite sides.
A scrollable box with ''scrollbar-gutter:match-parent stable'' inside another scroll container, with bidi
The element has a two gutters, one for its own scrollbar (not shown, as it's not overflowing), one to match its parent's, on opposite sides.
Note: The following table summarizes the interaction of 'overflow' and 'scrollbar-gutter' for different types of scrollbars, showing in which case space is reserved for the scrollbar gutter.
Should space be reserved for the [=scrollbar gutter=]?
'overflow' 'scrollbar-gutter' Classic scrollbars Overlay scrollbars (whether overflowing or not)
Overflowing Not overflowing
''overflow/scroll'' ''scrollbar-gutter/auto'' yes yes
''scrollbar-gutter/stable'' yes yes
''scrollbar-gutter/always'' yes yes yes
''overflow/auto'' ''scrollbar-gutter/auto'' yes
''scrollbar-gutter/stable'' yes yes
''scrollbar-gutter/always'' yes yes yes
''overflow/hidden'' ''scrollbar-gutter/auto''
''scrollbar-gutter/stable'' yes yes
''scrollbar-gutter/always'' yes yes yes
''overflow/visible'', ''overflow/clip'' ''scrollbar-gutter/auto''
''scrollbar-gutter/stable'' if ''force'' if ''force''
''scrollbar-gutter/always'' if ''force'' if ''force'' if ''force''

Appendix B: Privacy Considerations

This specification introduces no new privacy considerations.

Appendix C: Security Considerations

This specification introduces no new security considerations.

Changes

Recent Changes

Significant changes since the June 2017 Working Draft include:

Changes Since Level 3

ISSUE: TBD

Acknowledgments

Thanks especially to the feedback from Rossen Atanassov, Bert Bos, Andreu Botella, Tantek Çelik, John Daggett, fantasai, Daniel Glazman, Vincent Hardy, Håkon Wium Lie, Peter Linss, Robert O'Callahan, Florian Rivoal, Alan Stearns, Steve Zilles, and all the rest of the www-style community.