WebKit Bugzilla
New
Browse
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
223288
Web Inspector: REGRESSION(
r271348
): Console: message source code location is not vertically aligned with containing function name
https://bugs.webkit.org/show_bug.cgi?id=223288
Summary
Web Inspector: REGRESSION(r271348): Console: message source code location is ...
Devin Rousso
Reported
2021-03-16 15:52:11 PDT
Created
attachment 423409
[details]
[Image] screenshot of issue # STEPS TO REPRODUCE 1. inspect <
https://webkit.org
> 2. set a breakpoint on global.js:4 3. edit the breakpoint and add an Evaluate JavaScript action for `console.log("test")` 4. reload the page
Attachments
[Image] screenshot of issue
(16.76 KB, image/png)
2021-03-16 15:52 PDT
,
Devin Rousso
no flags
Details
Patch
(1.45 KB, patch)
2021-03-18 09:48 PDT
,
Nikita Vasilyev
no flags
Details
Formatted Diff
Diff
[Image] With patch applied
(71.90 KB, image/png)
2021-03-18 09:48 PDT
,
Nikita Vasilyev
no flags
Details
View All
Add attachment
proposed patch, testcase, etc.
Radar WebKit Bug Importer
Comment 1
2021-03-16 15:52:36 PDT
<
rdar://problem/75498577
>
Nikita Vasilyev
Comment 2
2021-03-17 14:08:22 PDT
WebKit's inline-block behavior has changed in
https://trac.webkit.org/changeset/271348/webkit
, introduced this bug in Web Inspector.
Nikita Vasilyev
Comment 3
2021-03-17 14:10:50 PDT
Shorter reduction: 1. Open data:text/html,<script>console.log("test")</script> 2. Open Console
Nikita Vasilyev
Comment 4
2021-03-18 09:48:19 PDT
Created
attachment 423608
[details]
Patch
Nikita Vasilyev
Comment 5
2021-03-18 09:48:54 PDT
Created
attachment 423609
[details]
[Image] With patch applied
Devin Rousso
Comment 6
2021-03-18 10:34:52 PDT
Comment on
attachment 423608
[details]
Patch rs=me
Devin Rousso
Comment 7
2021-03-18 10:35:33 PDT
Comment on
attachment 423608
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=423608&action=review
> Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.css:284 > + vertical-align: text-top;
Why not `middle` or `bottom`?
Nikita Vasilyev
Comment 8
2021-03-18 11:00:37 PDT
Comment on
attachment 423608
[details]
Patch View in context:
https://bugs.webkit.org/attachment.cgi?id=423608&action=review
>> Source/WebInspectorUI/UserInterface/Views/ConsoleMessageView.css:284 >> + vertical-align: text-top; > > Why not `middle` or `bottom`?
With `middle`, the text is misaligned at negative zoom. With `bottom`, the text is misaligned even at 100% zoom.
EWS
Comment 9
2021-03-18 11:45:20 PDT
Committed
r274656
: <
https://commits.webkit.org/r274656
> All reviewed patches have been landed. Closing bug and clearing flags on
attachment 423608
[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