GitbookIO / GitbookIO/gitbook

Certain css properties not supported on all browsers

Open
#2,849 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

bug triage
Dominant language
TypeScript
Stars
29k
Forks
4k
Avg merge
1d 2h
Merged PRs (30d)
71

Description

Bug description

Squares appear for icons that have the CSS properties mask-image, mask-repeat and mask-position, and those aren't supported on around 8% of browsers: https://caniuse.com/css-masks

How to reproduce

  1. Try a gitbook site out one of the non supported browsers

See the icons here on the dropdown chevron and the search icon:
Image

Additional context

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the dropdown chevron and search icon issue in a browser that does not support mask-image, mask-repeat, or mask-position, then search the frontend styles for those properties. Done means the affected icons render correctly without squares in unsupported browsers while remaining correct in supported browsers.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
frontend
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.