mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-11 21:58:41 +02:00
Automatic update from web-platform-tests CSS: Serialize contain keywords in canonical order Keywords size, layout, style, paint now serialize in that order for the 'contain' property. https://drafts.csswg.org/css-contain/#contain-property Bug: 908353 Change-Id: Ifde635f2d313add887dd43a0a0d98249e45bff4b Reviewed-on: https://chromium-review.googlesource.com/c/1350562 Commit-Queue: Eric Willigers <ericwilligers@chromium.org> Reviewed-by: Rune Lillesveen <futhark@chromium.org> Cr-Commit-Position: refs/heads/master@{#611270} -- wpt-commits: 73507a79fcbaa6cae8b0373fd1133546d71a1678 wpt-pr: 14243
29 lines
1,015 B
HTML
29 lines
1,015 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Containment Module Level 1: getComputedValue().contain</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-contain/#contain-property">
|
|
<meta name="assert" content="contain computed value is as specified.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/computed-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<div id="target"></div>
|
|
<script>
|
|
test_computed_value("contain", "none");
|
|
test_computed_value("contain", "strict");
|
|
test_computed_value("contain", "content");
|
|
|
|
test_computed_value("contain", "size");
|
|
test_computed_value("contain", "layout");
|
|
test_computed_value("contain", "style");
|
|
test_computed_value("contain", "paint");
|
|
test_computed_value("contain", "size layout");
|
|
test_computed_value("contain", "style paint");
|
|
test_computed_value("contain", "layout style paint");
|
|
test_computed_value("contain", "size layout style paint");
|
|
</script>
|
|
</body>
|
|
</html>
|