3333
3434body {counter-reset : exampleno figure}
3535
36- h2 , h3 , h5 , h6 { margin-top : 2 em }
36+ /* Pagination */
3737h1 , h2 , h3 , h4 , h5 , h6 { page-break-after : avoid; font-family : inherit }
3838div .figure , div .sidefigure , pre , table .propdef , table .propdef-extra ,
3939div .example { page-break-inside : avoid }
4040dt { page-break-after : avoid }
4141
4242span .id {float : right; font-weight : bold}
4343
44+ /* General Structural Markup */
45+ h2 , h3 , h5 , h6 {
46+ margin-top : 2em ;
47+ }
48+ h1 + h2 {
49+ margin-top : 0 ;
50+ }
51+
4452p , p .testlink + p , p .mtb {
4553 text-indent : 0 ;
4654 margin-bottom : 0 ;
@@ -54,10 +62,6 @@ dd > p:first-child, li > p:first-child {
5462 margin-top : 0
5563}
5664
57- h1 + h2 {
58- margin-top : 0 ;
59- }
60-
6165pre {
6266 text-align : left; /* fixes justification in Mac IE 5 */
6367 text-indent : 0 ; /* fixes indent in Mac Netscape 6 */
@@ -106,6 +110,8 @@ ul.indexlist { margin-left: 0; /*column-width: 13em; columns: 13em*/ }
106110ul .indexlist li { margin-left : 0 ; list-style : none }
107111ul .indexlist li li { margin-left : 1em }
108112
113+ /* Examples */
114+
109115.example {
110116 counter-increment : exampleno;
111117}
@@ -143,13 +149,15 @@ pre.example:before {
143149 border : thin solid # 999 ;
144150 /*margin: -1.3em 0 0.3em -2.5em;*/
145151}
146- .example , .illegal-example , .html , .illegal-html , .xml ,
147- .illegal-xml {
152+ div .example , div .illegal-example , div .html , div .illegal-html , div .xml ,
153+ div .illegal-xml , pre .example , pre .illegal-example , pre .html ,
154+ pre .illegal-html , pre .xml , pre .illegal-xml {
148155 background : # FFF8DD ;
149156 padding : 0.5em ;
150157 margin : 1em 0 ;
151158 border : thin solid # 999 ;
152159 position : relative;
160+ clear : both;
153161}
154162pre .example , pre .illegal-example , pre .html ,
155163pre .illegal-html , pre .xml , pre .illegal-xml {
@@ -183,18 +191,27 @@ code.html { color: #600 } /* inline HTML */
183191code .xml { color : # 600 } /* inline XML */
184192.property { font : inherit; } /* name of a CSS property (SPAN) */
185193.descriptor { } /* name of a CSS descriptor (SPAN) */
186- .issue { color : # c00 } /* editorial remark, open issue */
187194.type { font-style : italic } /* A <type> value for a property */
188195
189196dfn { font-weight : bolder; /*font-size: 1em*/ }
190197
198+ /* Open issue / editorial remark; not intended for a final publication */
199+
200+ .issue { color : # c00 }
201+ .issue : before {
202+ content : "Issue:" ;
203+ border : 3px double # c00 ;
204+ background : # c00 ;
205+ background-clip : padding-box;
206+ color : white;
207+ margin : 0.25em ;
208+ padding : 0 0.25em ;
209+ }
210+
191211/* Class note is a non-normative note. May be inline or a P or DIV */
192212.note {
193213 color : green
194214}
195- p .note , div .note {
196- /* margin: 1em 2em; */
197- }
198215p .note : before , span .note : before { content : "\25B6" " " }
199216div .note > p : first-child : before { content : "\25B6" " " }
200217
0 commit comments