layout/reftests/svg/viewBox-valid-02.xhtml

Wed, 31 Dec 2014 07:16:47 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Wed, 31 Dec 2014 07:16:47 +0100
branch
TOR_BUG_9701
changeset 3
141e0f1194b1
permissions
-rw-r--r--

Revert simplistic fix pending revisit of Mozilla integration attempt.

     1 <?xml version="1.0"?>
     2 <!--
     3      Any copyright is dedicated to the Public Domain.
     4      http://creativecommons.org/publicdomain/zero/1.0/
     5 -->
     6 <html xmlns="http://www.w3.org/1999/xhtml">
     7 <head>
     8   <title>Test viewBox translating out-of-viewport rect into viewport</title>
     9   <!-- From https://bugzilla.mozilla.org/show_bug.cgi?id=773450 -->
    10   <style>
    12 div, svg {
    13   display: block;
    14   position: absolute;
    15   width: 100px;
    16   height: 100px; 
    17 }
    19   </style>
    20 </head>
    21 <body bgcolor="lime">
    22   <div style="background:red;"/>
    23   <svg viewBox="100 0 100 100" xmlns="http://www.w3.org/2000/svg">
    24     <rect x="100" y="0" width="100" height="100" fill="lime"/>
    25   </svg>
    26 </body>
    27 </html>

mercurial