@@ -1644,42 +1644,6 @@ When asked to <dfn>run the scroll steps</dfn> for a {{Document}} <var>doc</var>,
1644
1644
<td> Fired at the {{Document}} or element when the <a>viewport</a> or element is scrolled, respectively.
1645
1645
</table>
1646
1646
1647
- <h2 id=css-properties>CSS properties</h2>
1648
-
1649
- Issue: The features in this section should be moved to some other specification.
1650
-
1651
- <h3 id=smooth-scrolling caniuse=css-scroll-behavior>Smooth Scrolling: The 'scroll-behavior' Property</h3>
1652
-
1653
- <pre class=propdef>
1654
- Name : scroll-behavior
1655
- Value : auto | smooth
1656
- Initial : auto
1657
- Applies to : <a>scrolling boxes</a>
1658
- Inherited : no
1659
- Computed value : specified value
1660
- Animatable : no
1661
- Canonical Order : per grammar
1662
- </pre>
1663
-
1664
- The 'scroll-behavior' property specifies the scrolling behavior for a <a>scrolling box</a> ,
1665
- when scrolling happens due to navigation, CSSOM scrolling APIs,
1666
- or scroll snapping operations not initiated by the user [[!CSS-SCROLL-SNAP-1]] .
1667
- Any other scrolls, e.g. those that are performed by the user, are not affected by this property.
1668
- When this property is specified on the root element, it applies to the <a>viewport</a> instead.
1669
-
1670
- <p class=note> The 'scroll-behavior' property of the HTML <code> body</code> element is <em> not</em> propagated to the viewport.
1671
-
1672
- <dl dfn-type=value dfn-for=scroll-behavior>
1673
- <dt> <dfn>auto</dfn>
1674
- <dd> The <a>scrolling box</a> is scrolled in an instant fashion.
1675
-
1676
- <dt> <dfn>smooth</dfn>
1677
- <dd> The <a>scrolling box</a> is scrolled in a smooth fashion using a user-agent-defined timing function over a user-agent-defined period of time. User
1678
- agents should follow platform conventions, if any. <!--fingerprint-->
1679
- </dl>
1680
-
1681
- User agents may ignore this property. <!--fingerprint-->
1682
-
1683
1647
1684
1648
Security and Privacy Considerations {#priv-sec}
1685
1649
===============================================
@@ -1700,6 +1664,7 @@ generally not listed.
1700
1664
<h3 id='changes-from-2020-10-19' class=no-num>Changes From 19 October 2020</h3>
1701
1665
* Added the "Security and Privacy Considerations" section
1702
1666
* Fixed a logical error in the Terminology section.
1667
+ * Moved the 'scroll-behavior' property to [[CSS-OVERFLOW-3]]
1703
1668
1704
1669
<h3 id='changes-from-2020-01-31' class=no-num>Changes From 31 January 2020</h3>
1705
1670
* Added Simon Fraser as editor
0 commit comments