Skip to content

Commit 6a1fcae

Browse files
committed
[css-background] Drop border-radius on collapsed-borders tables.
1 parent 02fe112 commit 6a1fcae

File tree

2 files changed

+12
-37
lines changed

2 files changed

+12
-37
lines changed

css-backgrounds/Overview.html

Lines changed: 7 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -3112,27 +3112,11 @@ <h3 id=border-radius-tables><span class=secno>5.6. </span>Effect on Tables</h3>
31123112

31133113
<p>The ‘<a href="#border-radius"><code
31143114
class=property>border-radius</code></a>’ properties do apply to ‘<code
3115-
class=css>table</code>’ and ‘<code class=css>inline-table</code>
3116-
elements. When ‘<code class=property>border-collapse</code>’ is
3117-
<code class=css>collapse</code>’, the UA may apply the border-radius
3118-
properties to ‘<code class=css>table</code>’ and ‘<code
3119-
class=css>inline-table</code>’ elements, but is not required to. In this
3120-
case not only must the border radii of adjacent corners not intersect, but
3121-
the horizontal and vertical radii of a single corner must not extend past
3122-
the far border edges of the cell at that corner (i.e. a table corner's
3123-
border-radius does not affect cells not at that corner). If the computed
3124-
values of the border radii would cause this effect, then the used values
3125-
of all the border radii of the table must be reduced by the same factor so
3126-
that the radii neither intersect nor extend past the border edges of their
3127-
respective corner cells.
3128-
3129-
<p>The effect of border-radius on <a
3130-
href="https://www.w3.org/TR/CSS21/tables.html#tables-intro">internal table
3131-
elements</a> is undefined in CSS3 Backgrounds and Borders, but may be
3132-
defined in a future specification. CSS3 UAs <em>should</em> ignore
3133-
border-radius properties applied to internal table elements when ‘<code
3115+
class=css>table</code>’, ‘<code class=css>inline-table</code>’, and
3116+
<code class=css>table-cell</code>’ boxes in separated borders mode
3117+
(‘<code class=css>border-collapse: separate</code>’). When ‘<code
31343118
class=property>border-collapse</code>’ is ‘<code
3135-
class=css>collapse</code>’.
3119+
class=css>collapse</code>, they have no effect.
31363120

31373121
<h2 id=border-images><span class=secno>6. </span>Border Images</h2>
31383122

@@ -4513,6 +4497,9 @@ <h3 id=changes-2014-09><span class=secno>9.1. </span> Changes since the 9
45134497
class=property>background-color</code></a>></var> component of
45144498
<var>&lt;final-bg-layer></var> to the front for serialization because
45154499
some authors seem to expect this even though it makes less sense?
4500+
4501+
<li>Dropped effect of ‘<a href="#border-radius"><code
4502+
class=property>border-radius</code></a>’ from collapsed-borders tables.
45164503
</ul>
45174504

45184505
<h3 id=changes-2014-02><span class=secno>9.2. </span> Changes since the 4

css-backgrounds/Overview.src.html

Lines changed: 5 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -2216,23 +2216,10 @@ <h3 id="corner-overlap">Overlapping Curves</h3>
22162216

22172217
<h3 id="border-radius-tables">Effect on Tables</h3>
22182218

2219-
<p>The 'border-radius' properties do apply to ''table'' and ''inline-table''
2220-
elements. When 'border-collapse' is ''collapse'', the UA may apply the
2221-
border-radius properties to ''table'' and ''inline-table'' elements, but
2222-
is not required to. In this case not only must the border radii of adjacent
2223-
corners not intersect, but the horizontal and vertical radii of a single
2224-
corner must not extend past the far border edges of the cell at that
2225-
corner (i.e. a table corner's border-radius does not affect cells not
2226-
at that corner). If the computed values of the border radii would cause
2227-
this effect, then the used values of all the border radii of the table
2228-
must be reduced by the same factor so that the radii neither intersect
2229-
nor extend past the border edges of their respective corner cells.
2230-
2231-
<p>The effect of border-radius on <a href="https://www.w3.org/TR/CSS21/tables.html#tables-intro">internal
2232-
table elements</a> is undefined in CSS3 Backgrounds and Borders, but may
2233-
be defined in a future specification. CSS3 UAs <em>should</em> ignore
2234-
border-radius properties applied to internal table elements when
2235-
'border-collapse' is ''collapse''.
2219+
<p>The 'border-radius' properties do apply to
2220+
''table'', ''inline-table'', and ''table-cell'' boxes
2221+
in separated borders mode (''border-collapse: separate'').
2222+
When 'border-collapse' is ''collapse'', they have no effect.
22362223

22372224
<h2 id="border-images">Border Images</h2>
22382225

@@ -3266,6 +3253,7 @@ <h3 id="changes-2014-09">
32663253
(Apparently this was obvious enough that nobody noticed it was missing until now.)
32673254
<li>Moved <var>&lt;'background-color'></var> component of <var>&lt;final-bg-layer></var> to the front for serialization
32683255
because some authors seem to expect this even though it makes less sense?
3256+
<li>Dropped effect of 'border-radius' from collapsed-borders tables.
32693257
</ul>
32703258

32713259
<h3 id="changes-2014-02">

0 commit comments

Comments
 (0)