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

Support 'image-resolution: <resolution>' #260

Merged
merged 2 commits into from
Jul 1, 2016
Merged

Conversation

kwkbtr
Copy link
Contributor

@kwkbtr kwkbtr commented Jun 30, 2016

  • Only applied to the followings: img elements, input elements with type=image, video elements with poster attribute and generated content images in pseudoelements.
  • The scaling is applied even if the image format is a vector format such as SVG. This behavior is not compliant to the spec (https://drafts.csswg.org/css-images/#the-image-resolution), but there is currently no way to distinguish image formats via DOM API.

- Only applied to the followings: `img` elements, `input` elements with `type=image`, `video` elements with `poster` attribute and generated content images in pseudoelements.
- The scaling is applied even if the image format is a vector format such as SVG. This behavior is not compliant to the spec (https://drafts.csswg.org/css-images/#the-image-resolution), but there is currently no way to distinguish image formats via DOM API.
@kwkbtr kwkbtr merged commit 16b7c43 into master Jul 1, 2016
@kwkbtr kwkbtr deleted the image-resolution-r#330 branch July 1, 2016 01:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant