TimeCat icon indicating copy to clipboard operation
TimeCat copied to clipboard

img 元素中srcset attribute录制结果不准确,有uriencode

Open minimorph223 opened this issue 3 years ago • 1 comments

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

我使用的版本是chrome plugin 1.2.0.3

Reproduction link

https://user-images.githubusercontent.com/6702159/103499532-62311c00-4e83-11eb-81e4-04636de8eae4.png

Steps to reproduce

当录制页面中图片存在 attribute srcset, 通常格式是:

<img srcset=" url size, url size, url size " src="default url" >

例如:

image

而在录制之后,url 和size之间的空格就被转译成了 ‘%20’, 结果就是图片变成了404 不可访问的状态

image 类似的attribute data-srcset 则不会出现类似问题

What is expected?

支持srcset

What is actually happening?

支持srcset

Environment Info
System macOS 10.14.6
Browser Chrome 86.0.4240.198

minimorph223 avatar Jan 04 '21 03:01 minimorph223

确实有这个问题,下个版本进行修复

oct16 avatar Jan 04 '21 05:01 oct16