Many hyperlinks are disabled.
Use anonymous login
to enable hyperlinks.
Overview
Comment: | In the background color filter, the color names "rgv(N,N,N)" and "hsv(N,N,N)" were never supported. Omit all pretense of supporting them. |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA3-256: |
db4329ca1b0abdfbfe25683eef9b47bd |
User & Date: | drh 2025-03-26 10:52:47.204 |
Context
2025-03-26
| ||
11:17 | Improvements to the background color-filter algorithm. ... (check-in: fd2a718e user: drh tags: trunk) | |
10:52 | In the background color filter, the color names "rgv(N,N,N)" and "hsv(N,N,N)" were never supported. Omit all pretense of supporting them. ... (check-in: db4329ca user: drh tags: trunk) | |
10:30 | Add the background color test page to the sitemap. ... (check-in: 7ee4e5ca user: drh tags: trunk) | |
Changes
Changes to src/color.c.
︙ | ︙ | |||
190 191 192 193 194 195 196 | for(v=0, i=1; i<4; i++) v = v*256 + fossil_hexvalue(zName[i]); return v; } if( i==7 ){ return v; } return -1; | < < < < | 190 191 192 193 194 195 196 197 198 199 200 201 202 203 | for(v=0, i=1; i<4; i++) v = v*256 + fossil_hexvalue(zName[i]); return v; } if( i==7 ){ return v; } return -1; }else{ int iMin = 0; int iMax = count(aCssColors)-1; while( iMin<=iMax ){ int iMid = (iMin+iMax)/2; int c = sqlite3_stricmp(aCssColors[iMid].zName, zName); if( c==0 ) return aCssColors[iMid].iRGB; |
︙ | ︙ |