Specification link: 15.8 Light source elements and properties

filters-light-04-f ← index → filters-morph-01-f

Tests that contain the draft-watermark are under development and may be incorrectly testing a feature.

# filters-light-05-f.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

The test has passed if

- The top row has from left to right for a single graphic set:
  - A green square with a black circle inside of it
  - A black square
  - A black square with a green semicircle inside the lefthand side of the rect
  - A black square with a green semicircle inside the righthand side of the rect
- The middle row has from left to right for a single graphic set:
  - A green square with a white circle inside of it
  - A green semicircle pointing to the right on top of a white background
  - A green square with a white crest inside pointing to the right
  - A green square with a white crest inside pointing to the left
- The bottom row has from left to right for a single graphic set:
  - A green square with a black circle inside of it
  - A black square with a green semicircle inside pointing to the right
  - A green square with a circle inside that has a shadow on the righthand side and a reflection on the lefthand side
  - A green square with a circle inside that has a shadow on the lefthand side and a reflection on the righthand side

If the test shows any red, the test has failed.

## Test Description

This test verifies that the 'elevation' attribute is interpreted as a complementary value to the z-axis in degrees.

The test shows four different elevation angles that can be used for feDistantLight source. The four different feDistantLight light sources are used in three different filter cases; feDiffuseLight, feSpecularLight and feMerge which merges both feDiffuseLight and feSpecularLight to form a single filter. Using four different elevation values in three different filter cases gives twelve different filters. All twelve filter cases are applied to a vector graphic and then to a raster graphic. The vector graphic results are shown to the left and the raster graphic results are shown to the right.

filters-light-04-f ← index → filters-morph-01-f