Skip to content

Commit b44121c

Browse files
committed
[css-transitions] Specify that a 'none' shadow list is like a zero-length list.
This makes interpolations between inset shadows and 'none' work correctly, fixing the issue reported in https://lists.w3.org/Archives/Public/www-style/2013Feb/0139.html
1 parent 631bdc6 commit b44121c

2 files changed

Lines changed: 7 additions & 5 deletions

File tree

css-transitions/Overview.bs

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1336,8 +1336,9 @@ url: https://html.spec.whatwg.org/multipage/infrastructure.html#concept-event-di
13361336
endpoint; if neither value is ''visibility/visible'' then not interpolable.
13371337
</li>
13381338
<li id="animtype-shadow-list">
1339-
<strong>shadow list</strong>: Each shadow in the list is
1340-
interpolated via the
1339+
<strong>shadow list</strong>: Each shadow in the list
1340+
(treating ''shadow/none'' as a 0-length list)
1341+
is interpolated via the
13411342
color (as <a href="#animtype-color">color</a>) component,
13421343
and x, y, blur, and (when appropriate) spread
13431344
(as <a href="#animtype-length">length</a>) components.

css-transitions/Overview.html

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -105,7 +105,7 @@
105105
<h1 class="p-name no-ref" id="title">CSS Transitions</h1>
106106

107107
<h2 class="no-num no-toc no-ref heading settled" id="subtitle"><span class="content">Editor’s Draft,
108-
<time class="dt-updated" datetime="2015-06-09">9 June 2015</time></span></h2>
108+
<time class="dt-updated" datetime="2015-08-12">12 August 2015</time></span></h2>
109109

110110
<div data-fill-with="spec-metadata">
111111
<dl>
@@ -1963,8 +1963,9 @@ <h3 class="heading settled" data-level="7.1" id="interpolated-types"><span class
19631963

19641964

19651965
<li id="animtype-shadow-list"><a class="self-link" href="#animtype-shadow-list"></a>
1966-
<strong>shadow list</strong>: Each shadow in the list is
1967-
interpolated via the
1966+
<strong>shadow list</strong>: Each shadow in the list
1967+
(treating <span class="css">none</span> as a 0-length list)
1968+
is interpolated via the
19681969
color (as <a href="#animtype-color">color</a>) component,
19691970
and x, y, blur, and (when appropriate) spread
19701971
(as <a href="#animtype-length">length</a>) components.

0 commit comments

Comments
 (0)