layout/reftests/svg/svg-integration/dynamic-conditions-outer-svg-02.xhtml

changeset 0
6474c204b198
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/layout/reftests/svg/svg-integration/dynamic-conditions-outer-svg-02.xhtml	Wed Dec 31 06:09:35 2014 +0100
     1.3 @@ -0,0 +1,18 @@
     1.4 +<!--
     1.5 +     Any copyright is dedicated to the Public Domain.
     1.6 +     http://creativecommons.org/publicdomain/zero/1.0/
     1.7 +-->
     1.8 +<html xmlns="http://www.w3.org/1999/xhtml"
     1.9 +      xmlns:svg="http://www.w3.org/2000/svg">
    1.10 +<head>
    1.11 +  <title>Test that conditional processing attributes on outer 'svg' elements are honored</title>
    1.12 +  <!-- https://bugzilla.mozilla.org/show_bug.cgi?id=615146 -->
    1.13 +  <style>svg { position: absolute; top: 0; left: 0; width: 100%; height: 100%; }</style>
    1.14 +</head>
    1.15 +<body onload="document.getElementById('a').removeAttribute('requiredExtensions')">
    1.16 +
    1.17 +<svg:svg><svg:rect width="100%" height="100%" fill="red"/></svg:svg>
    1.18 +<svg:svg id="a" requiredExtensions="x"><svg:rect width="100%" height="100%" fill="lime"/></svg:svg>
    1.19 +
    1.20 +</body>
    1.21 +</html>

mercurial