Skip to content

Commit 13b38ab

Browse files
committed
[css-page-floats] Fix markup
1 parent 2f96319 commit 13b38ab

1 file changed

Lines changed: 16 additions & 4 deletions

File tree

css-page-floats/Overview.bs

Lines changed: 16 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -199,7 +199,7 @@ And some more text</p>
199199

200200
<pre class="propdef">
201201
Name: float
202-
Value: block-start | block-end | inline-start | inline-end | snap-block | snap-inline | left | right | top | bottom | none
202+
Value: block-start | block-end | inline-start | inline-end | snap-block | <<snap-block()>> | snap-inline | <<snap-inline()>> | left | right | top | bottom | none
203203
Initial: none
204204
Applies to: all elements.
205205
Inherited: no
@@ -288,8 +288,14 @@ And some more text&lt;/p>
288288
Behave like block-end or inline-end depending on the float
289289
containing block’s 'direction' and 'writing-mode'.
290290

291-
<dt><dfn>snap-block(&lt;length> [, start | end | near ]?)</dfn>
291+
<dt><dfn function>snap-block()</dfn>
292292
<dd>
293+
The ''snap-block()'' function is defined as:
294+
295+
<pre class='prod'>
296+
snap-block() = snap-block( <<length>> , [ start | end | near ]? )
297+
</pre>
298+
293299
Has no effect if the element is an <a>inline float</a>.
294300

295301
If the element is a <a>page float</a>, it makes the element float to the
@@ -306,10 +312,16 @@ And some more text&lt;/p>
306312
the start and the end, end wins.
307313

308314
<dt><dfn>snap-block</dfn>
309-
<dd>same as <code>snap-block(2em, near)</code>
315+
<dd>Behaves as <code>snap-block(2em, near)</code>
310316

311-
<dt><dfn>snap-inline(&lt;length> [, left | right | near ]?)</dfn>
317+
<dt><dfn function>snap-inline()</dfn>
312318
<dd>
319+
The ''snap-inline()'' function is defined as:
320+
321+
<pre class='prod'>
322+
snap-inline() = snap-inline( <<length>> , [ left | right | near ]? )
323+
</pre>
324+
313325
Has no effect if the element is an <a>inline float</a>.
314326

315327
If the element is a <a>page float</a>, it makes the element float to the

0 commit comments

Comments
 (0)