aboutsummaryrefslogtreecommitdiffstats
path: root/tests/html/test_overflow_hidden.html
blob: df8f72f7b9ff7c6c23dcc2bbe8488678ba7899d1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
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>