mirror of
https://github.com/servo/servo.git
synced 2025-10-01 09:09:15 +01:00
Move font_size.html to wpt reftests.
This commit is contained in:
parent
5b35ee09d3
commit
0cf602f7d8
4 changed files with 25 additions and 1 deletions
|
@ -1511,6 +1511,18 @@
|
|||
"url": "/_mozilla/css/font_face_attribute.html"
|
||||
}
|
||||
],
|
||||
"css/font_size.html": [
|
||||
{
|
||||
"path": "css/font_size.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/font_size_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/font_size.html"
|
||||
}
|
||||
],
|
||||
"css/font_style.html": [
|
||||
{
|
||||
"path": "css/font_style.html",
|
||||
|
@ -6372,6 +6384,18 @@
|
|||
"url": "/_mozilla/css/font_face_attribute.html"
|
||||
}
|
||||
],
|
||||
"css/font_size.html": [
|
||||
{
|
||||
"path": "css/font_size.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/font_size_ref.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/font_size.html"
|
||||
}
|
||||
],
|
||||
"css/font_style.html": [
|
||||
{
|
||||
"path": "css/font_style.html",
|
||||
|
|
17
tests/wpt/mozilla/tests/css/font_size.html
Normal file
17
tests/wpt/mozilla/tests/css/font_size.html
Normal file
|
@ -0,0 +1,17 @@
|
|||
<!DOCTYPE html>
|
||||
<title>font-size (issues #1435, #3417)</title>
|
||||
<link rel=match href=font_size_ref.html>
|
||||
<style>p { margin: .5em }</style>
|
||||
<body style="font-size: 20px">
|
||||
<p style="font-size: 24pt">24pt is 32px.
|
||||
<p style="font-size: 2em">2em is 40px.
|
||||
<p style="font-size: 200%">200% is 40px.
|
||||
<p style="font-size: smaller">smaller is 17px.
|
||||
<p style="font-size: larger">larger is 24px.
|
||||
<p style="font-size: xx-small">xx-small is 9.6px.
|
||||
<p style="font-size: x-small">x-small is 12px.
|
||||
<p style="font-size: small">small is 14.2222…px.
|
||||
<p style="font-size: medium">medium is 16px.
|
||||
<p style="font-size: large">large is 19.2px.
|
||||
<p style="font-size: x-large">x-large is 24px.
|
||||
<p style="font-size: xx-large">xx-large is 32px.
|
16
tests/wpt/mozilla/tests/css/font_size_ref.html
Normal file
16
tests/wpt/mozilla/tests/css/font_size_ref.html
Normal file
|
@ -0,0 +1,16 @@
|
|||
<!DOCTYPE html>
|
||||
<title>font-size (issues #1435, #3417)</title>
|
||||
<style>p { margin: .5em }</style>
|
||||
<body>
|
||||
<p style="font-size: 32px">24pt is 32px.
|
||||
<p style="font-size: 40px">2em is 40px.
|
||||
<p style="font-size: 40px">200% is 40px.
|
||||
<p style="font-size: 17px">smaller is 17px.
|
||||
<p style="font-size: 24px">larger is 24px.
|
||||
<p style="font-size: 9.6px">xx-small is 9.6px.
|
||||
<p style="font-size: 12px">x-small is 12px.
|
||||
<p style="font-size: 14.2222222222222222222222222222px">small is 14.2222…px.
|
||||
<p style="font-size: 16px">medium is 16px.
|
||||
<p style="font-size: 19.2px">large is 19.2px.
|
||||
<p style="font-size: 24px">x-large is 24px.
|
||||
<p style="font-size: 32px">xx-large is 32px.
|
Loading…
Add table
Add a link
Reference in a new issue