- From: Elika Etemad via cvs-syncmail <cvsmail@w3.org>
- Date: Fri, 29 Jul 2011 21:57:49 +0000
- To: public-css-commits@w3.org
Update of /sources/public/csswg/css3-text In directory hutz:/tmp/cvs-serv8719 Modified Files: Overview.html Overview.src.html Log Message: Use preprocessor markup for CSS values; add colgroups to tables Index: Overview.html =================================================================== RCS file: /sources/public/csswg/css3-text/Overview.html,v retrieving revision 1.164 retrieving revision 1.165 diff -u -d -r1.164 -r1.165 --- Overview.html 29 Jul 2011 21:39:16 -0000 1.164 +++ Overview.html 29 Jul 2011 21:57:46 -0000 1.165 @@ -558,35 +558,37 @@ following meanings: <dl> - <dt><dfn id=none title="text-transform:none"><code>none</code></dfn> + <dt><dfn id=none title="text-transform:none">‘<code + class=css>none</code>’</dfn> <dd>No effects. - <dt><dfn id=capitalize - title="text-transform:capitalize"><code>capitalize</code></dfn> + <dt><dfn id=capitalize title="text-transform:capitalize">‘<code + class=css>capitalize</code>’</dfn> <dd>Puts the first <a href="#character"><i>character</i></a> of each word in titlecase; other characters are unaffected. - <dt><dfn id=uppercase - title="text-transform:uppercase"><code>uppercase</code></dfn> + <dt><dfn id=uppercase title="text-transform:uppercase">‘<code + class=css>uppercase</code>’</dfn> <dd>Puts all characters in uppercase. - <dt><dfn id=lowercase - title="text-transform:lowercase"><code>lowercase</code></dfn> + <dt><dfn id=lowercase title="text-transform:lowercase">‘<code + class=css>lowercase</code>’</dfn> <dd>Puts all characters in lowercase. - <dt><dfn id=full-width - title="text-transform:full-width"><code>full-width</code></dfn> + <dt><dfn id=full-width title="text-transform:full-width">‘<code + class=css>full-width</code>’</dfn> <dd>Puts all characters in fullwidth form. If the character does not have a corresponding fullwidth form, it is left as is. This value is typically used to typeset Latin characters and digits like ideographic characters. <dt><dfn id=full-size-kana - title="text-transform:full-size-kana"><code>full-size-kana</code></dfn> + title="text-transform:full-size-kana">‘<code + class=css>full-size-kana</code>’</dfn> <dd>Converts all small Kana characters to normal Kana. This value is typically used for ruby annotation text, where all small Kana should be @@ -776,33 +778,35 @@ rules</a>: <dl> - <dt><dfn id=collapse0 - title="white-space:collapse"><code>collapse</code></dfn> + <dt><dfn id=collapse0 title="white-space:collapse">‘<code + class=css>collapse</code>’</dfn> <dd>This value directs user agents to collapse sequences of white space into a single character (or <a href="#line-break-transform">in some cases</a>, no character). - <dt><dfn id=preserve - title="white-space:preserve"><code>preserve</code></dfn> + <dt><dfn id=preserve title="white-space:preserve">‘<code + class=css>preserve</code>’</dfn> <dd>This value prevents user agents from collapsing sequences of white space. Line feeds are preserved as forced line breaks. <dt><dfn id=preserve-breaks - title="white-space:preserve-breaks"><code>preserve-breaks</code></dfn> + title="white-space:preserve-breaks">‘<code + class=css>preserve-breaks</code>’</dfn> <dd>This value collapses white space as for ‘<code class=css>collapse</code>’, but preserves line feeds as forced line breaks. - <dt><dfn id=discard title="white-space:discard"><code>discard</code></dfn> + <dt><dfn id=discard title="white-space:discard">‘<code + class=css>discard</code>’</dfn> <dd>This value directs user agents to "discard" all white space in the element. - <dt><dfn id=trim-inner - title="white-space:trim-inner"><code>trim-inner</code></dfn> + <dt><dfn id=trim-inner title="white-space:trim-inner">‘<code + class=css>trim-inner</code>’</dfn> <dd>For block containers this value directs UAs to discard all whitespace at the beginning of the element up to and including the last line feed @@ -812,14 +816,14 @@ other elements this value directs UAs to discard all whitespace at the beginning and end of the element. - <dt><dfn id=consume-before - title="white-space:consume-before"><code>consume-before</code></dfn> + <dt><dfn id=consume-before title="white-space:consume-before">‘<code + class=css>consume-before</code>’</dfn> <dd>This value directs the UA to collapse all collapsible whitespace immediately before the start of the element. - <dt><dfn id=consume-after - title="white-space:consume-after"><code>consume-after</code></dfn> + <dt><dfn id=consume-after title="white-space:consume-after">‘<code + class=css>consume-after</code>’</dfn> <dd>This value directs the UA to collapse all collapsible whitespace immediately after the end of the element. @@ -1121,7 +1125,8 @@ following meanings: <dl> - <dt><dfn id=normal title="white-space:normal"><code>normal</code></dfn> + <dt><dfn id=normal title="white-space:normal">‘<code + class=css>normal</code>’</dfn> <dd>Sets ‘<a href="#text-space-collapse"><code class=property>text-space-collapse</code></a>’ to ‘<code @@ -1129,7 +1134,8 @@ class=property>text-wrap</code></a>’ to ‘<code class=css>normal</code>’ - <dt><dfn id=pre title="white-space:pre"><code>pre</code></dfn> + <dt><dfn id=pre title="white-space:pre">‘<code + class=css>pre</code>’</dfn> <dd>Sets ‘<a href="#text-space-collapse"><code class=property>text-space-collapse</code></a>’ to ‘<code @@ -1137,7 +1143,8 @@ class=property>text-wrap</code></a>’ to ‘<code class=css>none</code>’ - <dt><dfn id=nowrap title="white-space:nowrap"><code>nowrap</code></dfn> + <dt><dfn id=nowrap title="white-space:nowrap">‘<code + class=css>nowrap</code>’</dfn> <dd>Sets ‘<a href="#text-space-collapse"><code class=property>text-space-collapse</code></a>’ to ‘<code @@ -1145,8 +1152,8 @@ class=property>text-wrap</code></a>’ to ‘<code class=css>none</code>’ - <dt><dfn id=pre-wrap - title="white-space:pre-wrap"><code>pre-wrap</code></dfn> + <dt><dfn id=pre-wrap title="white-space:pre-wrap">‘<code + class=css>pre-wrap</code>’</dfn> <dd>Sets ‘<a href="#text-space-collapse"><code class=property>text-space-collapse</code></a>’ to ‘<code @@ -1154,8 +1161,8 @@ class=property>text-wrap</code></a>’ to ‘<code class=css>normal</code>’ - <dt><dfn id=pre-line - title="white-space:pre-line"><code>pre-line</code></dfn> + <dt><dfn id=pre-line title="white-space:pre-line">‘<code + class=css>pre-line</code>’</dfn> <dd>Sets ‘<a href="#text-space-collapse"><code class=property>text-space-collapse</code></a>’ to ‘<code @@ -1169,6 +1176,10 @@ class=property>white-space</code></a>’ values: <table class=data> + <colgroup class=header></colgroup> + + <colgroup span=3></colgroup> + <thead> <tr> <th> @@ -1326,22 +1337,26 @@ punctuation. Values have the following meanings: <dl> - <dt><dfn id=auto title="line-break:auto"><code>auto</code></dfn> + <dt><dfn id=auto title="line-break:auto">‘<code + class=css>auto</code>’</dfn> <dd>The UA determines the set of line-breaking restrictions to use, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines. - <dt><dfn id=loose title="line-break:loose"><code>loose</code></dfn> + <dt><dfn id=loose title="line-break:loose">‘<code + class=css>loose</code>’</dfn> <dd>Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers. - <dt><dfn id=normal0 title="line-break:normal"><code>normal</code></dfn> + <dt><dfn id=normal0 title="line-break:normal">‘<code + class=css>normal</code>’</dfn> <dd>Breaks text using the most common set of line-breaking rules. - <dt><dfn id=strict title="line-break:strict"><code>strict</code></dfn> + <dt><dfn id=strict title="line-break:strict">‘<code + class=css>strict</code>’</dfn> <dd>Breaks text using the most stringent set of line-breaking rules. </dl> @@ -1452,20 +1467,21 @@ have the following meanings: <dl> - <dt><dfn id=normal1 title="word-break:normal"><code>normal</code></dfn> + <dt><dfn id=normal1 title="word-break:normal">‘<code + class=css>normal</code>’</dfn> <dd>Break lines according to their usual rules. - <dt><dfn id=break-all - title="word-break:break-all"><code>break-all</code></dfn> + <dt><dfn id=break-all title="word-break:break-all">‘<code + class=css>break-all</code>’</dfn> <dd>Lines may break between any two characters within words. Hyphenation is not applied. This option is used mostly in a context where the text is predominantly using CJK characters with few non-CJK excerpts and it is desired that the text be better distributed on each line. - <dt><dfn id=keep-all - title="word-break:keep-all"><code>keep-all</code></dfn> + <dt><dfn id=keep-all title="word-break:keep-all">‘<code + class=css>keep-all</code>’</dfn> <dd>Lines may break only at <a href="#word-separator">word separators</a> and other explicit break opportunities. Otherwise this option is @@ -2030,19 +2046,22 @@ <p>This property specifies the mode for text wrapping. Possible values: <dl> - <dt><dfn id=normal2 title="text-wrap:normal"><code>normal</code></dfn> + <dt><dfn id=normal2 title="text-wrap:normal">‘<code + class=css>normal</code>’</dfn> <dd>Lines may break at allowed break points, as determined by the line-breaking rules in effect. Line breaking behavior defined for the WJ, ZW, and GL line-breaking classes in <a href="#UAX14" rel=biblioentry>[UAX14]<!--{{!UAX14}}--></a> must be honored. - <dt><dfn id=none1 title="text-wrap:none"><code>none</code></dfn> + <dt><dfn id=none1 title="text-wrap:none">‘<code + class=css>none</code>’</dfn> <dd>Lines may not break; text that does not fit within the block container overflows it. - <dt><dfn id=avoid title="text-wrap:avoid"><code>avoid</code></dfn> + <dt><dfn id=avoid title="text-wrap:avoid">‘<code + class=css>avoid</code>’</dfn> <dd>Line breaking is suppressed within the element: the UA may only break within the element if there are no other valid break points in the line. @@ -2173,7 +2192,8 @@ class=property>avoid</code>’. Possible values: <dl> - <dt><dfn id=normal3 title="overflow-wrap:normal"><code>normal</code></dfn> + <dt><dfn id=normal3 title="overflow-wrap:normal">‘<code + class=css>normal</code>’</dfn> <dd>Lines may break only at allowed break points. However, the restrictions introduced by ‘<code class=css>word-break: @@ -2182,8 +2202,8 @@ limit properties may be ignored if there are no otherwise-acceptable break points in the line. - <dt><dfn id=hyphenate - title="overflow-wrap:hyphenate"><code>hyphenate</code></dfn> + <dt><dfn id=hyphenate title="overflow-wrap:hyphenate">‘<code + class=css>hyphenate</code>’</dfn> <dd>An unbreakable "word" may be hyphenated if there are no otherwise-acceptable break points in the line even if hyphenation is @@ -2191,8 +2211,8 @@ where the word breaks, but cannot forbid the word from hyphenating to prevent overflow. - <dt><dfn id=break-word - title="overflow-wrap:break-word"><code>break-word</code></dfn> + <dt><dfn id=break-word title="overflow-wrap:break-word">‘<code + class=css>break-word</code>’</dfn> <dd>An unbreakable "word" may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line. Shaping characters are @@ -2271,42 +2291,48 @@ the following meanings: <dl> - <dt><dfn id=start title="text-align:start"><code>start</code></dfn> + <dt><dfn id=start title="text-align:start">‘<code + class=css>start</code>’</dfn> <dd>The inline contents are aligned to the start edge of the line box. - <dt><dfn id=end title="text-align:end"><code>end</code></dfn> + <dt><dfn id=end title="text-align:end">‘<code + class=css>end</code>’</dfn> <dd>The inline contents are aligned to the end edge of the line box. - <dt><dfn id=left title="text-align:left"><code>left</code></dfn> + <dt><dfn id=left title="text-align:left">‘<code + class=css>left</code>’</dfn> <dd>The inline contents are aligned to the left edge of the line box. In vertical text, ‘<code class=property>left</code>’ aligns to the edge of the line box that would be the start edge for left-to-right text. - <dt><dfn id=right title="text-align:right"><code>right</code></dfn> + <dt><dfn id=right title="text-align:right">‘<code + class=css>right</code>’</dfn> <dd>The inline contents are aligned to the right edge of the line box. In vertical text, ‘<code class=property>right</code>’ aligns to the edge of the line box that would be the end edge for left-to-right text. - <dt><dfn id=center title="text-align:center"><code>center</code></dfn> + <dt><dfn id=center title="text-align:center">‘<code + class=css>center</code>’</dfn> <dd>The inline contents are centered within the line box. - <dt><dfn id=justify title="text-align:justify"><code>justify</code></dfn> + <dt><dfn id=justify title="text-align:justify">‘<code + class=css>justify</code>’</dfn> <dd>The text is justified according to the method specified by the <a class=property href="#text-justify">‘<code class=property>text-justify</code>’</a> property. - <dt><dfn id=ltstringgt title="text-align:<string>"><code><span - title="<string>"><a class=noxref + <dt><dfn id=ltstringgt title="text-align:<string>">‘<code + class=css><span title="<string>"><a class=noxref href="http://www.w3.org/TR/CSS21/syndata.html#value-def-string"><span - class=value-inst-string><string></span></a></span></code></dfn> + class=value-inst-string><string></span></a></span></code>’</dfn> <dd>The string must be a single character; otherwise the declaration must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. @@ -2315,8 +2341,8 @@ contents will align. See <a href="#character-alignment">below</a> for further details. - <dt><dfn id=match-parent - title="text-align:match-parent"><code>match-parent</code></dfn> + <dt><dfn id=match-parent title="text-align:match-parent">‘<code + class=css>match-parent</code>’</dfn> <dd>This value behaves the same as ‘<code class=property>inherit</code>’ except that an inherited @@ -2583,7 +2609,8 @@ on inline elements. It takes the following values: <dl> - <dt><dfn id=auto0 title="text-justify:auto"><code>auto</code></dfn> + <dt><dfn id=auto0 title="text-justify:auto">‘<code + class=css>auto</code>’</dfn> <dd>The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality. @@ -2596,43 +2623,46 @@ scripts, e.g. the ‘<code class=css>inter-cluster</code>’ method with block scripts raised to first priority.</p> - <dt><dfn id=none2 title="text-justify:none"><code>none</code></dfn> + <dt><dfn id=none2 title="text-justify:none">‘<code + class=css>none</code>’</dfn> <dd>Justification is disabled. <span class=note>This value is intended for use in user stylesheets to improve readability or for accessibility purposes.</span> - <dt><dfn id=inter-word - title="text-justify:inter-word"><code>inter-word</code></dfn> + <dt><dfn id=inter-word title="text-justify:inter-word">‘<code + class=css>inter-word</code>’</dfn> <dd>Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or Korean. <dt><dfn id=inter-ideograph - title="text-justify:inter-ideographic"><code>inter-ideograph</code></dfn> + title="text-justify:inter-ideographic">‘<code + class=css>inter-ideograph</code>’</dfn> <dd>Justification primarily changes spacing at word separators and between characters in <a href="#block-scripts">block scripts</a>. This value is typically used for <abbr title="Chinese/Japanese/Korean">CJK</abbr> languages. - <dt><dfn id=inter-cluster - title="text-justify:inter-cluster"><code>inter-cluster</code></dfn> + <dt><dfn id=inter-cluster title="text-justify:inter-cluster">‘<code + class=css>inter-cluster</code>’</dfn> <dd>Justification primarily changes spacing at word separators and between characters in <a href="#clustered-scripts">clustered scripts</a>. This value is typically used for Southeast Asian scripts such as Thai. - <dt><dfn id=distribute - title="text-justify:distribute"><code>distribute</code></dfn> + <dt><dfn id=distribute title="text-justify:distribute">‘<code + class=css>distribute</code>’</dfn> <dd>Justification primarily changes spacing both at word separators and between characters in all scripts equally (except those in the connected and cursive categories). This value is sometimes used in e.g. Japanese. <dt><a name=kashida-prop></a><a name=text-kashida-space></a> <dfn - id=kashida title="text-justify:kashida"><code>kashida</code></dfn> + id=kashida title="text-justify:kashida">‘<code + class=css>kashida</code>’</dfn> <dd>Justification primarily stretches <a href="#cursive-scripts">cursive scripts</a> through the use of kashida or other calligraphic elongation. @@ -2691,7 +2721,11 @@ must be treated exactly the same. Word separators (spaces) and other symbols and punctuation are treated specially, see below. - <table class=data><col class=header><col span=6> + <table class=data> + <colgroup class=header></colgroup> + + <colgroup span=6></colgroup> + <caption>Prioritization of Expansion Points</caption> <thead> @@ -2930,8 +2964,8 @@ <spacing-limit> value type, which is defined as follows: <dl> - <dt><dfn id=ltspacing-limitgt - title="<spacing-limit>"><code><spacing-limit></code></dfn> + <dt><dfn id=ltspacing-limitgt title="<spacing-limit>">‘<code + class=css><spacing-limit></code>’</dfn> <dd> [ normal | <a class=noxref href="http://www.w3.org/TR/CSS21/syndata.html#value-def-length"><span @@ -2939,8 +2973,8 @@ href="http://www.w3.org/TR/CSS21/syndata.html#value-def-percentage"><span class=value-inst-percentage><percentage></span></a> ] - <dt><dfn id=normal4 - title="<spacing-limit>:normal"><code>normal</code></dfn> + <dt><dfn id=normal4 title="<spacing-limit>:normal">‘<code + class=css>normal</code>’</dfn> <dd>Specifies the normal optimum/minimum/maximum spacing, as defined by the current font and/or the user agent. Normal spacing should be @@ -2958,12 +2992,12 @@ href="#cursive-scripts">cursive</a> characters is always zero. <dt><dfn id=ltlengthgt-or-ltpercentagegt - title="<spacing-limit>:<length>|<percentage>"><code><a - class=noxref + title="<spacing-limit>:<length>|<percentage>">‘<code + class=css><a class=noxref href="http://www.w3.org/TR/CSS21/syndata.html#value-def-length"><span class=value-inst-length><length></span></a> or <a class=noxref href="http://www.w3.org/TR/CSS21/syndata.html#value-def-percentage"><span - class=value-inst-percentage><percentage></span></a></code></dfn> + class=value-inst-percentage><percentage></span></a></code>’</dfn> <dd>Specifies extra spacing <em>in addition to</em> the normal spacing. Percentages are with respect to the width of the affected character. @@ -3215,12 +3249,14 @@ trimmed from the affected glyphs. Values are defined as follows: <dl> - <dt><dfn id=normal5 title="text-spacing:normal">normal</dfn> + <dt><dfn id=normal5 title="text-spacing:normal">‘<code + class=css>normal</code>’</dfn> <dd>Specifies the baseline behavior, equivalent to ‘<code class=css>space-start allow-end trim-adjacent</code>’. - <dt><dfn id=none3 title="text-spacing:none">none</dfn> + <dt><dfn id=none3 title="text-spacing:none">‘<code + class=css>none</code>’</dfn> <dt> @@ -3228,7 +3264,8 @@ with full-width glyphs. <dt><dfn id=ideograph-alpha - title="text-spacing:ideograph-alpha">ideograph-alpha</dfn> + title="text-spacing:ideograph-alpha">ideograph-alpha'‘<code + class=css></code></dfn> <dd>Creates 1/4em extra spacing between runs of <a href="#ideographs"><i>ideographs</i></a> and <a @@ -3238,7 +3275,9 @@ rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a></span> <dt><dfn id=ideograph-numeric - title="text-spacing:ideograph-numeric">ideograph-numeric</dfn> + title="text-spacing:ideograph-numeric">’‘<code + class=property>ideograph-numeric</code>’‘<code + class=css></code></dfn> <dd>Creates 1/4em extra spacing between runs of <a href="#ideographs"><i>ideographs</i></a> and <a @@ -3247,50 +3286,58 @@ behavior is specified in <a href="#JLREQ" rel=biblioentry>[JLREQ]<!--{{JLREQ}}--></a></span> - <dt><dfn id=punctuation title="text-spacing:punctuation">punctuation</dfn> - + <dt><dfn id=punctuation + title="text-spacing:punctuation">’‘<code + class=property>punctuation</code>’‘<code + class=css></code></dfn> <dd>Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions. In this level, if the - element's content language is French, narrow no-break space (U+202F) and - no-break space (U+00A0) is be inserted where required by <a + element’s content language is French, narrow no-break space + (U+202F) and no-break space (U+00A0) is be inserted where required by <a href="http://unicode.org/udhr/n/notes_fra.html">French typographic guidelines</a>. Otherwise this value has no effect. However future specifications may add automatic spacing behavior for other languages. - <dt><dfn id=space-start title="text-spacing:space-start">space-start</dfn> + <dt><dfn id=space-start title="text-spacing:space-start">‘<code + class=css>space-start</code>’</dfn> <dd>Set <a href="#fullwidth-opening-punctuation0"><i>fullwidth opening punctuation</i></a> with full-width glyphs (spaced) at the start of each line. - <dt><dfn id=trim-start title="text-spacing:trim-start">trim-start</dfn> + <dt><dfn id=trim-start title="text-spacing:trim-start">‘<code + class=css>trim-start</code>’</dfn> <dd>Set <a href="#fullwidth-opening-punctuation0"><i>fullwidth opening punctuation</i></a> with half-width glyphs (flush) at the start of each line. - <dt><dfn id=allow-end title="text-spacing:allow-end">allow-end</dfn> + <dt><dfn id=allow-end title="text-spacing:allow-end">‘<code + class=css>allow-end</code>’</dfn> <dd>Set <a href="#fullwidth-closing-punctuation0"><i>fullwidth closing punctuation</i></a> with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification, otherwise sets the punctuation with full-width glyphs. - <dt><dfn id=space-end title="text-spacing:space-end">space-end</dfn> + <dt><dfn id=space-end title="text-spacing:space-end">‘<code + class=css>space-end</code>’</dfn> <dd>Set <a href="#fullwidth-opening-punctuation0"><i>fullwidth opening punctuation</i></a> with full-width glyphs (spaced) at the start of each line. - <dt><dfn id=trim-end title="text-spacing:trim-end">trim-end</dfn> + <dt><dfn id=trim-end title="text-spacing:trim-end">‘<code + class=css>trim-end</code>’</dfn> <dd>Set <a href="#fullwidth-closing-punctuation0"><i>fullwidth closing punctuation</i></a> with half-width glyphs (flush) at the end of each line. <dt><dfn id=space-adjacent - title="text-spacing:space-adjacent">space-adjacent</dfn> + title="text-spacing:space-adjacent">‘<code + class=css>space-adjacent</code>’</dfn> <dd>Set <a href="#fullwidth-opening-punctuation0"><i>fullwidth opening punctuation</i></a> with full-width glyphs (spaced) when not at the start @@ -3298,13 +3345,14 @@ closing punctuation</i></a> with full-width glyphs (spaced) when not at the end of the line. - <dt><dfn id=trim-adjacent - title="text-spacing:trim-adjacent">trim-adjacent</dfn> + <dt><dfn id=trim-adjacent title="text-spacing:trim-adjacent">‘<code + class=css>trim-adjacent</code>’</dfn> <dd>Collapse spacing between punctuation glyphs <a href="#fullwidth-collapsing">as described below</a>. - <dt><dfn id=no-compress title="text-spacing:no-compress">no-compress</dfn> + <dt><dfn id=no-compress title="text-spacing:no-compress">‘<code + class=css>no-compress</code>’</dfn> <dd>Justification may not compress text-spacing. (If this value is not specified, the justification process may reduce autospacing except when @@ -3591,7 +3639,11 @@ <p>The following informative table summarizes language conventions for classifying fullwidth colon and dot punctuation:</p> - <table class=data><col class=header><col span=2> + <table class=data> + <colgroup class=header></colgroup> + + <colgroup span=2></colgroup> + <thead> <tr> <td> @@ -3752,10 +3804,9 @@ <p>This property specifies the indentation applied to lines of inline content in a block. The indent is treated as a margin applied to the start - edge of the line box. Unless otherwise specified via the ‘<a - href="#each-line"><code class=css>each-line</code></a>’ and/or - ‘<a href="#hanging"><code class=css>hanging</code></a>’ - keywords, only lines that are the <a + edge of the line box. Unless otherwise specified via the ‘<code + class=css>each-line</code>’ and/or ‘<code + class=css>hanging</code>’ keywords, only lines that are the <a href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">first formatted line</a> of an element are affected. For example, the first line of an anonymous block box is only affected if it is the first child of its @@ -3764,22 +3815,24 @@ <p>Values have the following meanings: <dl> - <dt><length> + <dt>‘<code class=css><length></code>’ <dd>Gives the amount of the indent as an absolute length. - <dt><percentage> + <dt>‘<a href="#ltlengthgt-or-ltpercentagegt"><code + class=css><percentage></code></a>’ <dd>Gives the amount of the indent as a percentage of the containing block's logical width. - <dt><dfn id=each-line><code>each-line</code></dfn> + <dt><dfn id=each-line>‘<code class=css>each-line</code>’</dfn> + <dd>Indentation affects the first line of the block container as well as each line after a forced line break, but does not affect lines after a text wrap break. - <dt><dfn id=hanging><code>hanging</code></dfn> + <dt><dfn id=hanging>‘<code class=css>hanging</code>’</dfn> <dd>Inverts which lines are affected. </dl> @@ -3864,25 +3917,26 @@ <p>Values have the following meanings: <dl> - <dt><dfn id=none4 title="hanging-punctuation:none"><code>none</code></dfn> + <dt><dfn id=none4 title="hanging-punctuation:none">‘<code + class=css>none</code>’</dfn> <dd>No characters can hang. - <dt><dfn id=first - title="hanging-punctuation:first"><code>first</code></dfn> + <dt><dfn id=first title="hanging-punctuation:first">‘<code + class=css>first</code>’</dfn> <dd>An opening bracket or quote at the start of the <a href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">first formatted line</a> of an element hangs. This applies to all characters in the Unicode categories Ps, Pf, Pi. - <dt><dfn id=force-end - title="hanging-punctuation:force-end"><code>force-end</code></dfn> + <dt><dfn id=force-end title="hanging-punctuation:force-end">‘<code + class=css>force-end</code>’</dfn> <dd>A stop or comma at the end of a line hangs. - <dt><dfn id=allow-end0 - title="hanging-punctuation:allow-end"><code>allow-end</code></dfn> + <dt><dfn id=allow-end0 title="hanging-punctuation:allow-end">‘<code + class=css>allow-end</code>’</dfn> <dd>A stop or comma at the end of a line hangs if it does not otherwise fit prior to justification. @@ -4211,8 +4265,9 @@ </table> <p>This property specifies the color of text decoration (underlines - overlines, and line-throughs) set on the element with <a - href="#text-decoration-line0"><code>text-decoration-line</code></a>. + overlines, and line-throughs) set on the element with ‘<a + href="#text-decoration-line0"><code + class=property>text-decoration-line</code></a>’. <h4 id=text-decoration-style><span class=secno>10.1.3. </span> Text Decoration Style: the ‘<a href="#text-decoration-style0"><code @@ -4322,21 +4377,26 @@ <td>as specified </table> - <p>This property is a shorthand for setting <a - href="#text-decoration-line0"><code>text-decoration-line</code></a>, <a - href="#text-decoration-color0"><code>text-decoration-color</code></a>, and - <a href="#text-decoration-style0"><code>text-decoration-style</code></a> - in one declaration. Omitted values are set to their initial values. A <a - href="#text-decoration0"><code>text-decoration</code></a> declaration that - omits both the <a - href="#text-decoration-color0"><code>text-decoration-color</code></a> and - <a href="#text-decoration-style0"><code>text-decoration-style</code></a> - values is backwards-compatible with CSS Levels 1 and 2. + <p>This property is a shorthand for setting ‘<a + href="#text-decoration-line0"><code + class=property>text-decoration-line</code></a>’, ‘<a + href="#text-decoration-color0"><code + class=property>text-decoration-color</code></a>’, and ‘<a + href="#text-decoration-style0"><code + class=property>text-decoration-style</code></a>’ in one declaration. + Omitted values are set to their initial values. A ‘<a + href="#text-decoration0"><code + class=property>text-decoration</code></a>’ declaration that omits + both the ‘<a href="#text-decoration-color0"><code + class=property>text-decoration-color</code></a>’ and ‘<a + href="#text-decoration-style0"><code + class=property>text-decoration-style</code></a>’ values is + backwards-compatible with CSS Levels 1 and 2. - <p>If the <code>blink</code> keyword is specified the text blinks - (alternates between visible and invisible). Conforming user agents may - simply not blink the text. Note that not blinking the text is one - technique to satisfy <a + <p>If the ‘<code class=css>blink</code>’ keyword is specified + the text blinks (alternates between visible and invisible). Conforming + user agents may simply not blink the text. Note that not blinking the text + is one technique to satisfy <a href="http://www.w3.org/TR/UAAG/guidelines.html#tech-on-off-blinking-text">checkpoint 3.3 of WAI-UAAG</a>. @@ -4407,31 +4467,36 @@ drawn by its ancestors. Values have the following meanings: <dl> - <dt><dfn id=none6 title="text-decoration-skip:none">none</dfn> + <dt><dfn id=none6 title="text-decoration-skip:none">‘<code + class=css>none</code>’</dfn> <dd>Skip nothing: text-decoration is drawn for all text content and for inline replaced elements. - <dt><dfn id=objects title="text-decoration-skip:objects">objects</dfn> + <dt><dfn id=objects title="text-decoration-skip:objects">‘<code + class=css>objects</code>’</dfn> <dd>Skip this element if it is an atomic inline (such as an image or inline-block). - <dt><dfn id=spaces0 title="text-decoration-skip:spaces">spaces</dfn> + <dt><dfn id=spaces0 title="text-decoration-skip:spaces">‘<code + class=css>spaces</code>’</dfn> <dd>Skip white space: this includes regular spaces (U+0020) and tabs (U+0009), as well as nbsp (U+00A0), ideographic space (U+3000), all fixed width spaces (such as U+2000–U+200A, U+202F and U+205F), and any adjacent letter-spacing or word-spacing. - <dt><dfn id=ink title="text-decoration-skip:ink">ink</dfn> + <dt><dfn id=ink title="text-decoration-skip:ink">‘<code + class=css>ink</code>’</dfn> <dd>Skip over where glyphs are drawn: interrupt the decoration line to let text show through where the text decoration would otherwise cross over a glyph. The UA may also skip a small distance to either side of the glyph outline. - <dt><dfn id=edges title="text-decoration-skip:edges">edges</dfn> + <dt><dfn id=edges title="text-decoration-skip:edges">‘<code + class=css>edges</code>’</dfn> <dd>The UA should place the start and end of the line inwards from the content edge of the decorating element so that, e.g. two underlined @@ -4626,52 +4691,58 @@ the following meanings: <dl> - <dt><dfn id=none7 title="text-emphasis:none"><code>none</code></dfn> + <dt><dfn id=none7 title="text-emphasis:none">‘<code + class=css>none</code>’</dfn> <dd>No emphasis marks. - <dt><dfn id=filled title="text-emphasis:filled"><code>filled</code></dfn> + <dt><dfn id=filled title="text-emphasis:filled">‘<code + class=css>filled</code>’</dfn> <dd>The shape is filled with solid color. - <dt><dfn id=open title="text-emphasis:open"><code>open</code></dfn> + <dt><dfn id=open title="text-emphasis:open">‘<code + class=css>open</code>’</dfn> <dd>The shape is hollow. - <dt><dfn id=dot title="text-emphasis:dot"><code>dot</code></dfn> + <dt><dfn id=dot title="text-emphasis:dot">‘<code + class=css>dot</code>’</dfn> <dd>Display small circles as marks. The filled dot is U+2022 ‘<code class=css>•</code>’, and the open dot is U+25E6 ‘<code class=css>◦</code>’. - <dt><dfn id=circle title="text-emphasis:circle"><code>circle</code></dfn> + <dt><dfn id=circle title="text-emphasis:circle">‘<code + class=css>circle</code>’</dfn> <dd>Display large circles as marks. The filled circle is U+25CF ‘<code class=css>●</code>’, and the open circle is U+25CB ‘<code class=css>○</code>’. - <dt><dfn id=double-circle - title="text-emphasis:double-circle"><code>double-circle</code></dfn> + <dt><dfn id=double-circle title="text-emphasis:double-circle">‘<code + class=css>double-circle</code>’</dfn> <dd>Display double circles as marks. The filled double-circle is U+25C9 ‘<code class=css>◉</code>’, and the open double-circle is U+25CE ‘<code class=css>◎</code>’. - <dt><dfn id=triangle - title="text-emphasis:triangle"><code>triangle</code></dfn> + <dt><dfn id=triangle title="text-emphasis:triangle">‘<code + class=css>triangle</code>’</dfn> <dd>Display triangles as marks. The filled triangle is U+25B2 ‘<code class=css>▲</code>’, and the open triangle is U+25B3 ‘<code class=css>△</code>’. - <dt><dfn id=sesame title="text-emphasis:sesame"><code>sesame</code></dfn> + <dt><dfn id=sesame title="text-emphasis:sesame">‘<code + class=css>sesame</code>’</dfn> <dd>Display sesames as marks. The filled sesame is U+FE45 ‘<code class=css>﹅</code>’, and the open sesame is U+FE46 ‘<code class=css>﹆</code>’. - <dt><dfn id=ltstringgt0 - title="text-emphasis:sesame"><code><var><string></var></code></dfn> + <dt><dfn id=ltstringgt0 title="text-emphasis:sesame">‘<code + class=css><var><string></var></code>’</dfn> <dd>Display the given string as marks. Authors should not specify more than one <a href="#character"><i>character</i></a> in <string>. The @@ -4838,10 +4909,12 @@ <td>see individual properties </table> - <p>This property is a shorthand for setting <a - href="#text-emphasis-style0"><code>text-emphasis-style</code></a> and <a - href="#text-emphasis-color0"><code>text-emphasis-color</code></a> in one - declaration. Omitted values are set to their initial values. + <p>This property is a shorthand for setting ‘<a + href="#text-emphasis-style0"><code + class=property>text-emphasis-style</code></a>’ and ‘<a + href="#text-emphasis-color0"><code + class=property>text-emphasis-color</code></a>’ in one declaration. + Omitted values are set to their initial values. <p class=note>Note that ‘<a href="#text-emphasis-position0"><code class=property>text-emphasis-position</code></a>’ is not reset in @@ -5170,9 +5243,9 @@ href="http://www.w3.org/TR/1998/REC-CSS2-19980512">CSS2 Recommendation</a>. - <p>The <a href="#text-shadow0"><code>text-shadow</code></a> property - applies to both the <code>::first-line</code> and - <code>::first-letter</code> pseudo-elements. + <p>The ‘<a href="#text-shadow0"><code + class=css>text-shadow</code></a>’ property applies to both the + <code>::first-line</code> and <code>::first-letter</code> pseudo-elements. <h2 class=no-num id=acknowledgements> Appendix A: Acknowledgements</h2> @@ -6553,8 +6626,8 @@ <li>discrete scripts, <a href="#discrete-scripts0" title="discrete scripts"><strong>#</strong></a> - <li><a href="#each-line"><code>each-line</code></a>, <a href="#each-line" - title=each-line><strong>9.1.</strong></a> + <li>‘<code class=css>each-line</code>’, <a href="#each-line" + title="''each-line''"><strong>9.1.</strong></a> <li>expansion opportunities, <a href="#expansion-opportunities" title="expansion opportunities"><strong>7.3.</strong></a> @@ -6580,8 +6653,8 @@ <li>grapheme cluster, <a href="#grapheme-cluster0" title="grapheme cluster"><strong>1.</strong></a> - <li><a href="#hanging"><code>hanging</code></a>, <a href="#hanging" - title=hanging><strong>9.1.</strong></a> + <li>‘<code class=css>hanging</code>’, <a href="#hanging" + title="''hanging''"><strong>9.1.</strong></a> <li>hanging-punctuation, <a href="#hanging-punctuation0" title=hanging-punctuation><strong>9.2.</strong></a> Index: Overview.src.html =================================================================== RCS file: /sources/public/csswg/css3-text/Overview.src.html,v retrieving revision 1.262 retrieving revision 1.263 diff -u -d -r1.262 -r1.263 --- Overview.src.html 29 Jul 2011 21:39:16 -0000 1.262 +++ Overview.src.html 29 Jul 2011 21:57:47 -0000 1.263 @@ -265,22 +265,22 @@ Values have the following meanings:</p> <dl> - <dt><dfn title="text-transform:none"><code>none</code></dfn></dt> + <dt><dfn title="text-transform:none">''none''</dfn></dt> <dd>No effects.</dd> - <dt><dfn title="text-transform:capitalize"><code>capitalize</code></dfn></dt> + <dt><dfn title="text-transform:capitalize">''capitalize''</dfn></dt> <dd>Puts the first <i>character</i> of each word in titlecase; other characters are unaffected.</dd> - <dt><dfn title="text-transform:uppercase"><code>uppercase</code></dfn></dt> + <dt><dfn title="text-transform:uppercase">''uppercase''</dfn></dt> <dd>Puts all characters in uppercase. - <dt><dfn title="text-transform:lowercase"><code>lowercase</code></dfn></dt> + <dt><dfn title="text-transform:lowercase">''lowercase''</dfn></dt> <dd>Puts all characters in lowercase.</dd> - <dt><dfn title="text-transform:full-width"><code>full-width</code></dfn></dt> + <dt><dfn title="text-transform:full-width">''full-width''</dfn></dt> <dd>Puts all characters in fullwidth form. If the character does not have a corresponding fullwidth form, it is left as is. This value is typically used to typeset Latin characters and digits like ideographic characters. - <dt><dfn title="text-transform:full-size-kana"><code>full-size-kana</code></dfn></dt> + <dt><dfn title="text-transform:full-size-kana">''full-size-kana''</dfn></dt> <dd>Converts all small Kana characters to normal Kana. This value is typically used for ruby annotation text, where all small Kana should be drawn as large Kana. @@ -446,20 +446,20 @@ rules</a>:</p> <dl> - <dt><dfn title="white-space:collapse"><code>collapse</code></dfn></dt> + <dt><dfn title="white-space:collapse">''collapse''</dfn></dt> <dd>This value directs user agents to collapse sequences of white space into a single character (or <a href="#line-break-transform">in some cases</a>, no character).</dd> - <dt><dfn title="white-space:preserve"><code>preserve</code></dfn></dt> + <dt><dfn title="white-space:preserve">''preserve''</dfn></dt> <dd>This value prevents user agents from collapsing sequences of white space. Line feeds are preserved as forced line breaks.</dd> - <dt><dfn title="white-space:preserve-breaks"><code>preserve-breaks</code></dfn></dt> + <dt><dfn title="white-space:preserve-breaks">''preserve-breaks''</dfn></dt> <dd>This value collapses white space as for ''collapse'', but preserves line feeds as forced line breaks.</dd> - <dt><dfn title="white-space:discard"><code>discard</code></dfn></dt> + <dt><dfn title="white-space:discard">''discard''</dfn></dt> <dd>This value directs user agents to "discard" all white space in the element. - <dt><dfn title="white-space:trim-inner"><code>trim-inner</code></dfn></dt> + <dt><dfn title="white-space:trim-inner">''trim-inner''</dfn></dt> <dd>For block containers this value directs UAs to discard all whitespace at the beginning of the element up to and including the last line feed before the first non-white-space character in the element as well as @@ -467,10 +467,10 @@ first line feed after the last non-white-space character in the element. For other elements this value directs UAs to discard all whitespace at the beginning and end of the element.</dd> - <dt><dfn title="white-space:consume-before"><code>consume-before</code></dfn></dt> + <dt><dfn title="white-space:consume-before">''consume-before''</dfn></dt> <dd>This value directs the UA to collapse all collapsible whitespace immediately before the start of the element. - <dt><dfn title="white-space:consume-after"><code>consume-after</code></dfn></dt> + <dt><dfn title="white-space:consume-after">''consume-after''</dfn></dt> <dd>This value directs the UA to collapse all collapsible whitespace immediately after the end of the element. </dl> @@ -725,19 +725,19 @@ Values have the following meanings:</p> <dl> - <dt><dfn title="white-space:normal"><code>normal</code></dfn></dt> + <dt><dfn title="white-space:normal">''normal''</dfn></dt> <dd>Sets 'text-space-collapse' to ''collapse'' and 'text-wrap' to ''normal''</dd> - <dt><dfn title="white-space:pre"><code>pre</code></dfn></dt> + <dt><dfn title="white-space:pre">''pre''</dfn></dt> <dd>Sets 'text-space-collapse' to ''preserve'' and 'text-wrap' to ''none''</dd> - <dt><dfn title="white-space:nowrap"><code>nowrap</code></dfn></dt> + <dt><dfn title="white-space:nowrap">''nowrap''</dfn></dt> <dd>Sets 'text-space-collapse' to ''collapse'' and 'text-wrap' to ''none''</dd> - <dt><dfn title="white-space:pre-wrap"><code>pre-wrap</code></dfn></dt> + <dt><dfn title="white-space:pre-wrap">''pre-wrap''</dfn></dt> <dd>Sets 'text-space-collapse' to ''preserve'' and 'text-wrap' to ''normal''</dd> - <dt><dfn title="white-space:pre-line"><code>pre-line</code></dfn></dt> + <dt><dfn title="white-space:pre-line">''pre-line''</dfn></dt> <dd>Sets 'text-space-collapse' to ''preserve-breaks'' and 'text-wrap' to ''normal''</dd> </dl> @@ -746,6 +746,8 @@ 'white-space' values:</p> <table class="data"> + <colgroup class="header"></colgroup> + <colgroup span=3></colgroup> <thead> <tr> <th></th> @@ -878,16 +880,16 @@ punctuation. Values have the following meanings:</p> <dl> - <dt><dfn title="line-break:auto"><code>auto</code></dfn></dt> + <dt><dfn title="line-break:auto">''auto''</dfn></dt> <dd>The UA determines the set of line-breaking restrictions to use, and it may vary the restrictions based on the length of the line; e.g., use a less restrictive set of line-break rules for short lines.</dd> - <dt><dfn title="line-break:loose"><code>loose</code></dfn></dt> + <dt><dfn title="line-break:loose">''loose''</dfn></dt> <dd>Breaks text using the least restrictive set of line-breaking rules. Typically used for short lines, such as in newspapers.</dd> - <dt><dfn title="line-break:normal"><code>normal</code></dfn></dt> + <dt><dfn title="line-break:normal">''normal''</dfn></dt> <dd>Breaks text using the most common set of line-breaking rules.</dd> - <dt><dfn title="line-break:strict"><code>strict</code></dfn></dt> + <dt><dfn title="line-break:strict">''strict''</dfn></dt> <dd>Breaks text using the most stringent set of line-breaking rules.</dd> </dl> @@ -975,14 +977,14 @@ Values have the following meanings:</p> <dl> - <dt><dfn title="word-break:normal"><code>normal</code></dfn></dt> + <dt><dfn title="word-break:normal">''normal''</dfn></dt> <dd>Break lines according to their usual rules.</dd> - <dt><dfn title="word-break:break-all"><code>break-all</code></dfn></dt> + <dt><dfn title="word-break:break-all">''break-all''</dfn></dt> <dd>Lines may break between any two characters within words. Hyphenation is not applied. This option is used mostly in a context where the text is predominantly using CJK characters with few non-CJK excerpts and it is desired that the text be better distributed on each line.</dd> - <dt><dfn title="word-break:keep-all"><code>keep-all</code></dfn></dt> + <dt><dfn title="word-break:keep-all">''keep-all''</dfn></dt> <dd>Lines may break only at <a href="#word-separator">word separators</a> and other explicit break opportunities. Otherwise this option is equivalent to ''normal''. @@ -1400,15 +1402,15 @@ <p>This property specifies the mode for text wrapping. Possible values:</p> <dl> - <dt><dfn title="text-wrap:normal"><code>normal</code></dfn></dt> + <dt><dfn title="text-wrap:normal">''normal''</dfn></dt> <dd>Lines may break at allowed break points, as determined by the line-breaking rules in effect. Line breaking behavior defined for the WJ, ZW, and GL line-breaking classes in [[!UAX14]] must be honored. - <dt><dfn title="text-wrap:none"><code>none</code></dfn></dt> + <dt><dfn title="text-wrap:none">''none''</dfn></dt> <dd>Lines may not break; text that does not fit within the block container overflows it.</dd> - <dt><dfn title="text-wrap:avoid"><code>avoid</code></dfn></dt> + <dt><dfn title="text-wrap:avoid">''avoid''</dfn></dt> <dd>Line breaking is suppressed within the element: the UA may only break within the element if there are no other valid break points in the line. If the text breaks, line-breaking restrictions are honored as for @@ -1517,19 +1519,19 @@ 'text-wrap' is either 'normal' or 'avoid'. Possible values:</p> <dl> - <dt><dfn title="overflow-wrap:normal"><code>normal</code></dfn></dt> + <dt><dfn title="overflow-wrap:normal">''normal''</dfn></dt> <dd>Lines may break only at allowed break points. However, the restrictions introduced by ''word-break: keep-all'' may be relaxed to match ''word-break: normal'' and the various hyphenation limit properties may be ignored if there are no otherwise-acceptable break points in the line.</dd> - <dt><dfn title="overflow-wrap:hyphenate"><code>hyphenate</code></dfn></dt> + <dt><dfn title="overflow-wrap:hyphenate">''hyphenate''</dfn></dt> <dd>An unbreakable "word" may be hyphenated if there are no otherwise-acceptable break points in the line even if hyphenation is turned off or otherwise restricted. Hyphenation controls may influence where the word breaks, but cannot forbid the word from hyphenating to prevent overflow. - <dt><dfn title="overflow-wrap:break-word"><code>break-word</code></dfn></dt> + <dt><dfn title="overflow-wrap:break-word">''break-word''</dfn></dt> <dd>An unbreakable "word" may be broken at an arbitrary point if there are no otherwise-acceptable break points in the line. Shaping characters are still shaped as if the word were not @@ -1595,33 +1597,33 @@ meanings:</p> <dl> - <dt><dfn title="text-align:start"><code>start</code></dfn></dt> + <dt><dfn title="text-align:start">''start''</dfn></dt> <dd>The inline contents are aligned to the start edge of the line box. - <dt><dfn title="text-align:end"><code>end</code></dfn></dt> + <dt><dfn title="text-align:end">''end''</dfn></dt> <dd>The inline contents are aligned to the end edge of the line box. - <dt><dfn title="text-align:left"><code>left</code></dfn></dt> + <dt><dfn title="text-align:left">''left''</dfn></dt> <dd>The inline contents are aligned to the left edge of the line box. In vertical text, 'left' aligns to the edge of the line box that would be the start edge for left-to-right text.</dd> - <dt><dfn title="text-align:right"><code>right</code></dfn></dt> + <dt><dfn title="text-align:right">''right''</dfn></dt> <dd>The inline contents are aligned to the right edge of the line box. In vertical text, 'right' aligns to the edge of the line box that would be the end edge for left-to-right text.</dd> - <dt><dfn title="text-align:center"><code>center</code></dfn></dt> + <dt><dfn title="text-align:center">''center''</dfn></dt> <dd>The inline contents are centered within the line box. - <dt><dfn title="text-align:justify"><code>justify</code></dfn></dt> + <dt><dfn title="text-align:justify">''justify''</dfn></dt> <dd>The text is justified according to the method specified by the <a href="#text-justify" class="property">'text-justify'</a> property. - <dt><dfn title="text-align:<string>"><code><span title="<string>"><a + <dt><dfn title="text-align:<string>">''<span title="<string>"><a class="noxref" href="http://www.w3.org/TR/CSS21/syndata.html#value-def-string" - ><span class="value-inst-string"><string></span></a></span></code></dfn></dt> + ><span class="value-inst-string"><string></span></a></span>''</dfn></dt> <dd>The string must be a single character; otherwise the declaration must be <a href="http://www.w3.org/TR/CSS21/conform.html#ignore">ignored</a>. When applied to a table cell, specifies the <dfn>alignment character</dfn> around which the cell's contents will align. See <a href="#character-alignment">below</a> for further details. </dd> - <dt><dfn title="text-align:match-parent"><code>match-parent</code></dfn></dt> + <dt><dfn title="text-align:match-parent">''match-parent''</dfn></dt> <dd>This value behaves the same as 'inherit' except that an inherited 'start' or 'end' keyword is calculated against its parent's 'direction' value and results in a computed value of either 'left' or 'right'. @@ -1841,7 +1843,7 @@ It takes the following values:</p> <dl> - <dt><dfn title="text-justify:auto"><code>auto</code></dfn></dt> + <dt><dfn title="text-justify:auto">''auto''</dfn></dt> <dd>The UA determines the justification algorithm to follow, based on a balance between performance and adequate presentation quality. <p class="note">One possible algorithm is to determine the behavior @@ -1852,31 +1854,31 @@ universal compromise for all scripts, e.g. the ''inter-cluster'' method with block scripts raised to first priority.</p> </dd> - <dt><dfn title="text-justify:none"><code>none</code></dfn></dt> + <dt><dfn title="text-justify:none">''none''</dfn></dt> <dd>Justification is disabled. <span class="note">This value is intended for use in user stylesheets to improve readability or for accessibility purposes.</span></dd> - <dt><dfn title="text-justify:inter-word"><code>inter-word</code></dfn></dt> + <dt><dfn title="text-justify:inter-word">''inter-word''</dfn></dt> <dd>Justification primarily changes spacing at word separators. This value is typically used for languages that separate words using spaces, like English or Korean.</dd> - <dt><dfn title="text-justify:inter-ideographic"><code>inter-ideograph</code></dfn></dt> + <dt><dfn title="text-justify:inter-ideographic">''inter-ideograph''</dfn></dt> <dd>Justification primarily changes spacing at word separators and between characters in <a href="#block-scripts">block scripts</a>. This value is typically used for <abbr title="Chinese/Japanese/Korean">CJK</abbr> languages.</dd> - <dt><dfn title="text-justify:inter-cluster"><code>inter-cluster</code></dfn></dt> + <dt><dfn title="text-justify:inter-cluster">''inter-cluster''</dfn></dt> <dd>Justification primarily changes spacing at word separators and between characters in <a href="#clustered-scripts">clustered scripts</a>. This value is typically used for Southeast Asian scripts such as Thai.</dd> - <dt><dfn title="text-justify:distribute"><code>distribute</code></dfn></dt> + <dt><dfn title="text-justify:distribute">''distribute''</dfn></dt> <dd>Justification primarily changes spacing both at word separators and between characters in all scripts equally (except those in the connected and cursive categories). This value is sometimes used in e.g. Japanese.</dd> <dt><a name="kashida-prop"></a><a name="text-kashida-space"></a> - <dfn title="text-justify:kashida"><code>kashida</code></dfn></dt> + <dfn title="text-justify:kashida">''kashida''</dfn></dt> <dd>Justification primarily stretches <a href="#cursive-scripts">cursive scripts</a> through the use of kashida or other calligraphic elongation. @@ -1929,8 +1931,8 @@ specially, see below. <table class="data"> - <col class="header"> - <col span=6> + <colgroup class="header"></colgroup> + <colgroup span=6></colgroup> <caption>Prioritization of Expansion Points</caption> <thead> <tr> @@ -2121,14 +2123,14 @@ value type, which is defined as follows:</p> <dl> - <dt><dfn title="<spacing-limit>"><code><spacing-limit></code></dfn></dt> + <dt><dfn title="<spacing-limit>">''<spacing-limit>''</dfn></dt> <dd> [ normal | <a class="noxref" href="http://www.w3.org/TR/CSS21/syndata.html#value-def-length"><span class="value-inst-length"><length></span></a> | <a class="noxref" href="http://www.w3.org/TR/CSS21/syndata.html#value-def-percentage"><span class="value-inst-percentage"><percentage></span></a> ] </dd> - <dt><dfn title="<spacing-limit>:normal"><code>normal</code></dfn></dt> + <dt><dfn title="<spacing-limit>:normal">''normal''</dfn></dt> <dd>Specifies the normal optimum/minimum/maximum spacing, as defined by the current font and/or the user agent. Normal spacing should be percentage-based. Normal minimum and maximum spacing must be based @@ -2145,10 +2147,10 @@ <a href="#cursive-scripts">cursive</a> characters is always zero. </dd> - <dt><dfn title="<spacing-limit>:<length>|<percentage>"><code><a class="noxref" href="http://www.w3.org/TR/CSS21/syndata.html#value-def-length"><span + <dt><dfn title="<spacing-limit>:<length>|<percentage>">''<a class="noxref" href="http://www.w3.org/TR/CSS21/syndata.html#value-def-length"><span class="value-inst-length"><length></span></a> or <a class="noxref" href="http://www.w3.org/TR/CSS21/syndata.html#value-def-percentage"><span - class="value-inst-percentage"><percentage></span></a></code></dfn></dt> + class="value-inst-percentage"><percentage></span></a>''</dfn></dt> <dd>Specifies extra spacing <em>in addition to</em> the normal spacing. Percentages are with respect to the width of the affected character. Values may be negative, but there may be implementation-dependent @@ -2391,25 +2393,25 @@ Values are defined as follows:</p> <dl> - <dt><dfn title="text-spacing:normal">normal</dfn></dt> + <dt><dfn title="text-spacing:normal">''normal''</dfn></dt> <dd>Specifies the baseline behavior, equivalent to ''space-start allow-end trim-adjacent''. - <dt><dfn title="text-spacing:none">none</dfn><dt> + <dt><dfn title="text-spacing:none">''none''</dfn><dt> <dd>Turns off all text-spacing features. All fullwidth characters are set with full-width glyphs. - <dt><dfn title="text-spacing:ideograph-alpha">ideograph-alpha</dfn></dt> + <dt><dfn title="text-spacing:ideograph-alpha">ideograph-alpha''</dfn></dt> <dd>Creates 1/4em extra spacing between runs of <i>ideographs</i> and <i>non-ideographic letters</i>. <span class="note">A commonly used algorithm for determining this behavior is specified in [[JLREQ]]</span> </dd> - <dt><dfn title="text-spacing:ideograph-numeric">ideograph-numeric</dfn></dt> + <dt><dfn title="text-spacing:ideograph-numeric">''ideograph-numeric''</dfn></dt> <dd>Creates 1/4em extra spacing between runs of <i>ideographs</i> and <i>non-ideographic numerals</i> glyphs. <span class="note">A commonly used algorithm for determining this behavior is specified in [[JLREQ]]</span> </dd> - <dt><dfn title="text-spacing:punctuation">punctuation</dfn> + <dt><dfn title="text-spacing:punctuation">''punctuation''</dfn> <dd>Creates extra non-breaking spacing around punctuation as required by language-specific typographic conventions. In this level, if the element's content language is French, narrow no-break space (U+202F) @@ -2418,32 +2420,32 @@ guidelines</a>. Otherwise this value has no effect. However future specifications may add automatic spacing behavior for other languages. - <dt><dfn title="text-spacing:space-start">space-start</dfn></dt> + <dt><dfn title="text-spacing:space-start">''space-start''</dfn></dt> <dd>Set <i>fullwidth opening punctuation</i> with full-width glyphs (spaced) at the start of each line. - <dt><dfn title="text-spacing:trim-start">trim-start</dfn></dt> + <dt><dfn title="text-spacing:trim-start">''trim-start''</dfn></dt> <dd>Set <i>fullwidth opening punctuation</i> with half-width glyphs (flush) at the start of each line. - <dt><dfn title="text-spacing:allow-end">allow-end</dfn></dt> + <dt><dfn title="text-spacing:allow-end">''allow-end''</dfn></dt> <dd>Set <i>fullwidth closing punctuation</i> with half-width glyphs (flush) at the end of each line if it does not otherwise fit prior to justification, otherwise sets the punctuation with full-width glyphs. - <dt><dfn title="text-spacing:space-end">space-end</dfn></dt> + <dt><dfn title="text-spacing:space-end">''space-end''</dfn></dt> <dd>Set <i>fullwidth opening punctuation</i> with full-width glyphs (spaced) at the start of each line.</dd> - <dt><dfn title="text-spacing:trim-end">trim-end</dfn></dt> + <dt><dfn title="text-spacing:trim-end">''trim-end''</dfn></dt> <dd>Set <i>fullwidth closing punctuation</i> with half-width glyphs (flush) at the end of each line.</dd> - <dt><dfn title="text-spacing:space-adjacent">space-adjacent</dfn></dt> + <dt><dfn title="text-spacing:space-adjacent">''space-adjacent''</dfn></dt> <dd>Set <i>fullwidth opening punctuation</i> with full-width glyphs (spaced) when not at the start of the line. Set <i>fullwidth closing punctuation</i> with full-width glyphs (spaced) when not at the end of the line. - <dt><dfn title="text-spacing:trim-adjacent">trim-adjacent</dfn></dt> + <dt><dfn title="text-spacing:trim-adjacent">''trim-adjacent''</dfn></dt> <dd>Collapse spacing between punctuation glyphs <a href="#fullwidth-collapsing">as described below</a>. - <dt><dfn title="text-spacing:no-compress">no-compress</dfn></dt> + <dt><dfn title="text-spacing:no-compress">''no-compress''</dfn></dt> <dd>Justification may not compress text-spacing. (If this value is not specified, the justification process may reduce autospacing except when the spacing is at the start or end of the line.) @@ -2646,8 +2648,8 @@ classifying fullwidth colon and dot punctuation:</p> <table class="data"> - <col class="header"> - <col span=2> + <colgroup class="header"></colgroup> + <colgroup span=2></colgroup> <thead> <tr><td></td> <th>colon punctuation</th> <th>dot punctuation</th> </thead> @@ -2770,16 +2772,16 @@ <p>Values have the following meanings:</p> <dl> - <dt><length></dt> + <dt>''<length>''</dt> <dd>Gives the amount of the indent as an absolute length.</dd> - <dt><percentage></dt> + <dt>''<percentage>''</dt> <dd>Gives the amount of the indent as a percentage of the containing block's logical width.</dd> - <dt><dfn><code>each-line</code></dfn> + <dt><dfn>''each-line''</dfn> <dd>Indentation affects the first line of the block container as well as each line after a forced line break, but does not affect lines after a text wrap break. - <dt><dfn><code>hanging</code></dfn> + <dt><dfn>''hanging''</dfn> <dd>Inverts which lines are affected.</dd> </dl> @@ -2853,16 +2855,16 @@ <p>Values have the following meanings:</p> <dl> - <dt><dfn title="hanging-punctuation:none"><code>none</code></dfn></dt> + <dt><dfn title="hanging-punctuation:none">''none''</dfn></dt> <dd>No characters can hang.</dd> - <dt><dfn title="hanging-punctuation:first"><code>first</code></dfn></dt> + <dt><dfn title="hanging-punctuation:first">''first''</dfn></dt> <dd>An opening bracket or quote at the start of the <a href="http://www.w3.org/TR/CSS21/selector.html#first-line-pseudo">first formatted line</a> of an element hangs. This applies to all characters in the Unicode categories Ps, Pf, Pi.</dd> - <dt><dfn title="hanging-punctuation:force-end"><code>force-end</code></dfn></dt> + <dt><dfn title="hanging-punctuation:force-end">''force-end''</dfn></dt> <dd>A stop or comma at the end of a line hangs.</dd> - <dt><dfn title="hanging-punctuation:allow-end"><code>allow-end</code></dfn></dt> + <dt><dfn title="hanging-punctuation:allow-end">''allow-end''</dfn></dt> <dd>A stop or comma at the end of a line hangs if it does not otherwise fit prior to justification.</dd> </dl> @@ -3160,7 +3162,7 @@ <p>This property specifies the color of text decoration (underlines overlines, and line-throughs) set on the element with - <code>text-decoration-line</code>.</p> + 'text-decoration-line'.</p> <h4 id="text-decoration-style"> Text Decoration Style: the 'text-decoration-style' property</h4> @@ -3252,15 +3254,14 @@ </tbody> </table> - <p>This property is a shorthand for setting - <code>text-decoration-line</code>, <code>text-decoration-color</code>, - and <code>text-decoration-style</code> in one declaration. Omitted - values are set to their initial values. A <code>text-decoration</code> - declaration that omits both the <code>text-decoration-color</code> - and <code>text-decoration-style</code> values is backwards-compatible + <p>This property is a shorthand for setting 'text-decoration-line', + 'text-decoration-color', and 'text-decoration-style' in one declaration. + Omitted values are set to their initial values. A 'text-decoration' + declaration that omits both the 'text-decoration-color' + and 'text-decoration-style' values is backwards-compatible with CSS Levels 1 and 2.</p> - <p>If the <code>blink</code> keyword is specified the text blinks + <p>If the ''blink'' keyword is specified the text blinks (alternates between visible and invisible). Conforming user agents may simply not blink the text. Note that not blinking the text is one technique to satisfy @@ -3327,24 +3328,24 @@ Values have the following meanings:</p> <dl> - <dt><dfn title="text-decoration-skip:none">none</dfn></dt> + <dt><dfn title="text-decoration-skip:none">''none''</dfn></dt> <dd>Skip nothing: text-decoration is drawn for all text content and for inline replaced elements.</dd> - <dt><dfn title="text-decoration-skip:objects">objects</dfn></dt> + <dt><dfn title="text-decoration-skip:objects">''objects''</dfn></dt> <dd>Skip this element if it is an atomic inline (such as an image or inline-block).</dd> - <dt><dfn title="text-decoration-skip:spaces">spaces</dfn></dt> + <dt><dfn title="text-decoration-skip:spaces">''spaces''</dfn></dt> <dd>Skip white space: this includes regular spaces (U+0020) and tabs (U+0009), as well as nbsp (U+00A0), ideographic space (U+3000), all fixed width spaces (such as U+2000–U+200A, U+202F and U+205F), and any adjacent letter-spacing or word-spacing.</dd> - <dt><dfn title="text-decoration-skip:ink">ink</dfn></dt> + <dt><dfn title="text-decoration-skip:ink">''ink''</dfn></dt> <dd>Skip over where glyphs are drawn: interrupt the decoration line to let text show through where the text decoration would otherwise cross over a glyph. The UA may also skip a small distance to either side of the glyph outline.</dd> - <dt><dfn title="text-decoration-skip:edges">edges</dfn></dt> + <dt><dfn title="text-decoration-skip:edges">''edges''</dfn></dt> <dd>The UA should place the start and end of the line inwards from the content edge of the decorating element so that, e.g. two underlined elements side-by-side do not appear to have a single @@ -3517,28 +3518,28 @@ Values have the following meanings:</p> <dl> - <dt><dfn title="text-emphasis:none"><code>none</code></dfn></dt> + <dt><dfn title="text-emphasis:none">''none''</dfn></dt> <dd>No emphasis marks.</dd> - <dt><dfn title="text-emphasis:filled"><code>filled</code></dfn></dt> + <dt><dfn title="text-emphasis:filled">''filled''</dfn></dt> <dd>The shape is filled with solid color.</dd> - <dt><dfn title="text-emphasis:open"><code>open</code></dfn></dt> + <dt><dfn title="text-emphasis:open">''open''</dfn></dt> <dd>The shape is hollow.</dd> - <dt><dfn title="text-emphasis:dot"><code>dot</code></dfn></dt> + <dt><dfn title="text-emphasis:dot">''dot''</dfn></dt> <dd>Display small circles as marks. The filled dot is U+2022 '•', and the open dot is U+25E6 '◦'.</dd> - <dt><dfn title="text-emphasis:circle"><code>circle</code></dfn></dt> + <dt><dfn title="text-emphasis:circle">''circle''</dfn></dt> <dd>Display large circles as marks. The filled circle is U+25CF '●', and the open circle is U+25CB '○'.</dd> - <dt><dfn title="text-emphasis:double-circle"><code>double-circle</code></dfn></dt> + <dt><dfn title="text-emphasis:double-circle">''double-circle''</dfn></dt> <dd>Display double circles as marks. The filled double-circle is U+25C9 '◉', and the open double-circle is U+25CE '◎'.</dd> - <dt><dfn title="text-emphasis:triangle"><code>triangle</code></dfn></dt> + <dt><dfn title="text-emphasis:triangle">''triangle''</dfn></dt> <dd>Display triangles as marks. The filled triangle is U+25B2 '▲', and the open triangle is U+25B3 '△'.</dd> - <dt><dfn title="text-emphasis:sesame"><code>sesame</code></dfn></dt> + <dt><dfn title="text-emphasis:sesame">''sesame''</dfn></dt> <dd>Display sesames as marks. The filled sesame is U+FE45 '﹅', and the open sesame is U+FE46 '﹆'.</dd> - <dt><dfn title="text-emphasis:sesame"><code><var><string></var></code></dfn></dt> + <dt><dfn title="text-emphasis:sesame">''<var><string></var>''</dfn></dt> <dd>Display the given string as marks. Authors should not specify more than one <i>character</i> in <string>. The UA may truncate or ignore strings consisting of more than one grapheme cluster.</dd> @@ -3677,7 +3678,7 @@ </table> <p>This property is a shorthand for setting - <code>text-emphasis-style</code> and <code>text-emphasis-color</code> + 'text-emphasis-style' and 'text-emphasis-color' in one declaration. Omitted values are set to their initial values.</p> @@ -3951,7 +3952,7 @@ of that defined in the 1998 <a href="http://www.w3.org/TR/1998/REC-CSS2-19980512">CSS2 Recommendation</a>.</p> - <p>The <code>text-shadow</code> property applies to both the + <p>The ''text-shadow'' property applies to both the <code>::first-line</code> and <code>::first-letter</code> pseudo-elements.</p>
Received on Friday, 29 July 2011 21:57:52 UTC