Commit Graph

28 Commits

Author SHA1 Message Date
Daniël van de Giessen
91e031844e Fixed detection of multiple consecutive CSS URLs without quotes (#4) 2018-12-30 13:36:17 +08:00
Yanzhen Yu
922be70f54 do not add origin before data uri image 2018-12-27 12:44:52 +08:00
Yanzhen Yu
d8c5ae5ae6 handle block element 2018-12-02 23:06:36 +08:00
Yanzhen Yu
ab79af115a update the test snapshot 2018-11-30 22:59:29 +08:00
Yanzhen Yu
e55b917590 remove _cssText attribute from style element 2018-11-27 15:22:06 +08:00
Yanzhen Yu
e198ea494e ignore iframe src attribute 2018-11-27 14:39:13 +08:00
Yanzhen Yu
f73bad21e5 complately update relative path regexp 2018-11-26 17:42:52 +08:00
Yanzhen Yu
124959a67d fix css url regexp 2018-11-23 23:02:35 +08:00
Yanzhen Yu
cb3c842a12 bump 0.5.6 2018-11-01 13:29:23 +08:00
Yanzhen Yu
216d03dae3 Fix the regexp performance issue
Also move the addHoverClass implementation into the rebuild stage.
So if there is still some corner case we have not handled, it will
only affect the replayer part of rrweb.
2018-11-01 11:36:25 +08:00
Yanzhen Yu
7f806128ed add hover class to :hover related css rules 2018-10-31 19:02:26 +08:00
Yanzhen Yu
e5dba6a986 remove local test code 2018-10-22 10:50:57 +08:00
Yanzhen Yu
508bbdfc26 refactor rebuild implementation which mount DOM onto the target document object 2018-10-22 10:34:23 +08:00
Yanzhen Yu
202a674636 use document object from params instead of the one in the current scope 2018-10-21 22:36:07 +08:00
Yanzhen Yu
416c1eec9a fix style content url normalizer and add some tests 2018-10-18 19:42:01 +08:00
Yanzhen Yu
71932ee530 update README and add travis 2018-10-16 17:57:11 +08:00
Yanzhen Yu
e461136f71 impl the extra child data attribute to align id map 2018-10-16 15:18:07 +08:00
Yanzhen Yu
eef6a6e389 change relative path into absolute path 2018-10-16 12:11:00 +08:00
Yanzhen Yu
3e5c0adcdc use jest-snapshot to apply the snapshot testing 2018-10-15 19:25:52 +08:00
Yanzhen Yu
1ddb0a3343 return id node map when rebuild 2018-10-12 12:43:16 +08:00
Yanzhen Yu
f143eee54a return id node map when snapshot 2018-10-08 15:35:03 +08:00
Yanzhen Yu
b536f12064 update declaration file 2018-10-06 22:27:49 +08:00
Yanzhen Yu
bfe431e99a add iframe tests and update urls in test file 2018-10-06 10:13:33 +08:00
Yanzhen Yu
8b82981b62 try to inline linked stylesheet when in same origin 2018-10-05 23:06:51 +08:00
Yanzhen Yu
c24e0c6a2f refactor the test infra: use puppeteer instead of jsdom to get rid of some hack implementations 2018-10-05 22:26:18 +08:00
Yanzhen Yu
bd325870e7 refactor test infra so most test cases could be implemented by pure HTML 2018-10-03 22:48:42 +08:00
Yanzhen Yu
05e4103f7a replace script tag with noscript and inline the states of form field components 2018-09-30 17:38:44 +08:00
Yanzhen Yu
7d1cf13266 setup tests 2018-09-30 16:20:53 +08:00