diff --git a/css3-text/Overview.html b/css3-text/Overview.html index 6b452863d85..4be373d959c 100644 --- a/css3-text/Overview.html +++ b/css3-text/Overview.html @@ -90,7 +90,7 @@
text-align
’ property
- text-align-first
’ property
+
+ text-align-last
’ property
- text-justify
’
property
@@ -402,11 +406,8 @@ text-align-first
’ propertyName: + + | text-align-first + + |
---|---|
Value: + + | auto | start + + |
Initial: + + | auto + + |
Applies to: + + | block containers + + |
Inherited: + + | yes + + |
Percentages: + + | N/A + + |
Media: + + | visual + + |
Computed value: + + | specified value + |
This property describes how the first line of a block or a line right + after a forced line break is aligned. Values have the following meanings: + +
auto
’
+
+ text-align
’.
+
+ start
’
+
+ text-align-last
’ propertyThis property describes how the last line of a block or a line right
- before a forced line break is aligned when ‘text-align
’ is set to ‘justify
’. Values have the same meaning as for
- ‘text-align
’.
-
-
auto
’ is equivalent to the value of the ‘text-align
’
+ property except when ‘text-align
’ is set to ‘justify
’, in which case it is ‘center
’ when ‘text-justify
’ is ‘distribute
’ and ‘start
’ otherwise. All other values have the same
+ meanings as in ‘text-align
’.
+
+ text-justify
’ propertyThis property selects the justification method used when ‘text-align
’ is set to ‘justify
’. The
- property applies to block containers, but the UA may (but is not required
- to) also support it on inline elements. It takes the following values:
+
This property selects the justification method used when a line's
+ alignment is set to ‘justify
’. (See
+ ‘text-align
’.) The property applies to
+ block containers, but the UA may (but is not required to) also support it
+ on inline elements. It takes the following values:
auto
+ auto
text-align-last
’ property (or as
- ‘start
’ if ‘auto’ if ‘text-align-last
’ is ‘justify
’).
+ class=css>justify’).
The expansion opportunity priorities for values of ‘text-justify
’
@@ -2682,7 +2750,7 @@
Much of the text has been rewritten or severely revised, so all changes - will not be listed here. Highlights include: - -
line-break
’ and ‘word-break-*
’ properties have been reorganized
- and redesigned as ‘line-break
’ and ‘word-break
’ property.
-
- wrap-option
’ property has been replaced
- by the ‘text-wrap
’ and ‘word-break
’ property.
-
- auto
’ value to
- ‘line-break
’, which allows the UA to vary
- breaking strictness based on the effective line length.
-
- linefeed-treatment
’, ‘white-space-treatment
’, and ‘all-space-treatment
’ properties have been
- replaced by the ‘white-space-collapsing
’ property.
-
- min-font-size
’ and ‘max-font-size
’ properties have been
- delegated to the next revision of the CSS3 Fonts module.
-
- text-align
’ property's vertical text
- behavior for the ‘left
’ and
- ‘right
’ values to be relative to
- LTR text rather than relative to the beginning of the line stack.
-
- match-parent
’ keyword
- to ‘text-align
’ to address some bidi use
- cases such as aligning lists.
-
- text-align
’ to
- handle degenerate cases.
-
- size
’ value has been
- removed from the ‘text-align-last
’ property.
-
- newspaper
’ value for ‘text-justify
’ has been dropped in favor
- of using minimum and maximum limits set on the ‘word-spacing
’ and ‘letter-spacing
’ properties to guide
- justification.
-
- trim
’ keyword to ‘text-justify
’
- as a replacement to ‘text-justify-trim
’.
-
- tibetan
’ keyword to
- ‘text-justify
’.
-
- word-spacing
’ and ‘letter-spacing
’ now take percentage
- values.
-
- text-wrap
’ property's ‘suppress
’ value allows authors to suppress
- text wrapping within an element with respect to its surrounding text
- without forbidding correctly-restricted breaks when they are
- needed.
-
- linefeed-treatment
’ property has been
- removed because style sheets should not be expected to adapt to the
- source code formatting style.
-
- text-justify-trim
’ has been dropped in
- favor of the ‘trim
’ keyword for the
- ‘text-justify
’ property.
-
- end
’ and ‘allow-end
’ value to ‘punctuation-trim
’.
-
- kerning-mode: contextual
’ has been replaced
- with ‘punctuation-trim:
- adjacent
’. Any further controls for kerning will likely
- be delegated to the Fonts module.
-
- punctuation
’ keyword to
- ‘text-autospace
’ property.
-
- text-shadow
’ property now inherits, which
- makes more sense and is consistent with recent implementation. The
- default color is now UA-specified, which is more reasonable than
- defaulting to the current text color. The definition now also mentions
- that it applies to text decoration and makes a few minor clarifications.
-
- text-outline
’ property has been added in
- response to feedback
- from the Timed-Text WG and Ada Chan. Its design derives from a discussion
- of requirements within the CSS Working Group.
-
- text-emphasis-*
’ properties have been added to
- replace the ‘font-emphasis
’ property from the CSS3
- Fonts module.
-
- text-indent
’ has been replaced with the
- precise text sent
- in by Ian Hickson and fantasai on 8 March 2003 (minus
- the ‘text-align
’ dependence rules).
-
- each-line
’ keyword to ‘text-indent
’.
-
- hanging-punctuation
’ property has been
- redesigned with several combinable values instead of ‘start
’, ‘end
’,
- and ‘both
’ to eliminate the script and
- language dependencies.
-
- text-overflow
’ properties have been
- compressed into one property and given a much more precise specified
- behavior.
-
- fullwidth
’ and ‘large-kana
’ to ‘text-transform
’ property.
- Sections relating to bidirectional and vertical - text layout will be moved to a separate Writing Modes module. These - features may change greatly from the last revision, but they have not been - dropped. The vertical text feature, for example, will likely be based on - the methods described in Unicode Technical Note #22. - -
The text-script property has been dropped, - since it does not belong in the style layer. - -
Controls over - kerning have been moved to the CSS Fonts Module. - -
The line grid properties - have been removed. There is currently no plan to add them back, although a - document grid feature may be added to future CSS modules. -
Major changes include:
word-break
’ into ‘line-break
’ and
- ‘word-break
’ controls, affecting CJK and
- non-CJK scripts respectively. This is very close to IE's implementation
- (hence the somewhat confusing names), with the exception that
- ‘keep-all
’ functionality, which
- affects CJK scripts, was moved from ‘word-break
’ to ‘line-break
’.
-
- auto
’ value to
- ‘line-break
’, which allows the UA to vary
- breaking strictness based on the effective line length.
-
- match-parent
’ keyword
- to ‘text-align
’ to address some bidi use
- cases such as aligning lists.
-
- text-align
’ to
- handle degenerate cases.
-
- trim
’ keyword to ‘text-justify
’
- as a replacement to ‘text-justify-trim
’.
-
- tibetan
’ keyword to
- ‘text-justify
’.
-
- text-justify
’ section.
-
- allow-end
’ value to
- ‘punctuation-trim
’.
-
- text-autospace
’ property, and added new
- ‘punctuation
’ keyword.
-
- each-line
’ keyword to ‘text-indent
’.
-
- text-shadow
’ definition to ‘box-shadow
’ definition.
+ auto
’ value to ‘text-align-last
’.
- hanging-punctuation
’ to be clearer; added
- ‘allow-end
’/‘force-end
’ distinction.
-
- text-decoration
’ section.
-
- text-emphasis
’ controls.
-
- text-overflow
’.
-
- text-transform
’ with new values for
- ‘fullwidth
’ and ‘large-kana
’.
+ text-align-first
’.
auto
’, 7.2.
+
start
’, 7.2.
+
Name: | +text-align-first | +
---|---|
Value: | +auto | start + | +
Initial: | +auto | +
Applies to: | +block containers | +
Inherited: | +yes | +
Percentages: | +N/A | +
Media: | +visual | +
Computed value: | +specified value | +
This property describes how the first line of a block or a line right after + a forced line break is aligned. Values have the following meanings: +
This property describes how the last line of a block or a line right before - a forced line break is aligned when - 'text-align' is set to 'justify'. - Values have the same meaning as for - 'text-align'.
+This property describes how the last line of a block or a line + right before a forced line break is aligned. ''auto'' is + equivalent to the value of the 'text-align' property except when + 'text-align' is set to ''justify'', in which case it is ''center'' + when 'text-justify' is ''distribute'' and ''start'' otherwise. + All other values have the same meanings as in 'text-align'.
This property selects the justification method used when - 'text-align' - is set to 'justify'. +
This property selects the justification method used when a line's + alignment is set to ''justify''. (See 'text-align'.) The property applies to block containers, but the UA may (but is not required to) also support it on inline elements. It takes the following values:
@@ -1432,7 +1482,7 @@The expansion opportunity priorities for values of 'text-justify' are given in the table below. Space must be distributed evenly @@ -3454,189 +3504,15 @@
Much of the text has been rewritten or severely revised, so all changes - will not be listed here. Highlights include:
-- - - - - - - - - - - Sections relating to bidirectional and vertical text layout - will be moved to a separate Writing Modes module. These features may - change greatly from the last revision, but they have not been dropped. - The vertical text feature, for example, will likely be based on the - methods described in Unicode - Technical Note #22.
- -- The text-script property has been dropped, since it does not - belong in the style layer. - -
- - - - - - Controls over kerning have been moved to the - CSS Fonts Module.
- -- - - - - - - - The line grid properties have been removed. There is currently no - plan to add them back, although a document grid feature may be added - to future CSS modules.
-Major changes include: