1
0
mirror of https://github.com/roytam1/UXP.git synced 2026-06-12 11:28:57 +00:00
Files
UXP/testing/web-platform/tests/html/rendering/non-replaced-elements/the-hr-element-0/align.html
T

25 lines
432 B
HTML

<!doctype html>
<meta charset="utf-8">
<link rel="match" href="align-ref.html">
<style>
hr {
width: 100px;
}
</style>
<hr align=>
<hr align=left>
<hr align=center>
<hr align=right>
<hr align=foobar>
<script>
// Test the IDL attribute
const values = ['', 'left', 'center', 'right', 'foobar'];
values.forEach(value => {
const hr = document.createElement('hr');
hr.align = value;
document.body.appendChild(hr);
});
</script>