Filip Slatinac
30bbd9e21d
Added srcset support ( #18 )
...
* added src set as a parsed attribute
* added tests
* changed to /a
* added multiple attribute handling
* added better comment
* made snapshot ignore invalid input as if it is invalid input in the original DOM, it should stay invalid in the recreated DOM
* added extra absolute test case
* code style
* addressed comments
2019-10-01 11:32:50 +08:00
Whalefreezer
78c8c11e6b
add support for css @import rules ( #11 )
2019-05-06 21:56:33 +08:00
Yanzhen Yu
687c710fe9
iterate style element to get css rules string
2019-02-17 16:34:28 +08:00
Yanzhen Yu
d8c5ae5ae6
handle block element
2018-12-02 23:06:36 +08:00
Yanzhen Yu
7f806128ed
add hover class to :hover related css rules
2018-10-31 19:02:26 +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
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