Summary: | Computed Style for WebkitBorderRadius in unimplemented | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Garrett Smith <xk1t> | ||||||
Component: | DOM | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED WONTFIX | ||||||||
Severity: | Normal | CC: | menard, webkit | ||||||
Priority: | P2 | ||||||||
Version: | 523.x (Safari 3) | ||||||||
Hardware: | All | ||||||||
OS: | All | ||||||||
Attachments: |
|
Description
Garrett Smith
2008-03-14 15:23:23 PDT
WebkitBorderRadius is actually unimplemented in CSSComputedStyleDeclaration::getPropertyCSSValue other properties are currently implemented but you should notice differences between Gecko and Webkit: -moz-border-radius-topleft / -webkit-border-top-left-radius -moz-border-radius-topright / -webkit-border-top-right-radius -moz-border-radius-bottomleft / -webkit-border-bottom-left-radius -moz-border-radius-bottomright / -webkit-border-bottom-right-radius So WebkitBorderRadiusTopleft doesn't work but WebkitBorderTopLeftRadius works correctly. Check attached test case. Created attachment 26456 [details]
test case
Created attachment 122452 [details]
Updated version to use border-radius.
I strongly encourage to use border-radius CSS property rather the vendor prefixed version. I attached a modified version of the test case which output the result as expected. It's almost a simple search and replace. |