Move height_compute_reset.html to wpt reftests.

This commit is contained in:
Corey Farwell 2015-10-22 09:16:45 -04:00
parent 1f8f2872de
commit 3615db8964
5 changed files with 73 additions and 1 deletions

View file

@ -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

View file

@ -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",

View file

@ -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%}

View 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;
}