Stop Firefox rendering inline colours in rgb() form

前端 未结 3 807
Happy的楠姐
Happy的楠姐 2021-01-20 15:29

I\'m trying to write a JavaScript tool to work on items of a certain colour. On a test page, I set the colour using an inline style, to mimic the target pages, but when the

3条回答
  •  暗喜
    暗喜 (楼主)
    2021-01-20 16:04

    You are probably looking at the value through firebug, which translates all colors to RGB form in the console. This does not mean it changed in the DOM.

提交回复
热议问题