Bug 7544

Summary: Computed style missing values such as -khtml-user-select
Product: WebKit Reporter: Peter Flynn <ytpete>
Component: CSSAssignee: Nobody <webkit-unassigned>
Status: RESOLVED FIXED    
Severity: Normal CC: ian, mitz
Priority: P2    
Version: 417.x   
Hardware: Mac   
OS: OS X 10.4   
Attachments:
Description Flags
Testcase none

Peter Flynn
Reported 2006-03-01 18:46:50 PST
The attached testcase, inclues an element with: style="color:red; border:1px solid black; -khtml-user-select:none; -khtml-user-drag:none" Click the button to output some of the properties returned from getComputedStyle() Expected results: The "none" values show up fpr KhtmlUserSelect and KhtmlUserDrag Actual results: The value of both properties is a 0-length string. The other properties work as expected. Both the cssText and the actual text selecton behavior of the DIV indicate that the -khtml styles are being understood. I haven't tested this much, so the bug likely occurs for other CSS properties as well.
Attachments
Testcase (742 bytes, text/html)
2006-03-01 18:48 PST, Peter Flynn
no flags
Peter Flynn
Comment 1 2006-03-01 18:48:13 PST
Created attachment 6800 [details] Testcase
Note You need to log in before you can comment on or make changes to this bug.