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


Quelle  printpreview_pps_uw4_ref.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/layout/base/tests/chrome/printpreview_pps_uw4_ref.html


<!DOCTYPE html>
<!-- This is a reference case for a "4-pages-per-sheet" scenario. This file is
     a mockup of a sheet with 4 pages, with the pages all having a 0.4x scale
     scale factor applied. (We end up with that scale factor by subtracting the
     requested unwriteable margins from the sheet, and dividing up the
     remaining space equally among the "virtual pages".)  -->

<style>
html {
  display: flex;
  height: 100%;
  margin: 0;
}
body {
  /* As a flex item (a child of the html element), fill the available area. */
  flex: 1;

  /* We lay out the body as a column-oriented flex container (whose children,
     in turn, are rows). */
  display: flex;
  flex-direction: column;

  /* These values come directly from the unwriteableMargin values in the
     testcase's configuration code in printpreview_helper.xhtml. */
  margin-top: 0.6in;
  margin-right: 0.1in;
  margin-bottom: 0.4in;
  margin-left: 0.3in;
}

.row {
  /* Give each row an equal share of the available height: */
  flex: 1;

  /* ...and render them as row-oriented (by default) flex containers: */
  display: flex;
}

.swatch {
  box-sizing: border-box;

  /* These represent the 120px borders in the testcase, scaled down 0.4x: */
  border: 48px solid;

  /* Share the width equally among the swatches. (The height will be
     automatically set to the flex container's row height, via default
     'align-self' behavior.) */
  flex: 1;

  /* These values come directly from the unwriteableMargin values in the
     testcase's configuration code in printpreview_helper.xhtml, with
     each measurement scaled down by exactly 0.4x. The extra 0.1in accounts
     for the centering of each page in its grid cell. */
  margin-top: 0.24in;
  margin-right: calc(0.04in + 0.1in);
  margin-bottom: 0.16in;
  margin-left: calc(0.12in + 0.1in);
}
.row:nth-child(1) > .swatch:nth-child(1) { border-color: cyan; }
.row:nth-child(1) > .swatch:nth-child(2) { border-color: yellow; }
.row:nth-child(2) > .swatch:nth-child(1) { border-color: pink; }
.row:nth-child(2) > .swatch:nth-child(2) { border-color: orange; }
</style>
<div class="row">
  <div class="swatch"></div>
  <div class="swatch"></div>
</div>
<div class="row">
  <div class="swatch"></div>
  <div class="swatch"></div>
</div>

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

¤ Dauer der Verarbeitung: 0.12 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