mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision 66dc9c93f2c8ebd7c8fdc28fae20d92713c97806
This commit is contained in:
parent
e488ea750b
commit
12f4ae132e
1651 changed files with 8123 additions and 14152 deletions
|
@ -26,9 +26,10 @@ select { line-height:100px; }
|
|||
<script>
|
||||
document.body.offsetHeight;
|
||||
var cv = window.getComputedStyle(document.querySelector('select')).lineHeight;
|
||||
if (cv == "normal" || parseInt(cv) > 50) {
|
||||
if (cv != "normal" && parseInt(cv) > 50) {
|
||||
document.body.appendChild(document.createTextNode(
|
||||
"FAIL: got computed line-height '" + cv + "', expected a length <= 50px"));
|
||||
"FAIL: got computed line-height '" + cv + "', " +
|
||||
"expected 'normal' or a length <= 50px"));
|
||||
}</script>
|
||||
|
||||
</body>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue