mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 05:08:36 +02:00
Automatic update from web-platform-tests This patch applies the resoultion of the CSS WG to unprefix the CSS Grid Layout gutter properties: https://github.com/w3c/csswg-drafts/issues/1696 That is: * grid-column-gap => column-gap * grid-row-gap => row-gap * grid-gap => gap column-gap already existed before, as it's part of Multicol, and it already has an alias -webkit-column-gap. For that reason it's not possible to implement another alias for grid-column-gap, so it was done with a shorthand. To follow the same pattern the shorthand approach was used for grid-row-gap and grid-gap too. As column-gap was already animatable, this change takes advantage to make animatable row-gap too. Intent to Implement and Ship thread: https://groups.google.com/a/chromium.org/d/msg/blink-dev/UViBfJuuIq8/w7_2W7lLAgAJ Converted grid-gutters-get-set.html in some WPT tests covering a few extra cases. Added WPT test to verify the animation of these properties too. BUG=761904 TEST=external/wpt/css/css-align/gaps/ Change-Id: If49ec34116eff0b3b745fc89b01b15b14c71d4a9 Reviewed-on: https://chromium-review.googlesource.com/890446 Reviewed-by: Javier Fernandez <jfernandez@igalia.com> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Commit-Queue: Manuel Rego Casasnovas <rego@igalia.com> Cr-Commit-Position: refs/heads/master@{#534351} <!-- Reviewable:start --> <!-- Reviewable:end --> wpt-commits: 147afee64f7df1bbb2b22451c2d479e5495f2405 wpt-pr: 9227 reapplied-commits: 370e267e160568862f1fd9ec246ab5bb840f586e, fe4514c84e7ad28e46bad5da93381deb99b177f3, 7806af854343c043a2645a4034fdc7812f65daad, 9ddfd21554293dec5a4bf2e5375ae4f3c9f2ded0, 75f63c4d1ebc949647184fd60972fc7b9fd4affb, 1f3a5b496acd2288cc8cf0c32af86cb35157ea4e, 88b42bd5847abac58a62c4d6b33c1509bfce5f3d, 15c2e4c690700c6c115f8afe5e44ded10d943538, c8d461ef1437641ae7d4ea1d21e1e60cd62910b0, a6088a5f48ee299386a84d2f771902267d7355b1, 0634cd8f08ebe0905a9188fb1398c7b5f889c5dc, c8ee4a012dae506ae06bb5b2ad50942b04c1aaaa, c2c352456a4cf62dcc12f851138b04397675a445, b93a8879555d2fa7e7d4e00a275513a3a6338b35, b86e1331cb36634fd33677043b61fc0c1d8485bc, 44ddf14fd3346658c3223f13652073fafbfa48fa, a1a5840a6bb53e305ba02bcbeb215659342d0edb, 7465cb110ae5ec2e2ca73182caf5293f0efc8fd5, aad5349b3458bc3414e274b33fa86a1123901ff2, eca0907980d2769c449894a6277c60c1a306792f, 38626987c0cfd6e715cfcc6f4f1a1209191a03c5, e4a67f7ddcde6cd99348e9104bd7ed07074da44a, bb3c9990840a0fae2afc840b5952d7874785b112, 042d7adef0bdb9dc80e825c3997ace7519477c42, 99f1ea44fc7915b8b7b33bce4732fa8765fd3ac2
33 lines
1.1 KiB
HTML
33 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<title>CSS Box Alignment Test: Default row-gap test animation</title>
|
|
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
|
|
<link rel="help" href="https://www.w3.org/TR/css-align-3/#column-row-gap">
|
|
<link rel="help" href="https://www.w3.org/TR/css-animations-1/#keyframes">
|
|
<meta name="assert" content="This test checks that the default value for row-gap property, which is 'normal', is not interpolable.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<style>
|
|
@keyframes row-gap-to-100 {
|
|
to { row-gap: 100px; }
|
|
}
|
|
|
|
#target {
|
|
animation-name: row-gap-to-100;
|
|
animation-duration: 2s;
|
|
animation-delay: -1s;
|
|
animation-play-state: paused;
|
|
}
|
|
</style>
|
|
<body>
|
|
<div id="target"></div>
|
|
<div id="log"></div>
|
|
|
|
<script>
|
|
test(
|
|
function(){
|
|
var target = document.getElementById("target");
|
|
assert_equals(getComputedStyle(target).rowGap, "100px");
|
|
}, "Default row-gap is not interpolable");
|
|
</script>
|
|
</body>
|