Bug 1680117 [wpt PR 26706] - Fix the failure of css-scroll-snap/snap-at-user-scroll-end-manual.html, a=testonly

Automatic update from web-platform-tests
Fix the failure of css-scroll-snap/snap-at-user-scroll-end-manual.html

The scroll-snap-type property should be set on <html> rather than
<body>, because scroll-snap-type should not be propagated from body
element to the viewport, we should use its value on html instead.

Bug: 984438
Change-Id: I9b42289cc217ae3d9b4aafc69171a16087a24de0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2568433
Reviewed-by: David Bokan <bokan@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832567}

--

wpt-commits: 44616b968cd348611b013e3d92ad135133623fce
wpt-pr: 26706
This commit is contained in:
Lan Wei 2020-12-04 03:52:36 +00:00 коммит произвёл moz-wptsync-bot
Родитель e3a8adafb1
Коммит af80c1dce9
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -4,7 +4,7 @@
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
body {
html {
margin: 0px;
scroll-snap-type: both mandatory;
}