diff --git a/css-text-4/Overview.bs b/css-text-4/Overview.bs index 830b89fe55b6..a210cb5eaf6c 100644 --- a/css-text-4/Overview.bs +++ b/css-text-4/Overview.bs @@ -12,6 +12,7 @@ Editor: Koji Ishii, Invited Expert, kojiishi@gluesoft.co.jp Editor: Alan Stearns, Adobe Systems, stearns@adobe.com Abstract: This module defines properties for text manipulation and specifies their processing model. It covers line breaking, justification and alignment, white space handling, and text transformation. Ignored terms: segment break, segment breaks +At Risk: The ''preserve-trim'' of the 'text-space-collapse' property

@@ -36,7 +37,7 @@ White Space Collapsing: the 'text-space-collapse' property

 	Name: text-space-collapse
-	Value: collapse | discard | preserve | preserve-breaks | preserve-spaces 
+	Value: collapse | discard | preserve | preserve-auto | preserve-trim | preserve-breaks | preserve-spaces
 	Initial: collapse
 	Applies to: all elements
 	Inherited: yes
@@ -65,6 +66,37 @@ White Space Collapsing: the 'text-space-collapse' property
 			from collapsing sequences of white space.
 			Segment breaks are preserved as forced line breaks.
 
+		
preserve-auto +
+ This value preserves white space and segment breaks as for ''preserve''. + However, the UA may visually collapse + the advance widths of preserved white space + that occur at the end of a line. + + If 'text-wrap' is ''text-wrap/normal'' or ''text-wrap/balance'', + whether or not there are soft wrap opportunities + in preserved sequences of white space, + and if yes where and under what condition, + is UA defined. + + Both with regards to collapsing + and to soft wrap opportunities, + the UA should follow platform conventions. + +
preserve-trim +
+ This value preserves white space and segment breaks as for ''preserve''. + However, the UA must visually collapse to 0 + the advance widths of all preserved white space + that occur at the end of a line. + + Note: the ''preserve-trim'' value is at risk. + + Issue: The CSSWG would appreciate feedback + on the use cases for this value, + to evaluate whether trimming leading spaces + could be needed as well. +
preserve-breaks
This value collapses white space as for ''collapse'', but preserves @@ -109,7 +141,7 @@ White Space Trimming: the 'text-space-trim' property
 	Name: text-space-trim
 	Value: none | trim-inner || discard-before || discard-after
-	Initial: collapse
+	Initial: none
 	Applies to: all elements
 	Inherited: no
 	Percentages: n/a
@@ -450,6 +482,52 @@ Shorthand for White Space and Wrapping: the 'white-space' property
 	Note: This shorthand combines both inheritable and non-inheritable properties.
 	If this is a problem, please inform the CSSWG.
 
+	The following table gives the mapping of the values of the shorthand to its longhands.
+
+	
+		
+		
+		
+			
+				
+		
+		
+			
+			
+			
+			
+			
+			
+	
'white-space' + 'text-space-collapse' + 'text-wrap' + 'text-space-trim' +
''white-space/normal'' + ''text-space-collapse/collapse'' + ''text-wrap/normal'' + ''text-space-trim/none'' +
''pre'' + ''text-space-collapse/preserve'' + ''text-wrap/nowrap'' + ''text-space-trim/none'' +
''nowrap'' + ''text-space-collapse/collapse'' + ''text-wrap/nowrap'' + ''text-space-trim/none'' +
''pre-wrap'' + ''text-space-collapse/preserve'' + ''text-wrap/normal'' + ''text-space-trim/none'' +
''pre-wrap-auto'' + ''text-space-collapse/preserve-auto'' + ''text-wrap/normal'' + ''text-space-trim/none'' +
''pre-line'' + ''text-space-collapse/preserve-breaks'' + ''text-wrap/normal'' + ''text-space-trim/none'' +
+ Issue: Add details from level 3