Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/layout/style/test/   (Firefox Browser Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 844 B image not shown  

Quelle  test_pseudo_display_fixup.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/layout/style/test/test_pseudo_display_fixup.html


<!doctype html>
<meta charset=utf-8>
<title>Test item blockification of pseudo-elements</title>
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
  #test {
    display: flex;
  }
  #test::before, #test::after {
    content: "test";
    display: inline-block;
    color: green;
    /*
     * NOTE(emilio): The transition rule is very intentional, to avoid testing
     * the eagerly resolved style.
     */
    transition: color 1s ease;
  }
</style>
<div id="test"></div>
<script>
test(function() {
  document.body.offsetTop;
  let test = document.getElementById("test");
  assert_equals(getComputedStyle(test, "::before").display, "block");
  assert_equals(getComputedStyle(test, "::after").display, "block");
}, "::before and ::after pseudo-elements are blockified");
</script>

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

¤ Dauer der Verarbeitung: 0.10 Sekunden  (vorverarbeitet am  2026-06-06) ¤

*© Formatika GbR, Deutschland






Wurzel

Suchen

PVS Prover

Isabelle Prover

NIST Cobol Testsuite

Cephes Mathematical Library

Vienna Development Method

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.