Bug 10894

Summary: CSS "size" property is not supported
Product: WebKit Reporter: jay <jay>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED WORKSFORME    
Severity: Normal CC: mrowe, robburns1
Priority: P2    
Version: 420+   
Hardware: Macintosh   
OS: OS X 10.4   
URL: http://www.peepo.com
Attachments:
Description Flags
print
none
CSS test for printing landscape none

Description jay 2006-09-17 01:21:47 PDT
this page and the reduced file in attachment should print in landscape format, 

in fact they print in portrait
Comment 1 jay 2006-09-17 01:22:23 PDT
Created attachment 10597 [details]
print
Comment 2 Mark Rowe (bdash) 2006-12-05 19:51:36 PST
Your reduction is incorrect -- it has CSS rules inside a <script> tag:

<style type="text/css">

</style>

<script type="text/ecmascript" ><!--
@page {size: landscape}
//--></script>


A glance at the code shows that support for the "size" property isn't implemented, which is why your example fails to work as intended.
Comment 3 jay 2006-12-15 02:07:10 PST
Created attachment 11855 [details]
CSS test for printing landscape
Comment 4 jay 2006-12-15 02:09:12 PST
updated patch in response to #2 cheers
Comment 5 Alexey Proskuryakov 2011-06-28 15:49:46 PDT
Re-filed as bug 63575.