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


Quelle  mask-invalidation-1b.html   Sprache: HTML

 
 products/Sources/formale Sprachen/C/Firefox/layout/reftests/invalidation/mask-invalidation-1b.html


<!DOCTYPE html>
<html class="reftest-wait">
  <head>
    <meta charset="utf-8">
    <title>CSS Masking: mask invalidation.</title>
    <style type="text/css">
      div.outer {
        background-color: purple;
        position: absolute;
        margin: 1px 2px 3px 4px;
        border: solid purple;
        width: 40px;
        height: 20px;
      }

      div.inner {
        width: 10px;
        height: 10px;
        border: 1px solid transparent;
        will-change: transform;
      }

      div.mask {
        mask-size: 100% 100%;
        mask-origin: border-box;
        mask-image: url('data:image/svg+xml,');
      }

      #d1 {
        top: 10px;
        left: 10px;
        mask-clip: padding-box;
        border-width: 10px;
        padding: 0px;
      }

      #d2 {
        top: 10px;
        left: 110px;
        mask-clip: padding-box;
        border-width: 0px;
        padding: 10px;
      }

      #d3 {
        top: 15px;
        left: 215px;
        mask-clip: content-box;
        border-width: 10px;
        padding: 0px;
      }
    </style>
  </head>
  <body>
    <div id="d1" class="outer mask"><div class="inner"></div></div>
    <div id="d2" class="outer mask"><div class="inner"></div></div>
    <div id="d3" class="outer mask"><div class="inner"></div></div>
    <script type="text/javascript">
      function invalidateMaskedElements()
      {
        // Shrink border area, thicken padding area. Keep ths size of this
        // division unchanged.
        document.getElementById("d1").style.borderWidth = "5px";
        document.getElementById("d1").style.padding = "5px";

        // Shrink padding area, thicken border area. Keep ths size of this
        // division unchanged.
        document.getElementById("d2").style.borderWidth = "5px";
        document.getElementById("d2").style.padding = "5px";

        // Shrink border area, thicken content area. Keep ths size of this
        // division unchanged.
        document.getElementById("d3").style.width = "50px";
        document.getElementById("d3").style.height = "30px";
        document.getElementById("d3").style.borderWidth = "0px";

        document.documentElement.removeAttribute("class");
      }

      document.addEventListener("MozReftestInvalidate",
                                invalidateMaskedElements);
    </script>
  </body>
</html>

Messung V0.5
C=96 H=98 G=96

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