Commit c75b9421 authored by Lan Wei's avatar Lan Wei Committed by Chromium LUCI CQ

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/+/2568433Reviewed-by: default avatarDavid Bokan <bokan@chromium.org>
Commit-Queue: Lan Wei <lanwei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#832567}
parent 85afdaf9
......@@ -1353,7 +1353,6 @@ crbug.com/1045672 fast/forms/select/listbox-tap.html [ Failure ]
### sheriff 2019-07-16
crbug.com/983799 [ Win ] http/tests/navigation/redirect-on-back-updates-history-item.html [ Timeout Pass ]
crbug.com/983789 [ Win7 ] http/tests/cookies/js-set-null.html [ Pass Failure ]
crbug.com/984438 external/wpt/css/css-scroll-snap/snap-at-user-scroll-end-manual.html [ Failure ]
### sheriff 2018-05-28
......
......@@ -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;
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment