You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit d5d73c9
Browse filesBrowse the repository at this point in the historyBrowse files
fix(css): keep the digits Firefox lays a percentage out with
Six significant digits are calibrated on Blink's 1/64px layout. Gecko
parses a percentage as a single-precision float and lays it out in
1/60px, so `calc(100% / 3)` printed as `33.3333%` moved a
`translateX(100%)` by 0.03px in the Radix Themes benchmark. A
percentage now keeps the fewest digits, six or more, that parse to the
same float (`33.333333%`). An alpha value or `scale` written as a
number rounds again as one.
Copy file name to clipboardExpand all lines: test/specCases/syntaxEquivalence.spectest.js
-1Lines changed: 0 additions & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -210,7 +210,6 @@ const FILED_CONFIG_HTML_DEFECTS = new Map([
210
210
211
211
constFILED_BENCHMARK_CSS_DEFECTS=newMap([
212
212
["UIkit 3","firefox only: not a printer defect — `rgba(255, 255, 255, 0.7)` prints as `#ffffffb3` (lightningcss writes the same), whose alpha is 179/255. Blink stores alpha in a byte either way, while Gecko keeps 0.702 and its `::placeholder` mix lands one byte from the source's 0.378"],
213
-
["Radix Themes 3 (components)","firefox only: `calc(100% / 3)` prints as `33.3333%`, six digits being calibrated on Blink's 1/64px layout; Gecko lays out in 1/60px, so a `translateX(100%)` over that width moves by 0.03px"],
0 commit comments