File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -1189,10 +1189,12 @@ <h3 id=writing-mode><span class=secno>3.1. </span> Block Flow Direction:
11891189 < p > In this example, ‘< a href ="#writing-mode1 "> < code
11901190 class =property > writing-mode</ code > </ a > ’ sets the list markers
11911191 upright using the ‘< code class =css > ::marker</ code > ’
1192- pseudo-element. < a href ="#CSS3LIST "
1192+ pseudo-element. Vertical alignment ensures that longer numbers will still
1193+ align with the right of the first line of text. < a href ="#CSS3LIST "
11931194 rel =biblioentry > [CSS3LIST]<!--{{CSS3LIST}}--> </ a >
11941195
1195- < pre > ::marker { writing-mode: horizontal-tb; color: blue; }</ pre >
1196+ < pre > ::marker { writing-mode: horizontal-tb; vertical-align: text-top;
1197+ color: blue; }</ pre >
11961198
11971199 < div class =figure >
11981200 < p > < img alt ="Diagram showing list markers of '1.', '2.', '3.' sitting
Original file line number Diff line number Diff line change @@ -830,7 +830,7 @@ <h3 id="writing-mode">
830830 < div class ="example ">
831831 < p > In this example, 'writing-mode' sets the list markers upright
832832 using the ''::marker'' pseudo-element. Vertical alignment ensures
833- that longer numbers will still align with the top of the first
833+ that longer numbers will still align with the right of the first
834834 line of text. [[CSS3LIST]]
835835 < pre > ::marker { writing-mode: horizontal-tb; vertical-align: text-top;
836836 color: blue; }</ pre >
You can’t perform that action at this time.
0 commit comments