Automatic update from web-platform-tests [line-clamp] Rename keywords for `continue` and `block-ellipsis` In https://github.com/w3c/csswg-drafts/issues/13670, the CSSWG resolved to rename some of the keywords for the `continue` and `block-ellipsis`. This CL implements this. That issue also resolved to change the `max-lines` property to support clamping by both lines and height, but that will be left for a follow-up CL. Bug: 40336192 Change-Id: I98dbb3c3a9b4fd4225ee15ae4cd42210ff7066ec Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7798860 Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org> Commit-Queue: Andreu Botella <abotella@igalia.com> Cr-Commit-Position: refs/heads/main@{#1622659} -- wpt-commits: ae0e783fdb4f9f7eea51010754ec082ca5d1f2a2 wpt-pr: 59551
27 lines
1018 B
HTML
27 lines
1018 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>CSS Overflow: parsing continue with invalid values</title>
|
|
<link rel="help" href="https://drafts.csswg.org/css-overflow-4/#propdef-continue">
|
|
<meta name="assert" content="continue supports only the grammar 'normal | discard | collapse', as well as '-webkit-legacy' for legacy compatibility.">
|
|
<script src="/resources/testharness.js"></script>
|
|
<script src="/resources/testharnessreport.js"></script>
|
|
<script src="/css/support/parsing-testcommon.js"></script>
|
|
</head>
|
|
<body>
|
|
<script>
|
|
test_invalid_value("continue", 'none');
|
|
test_invalid_value("continue", 'auto');
|
|
|
|
test_invalid_value("continue", 'auto discard');
|
|
test_invalid_value("continue", 'auto collapse');
|
|
test_invalid_value("continue", 'auto -webkit-legacy');
|
|
test_invalid_value("continue", 'normal discard');
|
|
test_invalid_value("continue", 'normal collapse');
|
|
test_invalid_value("continue", 'normal -webkit-legacy');
|
|
test_invalid_value("continue", 'collapse -webkit-legacy');
|
|
</script>
|
|
</body>
|
|
</html>
|