8000 [css-box-4][css-backgrounds-4][css-shapes-1] Cleanup <*-box> definitions by cdoublev · Pull Request #9505 · w3c/csswg-drafts · GitHub
[go: up one dir, main page]

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
Next Next commit
[css-box] Restore <box> as the namespace for all box-egde keywords
  • Loading branch information
cdoublev committed Oct 20, 2023
commit 6b81c1beb94fc453b828c1b0a29783c75060975e
16 changes: 8 additions & 8 deletions css-box-3/Overview.bs
Original file line number Diff line number Diff line change
Expand Up @@ -215,36 +215,36 @@ Box-edge Keywords {#keywords}
in properties (such as 'transform-box' and 'background-clip')
that need to refer to various box edges:

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

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

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

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

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

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

<dt><dfn>view-box</dfn>
<dd>
Expand All @@ -255,7 +255,7 @@ Box-edge Keywords {#keywords}
established by the <{svg/viewBox}> attribute for that element,
positioned such that its top left corner is anchored
at the coordinate system origin.
(In a CSS box context, treated as ''<visual-box>/border-box''.)
(In a CSS box context, treated as ''<box>/border-box''.)

Note: When the <{svg/viewBox}>
includes non-zero <var ignore>min-x</var> or <var ignore>min-y</var> offsets,
Expand Down
16 changes: 8 additions & 8 deletions css-box-4/Overview.bs
7CC2
Original file line number Diff line number Diff line change
Expand Up @@ -201,36 +201,36 @@ Box-edge Keywords {#keywords}
in properties (such as 'transform-box' and 'background-clip')
that need to refer to various box edges:

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

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

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

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

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

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

<dt><dfn>view-box</dfn>
<dd>
Expand All @@ -240,7 +240,7 @@ Box-edge Keywords {#keywords}
of the [=SVG viewport=],
positioned such that its top left corner is anchored
at the coordinate system origin.
(In a CSS box context, treated as ''<visual-box>/border-box''.)
(In a CSS box context, treated as ''<box>/border-box''.)

Note: When the [=SVG viewport=]
is not itself anchored at the origin,
Expand Down
0