Repository navigation
Commit e9b6995
committed
fix(css): compare a percentage as the fraction Gecko stores
Gecko parses `14.285714%` as the single-precision fraction 0.14285713,
one float step from the 0.14285715 `calc(100% / 7)` computes, which
moved a seven-segment Radix indicator by 0.1px. The digits are now
chosen to reach the fraction's float, not the percentage's.1 parent e45e5b4 commit e9b6995
4 files changed
Lines changed: 21 additions & 18 deletions
File tree
- lib/css
- test
- configCases/css/minimize-corpus/__snapshots__
- unitCases
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8907 | 8907 | | |
8908 | 8908 | | |
8909 | 8909 | | |
8910 | | - | |
8911 | | - | |
8912 | | - | |
| 8910 | + | |
| 8911 | + | |
| 8912 | + | |
8913 | 8913 | | |
8914 | 8914 | | |
8915 | | - | |
| 8915 | + | |
| 8916 | + | |
8916 | 8917 | | |
8917 | 8918 | | |
8918 | 8919 | | |
8919 | 8920 | | |
8920 | | - | |
| 8921 | + | |
8921 | 8922 | | |
8922 | 8923 | | |
8923 | 8924 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
| 188 | + | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
181 | 181 | | |
182 | 182 | | |
183 | 183 | | |
184 | | - | |
185 | | - | |
| 184 | + | |
| 185 | + | |
186 | 186 | | |
187 | 187 | | |
188 | | - | |
189 | | - | |
| 188 | + | |
| 189 | + | |
190 | 190 | | |
191 | 191 | | |
192 | 192 | | |
| |||
225 | 225 | | |
226 | 226 | | |
227 | 227 | | |
228 | | - | |
| 228 | + | |
229 | 229 | | |
230 | 230 | | |
231 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4158 | 4158 | | |
4159 | 4159 | | |
4160 | 4160 | | |
4161 | | - | |
| 4161 | + | |
4162 | 4162 | | |
4163 | 4163 | | |
4164 | 4164 | | |
| |||
5193 | 5193 | | |
5194 | 5194 | | |
5195 | 5195 | | |
5196 | | - | |
| 5196 | + | |
5197 | 5197 | | |
5198 | | - | |
| 5198 | + | |
5199 | 5199 | | |
5200 | 5200 | | |
5201 | 5201 | | |
| |||
8583 | 8583 | | |
8584 | 8584 | | |
8585 | 8585 | | |
| 8586 | + | |
| 8587 | + | |
8586 | 8588 | | |
8587 | 8589 | | |
8588 | 8590 | | |
| |||
0 commit comments