diff --git a/src/test/ref/height_compute_reset.css b/src/test/ref/height_compute_reset.css new file mode 100644 index 00000000000..41031e2a517 --- /dev/null +++ b/src/test/ref/height_compute_reset.css @@ -0,0 +1,7 @@ +.start {background-color : gray; height : 600px} +.half {background-color : red; height : 50%} +.quarter {background-color : rgb(250, 125, 0); height : 25%} +.eighth {background-color : yellow; height : 12.5%} +.sixteenth {background-color : green; height : 6.25%} +.thirtysecond {background-color : blue; height : 3.125%} +.sixtyfourth {background-color : purple; height : 1.5625%} diff --git a/src/test/ref/height_compute_reset.html b/src/test/ref/height_compute_reset.html new file mode 100644 index 00000000000..9360465435e --- /dev/null +++ b/src/test/ref/height_compute_reset.html @@ -0,0 +1,15 @@ + + + + + + +
+
+
+
+
+
+
+
+ diff --git a/src/test/ref/reset.css b/src/test/ref/reset.css new file mode 100644 index 00000000000..9ff51ebbb38 --- /dev/null +++ b/src/test/ref/reset.css @@ -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; +} \ No newline at end of file