mirror of
https://github.com/servo/servo.git
synced 2025-08-05 21:50:18 +01:00
Cargoify servo
This commit is contained in:
parent
db2f642c32
commit
c6ab60dbfc
1761 changed files with 8423 additions and 2294 deletions
57
tests/html/test_cssunit_length.html
Normal file
57
tests/html/test_cssunit_length.html
Normal file
|
@ -0,0 +1,57 @@
|
|||
<html>
|
||||
<head>
|
||||
<style type="text/css">
|
||||
html {
|
||||
background: white;
|
||||
color: black;
|
||||
}
|
||||
#test_em {
|
||||
border:1em solid;
|
||||
border-color:green;
|
||||
background-color:red;
|
||||
}
|
||||
#test_pt {
|
||||
border:1pt solid;
|
||||
border-color:green;
|
||||
background-color:red;
|
||||
}
|
||||
#test_px {
|
||||
border:1px solid;
|
||||
border-color:pink;
|
||||
background-color:green;
|
||||
}
|
||||
#test_mm {
|
||||
border:1mm solid;
|
||||
border-color:red;
|
||||
background-color:gray;
|
||||
}
|
||||
#test_pc {
|
||||
border:1pc solid;
|
||||
border-color:yellow;
|
||||
background-color:gray;
|
||||
}
|
||||
#test_cm {
|
||||
border:1cm solid;
|
||||
border-color:pink;
|
||||
background-color:gray;
|
||||
}
|
||||
#test_in {
|
||||
border:1in solid;
|
||||
border-color:red;
|
||||
background-color:gray;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<div id="test_em"> Hello, 1em </div>
|
||||
<div id="test_pt"> Hello, 1pt </div>
|
||||
<div id="test_px"> Hello, 1px </div>
|
||||
<div id="test_mm"> Hello, 1mm </div>
|
||||
<div id="test_pc"> Hello, 1pc </div>
|
||||
<div id="test_cm"> Hello, 1cm </div>
|
||||
<div id="test_in"> Hello, 1in </div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue