mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Update web-platform-tests to revision 36acf7a01cb8ffbbafbd578229c5ad3fde2e47cc
This commit is contained in:
parent
305312e93b
commit
4499a0fbb6
151 changed files with 4858 additions and 2407 deletions
|
@ -0,0 +1,39 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<title>CSS Box Alignment Level 3: parsing justify-self with valid values</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-justify-3/#propdef-justify-self">
|
||||
<meta name="assert" content="justify-self supports the full grammar 'auto | normal | stretch | <baseline-position> | <overflow-position>? [ <self-position> | left | right ]'.">
|
||||
<script src="/resources/testharness.js"></script>
|
||||
<script src="/resources/testharnessreport.js"></script>
|
||||
<script src="/css/support/parsing-testcommon.js"></script>
|
||||
</head>
|
||||
<body>
|
||||
<script>
|
||||
test_valid_value("justify-self", "auto");
|
||||
test_valid_value("justify-self", "normal");
|
||||
test_valid_value("justify-self", "stretch");
|
||||
|
||||
// <baseline-position> = [ first | last ]? baseline
|
||||
test_valid_value("justify-self", "baseline");
|
||||
test_valid_value("justify-self", "first baseline", "baseline");
|
||||
test_valid_value("justify-self", "last baseline");
|
||||
|
||||
// <overflow-position>? [ <self-position> | left | right ]
|
||||
// <overflow-position> = unsafe | safe
|
||||
// <self-position> = center | start | end | self-start | self-end | flex-start | flex-end
|
||||
test_valid_value("justify-self", "center");
|
||||
test_valid_value("justify-self", "start");
|
||||
test_valid_value("justify-self", "end");
|
||||
test_valid_value("justify-self", "self-start");
|
||||
test_valid_value("justify-self", "self-end");
|
||||
test_valid_value("justify-self", "flex-start");
|
||||
test_valid_value("justify-self", "flex-end");
|
||||
test_valid_value("justify-self", "unsafe center");
|
||||
test_valid_value("justify-self", "safe self-end");
|
||||
test_valid_value("justify-self", "left");
|
||||
test_valid_value("justify-self", "unsafe right");
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue