Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Firefox/testing/web-platform/tests/jpegxl/   (Firefox Browser Version 153.0.1©)  Datei vom 27.6.2026 mit Größe 1 kB image not shown  

Quelle  css-image-usage.html

  Sprache: HTML
 

 products/Sources/formale Sprachen/C/Firefox/testing/web-platform/tests/jpegxl/css-image-usage.html


<!DOCTYPE html>
<title>JPEG XL integration: CSS image uses</title>
<link rel="help" href="https://github.com/web-platform-tests/interop-jpegxl">
<script src="/resources/testharness.js"></script>
<script src="/resources/testharnessreport.js"></script>
<style>
  #bg {
    width: 30px;
    height: 30px;
    background-image: url('resources/3x3_srgb_lossless.jxl');
  }

  #content::before {
    content: url('resources/3x3_srgb_lossless.jxl');
  }

  #imageset {
    width: 30px;
    height: 30px;
    background-image: image-set(url('resources/3x3_srgb_lossless.jxl'1x);
  }

  #list {
    list-style-image: url('resources/3x3_srgb_lossless.jxl');
  }
</style>

<div id="bg"></div>
<div id="content"></div>
<div id="imageset"></div>
<ul><li id="list">item</li></ul>

<script>
promise_test(async () => {
  const bg = getComputedStyle(document.getElementById('bg')).backgroundImage;
  const before = getComputedStyle(document.getElementById('content'), '::before').content;
  const set = getComputedStyle(document.getElementById('imageset')).backgroundImage;
  const list = getComputedStyle(document.getElementById('list')).listStyleImage;

  assert_true(bg.includes('.jxl'));
  assert_true(before.includes('.jxl'));
  assert_true(set.includes('.jxl'));
  assert_true(list.includes('.jxl'));
}, 'CSS properties accept JPEG XL image URLs');
</script>

Messung V0.5 in Prozent
C=87 H=96 G=91

¤ Dauer der Verarbeitung: 0.14 Sekunden  (vorverarbeitet am  2026-08-25) ¤

*© 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.