Specification link: 5.8 Conditional processing

struct-cond-01-t ← index → struct-cond-03-t

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

# struct-cond-02-t.svg
SVG Image | PNG Image

## Operator Script

Run the test. No interaction required.

## Pass Criteria

To pass, either the name (in English) of the current system language, or the names of the three languages (English, French and Japanese) of W3C must appear. The second case will occur if either the user language is not one of the (60 or so) languages present in the test, or if there is no user language information available.

It is an error to display no output; the last child of switch has no test, so it will always be taken unless a more suitable child has already evaluated to true.

In addition, the string "Why don't they just speak <language>" should appear in the center of the graphic, translated into that language. It is not an error for some or all of this string to display as 'missing character' glyphs, if no suitable font is available - however, this is unlikely if the language is indeed the users primary language. (It can easily occur during testing, however).

## Test Description

This tests ability to use the 'systemLanguage' as a test attribute within a switch element.

struct-cond-01-t ← index → struct-cond-03-t