Skip to content

Commit 95e8faf

Browse files
committed
[css-backgrounds] Update changes, adjust wording on bg-attachment: local wrt clipping area
--HG-- extra : rebase_source : bf48e2c9ded9f8cc3d45ef01c43d33cd5fb60a72
1 parent 111f994 commit 95e8faf

2 files changed

Lines changed: 26 additions & 24 deletions

File tree

css-backgrounds/Overview.html

Lines changed: 19 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@
1212
<meta content="CSS Backgrounds and Borders Module Level 3"
1313
name=dcterms.title>
1414
<meta content=text name=dcterms.type>
15-
<meta content=2013-12-23 name=dcterms.date>
15+
<meta content=2013-12-25 name=dcterms.date>
1616
<meta content="Bert Bos" name=dcterms.creator>
1717
<meta content="Elika J. Etemad" name=dcterms.creator>
1818
<meta content="Brad Kemper" name=dcterms.creator>
@@ -42,12 +42,12 @@
4242

4343
<h1>CSS Backgrounds and Borders Module Level 3</h1>
4444

45-
<h2 class="no-num no-toc">Editor's Draft 23 December 2013</h2>
45+
<h2 class="no-num no-toc">Editor's Draft 25 December 2013</h2>
4646

4747
<dl>
4848
<dt>This version:
4949

50-
<dd><!-- <a href="http://www.w3.org/TR/2013/CR-css3-background-20131223/">http://dev.w3.org/csswg/css3-background/</a> -->
50+
<dd><!-- <a href="http://www.w3.org/TR/2013/CR-css3-background-20131225/">http://dev.w3.org/csswg/css3-background/</a> -->
5151
<a
5252
href="http://dev.w3.org/csswg/css3-background/">http://dev.w3.org/csswg/css3-background/</a>
5353

@@ -1022,17 +1022,12 @@ <h3 id=the-background-attachment><span class=secno>3.5. </span>Affixing
10221022
href="#background-painting-area"><i>background painting area</i></a> and
10231023
<a href="#background-positioning-area"><i>background positioning
10241024
area</i></a> are relative to the scrollable area of the element rather
1025-
than to the border framing them. In this case, the background behind the
1026-
element's border (if any) scrolls as well, even though the border itself
1027-
does not scroll with the contents. The UA may, however, treat the
1028-
<code class=css>border-box</code>’ value of ‘<a
1025+
than to the border framing them. Because the scrollable area does not
1026+
include the border area, for scrollable elements the ‘<code
1027+
class=css>border-box</code>’ value of ‘<a
10291028
href="#background-clip"><code
1030-
class=property>background-clip</code></a>’ as ‘<code
1031-
class=css>padding-box</code>’ in cases where ‘<a
1032-
href="#background-attachment"><code
1033-
class=property>background-attachment</code></a>’ is ‘<a
1034-
href="#local0"><code class=css>local</code></a>’ and the contents of
1035-
the element scroll.
1029+
class=property>background-clip</code></a>’ may be treated the same as
1030+
<code class=css>padding-box</code>’.
10361031

10371032
<dt><dfn id=scroll0>scroll</dfn>
10381033

@@ -4463,6 +4458,15 @@ <h3 id=changes-2012-07><span class=secno>9.1. </span> Changes since the
44634458
href="#spread-distance"><var>spread distance</var></a>). This also
44644459
gives better results for all intermediate states.
44654460

4461+
<li>Add definition for how the margin edge is curved in response to
4462+
border-radius. (This is relevant for <a href="#ref-CSS-SHAPES"
4463+
rel=biblioentry>[CSS-SHAPES]<!--{{CSS-SHAPES}}--></a>, but does not
4464+
change conformance to CSS Backgrounds and Borders Level 3.)
4465+
4466+
<li>Removed ‘<code class=property>box-decoration-break</code>’; it
4467+
is now part of <a href="#ref-CSS3-BREAK"
4468+
rel=biblioentry>[CSS3-BREAK]<!--{{CSS3-BREAK}}--></a>.
4469+
44664470
<li>Tighten up the definition of spread for ‘<a
44674471
href="#box-shadow"><code class=property>box-shadow</code></a>’.
44684472

@@ -4476,10 +4480,8 @@ <h3 id=changes-2012-07><span class=secno>9.1. </span> Changes since the
44764480
computed ‘<a href="#border-width"><code
44774481
class=property>border-width</code></a>’, which in this case is zero).
44784482

4479-
<li>Add definition for how the margin edge is curved in response to
4480-
border-radius. (This is relevant for <a href="#ref-CSS-SHAPES"
4481-
rel=biblioentry>[CSS-SHAPES]<!--{{CSS-SHAPES}}--></a>, but does not
4482-
change conformance to CSS Backgrounds and Borders Level 3.)
4483+
<li>Clarified how ‘<code class=css>background-attachment:
4484+
local</code>’ is affected by scrolling.
44834485

44844486
<li>Simplified computed value of ‘<a href="#background-position"><code
44854487
class=property>background-position</code></a>’ to clarify that all

css-backgrounds/Overview.src.html

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -602,11 +602,9 @@ <h3 id="the-background-attachment">Affixing Images: the 'background-attachment'
602602
the background scrolls with the element's contents,
603603
and the <i>background painting area</i> and <i>background positioning area</i>
604604
are relative to the scrollable area of the element rather than to the border framing them.
605-
In this case, the background behind the element's border (if any) scrolls as well,
606-
even though the border itself does not scroll with the contents.
607-
The UA may, however, treat the ''border-box'' value of 'background-clip' as
608-
''padding-box'' in cases where 'background-attachment' is ''local''
609-
and the contents of the element scroll.</dd>
605+
Because the scrollable area does not include the border area,
606+
for scrollable elements the ''border-box'' value of 'background-clip'
607+
may be treated the same as ''padding-box''.</dd>
610608
<dt><dfn>scroll</dfn></dt>
611609
<dd>The background is fixed with regard to the element itself and
612610
does not scroll with its contents. (It is effectively attached
@@ -3238,11 +3236,13 @@ <h3 id="changes-2012-07">
32383236
to create continuity between sharp corners ('border-radius' = 0)
32393237
and curved corners ('border-radius' > <var>spread distance</var>).
32403238
This also gives better results for all intermediate states.
3239+
<li>Add definition for how the margin edge is curved in response to border-radius.
3240+
(This is relevant for [[CSS-SHAPES]], but does not change conformance to CSS Backgrounds and Borders Level 3.)
3241+
<li>Removed 'box-decoration-break'; it is now part of [[CSS3-BREAK]].
32413242
<li>Tighten up the definition of spread for 'box-shadow'.
32423243
<li>Clarify that a 'border-style' of ''none'' also implies an initial 'border-image-width' of zero
32433244
(since 'border-image-width' is initially set to the computed 'border-width', which in this case is zero).
3244-
<li>Add definition for how the margin edge is curved in response to border-radius.
3245-
(This is relevant for [[CSS-SHAPES]], but does not change conformance to CSS Backgrounds and Borders Level 3.)
3245+
<li>Clarified how ''background-attachment: local'' is affected by scrolling.
32463246
<li>Simplified computed value of 'background-position'
32473247
to clarify that all 'background-position' values are interpolable.
32483248
<li>Added “Animatable” values to each property definition table.

0 commit comments

Comments
 (0)