| Summary: | Web Inspector: REGRESSION(r271348): Console: message source code location is not vertically aligned with containing function name | ||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | Devin Rousso <hi> | ||||||||
| Component: | Web Inspector | Assignee: | Nikita Vasilyev <nvasilyev> | ||||||||
| Status: | RESOLVED FIXED | ||||||||||
| Severity: | Normal | CC: | hi, inspector-bugzilla-changes, nvasilyev, webkit-bug-importer | ||||||||
| Priority: | P2 | Keywords: | InRadar | ||||||||
| Version: | WebKit Nightly Build | ||||||||||
| Hardware: | All | ||||||||||
| OS: | All | ||||||||||
| Attachments: |
|
||||||||||
|
Description
Devin Rousso
2021-03-16 15:52:11 PDT
WebKit's inline-block behavior has changed in https://trac.webkit.org/changeset/271348/webkit, introduced this bug in Web Inspector. Shorter reduction:
1. Open data:text/html,<script>console.log("test")</script>
2. Open Console
Created attachment 423608 [details]
Patch
Created attachment 423609 [details]
[Image] With patch applied
Comment on attachment 423608 [details]
Patch
rs=me
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`? 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. Committed r274656: <https://commits.webkit.org/r274656> All reviewed patches have been landed. Closing bug and clearing flags on attachment 423608 [details]. |