blob: ba3a2b5c759d03bab599c42870ca5b918ed39324 [file] [log] [blame]
<!DOCTYPE html>
<title>Tests the dialog keyword is parsed and computed as specified</title>
<link rel="help" href="https://drafts.csswg.org/css-anchor-position-1/#conditional-centering">
<link rel="author" href="mailto:tabatkins@google.com">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<script src="/css/support/parsing-testcommon.js"></script>
<script src="/css/support/computed-testcommon.js"></script>
<div id="container">
<div id="target"></div>
</div>
<script>
test_valid_value('align-self', 'dialog');
test_valid_value('align-items', 'dialog');
test_valid_value('justify-self', 'dialog');
test_valid_value('justify-items', 'dialog');
test_computed_value('align-self', 'dialog');
test_computed_value('align-items', 'dialog');
test_computed_value('justify-self', 'dialog');
test_computed_value('justify-items', 'dialog');
</script>