layout/reftests/svg/text/simple-rtl-ref.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!--
     2      Any copyright is dedicated to the Public Domain.
     3      http://creativecommons.org/publicdomain/zero/1.0/
     4 -->
     5 <!DOCTYPE html>
     6 <meta charset=UTF-8>
     7 <style>
     8 html, body { margin: 0 }
     9 svg, div { display: inline-block; width: 700px; height: 200px }
    10 div { font: 16px sans-serif; position: relative; margin-left: -700px; vertical-align: 100px }
    11 div { text-align: right; width: 200px }
    12 span { position: relative; right: 100px }
    13 </style>
    14 <body>
    15 <svg></svg><div><span>אבגדה</span></div>

mercurial