()
| 1147 | } |
| 1148 | |
| 1149 | backgroundColor() { |
| 1150 | let val = this.css()['background-color']; |
| 1151 | if (this.tagName === 'html' && (!val || val === 'Canvas')) { |
| 1152 | // try to use body bg color if html bg color is not set (???) |
| 1153 | const bodyVal = this.querySelector('body')?.css?.()?.['background-color']; |
| 1154 | if (bodyVal) val = bodyVal; |
| 1155 | } |
| 1156 | |
| 1157 | return this.colorAbs(val, 'background-color'); |
| 1158 | } |
| 1159 | |
| 1160 | _image; |
| 1161 | async loadImage() { |
no test coverage detected