@@ -798,6 +798,34 @@ <h3 id="writing-mode">
798798 and 3 are arranged side by side from left to right "
799799 src ="vertical-lr.png " height ="191 " width ="300 " > </ p >
800800 </ div >
801+
802+ < div class ="example ">
803+ < p > In the following example, some form controls are rendered inside
804+ a block with ''vertical-rl'' writing mode. The form controls are
805+ rendered to match the writing mode.
806+ < pre >
807+ <!-- --> <style>
808+ <!-- --> form { writing-mode: vertical-rl; }
809+ <!-- --> </style>
810+ <!-- --> ...
811+ <!-- --> <form style="writing-mode: tb-lr">
812+ <!-- --> <p> <label> 姓名:<input value="艾俐俐"> </label>
813+ <!-- --> <p> <label> 语文:<select> <option> English
814+ <!-- --> <option> français
815+ <!-- --> <option> فارسی
816+ <!-- --> <option> 中文
817+ <!-- --> <option> 日本语</select> </label>
818+ <!-- --> </form> </ pre >
819+
820+ < p > < img alt ="Screenshot of vertical layout: the input element is
821+ laid lengthwise from top to bottom and its contents
822+ rendered in a vertical typographic mode, matching the
823+ labels outside it. The drop-down selection control
824+ after it slides out to the side (towards the after
825+ edge of the block) rather than downward as it would
826+ in horizontal writing modes. "
827+ src ="vertical-form.png "> </ p >
828+ </ div >
801829
802830< h4 id ="svg-writing-mode ">
803831SVG1.1 'writing-mode' Values</ h4 >
0 commit comments