The Aqua Regia Test: Test-suite

Before taking the test

This test-suite checks whether your user agent - browser with a graphical interface, screen reader, braille terminal, text browser etc - is compliant with some W3C standards. Note that this page is of course valid XHTML+MathML+SVG.

The structure of each test is:

  1. The number and title of the test
  2. An XML fragment of a Web page
  3. A question on this fragment and three possible answers.

For several reasons, the test-suite is written as a Quiz, but keep in mind that the purpose is not to check your IQ or something like that. In order to get the actual score of your browser, you have to adopt this behaviour for each question:

Sometimes, the XML fragment has content (image, quotation) that are not mine and consequently I put a link to the references in order to respect the copyright. These links do not belong to the test and you need not follow them to get the anwser of the question.

Test 1: PNG image and alternate text

The photo below [1] shows freshly prepared aqua regia to remove metal salt deposits.

Photo of Aqua Regia

According to the photo, what is the color of Aqua Regia?

Test 2: bidi algorithm and the xml:lang attribute

Aqua regia was first discovered around the year 800 by جابر ابن حيان who mixed common salt with vitriol.

What can you say about the man who discovered Aqua regia?

Test 3: MathML formulae and chemistry

The following chemical equations explains how aqua regia dissolves gold :

{ Au ( s ) + 3 N O 3 ( aq ) + 6 H + ( aq ) Au 3 + ( aq ) + 3 N O 2 ( g ) + 3 H 2 O ( l ) Au 3 + ( aq ) + 4 Cl ( aq ) Au Cl 4 ( aq )

According to these equations, what is NOT produced when dissolving gold:

Test 4: XLink in SVG images

A blue circle A red rectangle A green triangle

Among the shapes above, which one contains a link to an article about "Aqua Regia"?

Test 5: blockquote, CSS and the xml:lang attribute

In the paragraph below, a gold prospector enumerates the objects he owns [2]:

À la hâte, je ramasse les quelques objets qui sont ma trace dans ce monde, ma couverture kaki, mon sac de soldat, et mes outils d’orpailleur, batée, tamis, flacon d’eau régale.

The bottle of "Aqua Regia" enables gold seekers to check whether a metal is gold, using the "Acid Test".

The example above contains:

Test 6: del, ins and MathML formula

The generalized continuum hypothesis (GCH) is the statement that for all cardinal κ , 2 κ = κ + for all ordinal α, 2 α = α + 1 . Gödel proved that given a model of ZF, one can build a class L which is a model of ZFC and satisfies the generalized continum hypothesis. Hence the consistency of ZF implies the one of ZFC + GCH.

What can you say about this paragraph?

Test 7: Animated SVG

Animated construction of a smiley This SVG image initially represents some black, red and orange shapes. Then, this shapes a removed by rotation, translation, scale etc At the end, you get a yellow smiley with green eyes, similar to theone of Acid Test2.

What does the SVG image represent at the end of the animation?

Test 8: MathML formula inside a SVG diagram

A black ball V = 4 3 π R 3 A black square

Which object contains a formula?

Test 9: XLink in MathML formula

a b x x = a b n = 0 + x n n ! x = n = 0 + a b x n n ! x = n = 0 + [ x n + 1 ( n + 1 ) ! ] a b = [ n = 0 + x n + 1 ( n + 1 ) ! ] a b = [ x 1 ] a b = b a

Among the seven members of the sequence of equalities, which one contains a link to an article about "Aqua Regia"?

Test 10: Ruby annotation and the xml:lang attribute

Here is an example of a ruby annotation [3] :

民政局みんせいきょくガバメント・セクシヨン

What can you say about this example?

Test 11 : Content MathML

The probability density function of the normal distribution is 1 σ 2 1 2 x μ σ 2

What can you say about this function when μ = 0 and σ = 1?

Test 12 : XHTML and MathML inside Animated SVG

We consider two crashes :

  • A car hits a wall at the speed v .
  • The same car falls from a height h .

How must we choose the height h so that the two crashes are equivalent? We can reason using the concept of energy. In the first case, the kinetic energy of the car is always E k = 1 2 m v 2 . In the second one, the kinetic energy of the car when the impact occurs is its initial potential energy E p = m g h . Hence we get : h = v 2 2 g . If we take g = 9.8 m . s 2 and v = 30 m . s 1 = 108 km . h 1 = 67 mph , the initial height must be : h = 46 m = 151 ft .

A wall (grey square) at the left bottom corner. A red car at the bottom, going from the left to right where ithit the wall. E k = 1 2 m v 2 A red car on the right, falling on the wall. E p = m g h

According to the previous paragraph, if the car at the bottom has a speed v = 108 km . h 1 = 67 mph then to get an equivalent crash, the initial height of the car on the right must be the same as the one of :

Result of the test-suite

Now, press the button to see the result :

References

  1. Photo of aqua regia from Wikipedia, released into the public domain.
  2. Le Chercheur d'or, J.M.G. Le Clézio. -- update october 2008: cocorico! The Nobel Prize is awarded to Le Clézio.
  3. Ruby Markup and Styling