https://github.com/web-platform-tests/wpt
Raw File
Tip revision: a33361b185e82897498c7385c332ca82320f1283 authored by Luke Bjerring on 28 March 2018, 20:13:26 UTC
Surface correct type for partial dictionary error
Tip revision: a33361b
page-size-009.xht
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
 <head>
  <title>CSS Test: @page size Ledger</title>
  <link rel="author" title="Tom Clancy" href="mailto:tclancy@revenution.com"/>
  <link rel="author" title="Hewlett-Packard Company" href="http://www.hp.com/"/>
  <link rel="help" href="http://www.w3.org/TR/css3-page/#page-size-prop"/>
  <meta name="flags" content="paged" />
  <meta name="assert" content="The 'ledger' value of the 'size' property specifies that the page box's width be 11in and its height 17in."/>
  <style type="text/css"><![CDATA[
	@page {
		size: ledger;
		border: 2pt solid black;
		margin: 2in;
	}
  ]]></style>
 </head>
 <body>
  <div>If ledger-sized (11in x 17in) or larger paper is available, this content should be printed in a black box that has a width of 7 inches and a height of 13 inches.</div>
 </body>
</html>
back to top