Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/layout/reftests/forms/legend/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 1 kB image not shown  

Quelle  legend-padding-1-ref.html   Sprache: HTML

 
 products/sources/formale Sprachen/C/Firefox/layout/reftests/forms/legend/legend-padding-1-ref.html


<!DOCTYPE html>
<html>
<head>
  <title>Reference for bug 1483499</title>
  <style>
    legend, .legendRef {
      /* Here in the reference case, we explicitly specify padding, and we also
         use a custom-styled div as the reference case for any legend element
         that is not directly snapped into a fieldset border. */
      background: yellow;
      border: 1px solid brown;
      padding: 0px 2px;
    }
  </style>
</head>
<body>
<!-- Test: legend default styling shouldn't be affected
     by presence of a display:contents wrapper: -->

<fieldset>
  <legend>DisplayContentsWrapper</legend>
</fieldset>
<br>

<!-- Test: legend should get the same 2px of inline-axis padding, even
     if it's not inside of a fieldset at all. -->

<div class="legendRef">JustALegend</div>
<br>

<div class="legendRef">
  <div class="legendRef">NestedLegend</div>
</div>
<br>

<fieldset>
  <legend>
    <div class="legendRef">
      <div class="legendRef">NestedLegendInFieldset</div>
    </div>
  </legend>
</fieldset>

</body>
</html>

Messung V0.5
C=100 H=100 G=100

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