Commit Graph

12 Commits

Author SHA1 Message Date
Rafael Oleza
d7d6d0838f Remove unused vars from specs 2019-02-28 19:30:03 +01:00
Rafael Oleza
c35ec012b4 Run prettier on spec/ folder 2019-02-28 19:30:03 +01:00
Jason Rudolph
c9e6d04e8c
Revert "Merge #18603 from atom/electron-3-0"
This reverts commit b92ae2ad04, reversing
changes made to d4fe5ccfeb.
2019-02-25 13:41:59 -05:00
David Wilson
11ed91300b Update StyleManager specs to address deprecated ::shadow selectors
As of Chromium 63, ::shadow CSS selectors have been fully removed:

https://developers.google.com/web/updates/2017/10/remove-shadow-piercing

As a result, any usage of ::shadow in a stylesheet seems to get removed as soon
as the stylesheet is applied to an HTMLStyleElement.  Since we have a couple of tests
that expect ::shadow selectors to be present, we must remove those expectations
since those selectors do not appear any longer.
2019-01-22 13:44:35 -08:00
Ash Wilson
dc9fe25255
Wrap temp.cleanupSync() calls in try-catch blocks 2017-08-04 14:18:43 -04:00
Antonio Scandurra
93f2e34ded Don't transform deprecated selectors containing malformed CSS 2017-01-20 15:09:57 +01:00
Damien Guard
3fd1dbdce3
Clean up temporary files when running specs 2016-12-01 10:48:45 -08:00
Nathan Sobo
4ccd700871 Preserve specificity when transforming atom-text-editor::shadow
Simply replace ::shadow with .editor to preserve the specificity of the
transformed rule. This isn't beautiful, but it's the only way to
guarantee that the styling transition is smooth enough to justify not
bumping the major.
2016-11-01 11:23:29 -06:00
Antonio Scandurra
07d56b23f0 Cache style sheet deprecated selectors transformations in StyleManager 2016-10-07 10:40:41 +02:00
Antonio Scandurra
4db895c731 Transform also more complex atom-text-editor selectors 2016-10-07 10:40:41 +02:00
Antonio Scandurra
80fc448b8d Transform deprecated shadow DOM selectors in StyleManager 2016-10-07 10:40:41 +02:00
Antonio Scandurra
7174b54139 Convert style-manager-spec to JavaScript 2016-10-07 10:40:41 +02:00