mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Update web-platform-tests to revision b'b728032f59a396243864b0f8584e7211e3632005'
This commit is contained in:
parent
ace9b32b1c
commit
df68c4e5d1
15632 changed files with 514865 additions and 155000 deletions
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title>CSS Borders: border-bottom-width: medium equals 3px</title>
|
||||
<link rel="help" href="https://drafts.csswg.org/css-backgrounds-3/#border-width">
|
||||
<link rel="match" href="reference/border-top-width-3px-ref.html">
|
||||
<meta name="assert" content="The 'medium' keyword for 'border-bottom-width' is 3px." />
|
||||
<style>
|
||||
.red-if-too-thin { height: 3px; background: red; }
|
||||
.cb { position: relative; }
|
||||
.red-if-too-thick { height: 20px; background: red; }
|
||||
.overlap-red-if-too-thick { height: 20px; background: white; position: absolute; top: 3px; width: 100%; }
|
||||
.border-test { border-bottom-style: solid; border-bottom-width: medium; margin-top: -3px; }
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
<p>There should be a black line below and no red.</p>
|
||||
<div class=red-if-too-thin></div>
|
||||
<div class=cb>
|
||||
<div class=border-test></div>
|
||||
<div class=red-if-too-thick></div>
|
||||
<div class=overlap-red-if-too-thick></div>
|
||||
</div>
|
||||
</body>
|
||||
</html>
|
Loading…
Add table
Add a link
Reference in a new issue