WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED CONFIGURATION CHANGED
125834
Don't depend on layout to do getComputedStyle() on border-radius
https://bugs.webkit.org/show_bug.cgi?id=125834
Summary
Don't depend on layout to do getComputedStyle() on border-radius
Ryosuke Niwa
Reported
2013-12-16 22:15:25 PST
Consider merging
https://chromium.googlesource.com/chromium/blink/+/2e92d5379e3b3389af543a39e3c476ea20b83933
border-radius and its longhands are defined to return resolved values instead of used values, this means a layout is not required to compute the result of getComputedStyle() on these properties. This patch fixes getComputedStyle() of border radius properties to return calc objects instead of resolving them to absolute pixel values. Relevant spec:
http://dev.w3.org/csswg/cssom/#resolved-values
Attachments
Add attachment
proposed patch, testcase, etc.
Ahmad Saleem
Comment 1
2022-08-04 17:29:37 PDT
Safari passes all border-radius-interpolation tests:
https://wpt.fyi/results/css/css-backgrounds/animations/border-radius-interpolation.html?label=master&label=experimental&aligned&view=subtest&q=border-radius-interpolation
Plus I took other test case and changed it into following JSFiddle: Link -
https://jsfiddle.net/k2w6d3eo/show
^ all browsers (Chrome Canary 106, Firefox Nightly 105 and Safari 15.6 do fail on same test cases) [So they are in consensus] Another test case -
https://jsfiddle.net/tf76v4k5/show
^ all browsers (Chrome Canary 106, Firefox Nightly 105 and Safari 15.6 do fail on same test cases) [So they are in consensus] ____ Is something else required or I am converting these test cases wrong and as a result getting incorrect outputs? Thanks!
Ryosuke Niwa
Comment 2
2022-08-04 21:08:34 PDT
Sounds like config changed.
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug