Anforderungen  |   Konzepte  |   Entwurf  |   Entwicklung  |   Qualitätssicherung  |   Lebenszyklus  |   Steuerung
 
 
 
 


Quelle  712600-3-ref.html   Sprache: HTML

 
 products/sources/formale Sprachen/C/Firefox/layout/reftests/bidi/712600-3-ref.html


<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8">
    <title>HTML Test: BDI: neutral when wrapped</title>
    <link rel="reference" href="bdi-neutral-wrapped-ref.html">
    <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com">
    <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googlegroups.com">
    <link rel="help" href="http://dev.w3.org/html5/spec/Overview.html#the-bdi-element">
    <meta name="assert" content="
      'For the purposes of applying the bidirectional algorithm to the paragraph-level
      container that a bdi element finds itself within, the bdi element must be treated
      like a U+FFFC OBJECT REPLACEMENT CHARACTER.'

      Obviously, this should hold even if the BDI's content is wrapped over more than one line.
      A single character (U+FFFC or otherwise) obviously never gets wrapped over more than one
      line, but we still expect the part of the content preceding the BDI, if any, that is
      displayed on the same line as some part of the BDI to be ordered the same as it would be
      if that part of the BDI were replaced with U+FFFC. Similarly, we expect the part of the
      content following the BDI, if any, that is displayed on the same line as some part of the
      BDI to be ordered the same as it would be if that part of the BDI were replaced with U+FFFC.
      
      In the test below, the content surrounding the BDI forms a single directional run (despite
      the containing element and the BDI both having the opposite direction, because the BDI is
      treated as a neutral). Thus, on the line containing the first part of the BDI, the BDI's
      content appears after the content preceding it, and on the line containing the last part of
      the BDI, the BDI content appears before the content following it, where both 'before' and
      'after' are defined relative to the surrounding content's direction. And, of course, the line
      containing just BDI content should be ordered in the BDI's direction.">
    <style>
      body{
        font-size:2em;
      }
      .box {
        border: medium solid gray;
        width: 400px;
        margin: 20px;
      }
    </style>
  </head>
  <body>
    <!-- Key to entities used below:
      א ... ו - The first six Hebrew letters (strongly RTL).
      ‭ - The LRO (left-to-right-override) formatting character.
      ‬ - The PDF (pop directional formatting) formatting character; closes LRO. -->

    <div class="box">
      <div dir="ltr">‭b < א‬<br/>‭>>>‬<br/>‭ד < c...‬</div>
      <div dir="rtl">‭a > ב‬<br/>‭<<<‬<br/>‭...ג > d‬</div>
    </div>
  </body>
</html>

Messung V0.5
C=95 H=93 G=93

¤ Dauer der Verarbeitung: 0.9 Sekunden  (vorverarbeitet)  ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

Beweissystem der NASA

Beweissystem Isabelle

NIST Cobol Testsuite

Cephes Mathematical Library

Wiener Entwicklungsmethode

Haftungshinweis

Die Informationen auf dieser Webseite wurden nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit, noch Qualität der bereit gestellten Informationen zugesichert.

Bemerkung:

Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Software

     Produkte
     Quellcodebibliothek

Aktivitäten

     Artikel über Sicherheit
     Anleitung zur Aktivierung von SSL

Muße

     Gedichte
     Musik
     Bilder

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Monitoring

Montastic status badge