Conversation
a3a9790 to
f308436
Compare
|
Thanks for contributing! A maintained version of cssom would be very welcome. To merge this, we'd need a test that fails before this change, and passes afterward. We also do not maintain older major versions of jsdom, so you'd need to work with jest-environment-jsdom to get them updated if you wanted to use this indirectly. |
|
Thanks @domenic. As for the test, would you mind telling me what I'm missing. When I run |
|
Hmm. That file should be generated automatically as part of the command: jsdom/test/web-platform-tests/run-tuwpts.js Lines 15 to 16 in 79c351b |
|
The Shall I add a new test file in the |
|
Yeah, that pattern works reasonably well and is one we've used in the past. We name the resulting files |
|
Hi @domenic, I've added the tests. Please let me know if this PR needs anything else. |
|
I won't know until I have time to review, which usually happens on weekends, although not every weekend. |
domenic
left a comment
There was a problem hiding this comment.
This looks good. However we should avoid having two versions of cssom, one indirectly via https://github.com/jsdom/cssstyle . That repo isn't maintained that well either (help welcome...) but I think I have permissions to push a new version with dependencies updated, at least...
This includes: * A replacement of cssom with rrweb-cssom, matching jsdom/jsdom#3497. Closes #153. * An update to the download_latest_properties.js script to stop using request. * A regeneration of the list of properties. Closes #150. * Some style updates to most generated files, for unclear reasons.
This includes: * A replacement of cssom with rrweb-cssom, matching jsdom/jsdom#3497. Closes #153. * An update to the download_latest_properties.js script to stop using request. * A regeneration of the list of properties. Closes #150. * Some style updates to most generated files, for unclear reasons.
This includes: * A replacement of cssom with rrweb-cssom, matching jsdom/jsdom#3497. Closes #153. * An update to the download_latest_properties.js script to stop using request. * A regeneration of the list of properties. Closes #150. * Some style updates to most generated files, for unclear reasons.
|
It turns out I have permission to edit cssstyle on GitHub, but not to publish to npm. I've emailed the people who do have such permissions asking for them to assign them over to me. But unfortunately that means there will be a bit of a delay before we can get this merged. |
Fixes #3452
I didn't see any feedback on the issue, but thought I'd go ahead and open a PR for swapping
cssomwithrrweb-cssomto address this warning we're seeing in our unit tests:In short, there's a PR to fix this issue in
cssom, but looks like that repo is no longer maintained. The rrweb fork contains this fix: NV/CSSOM@master...rrweb-io:CSSOM:master so we're hoping you're open to swapping the two.Assuming you're OK with this change, I'd ultimately like for this to get into a 20.x release since that's the version
jest-environment-jsdomis currently using.