~ubuntu-branches/ubuntu/raring/qtwebkit-source/raring-proposed

« back to all changes in this revision

Viewing changes to ManualTests/blackberry/meta-viewport-initial-scale-wide-content.html

  • Committer: Package Import Robot
  • Author(s): Jonathan Riddell
  • Date: 2013-02-18 14:24:18 UTC
  • Revision ID: package-import@ubuntu.com-20130218142418-eon0jmjg3nj438uy
Tags: upstream-2.3
ImportĀ upstreamĀ versionĀ 2.3

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
<html>
 
2
<head>
 
3
<meta name="viewport" content="width=device-width, initial-scale=1.0">
 
4
<style>
 
5
body { margin: 0; padding: 0; }
 
6
#green { width: 100%; height: 100%; background: green; }
 
7
#red { width: 1024px; height: 2048px; background: red; }
 
8
</style>
 
9
</head>
 
10
<body>
 
11
<div id="green">
 
12
This green box should fully fill the initial viewport, and the text within it
 
13
should wrap at the edge of the screen appropriately. The test is PASSED if
 
14
this green box is fully visible and takes up the whole screen.
 
15
</div>
 
16
<div id="red">
 
17
This should not be visible initially. This test is FAILED if you can see
 
18
can red without first scrolling down.
 
19
</div>
 
20
</body>
 
21
</html>