Skip to content

Revert "Browser: Remove duplicate border in Modern UI" - #335487

Merged
Lee Murray (mrleemurray) merged 1 commit into
mainfrom
revert-335463-agents/fix-double-border-modern-ui-browser-editor
Sep 10, 2026
Merged

Lee Murray (mrleemurray) merged 1 commit into
mainfrom
revert-335463-agents/fix-double-border-modern-ui-browser-editor

Conversation

@mrleemurray

Copy link
Copy Markdown
Contributor

Reverts #335463

Copilot AI balanced review requested due to automatic review settings September 10, 2026 15:43
@vs-code-engineering

Copy link
Copy Markdown
Contributor

📬 CODENOTIFY

The following users are being notified based on files changed in this PR:

Kyle Cutler (@kycutler)

Matched files:

  • src/vs/workbench/contrib/browserView/electron-browser/features/webContentsViewRendererFeature.ts
  • src/vs/workbench/contrib/browserView/test/electron-browser/features/webContentsViewRendererFeature.test.ts

Joaquín Ruales (@jruales)

Matched files:

  • src/vs/workbench/contrib/browserView/electron-browser/features/webContentsViewRendererFeature.ts
  • src/vs/workbench/contrib/browserView/test/electron-browser/features/webContentsViewRendererFeature.test.ts

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 Needs a closer look

Native WebContentsView layout is visually sensitive and this revert knowingly restores the previously reported Modern UI double border.

Pull request overview

Reverts #335463, restoring the integrated browser’s previous WebContentsView layout behavior.

Changes:

  • Restores fixed border padding and floor-based pixel snapping.
  • Removes Modern UI-specific layout handling and its regression tests.
File summaries
File Description
webContentsViewRendererFeature.ts Restores the previous native browser layout logic.
webContentsViewRendererFeature.test.ts Removes tests specific to the reverted behavior.
Review details
  • Files reviewed: 2/2 changed files
  • Comments generated: 0
  • Review effort level: Balanced

💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.

@mrleemurray
Lee Murray (mrleemurray) merged commit 61b8b27 into main Sep 10, 2026
34 checks passed
@mrleemurray
Lee Murray (mrleemurray) deleted the revert-335463-agents/fix-double-border-modern-ui-browser-editor branch September 10, 2026 18:06
@vs-code-engineering vs-code-engineering Bot added this to the 1.138.0 milestone Sep 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants