WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED WORKSFORME
201455
position: static element with border radius does not hide position: relative elements if a layer behind it has position: fixed
https://bugs.webkit.org/show_bug.cgi?id=201455
Summary
position: static element with border radius does not hide position: relative ...
Tom Bigelajzen
Reported
2019-09-04 04:51:43 PDT
Created
attachment 377971
[details]
bug example when applying border radius on an element with no positioning and a border-radius it does not clip relatively positioned elements inside it only if a layer behind it has fixed positioning applied Works as expected on Chrome and Firefox Codepen of attached example:
https://codepen.io/tombigel/pen/OJLOmpN
Attachments
bug example
(1.62 KB, text/html)
2019-09-04 04:51 PDT
,
Tom Bigelajzen
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Tom Bigelajzen
Comment 1
2019-09-04 04:53:18 PDT
HAd a typo there - "when applying border radius on an element" => "when applying overflow: hidden on an element"
Tom Bigelajzen
Comment 2
2019-09-04 05:02:10 PDT
This actually also reproduces when the element with overflow: hidden as position: relative too (and not only position: static)
Radar WebKit Bug Importer
Comment 3
2019-09-07 08:57:05 PDT
<
rdar://problem/55146240
>
Simon Fraser (smfr)
Comment 4
2019-09-09 12:59:56 PDT
Possibly fixed in Safari 13.
Simon Fraser (smfr)
Comment 5
2019-09-09 14:16:47 PDT
Please test iOS 13 or a recent Safari Tech Preview on macOS.
Tom Bigelajzen
Comment 6
2019-09-12 01:18:28 PDT
Works on Safari Tech Preview 91 for me too. Thanks.
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