Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
[css-box] Define each box keyword with all namespaces
  • Loading branch information
cdoublev committed Nov 6, 2023
commit a2b48024f4013c14e35b5fa21babab5cab8e015a
14 changes: 7 additions & 7 deletions css-box-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -216,37 +216,37 @@ Box-edge Keywords {#keywords}
that need to refer to various box edges:

<dl dfn-type=value>
<dt><dfn dfn-for="<box>,<visual-box>,<shape-box>,<geometry-box>">content-box</dfn>
<dt><dfn dfn-for="<box>,<visual-box>,<layout-box>,<shape-box>,<geometry-box>,<paint-box>,<coord-box>">content-box</dfn>
<dd>
Refers to the [=content box=] or [=content edge=].
(In an SVG context, treated as ''<box>/fill-box''.)

<dt><dfn dfn-for="<box>,<visual-box>,<shape-box>,<geometry-box>">padding-box</dfn>
<dt><dfn dfn-for="<box>,<visual-box>,<layout-box>,<shape-box>,<geometry-box>,<paint-box>,<coord-box>">padding-box</dfn>
<dd>
Refers to the [=padding box=] or [=padding edge=].
(In an SVG context, treated as ''<box>/fill-box''.)

<dt><dfn dfn-for="<box>,<visual-box>,<shape-box>,<geometry-box>">border-box</dfn>
<dt><dfn dfn-for="<box>,<visual-box>,<layout-box>,<shape-box>,<geometry-box>,<paint-box>,<coord-box>">border-box</dfn>
<dd>
Refers to the [=border box=] or [=border edge=].
(In an SVG context, treated as ''<box>/stroke-box''.)

<dt><dfn dfn-for="<box>,<visual-box>,<shape-box>,<geometry-box>">margin-box</dfn>
<dt><dfn dfn-for="<box>,<layout-box>,<shape-box>,<geometry-box>">margin-box</dfn>
<dd>
Refers to the [=margin box=] or [=margin edge=].
(In an SVG context, treated as ''<box>/stroke-box''.)

<dt><dfn dfn-for="<box>,<paint-box>">fill-box</dfn>
<dt><dfn dfn-for="<box>,<geometry-box>,<paint-box>,<coord-box>">fill-box</dfn>
<dd>
Refers to the [=object bounding box=] or its edges.
(In a CSS box context, treated as ''<box>/content-box''.)

<dt><dfn dfn-for="<box>,<paint-box>">stroke-box</dfn>
<dt><dfn dfn-for="<box>,<geometry-box>,<paint-box>,<coord-box>">stroke-box</dfn>
<dd>
Refers to the [=stroke bounding box=] or its edges.
(In a CSS box context, treated as ''<box>/border-box''.)

<dt><dfn dfn-for="<box>,<coord-box>">view-box</dfn>
<dt><dfn dfn-for="<box>,<geometry-box>,<coord-box>">view-box</dfn>
<dd>
Refers to the nearest [=SVG viewport=] element’s
<dfn dfn lt="SVG viewport origin box" local-lt="origin box">origin box</dfn>,
Expand Down
14 changes: 7 additions & 7 deletions css-box-4/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -202,37 +202,37 @@ Box-edge Keywords {#keywords}
that need to refer to various box edges:

<dl dfn-type=value>
<dt><dfn dfn-for="<box>,<visual-box>,<shape-box>,<geometry-box>">content-box</dfn>
<dt><dfn dfn-for="<box>,<visual-box>,<layout-box>,<shape-box>,<geometry-box>,<paint-box>,<coord-box>">content-box</dfn>
<dd>
Refers to the [=content box=] or [=content edge=].
(In an SVG context, treated as ''<box>/fill-box''.)

<dt><dfn dfn-for="<box>,<visual-box>,<shape-box>,<geometry-box>">padding-box</dfn>
<dt><dfn dfn-for="<box>,<visual-box>,<layout-box>,<shape-box>,<geometry-box>,<paint-box>,<coord-box>">padding-box</dfn>
<dd>
Refers to the [=padding box=] or [=padding edge=].
(In an SVG context, treated as ''<box>/fill-box''.)

<dt><dfn dfn-for="<box>,<visual-box>,<shape-box>,<geometry-box>">border-box</dfn>
<dt><dfn dfn-for="<box>,<visual-box>,<layout-box>,<shape-box>,<geometry-box>,<paint-box>,<coord-box>">border-box</dfn>
<dd>
Refers to the [=border box=] or [=border edge=].
(In an SVG context, treated as ''<box>/stroke-box''.)

<dt><dfn dfn-for="<box>,<visual-box>,<shape-box>,<geometry-box>">margin-box</dfn>
<dt><dfn dfn-for="<box>,<layout-box>,<shape-box>,<geometry-box>">margin-box</dfn>
<dd>
Refers to the [=margin box=] or [=margin edge=].
(In an SVG context, treated as ''<box>/stroke-box''.)

<dt><dfn dfn-for="<box>,<paint-box>">fill-box</dfn>
<dt><dfn dfn-for="<box>,<geometry-box>,<paint-box>,<coord-box>">fill-box</dfn>
<dd>
Refers to the [=object bounding box=] or its edges.
(In a CSS box context, treated as ''<box>/content-box''.)

<dt><dfn dfn-for="<box>,<paint-box>">stroke-box</dfn>
<dt><dfn dfn-for="<box>,<geometry-box>,<paint-box>,<coord-box>">stroke-box</dfn>
<dd>
Refers to the [=stroke bounding box=] or its edges.
(In a CSS box context, treated as ''<box>/border-box''.)

<dt><dfn dfn-for="<box>,<coord-box>">view-box</dfn>
<dt><dfn dfn-for="<box>,<geometry-box>,<coord-box>">view-box</dfn>
<dd>
Refers to the nearest [=SVG viewport=]’s
<dfn dfn lt="SVG viewport origin box" local-lt="origin box">origin box</dfn>,
Expand Down