File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -2828,33 +2828,6 @@ <h2 id=edge-effects><span class=secno>9. </span> Edge Effects</h2>
28282828 href ="#hanging-punctuation0 "> < code
28292829 class =property > hanging-punctuation</ code > </ a > ’).
28302830
2831- < p > Assuming a UA style sheet of < code > p { margin: 1em 0; }</ code > , CSS can
2832- achieve the Japanese typesetting styles with the following rules:
2833-
2834- < ul >
2835- < li > Brackets flush with indent, flush with other lines (first scheme):
2836- < pre > p { /* Flush alignment */
2837- <!-- --> margin: 0;
2838- <!-- --> text-indent: 1em;
2839- <!-- --> text-spacing: trim-start;
2840- <!-- --> }</ pre >
2841-
2842- < li > Brackets preserve fullwidth spacing on all lines (second scheme):
2843- < pre > p { /* Fullwidth alignment */
2844- <!-- --> margin: 0;
2845- <!-- --> text-indent: 1em;
2846- <!-- --> text-spacing: normal;
2847- <!-- --> }</ pre >
2848-
2849- < li > Brackets hang in indent, flush with other lines (third scheme):
2850- < pre > p { /* Hanging alignment */
2851- <!-- --> margin: 0;
2852- <!-- --> text-indent: 1em;
2853- <!-- --> text-spacing: trim-start;
2854- <!-- --> hanging-punctuation: first;
2855- <!-- --> }</ pre >
2856- </ ul >
2857-
28582831 < h3 id =text-indent > < span class =secno > 9.1. </ span > First Line Indentation:
28592832 the ‘< a href ="#text-indent0 "> < code
28602833 class =property > text-indent</ code > </ a > ’ property</ h3 >
Original file line number Diff line number Diff line change @@ -2093,31 +2093,6 @@ <h2 id="edge-effects">
20932093 in the block ('text-indent') and how content is aligned to the start and
20942094 end edges of a line ('hanging-punctuation').
20952095
2096- < p > Assuming a UA style sheet of < code > p { margin: 1em 0; }</ code > , CSS can
2097- achieve the Japanese typesetting styles with the following rules:
2098- < ul >
2099- < li > Brackets flush with indent, flush with other lines (first scheme):
2100- < pre > p { /* Flush alignment */
2101- <!-- --> margin: 0;
2102- <!-- --> text-indent: 1em;
2103- <!-- --> text-spacing: trim-start;
2104- <!-- --> }</ pre >
2105- < li > Brackets preserve fullwidth spacing on all lines (second scheme):
2106- < pre > p { /* Fullwidth alignment */
2107- <!-- --> margin: 0;
2108- <!-- --> text-indent: 1em;
2109- <!-- --> text-spacing: normal;
2110- <!-- --> }</ pre >
2111- < li > Brackets hang in indent, flush with other lines (third scheme):
2112- < pre > p { /* Hanging alignment */
2113- <!-- --> margin: 0;
2114- <!-- --> text-indent: 1em;
2115- <!-- --> text-spacing: trim-start;
2116- <!-- --> hanging-punctuation: first;
2117- <!-- --> }</ pre >
2118- </ ul >
2119- </ div >
2120-
21212096 < h3 id ="text-indent ">
21222097 First Line Indentation: the 'text-indent' property</ h3 >
21232098
You can’t perform that action at this time.
0 commit comments