Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[TASK] Test :only-of-type #760

Merged
merged 1 commit into from
Sep 30, 2019
Merged

[TASK] Test :only-of-type #760

merged 1 commit into from
Sep 30, 2019

Conversation

JakeQZ
Copy link
Contributor

@JakeQZ JakeQZ commented Sep 30, 2019

Added a “broken: …” comment placeholder to indicate that support for
:only-of-type with the Symfony CssSelector component has been checked and
found to be broken (see symfony/symfony#33773),
suggesting tests to be added when it is fixed.

(It does not make sense to support a feature that is broken the way it is – for
email clients that support :only-of-type, the desired result will currently
only be achieved if rules involving it are copied to a <style> element, rather
than being only partially inlined.)

Added test to confirm rules with :only-of-type are copied to a <style>
element.

In the README, added :only-of-type to the list of unsupported static
pseudo-classes that are copied to a <style> element rather than being inlined.

Part of #748.

Added a “broken: …” comment placeholder to indicate that support for
`:only-of-type` with the Symfony CssSelector component has been checked and
found to be broken (see symfony/symfony#33773),
suggesting tests to be added when it is fixed.

(It does not make sense to support a feature that is broken the way it is – for
email clients that support `:only-of-type`, the desired result will currently
only be achieved if rules involving it are copied to a `<style>` element, rather
than being only partially inlined.)

Added test to confirm rules with `:only-of-type` are copied to a `<style>`
element.

In the README, added `:only-of-type` to the list of unsupported static
pseudo-classes that are copied to a `<style>` element rather than being inlined.

Part of #748.
@oliverklee oliverklee merged commit 688b371 into master Sep 30, 2019
@oliverklee oliverklee deleted the test/only-of-type branch September 30, 2019 21:09
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants