James Bradley
bfaff6b0e1
H tags ( #28 )
...
* Failing test
* Allow numbers in el name tests
* Allow numbers in el names
2026-04-01 12:00:00 +08:00
Yanzhen Yu
35070d9dcc
add media state check
2026-04-01 12:00:00 +08:00
Filip Slatinac
44eddcc900
added cssText check ( #23 )
...
* added cssText check
* added testing
2026-04-01 12:00:00 +08:00
Filip Slatinac
5c23514fca
replacing invalid tag names by div ( #22 )
2026-04-01 12:00:00 +08:00
Yanzhen Yu
5c214f42b8
add picture tag test
2026-04-01 12:00:00 +08:00
Filip Slatinac
1467f97f43
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
2026-04-01 12:00:00 +08:00
Whalefreezer
68b97e40a2
add support for css @import rules ( #11 )
2026-04-01 12:00:00 +08:00
Yanzhen Yu
29f2e42978
iterate style element to get css rules string
2026-04-01 12:00:00 +08:00
Yanzhen Yu
2d1d3596b8
handle block element
2026-04-01 12:00:00 +08:00
Yanzhen Yu
7aa3410aea
update the test snapshot
2026-04-01 12:00:00 +08:00
Yanzhen Yu
c458db3d8e
ignore iframe src attribute
2026-04-01 12:00:00 +08:00
Yanzhen Yu
efcbd0faf1
add hover class to :hover related css rules
2026-04-01 12:00:00 +08:00
Yanzhen Yu
9a4c21c30f
refactor rebuild implementation which mount DOM onto the target document object
2026-04-01 12:00:00 +08:00
Yanzhen Yu
875385552d
impl the extra child data attribute to align id map
2026-04-01 12:00:00 +08:00
Yanzhen Yu
e7753e1c24
change relative path into absolute path
2026-04-01 12:00:00 +08:00
Yanzhen Yu
87ff591cd1
use jest-snapshot to apply the snapshot testing
2026-04-01 12:00:00 +08:00