@@ -153,7 +153,7 @@ Floating to the inline-start/inline-end and block-start/block-end</h2>
153153
154154 Maybe something like:
155155
156- <code><pre >
156+ <pre><code >
157157<style>
158158.float {
159159float-reference: float-container;
@@ -171,7 +171,7 @@ float-container: true;
171171<span class="inline-block">[<span class="float">FLOAT</span>] </span>
172172And some more text</p>
173173</div>
174- </pre ></code >
174+ </code ></pre >
175175
176176 This should float both floats with reference to the <div id="container">
177177 element, rather than the <P> and inline <SPAN> elements.
@@ -281,7 +281,7 @@ And some more text</p>
281281 laying out the document.
282282
283283 <dt> <dfn>snap-block</dfn>
284- <dd> same as <tt > snap-block(2em, near)</tt >
284+ <dd> same as <code > snap-block(2em, near)</code >
285285
286286 <dt> <dfn>snap-inline(<length> [, left | right | near ]?)</dfn>
287287 <dd>
@@ -303,7 +303,7 @@ And some more text</p>
303303 out the document.
304304
305305 <dt> <dfn>snap-inline</dfn>
306- <dd> same as <tt > snap-inline(2em, near)</tt >
306+ <dd> same as <code > snap-inline(2em, near)</code >
307307
308308 <dt> <dfn>none</dfn>
309309 <dd> The box is not floated.
@@ -511,7 +511,7 @@ The 'clear' property</h2>
511511<div class=figure></div>
512512<div class=figure></div>
513513</pre>
514- <img src="images/16.png">
514+ <img alt="sample rendering" src="images/16.png">
515515 </div>
516516
517517 <div class="example">
@@ -524,7 +524,7 @@ The 'clear' property</h2>
524524<div class=figure></div>
525525</pre>
526526
527- <img src="images/17.png">
527+ <img alt="sample rendering" src="images/17.png">
528528 </div>
529529
530530
@@ -539,7 +539,7 @@ The 'clear' property</h2>
539539<div class=figure></div>
540540</pre>
541541
542- <img src="images/16.png">
542+ <img alt="sample rendering" src="images/16.png">
543543 </div>
544544
545545 <div class="example">
@@ -553,7 +553,7 @@ The 'clear' property</h2>
553553<div class=figure></div>
554554</pre>
555555
556- <img src="images/17.png">
556+ <img alt="sample rendering" src="images/17.png">
557557 </div>
558558
559559
@@ -803,7 +803,7 @@ img {
803803 Pull quotes are often centered in a column. In this example, the pull quote is
804804 floated to the right, and then pushed back into the center.
805805
806- <img src="images/region_pullquote.png">
806+ <img alt="sample rendering" src="images/region_pullquote.png">
807807
808808<pre>
809809.pullquote {
@@ -936,7 +936,7 @@ Differences between inline floats and absolutely positioned elements</h3>
936936 by a display-inline-block element. The element, which has a green border, is
937937 expanded to include the brown float.
938938
939- <code><pre >
939+ <pre><code >
940940<style>
941941.float {
942942 float: left;
968968 Second paragraph and some more text.
969969 </p>
970970</div>
971- </pre ></code >
971+ </code ></pre >
972972
973973 <img alt="sample rendering" src="images/float_containing_context.png">
974974
978978 display-inline-block element. However, the element, marked by a green border,
979979 does not expand to include the brown, absolutely positioned element.
980980
981- <code><pre >
981+ <pre><code >
982982<style>
983983.float {
984984 position: absolute;
@@ -1010,7 +1010,7 @@ canvas {
10101010 Second paragraph and some more text.
10111011 </p>
10121012</div>
1013- </pre ></code >
1013+ </code ></pre >
10141014
10151015 <img alt="sample rendering" src="images/positioned_containing_context.png">
10161016
@@ -1104,69 +1104,6 @@ p { float-reference: page; float: top; float-defer: last }
11041104 <li> keep the number of pages to a minimum
11051105 </ol>
11061106
1107- <h2 class="no-num" id="changes">Changes</h2>
1108-
1109- Changes from the
1110- <a href="https://hg.csswg.org/drafts/raw-file/108d7e3ff204/css-page-floats/Overview.html">
1111- 24 September 2013 CSS Page Floats Editor's Draft
1112- </a>
1113- :
1114-
1115- <ol>
1116- <li>
1117- Add term definition for 'not overlapping' .
1118- </li>
1119- <li>
1120- Use term "document order" instead of "order ... appear in the DOM".
1121- </li>
1122- <li>
1123- Make the order of page float placement determined both by DOM and how high
1124- in the DOM the page float reference is.
1125- </li>
1126- <li>
1127- Specify use of padding edges for float references and margin edges for page
1128- floats for placement.
1129- </li>
1130- <li>
1131- Term change: fragmentation flow -> fragmentation context.
1132- </li>
1133- <li>
1134- Don't allow page floats to go beyond the edges of the float reference.
1135- <li>
1136- Added details on placement process of page floats.
1137- </li>
1138- <li>
1139- Use "fragmentation container" term instead of "column/region/page".
1140- </li>
1141- <li>
1142- Added info on variably sized float references and deferring beyond the last
1143- fragmentation container.
1144- <li>
1145- Specified that block-start and block-end floats have an initial inline size
1146- of 100% and are placed at the inline-start.
1147- <li>
1148- Simplified, removed advanced options that weren't defined entirely.
1149- <li>
1150- Switched to bikeshed document type
1151- <li>
1152- Changed editor
1153- <li>
1154- Removed sections on Regions and Exclusions
1155- <li>
1156- Added float-reference
1157- <li>
1158- Added possibility to float into regions
1159- <li>
1160- Removed part about numeric column-span
1161- <li>
1162- Removed possibility to defer for page and column independently for the same
1163- float
1164- <li>
1165- Adjusted clear to work with pages/regions/columns
1166- <li>
1167- Removed part about float inside/outside for pages
1168- </ol>
1169-
11701107<h2 class="no-num" id="acks">
11711108Acknowledgments</h2>
11721109
0 commit comments