Skip to content

Commit e5048d4

Browse files
committed
Add test for floating blockquote
1 parent e8be369 commit e5048d4

File tree

3 files changed

+54
-0
lines changed

3 files changed

+54
-0
lines changed

test/html/Makefile.am

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ TESTS = \
1414
render/b-div.html \
1515
render/div-100-percent-with-padding.html \
1616
render/float-img-justify.html \
17+
render/floating-blockquote.html \
1718
render/github-infinite-loop.html \
1819
render/hackernews.html \
1920
render/img-aspect-ratio-absolute.html \
@@ -50,6 +51,7 @@ TESTS = \
5051
XFAIL_TESTS = \
5152
render/div-100-percent-with-padding.html \
5253
render/float-img-justify.html \
54+
render/floating-blockquote.html \
5355
render/margin-auto.html \
5456
render/max-width-html.html \
5557
render/min-width-html.html \
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Test CSS margin auto</title>
5+
<style type="text/css">
6+
body {
7+
background-color: white;
8+
margin: 0;
9+
}
10+
11+
blockquote {
12+
border-style: solid;
13+
border-color: black;
14+
width: 50px;
15+
height: 50px;
16+
float: left;
17+
background-color: #FC0;
18+
color: black;
19+
margin: 10px;
20+
}
21+
</style>
22+
</head>
23+
<body>
24+
<blockquote></blockquote>
25+
</body>
26+
</html>
Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,26 @@
1+
<!DOCTYPE html>
2+
<html>
3+
<head>
4+
<title>Test CSS margin auto</title>
5+
<style type="text/css">
6+
body {
7+
background-color: white;
8+
margin: 0;
9+
}
10+
11+
div {
12+
border-style: solid;
13+
border-color: black;
14+
width: 50px;
15+
height: 50px;
16+
float: left;
17+
background-color: #FC0;
18+
color: black;
19+
margin: 10px;
20+
}
21+
</style>
22+
</head>
23+
<body>
24+
<div></div>
25+
</body>
26+
</html>

0 commit comments

Comments
 (0)