Skip to content

Commit c35e326

Browse files
committed
[css-shapes-2] Fix markup
1 parent b755ea5 commit c35e326

File tree

1 file changed

+10
-19
lines changed

1 file changed

+10
-19
lines changed

css-shapes-2/Overview.bs

+10-19
Original file line numberDiff line numberDiff line change
@@ -341,30 +341,24 @@ The 'shape-inside' Property</h4>
341341

342342
The values of this property have the following meanings:
343343

344-
<dl>
345-
<dt><dfn for=shape-inside>''auto''</dfn></dt>
344+
<dl dfn-type=value dfn-for=shape-inside>
345+
<dt><dfn>''auto''</dfn>
346346
<dd>
347347
The shape is computed based on the content box of the element.
348-
</dd>
349-
</dl>
350-
<dl>
351-
<dt><dfn for=shape-inside>''outside-shape''</dfn></dt>
348+
349+
<dt><dfn>''outside-shape''</dfn>
352350
<dd>
353351
The shape is computed based on
354352
the shape defined by the shape-outside
355353
and shape-margin properties.
356-
</dd>
357-
</dl>
358-
<dl>
359-
<dt><dfn>&lt;basic-shape&gt;</dfn></dt>
354+
355+
<dt><dfn>&lt;basic-shape&gt;</dfn>
360356
<dd>
361357
The shape is computed based
362358
on the values of one of
363359
''inset()'', ''circle()'', ''ellipse()'' or ''polygon()''.
364-
</dd>
365-
</dl>
366-
<dl>
367-
<dt><dfn>&lt;uri&gt;</dfn></dt>
360+
361+
<dt><dfn>&lt;uri&gt;</dfn>
368362
<dd>
369363
If the &lt;uri&gt; references an SVG shape element,
370364
that element defines the shape.
@@ -376,14 +370,11 @@ The 'shape-inside' Property</h4>
376370
If the &lt;uri&gt; does not reference
377371
an SVG shape element or an image,
378372
the effect is as if the value ''auto'' had been specified.
379-
</dd>
380-
</dl>
381-
<dl>
382-
<dt><dfn for=shape-inside>''display''</dfn></dt>
373+
374+
<dt><dfn>''display''</dfn>
383375
<dd>
384376
The shape is computed based on the shape of the display
385377
as described in <a href="https://drafts.csswg.org/css-round-display">css-round-display</a>.
386-
</dd>
387378
</dl>
388379

389380
The 'shape-inside' property applies to floats.

0 commit comments

Comments
 (0)