| Summary: | tooltip on hover has different position in Safari | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Ahmad Saleem <ahmad.saleem792> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED INVALID | ||
| Severity: | Normal | CC: | karlcow, ntim, webkit-bug-importer |
| Priority: | P2 | Keywords: | BrowserCompat, InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Ahmad Saleem
2023-03-28 22:24:37 PDT
This is the position of `.button::after` which is different and the size. so the way the position and size of `content: attribute()` is handled. This is just because Safari uses a different default font for buttons, if you set `font: 13.33px Arial` on the button, we match other browsers. (The tooltip positioning relies on `em` units which depends on font-size) This behaves correctly. Changing the default font size might be a different issue, but out of scope for this bug. |