mirror of
https://github.com/servo/servo.git
synced 2025-08-03 12:40:06 +01:00
Move height_compute_reset.html to wpt reftests.
This commit is contained in:
parent
1f8f2872de
commit
3615db8964
5 changed files with 73 additions and 1 deletions
|
@ -57,7 +57,6 @@ prefs:"layout.flex.enabled" == flex_row_direction.html flex_row_direction_ref.ht
|
|||
== floated_negative_margins_a.html floated_negative_margins_ref.html
|
||||
== floated_table_with_margin_a.html floated_table_with_margin_ref.html
|
||||
== font_size.html font_size_ref.html
|
||||
== height_compute_reset.html height_compute.html
|
||||
# `?` and `#` in the name is a test for https://github.com/servo/servo/issues/3340
|
||||
== hide_after_create.html hide_after_create_ref.html
|
||||
|
||||
|
|
|
@ -947,6 +947,18 @@
|
|||
"url": "/_mozilla/css/font_style.html"
|
||||
}
|
||||
],
|
||||
"css/height_compute_reset.html": [
|
||||
{
|
||||
"path": "css/height_compute_reset.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/height_compute.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/height_compute_reset.html"
|
||||
}
|
||||
],
|
||||
"css/img_block_display_a.html": [
|
||||
{
|
||||
"path": "css/img_block_display_a.html",
|
||||
|
@ -5064,6 +5076,18 @@
|
|||
"url": "/_mozilla/css/font_style.html"
|
||||
}
|
||||
],
|
||||
"css/height_compute_reset.html": [
|
||||
{
|
||||
"path": "css/height_compute_reset.html",
|
||||
"references": [
|
||||
[
|
||||
"/_mozilla/css/height_compute.html",
|
||||
"=="
|
||||
]
|
||||
],
|
||||
"url": "/_mozilla/css/height_compute_reset.html"
|
||||
}
|
||||
],
|
||||
"css/img_block_display_a.html": [
|
||||
{
|
||||
"path": "css/img_block_display_a.html",
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
<head>
|
||||
<link rel="stylesheet" href="reset.css" />
|
||||
<link rel='match' href='height_compute.html'>
|
||||
<style type="text/css">
|
||||
.start {background-color : gray; height : 600px}
|
||||
.half {background-color : red; height : 50%}
|
48
tests/wpt/mozilla/tests/css/reset.css
Normal file
48
tests/wpt/mozilla/tests/css/reset.css
Normal file
|
@ -0,0 +1,48 @@
|
|||
/* http://meyerweb.com/eric/tools/css/reset/
|
||||
v2.0 | 20110126
|
||||
License: none (public domain)
|
||||
*/
|
||||
|
||||
html, body, div, span, applet, object, iframe,
|
||||
h1, h2, h3, h4, h5, h6, p, blockquote, pre,
|
||||
a, abbr, acronym, address, big, cite, code,
|
||||
del, dfn, em, img, ins, kbd, q, s, samp,
|
||||
small, strike, strong, sub, sup, tt, var,
|
||||
b, u, i, center,
|
||||
dl, dt, dd, ol, ul, li,
|
||||
fieldset, form, label, legend,
|
||||
table, caption, tbody, tfoot, thead, tr, th, td,
|
||||
article, aside, canvas, details, embed,
|
||||
figure, figcaption, footer, header, hgroup,
|
||||
menu, nav, output, ruby, section, summary,
|
||||
time, mark, audio, video {
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
font-size: 100%;
|
||||
font: inherit;
|
||||
vertical-align: baseline;
|
||||
}
|
||||
/* HTML5 display-role reset for older browsers */
|
||||
article, aside, details, figcaption, figure,
|
||||
footer, header, hgroup, menu, nav, section {
|
||||
display: block;
|
||||
}
|
||||
body {
|
||||
line-height: 1;
|
||||
}
|
||||
ol, ul {
|
||||
list-style: none;
|
||||
}
|
||||
blockquote, q {
|
||||
quotes: none;
|
||||
}
|
||||
blockquote:before, blockquote:after,
|
||||
q:before, q:after {
|
||||
content: '';
|
||||
content: none;
|
||||
}
|
||||
table {
|
||||
border-collapse: collapse;
|
||||
border-spacing: 0;
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue