mirror of
https://github.com/servo/servo.git
synced 2025-06-22 08:08:59 +01:00
auto merge of #1261 : recrack/servo/add_overflow_testfile, r=pcwalton
Thanks @metajack @ksh8281, @jaeminMoon
This commit is contained in:
commit
01667ef22b
1 changed files with 35 additions and 0 deletions
35
src/test/html/test_overflow_hidden.html
Normal file
35
src/test/html/test_overflow_hidden.html
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<!-- http://www.w3.org/TR/CSS21/visufx.html -->
|
||||||
|
<html>
|
||||||
|
<head>
|
||||||
|
<style>
|
||||||
|
div {
|
||||||
|
overflow: hidden;
|
||||||
|
width : 100px; height: 100px;
|
||||||
|
border: thin solid red;
|
||||||
|
}
|
||||||
|
|
||||||
|
blockquote {
|
||||||
|
width : 125px; height : 100px;
|
||||||
|
margin-top: 50px; margin-left: 50px;
|
||||||
|
border: thin dashed black
|
||||||
|
}
|
||||||
|
|
||||||
|
cite {
|
||||||
|
display: block;
|
||||||
|
text-align : right;
|
||||||
|
border: none
|
||||||
|
}
|
||||||
|
</style>
|
||||||
|
</head>
|
||||||
|
|
||||||
|
<body>
|
||||||
|
<div>
|
||||||
|
<blockquote>
|
||||||
|
<p>I didn't like the play, but then I saw
|
||||||
|
it under adverse conditions - the curtain was up.</p>
|
||||||
|
<cite>- Groucho Marx</cite>
|
||||||
|
</blockquote>
|
||||||
|
</div>
|
||||||
|
</body>
|
||||||
|
</html>
|
Loading…
Add table
Add a link
Reference in a new issue