From 343393c98a0e7e59a67e9943009e0182d3235b0f Mon Sep 17 00:00:00 2001 From: David Storey Date: Mon, 7 Dec 2015 17:38:49 -0800 Subject: [PATCH] Update image-resolution, image-rendering, and image-orientation descriptions, spec links. --- .../css/common/buildscripts/css-schema.xml | 16 ++++++++++------ 1 file changed, 10 insertions(+), 6 deletions(-) diff --git a/src/vs/languages/css/common/buildscripts/css-schema.xml b/src/vs/languages/css/common/buildscripts/css-schema.xml index d75ecaf9961..10c75aa6c3b 100644 --- a/src/vs/languages/css/common/buildscripts/css-schema.xml +++ b/src/vs/languages/css/common/buildscripts/css-schema.xml @@ -5642,7 +5642,7 @@ - This property specifies an orthogonal rotation to be applied to an image before it is laid out. + Specifies an orthogonal rotation to be applied to an image before it is laid out. After rotating by the precededing angle, the image is flipped horizontally. Defaults to 0deg if the angle is ommitted. @@ -5652,8 +5652,8 @@ - - The creator of SVG content might want to provide a hint to the implementation about how to make speed vs. quality tradeoffs as it performs image processing. The ‘image-rendering’ property provides a hint to the SVG user agent about how to optimize its image rendering. + + Provides a hint to the user-agent about what aspects of an image are most important to preserve when the image is scaled, to aid the user-agent in the choice of an appropriate scaling algorithm. The image should be scaled with an algorithm that maximizes the appearance of the image. @@ -5662,15 +5662,19 @@ The image must be scaled with an algorithm that preserves contrast and edges in the image, and which does not smooth colors or introduce blur to the image in the process. - - + + Deprecated. + + + Deprecated. + When scaling the image up, the 'nearest neighbor' or similar algorithm must be used, so that the image appears to be simply composed of very large pixels. - The 'image-resolution' property specifies the intrinsic resolution of all raster images used in or on the element. + Specifies the intrinsic resolution of all raster images used in or on the element. The image's intrinsic resolution is taken as that specified by the image format. If the image does not specify its own resolution, the explicitly specified resolution is used (if given), else it defaults to '1dppx'. -- GitLab