mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Update web-platform-tests to revision c9633200e9c3d5524dca096e8c23c8eb4a94e495
This commit is contained in:
parent
049527872e
commit
902c03b511
123 changed files with 2587 additions and 569 deletions
|
@ -13,6 +13,9 @@
|
|||
padding: 1px;
|
||||
background: black;
|
||||
}
|
||||
#reference {
|
||||
text-align: center;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<div id="justify"><span></span></div>
|
||||
|
@ -29,5 +32,5 @@ test(function() {
|
|||
const ref_rect = ref_element.firstElementChild.getBoundingClientRect();
|
||||
assert_equals(justify_rect.left, ref_rect.left);
|
||||
assert_equals(justify_rect.right, ref_rect.right);
|
||||
}, 'Left and right edges of empty inlines should align.');
|
||||
}, 'content that cannot be justified should be centered when text-align-last is justify');
|
||||
</script>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue