[Feature] Compatibility Issue with Vendor Prefixes in vocabulary.css #92
Labels
💻 aspect: code
Concerns the software code in the repository
✨ goal: improvement
Improvement to an existing feature
🟩 priority: low
Low priority and doesn't need to be rushed
🧹 status: ticket work required
Needs more details before it can be worked on
Problem
While reviewing the vocabulary.css file, I noticed that -webkit vendor prefixes are used in some cases without providing default or -moz prefixed styles for other browsers (like Firefox). This could result in inconsistent rendering and lack of compatibility across non-WebKit browsers.
Description
The issue arises due to the inconsistent use of vendor prefixes. For example, properties with -webkit prefixes should ideally have default values and -moz prefixes where necessary to ensure cross-browser compatibility. Without these, certain styles may not render correctly on browsers like Firefox.
Proposed solution:
Refactor the CSS file to include the default property, -webkit, and -moz prefixes where necessary.
Conduct browser testing to ensure the styles render correctly across major browsers.
Alternatives
An alternative approach would be to use tools like Autoprefixer to automatically handle the addition of vendor prefixes. However, manual refactoring may provide more control and help ensure that the styles are fully optimized for each browser.
Additional context
This issue could potentially lead to visual or functional inconsistencies for users on non-WebKit browsers. Ensuring that proper vendor prefixes are used would improve the reliability of the design across all browsers.
Implementation
The text was updated successfully, but these errors were encountered: