Skip to content

Fix GroupBox border for Firefox#39

Merged
botoxparty merged 1 commit intobotoxparty:mainfrom
dwhinham:groupbox-fix
Oct 18, 2021
Merged

Fix GroupBox border for Firefox#39
botoxparty merged 1 commit intobotoxparty:mainfrom
dwhinham:groupbox-fix

Conversation

@dwhinham
Copy link
Copy Markdown
Contributor

@dwhinham dwhinham commented Aug 6, 2021

This is a similar PR to jdan/98.css#117 which fixes GroupBox rendering for Firefox with the Windows 98 theme.

It also appears to fix an accuracy issue under Chromium.

Before

2021-08-06-174725_2289x2111_scrot

After:

2021-08-06-174756_2289x2110_scrot

Windows 98 reference screenshot:

image

Firefox's new WebRender engine seems to have a bug with fieldsets styled with
inset box-shadows (https://bugzilla.mozilla.org/show_bug.cgi?id=1496538).

As a workaround, use a tiny .SVG as a sliced border-image to draw the border.
@botoxparty
Copy link
Copy Markdown
Owner

Sorry for such a long delay on this!

Thank you for your contribution 🥰

@botoxparty botoxparty merged commit 2e05a2f into botoxparty:main Oct 18, 2021
@dwhinham
Copy link
Copy Markdown
Contributor Author

No problem at all, thanks for merging! 🎉

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.

2 participants