Eine aufbereitete Darstellung der Quelle

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

Benutzer

Quelle  smilAnimateMotionValueLists.js

  Sprache: JAVA
 

/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */


/* Lists of valid & invalid values for the various <animateMotion> attributes */
const gValidValues = [
  "10 10",
  "10 10;"// Trailing semicolons are allowed
  "10 10;  ",
  "   10   10em  ",
  "1 2  ; 3,4",
  "1,2;3,4",
  "0 0",
  "0,0",
];

const gInvalidValues = [
  ";10 10",
  "10 10;;",
  "1 2 3",
  "1 2 3 4",
  "1,2;3,4 ,",
  ",",
  " , ",
  ";",
  " ; ",
  "a",
  " a; ",
  ";a;",
  "",
  " ",
  "1,2;3,4,",
  "1,,2",
  ",1,2",
];

const gValidRotate = [
  "10",
  "20.1",
  "30.5deg",
  "0.5rad",
  "auto",
  "auto-reverse",
  " 10 ",
  "  10deg",
  "10deg ",
  " 10.1 ",
];

const gInvalidRotate = ["10 deg""10 rad    ""aaa"];

const gValidToBy = ["0 0""1em,2""50.3em 0.2in"" 1,2""1 2 "];

const gInvalidToBy = [
  "0 0 0",
  "0 0,0",
  "0,0,0",
  "1emm 2",
  "1 2;",
  "1 2,",
  " 1,2 ,",
  "abc",
  ",",
  "",
  "1,,2",
  "1,2,",
];

const gValidPath = [
  "m0 0     L30 30",
  "M20,20L10    10",
  "M20,20 L30, 30h20",
  "m50 50",
  "M50 50",
  "m0 0",
  "M0, 0",
];

// paths must start with at least a valid "M" segment to be valid
const gInvalidPath = ["M20in 20""h30""L50 50""abc"];

// paths that at least start with a valid "M" segment are valid - the spec says
// to parse everything up to the first invalid token
const gValidPathWithErrors = ["M20 20em""m0 0 L30,,30""M10 10 L50 50 abc"];

const gValidKeyPoints = [
  "0; 0.5; 1",
  "0;.5;1",
  "0; 0; 1",
  "0; 1; 1",
  "0; 0; 1;"// Trailing semicolons are allowed
  "0; 0; 1; ",
  "0; 0.000; 1",
  "0; 0.000001; 1",
];

// Should have 3 values to be valid.
// Same as number of keyTimes values
const gInvalidKeyPoints = [
  "0; 1",
  "0; 0.5; 0.75; 1",
  "0; 1;",
  "0",
  "1",
  "a",
  "",
  "  ",
  "0; -0.1; 1",
  "0; 1.1; 1",
  "0; 0.1; 1.1",
  "-0.1; 0.1; 1",
  "0; a; 1",
  "0;;1",
];

Messung V0.5 in Prozent
C=79 H=90 G=84

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






                                                                                                                                                                                                                                                                                                                                                                                                     


Neuigkeiten

     Aktuelles
     Motto des Tages

Open Source Software

     Quellcodebibliothek
     Eigene Quellcodes
     Fremde Quellcodes
     Suchen

Jenseits des Üblichen ....
    

Besucherstatistik

Besucherstatistik

Statistik
#Sources=277311
#Domains=752002