blob: 32bbe434974df6bfab2a91c42dca3b8e4bf7f43f (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-inline-3/#baseline-source">
<style>
#target {
baseline-source: first;
vertical-align: baseline;
}
</style>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<div id="target"></div>
<script>
test(() => {
const target = document.getElementById('target');
assert_equals(getComputedStyle(target).baselineSource, 'auto');
});
</script>
|