WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
Bug 192963
REGRESSION(r?): Web Inspector: Popovers have inset shadows
https://bugs.webkit.org/show_bug.cgi?id=192963
Summary
REGRESSION(r?): Web Inspector: Popovers have inset shadows
Nikita Vasilyev
Reported
2018-12-20 17:22:04 PST
Created
attachment 357905
[details]
[Image] Bug This doesn't seem intentional.
Attachments
[Image] Bug
(161.71 KB, image/png)
2018-12-20 17:22 PST
,
Nikita Vasilyev
no flags
Details
Patch
(3.96 KB, patch)
2019-02-21 16:23 PST
,
Devin Rousso
no flags
Details
Formatted Diff
Diff
[Image] Before Patch is applied
(908.90 KB, image/png)
2019-02-21 16:23 PST
,
Devin Rousso
no flags
Details
[Image] After Patch is applied
(904.50 KB, image/png)
2019-02-21 16:24 PST
,
Devin Rousso
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2018-12-20 17:22:22 PST
<
rdar://problem/46888679
>
Devin Rousso
Comment 2
2019-02-21 16:23:05 PST
Created
attachment 362664
[details]
Patch
Devin Rousso
Comment 3
2019-02-21 16:23:42 PST
Created
attachment 362665
[details]
[Image] Before Patch is applied
Devin Rousso
Comment 4
2019-02-21 16:24:07 PST
Created
attachment 362666
[details]
[Image] After Patch is applied
Nikita Vasilyev
Comment 5
2019-02-21 16:41:41 PST
Do you know why this broke?
Joseph Pecoraro
Comment 6
2019-02-21 16:44:36 PST
Comment on
attachment 362664
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=362664&action=review
> Source/WebInspectorUI/UserInterface/Views/Popover.css:36 > --popover-shadow-color: hsla(0, 0%, 0%, 0.5);
Can we reduce the padding now that the popover feels a little larger than it was before? Each of the `padding` declarations below could drop a pixel or two.
Joseph Pecoraro
Comment 7
2019-02-21 16:47:07 PST
Comment on
attachment 362664
[details]
Patch The macOS system blue seems much larger. For an example of a popover right click the URL bar and select "Settings for this website...". That shadow seems much larger and clearer than this one.
Joseph Pecoraro
Comment 8
2019-02-21 16:47:32 PST
> The macOS system blue
system *popover blur*
Matt Baker
Comment 9
2019-02-21 17:03:56 PST
I’d really like to know what change caused the regression in the first place. I feel like this happened relatively recently.
Devin Rousso
Comment 10
2019-02-21 17:04:48 PST
(In reply to Nikita Vasilyev from
comment #5
)
> Do you know why this broke?
(In reply to Matt Baker from
comment #9
)
> I’d really like to know what change caused the regression in the first place. I feel like this happened relatively recently.
From what I could find, this code has existed since before Web Inspector was added to open source.
Devin Rousso
Comment 11
2019-02-21 17:07:56 PST
Comment on
attachment 362664
[details]
Patch (In reply to Joseph Pecoraro from
comment #7
)
> The macOS system popover blur seems much larger. For an example of a popover right click the URL bar and select "Settings for this website...". That shadow seems much larger and clearer than this one.
View in context:
https://bugs.webkit.org/attachment.cgi?id=362664&action=review
>> Source/WebInspectorUI/UserInterface/Views/Popover.css:36 >> --popover-shadow-color: hsla(0, 0%, 0%, 0.5); > > Can we reduce the padding now that the popover feels a little larger than it was before? Each of the `padding` declarations below could drop a pixel or two.
If we want to make the popover match (or be closer to) the system blur, we'd actually need to increase the padding, as otherwise the blur will get cut off by the bounds of the <canvas> itself.
Blaze Burg
Comment 12
2019-02-22 14:51:34 PST
Comment on
attachment 362664
[details]
Patch r=me
WebKit Commit Bot
Comment 13
2019-02-22 20:10:06 PST
Comment on
attachment 362664
[details]
Patch Clearing flags on attachment: 362664 Committed
r241981
: <
https://trac.webkit.org/changeset/241981
>
WebKit Commit Bot
Comment 14
2019-02-22 20:10:08 PST
All reviewed patches have been landed. Closing bug.
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