Bug 27066

Summary: -webkit-perspective should be a Length
Product: WebKit Reporter: Simon Fraser (smfr) <simon.fraser>
Component: Layout and RenderingAssignee: Simon Fraser (smfr) <simon.fraser>
Status: RESOLVED FIXED    
Severity: Normal CC: cmarrin
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: PC   
OS: OS X 10.5   
Attachments:
Description Flags
Patch, testcase, changelog mitz: review+

Simon Fraser (smfr)
Reported 2009-07-07 21:15:17 PDT
-webkit-perspective needs to have units. Maybe we only allow px units here, and we should allow the bare number for backwards compatibility. But we need to define the units.
Attachments
Patch, testcase, changelog (9.90 KB, text/plain)
2009-07-07 22:14 PDT, Simon Fraser (smfr)
mitz: review+
Simon Fraser (smfr)
Comment 1 2009-07-07 22:14:39 PDT
Created attachment 32427 [details] Patch, testcase, changelog
mitz
Comment 2 2009-07-07 22:19:33 PDT
Comment on attachment 32427 [details] Patch, testcase, changelog + as pixels for backwards compatibility. + // For backward compatibility, treat valueless numbers as px. backwards? Presumably this quirk should only apply to the vendor-prefixed version of the property. Perhaps a comment in the parser will help to ensure that it is cleaned up when the prefix is dropped.
Simon Fraser (smfr)
Comment 3 2009-07-07 22:27:21 PDT
Note You need to log in before you can comment on or make changes to this bug.