Skip to content

Commit c57c462

Browse files
committed
Added /bugs for some Prefixfree tests; this subdirectory may or may not persist long-term
1 parent 44aa12f commit c57c462

File tree

3 files changed

+110
-0
lines changed

3 files changed

+110
-0
lines changed

bugs/prefixfree-off.html

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,45 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>Min-content</title>
6+
<style type="text/css">
7+
head, #tests {display: block;}
8+
#tests {background: #DDD; padding: 1ch 2ch 2ch; border-bottom: 3px double gray;
9+
white-space: pre-wrap; font: smaller Consolas, monospace;}
10+
</style>
11+
<style type="text/css" id="tests">
12+
div[id] {outline: 1px dashed red; margin-bottom: 2em; width: 10em;}
13+
div[id] > b {outline: 1px dotted green;}
14+
#t01 {
15+
display: grid;
16+
grid-template-columns: 1fr min-content;
17+
grid-template-rows: min-content min-content;
18+
}
19+
#t02 {
20+
display: grid;
21+
grid-template-columns: 1fr min-content;
22+
grid-template-rows: min-content 1fr;
23+
}
24+
</style>
25+
</head>
26+
<body>
27+
28+
<p>Prefixfree is <strong>not loaded</strong> in this test. See <a href="prefixfree-on.html">the same test with prefixfree loaded</a>.</p>
29+
30+
<div id="t01">
31+
<b>1</b>
32+
<b>2</b>
33+
<b>3</b>
34+
<b>4</b>
35+
</div>
36+
37+
<div id="t02">
38+
<b>1</b>
39+
<b>2</b>
40+
<b>3</b>
41+
<b>4</b>
42+
</div>
43+
44+
</body>
45+
</html>

bugs/prefixfree-on.html

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8" />
5+
<title>Min-content</title>
6+
<script type="text/javascript" src="prefixfree.min.js"></script>
7+
<style type="text/css">
8+
head, #tests {display: block;}
9+
#tests {background: #DDD; padding: 1ch 2ch 2ch; border-bottom: 3px double gray;
10+
white-space: pre-wrap; font: smaller Consolas, monospace;}
11+
</style>
12+
<style type="text/css" id="tests">
13+
div[id] {outline: 1px dashed red; margin-bottom: 2em; width: 10em;}
14+
div[id] > b {outline: 1px dotted green;}
15+
#t01 {
16+
display: grid;
17+
grid-template-columns: 1fr min-content;
18+
grid-template-rows: min-content min-content;
19+
}
20+
#t02 {
21+
display: grid;
22+
grid-template-columns: 1fr min-content;
23+
grid-template-rows: min-content 1fr;
24+
}
25+
</style>
26+
</head>
27+
<body>
28+
29+
<p>Prefixfree is <strong>loaded</strong> in this test. See <a href="prefixfree-off.html">the same test without prefixfree loaded</a>. If you see <code>-moz-</code> prefixes above, make sure to view source. There are no prefixes in the original source.</p>
30+
31+
<div id="t01">
32+
<b>1</b>
33+
<b>2</b>
34+
<b>3</b>
35+
<b>4</b>
36+
</div>
37+
38+
<div id="t02">
39+
<b>1</b>
40+
<b>2</b>
41+
<b>3</b>
42+
<b>4</b>
43+
</div>
44+
45+
</body>
46+
</html>

bugs/prefixfree.min.js

Lines changed: 19 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)