WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
211530
REGRESSION (
r252161
): Incorrect rendering of some inset box-shadow with spread and border-radius
https://bugs.webkit.org/show_bug.cgi?id=211530
Summary
REGRESSION (r252161): Incorrect rendering of some inset box-shadow with sprea...
Antoine Quint
Reported
2020-05-06 14:26:55 PDT
Created
attachment 398657
[details]
Testcase See the attached test case which consists of: <style> div { width: 100px; height: 30px; box-shadow: rgb(0, 0, 0) 0px 0px 0px 1px inset; border-radius: 100px; /* Slowed down from 0.1s in original content */ transition: box-shadow 1s linear; } div:hover { box-shadow: inset 0 0 0 2px #000; } </style> <div></div> Hovering the <div> shows an unpleasant behavior. This used to work fine before regressing in to
r252161
and this was then improved a bit in
r252689
.
Attachments
Testcase
(298 bytes, text/html)
2020-05-06 14:26 PDT
,
Antoine Quint
no flags
Details
Go big or go home
(257 bytes, text/html)
2020-05-06 14:51 PDT
,
Simon Fraser (smfr)
no flags
Details
Static testcase
(166 bytes, text/html)
2020-05-06 15:01 PDT
,
Simon Fraser (smfr)
no flags
Details
Patch
(20.33 KB, patch)
2020-05-06 23:04 PDT
,
Simon Fraser (smfr)
zalan
: review+
Details
Formatted Diff
Diff
For Windows EWS
(20.79 KB, patch)
2020-05-07 10:15 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
For EWS
(24.65 KB, patch)
2020-05-07 11:31 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
For EWS
(24.90 KB, patch)
2020-05-07 12:51 PDT
,
Simon Fraser (smfr)
no flags
Details
Formatted Diff
Diff
Show Obsolete
(2)
View All
Add attachment
proposed patch, testcase, etc.
Antoine Quint
Comment 1
2020-05-06 14:27:11 PDT
<
rdar://problem/62570229
>
Simon Fraser (smfr)
Comment 2
2020-05-06 14:51:23 PDT
Created
attachment 398662
[details]
Go big or go home
Simon Fraser (smfr)
Comment 3
2020-05-06 15:01:44 PDT
Created
attachment 398669
[details]
Static testcase
Simon Fraser (smfr)
Comment 4
2020-05-06 15:12:44 PDT
Everything looks OK from the drawing side; we do the same drawing: applying 2 (save) applying 3 (clip-path (path move to (318,60), add line to (318,60), add curve to (318,87.61) (295.61,110) (268,110), add line to (68,110), add curve to (40.39,110) (18,87.61) (18,60), add line to (18,60), add curve to (18,32.39) (40.39,10) (68,10), add line to (268,10), add curve to (295.61,10) (318,32.39) (318,60), close subpath) (wind-rule EVEN-ODD)) applying 4 (translate (x 661.00) (y 0.00)) applying 5 (set-state (change-flags 512) (shadow-blur 0.00) (shadow-offset width=-661 height=0) (shadows-use-legacy-radius 0)) applying 6 (fill-rect-with-rounded-hole (extent (18,10) width=300 height=100) (rect (18,10) width=300 height=100) (rounded-hole-rect 48.00 40.00 240.00 40.00 topLeft=20.03 20.03 topRight=20.03 20.03 bottomLeft=20.03 20.03 bottomRight=20.03 20.03) (color #000000)) applying 7 (restore)
Simon Fraser (smfr)
Comment 5
2020-05-06 15:31:46 PDT
Ah we're giving CG a non-renderable around hole rect: applying 12 (fill-rect-with-rounded-hole (extent (18,120) width=300 height=100) (rect (18,120) width=300 height=100) (rounded-hole-rect 48.00 150.00 240.00 40.00 topLeft=20.23 20.23 topRight=20.23 20.23 bottomLeft=20.23 20.23 bottomRight=20.23 20.23) (color #000000))
Simon Fraser (smfr)
Comment 6
2020-05-06 23:04:01 PDT
Created
attachment 398705
[details]
Patch
Simon Fraser (smfr)
Comment 7
2020-05-07 10:15:35 PDT
Created
attachment 398754
[details]
For Windows EWS
Simon Fraser (smfr)
Comment 8
2020-05-07 11:31:07 PDT
Created
attachment 398769
[details]
For EWS
Simon Fraser (smfr)
Comment 9
2020-05-07 12:51:35 PDT
Created
attachment 398784
[details]
For EWS
EWS
Comment 10
2020-05-07 14:02:41 PDT
Committed
r261334
: <
https://trac.webkit.org/changeset/261334
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 398784
[details]
.
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