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
175018
Border radius clipping does not correctly disable for descendants when using `will-transform`
https://bugs.webkit.org/show_bug.cgi?id=175018
Summary
Border radius clipping does not correctly disable for descendants when using ...
eelco
Reported
2017-08-01 05:44:03 PDT
Live example here:
https://jsfiddle.net/nxja91tc/4/
If there’s HTML like this: <div id="outer"> <div id="inner"> </div> </div> With CSS like this: div { width: 100px; height: 100px; } #inner { background-color: blue; will-change: transform; } #outer { overflow: hidden; border-radius: 20px; background-color: red; will-change: transform; } Then disabling the border-radius of #outer (with JavaScript) to 0px will indeed disable the border radius, but only for #outer. The #inner div will stay clipped, causing red corners to show that should have been overlapped with blue.
Attachments
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2017-08-01 17:06:30 PDT
<
rdar://problem/33666350
>
Simon Fraser (smfr)
Comment 2
2017-08-01 22:18:58 PDT
We have a dup of this filed.
Ahmad Saleem
Comment 3
2023-08-16 15:43:05 PDT
I am not able to reproduce this bug in Safari 16.6 and STP176 and both matches with Chrome Canary 118 and Firefox Nightly 118 on linked JSFiddle. Marking this as "RESOLVED CONFIGURATION 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