Normalize Safari iOS User Agent Styles to Match Chrome Defaults #4884
Labels
area:canvas
Anything related to rendering on canvas
area:publishing
Anything related to publishing a site
prio:1
The most important thing to work on
type:feat
Features and enhancements
Normalize Safari iOS User Agent Styles to Match Chrome Defaults
Description
On a regular basis, we encounter issues with iOS-rendered sites due to the WebKit user agent stylesheet, particularly the section related to button styles:
🔗 Relevant Code:
WebKit
html.css
Line 909-919This leads to inconsistencies in styling across browsers, as Safari iOS applies different button colors and font weights compared to other browsers like Chrome.
✅ Proposed Solution
To ensure a consistent cross-browser experience, we should normalize all cases where
defined(WTF_PLATFORM_IOS_FAMILY) && WTF_PLATFORM_IOS_FAMILY
is used by aligning them with Chrome's defaults.The text was updated successfully, but these errors were encountered: