hexsha
stringlengths 40
40
| size
int64 8
1.04M
| content
stringlengths 8
1.04M
| avg_line_length
float64 2.24
100
| max_line_length
int64 4
1k
| alphanum_fraction
float64 0.25
0.97
|
---|---|---|---|---|---|
ee08094fb54baab50557dc7e0adee5db9c6e3cc3 | 6,213 | /**
* Copyright (c) 2003-2010, Xith3D Project Group all rights reserved.
*
* Portions based on the Java3D interface, Copyright by Sun Microsystems.
* Many thanks to the developers of Java3D and Sun Microsystems for their
* innovation and design.
*
* Redistribution and use in source and binary forms, with or without
* modification, are permitted provided that the following conditions are met:
*
* Redistributions of source code must retain the above copyright notice,
* this list of conditions and the following disclaimer.
*
* Redistributions in binary form must reproduce the above copyright notice,
* this list of conditions and the following disclaimer in the documentation
* and/or other materials provided with the distribution.
*
* Neither the name of the 'Xith3D Project Group' nor the names of its
* contributors may be used to endorse or promote products derived from this
* software without specific prior written permission.
*
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
* AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
* IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
* ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE
* LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
* CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
* SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
* INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
* CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) A
* RISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
* POSSIBILITY OF SUCH DAMAGE
*/
package org.xith3d.loaders.sound.impl.wav;
import java.io.File;
import java.io.IOException;
import java.io.InputStream;
import java.net.URL;
import java.nio.ByteBuffer;
import java.nio.channels.Channels;
import java.nio.channels.ReadableByteChannel;
import javax.sound.sampled.AudioFormat;
import javax.sound.sampled.AudioInputStream;
import javax.sound.sampled.AudioSystem;
import javax.sound.sampled.UnsupportedAudioFileException;
import org.jagatoo.util.nio.BufferUtils;
import org.xith3d.loaders.sound.SoundLoader;
import org.xith3d.sound.BufferFormat;
/**
* This is a SoundLoader implementation for Wave sounds (.wav).
*
* @author Marvin Froehlich (aka Qudus)
*/
public class WaveLoader extends SoundLoader
{
/**
* The default extension to assume for Wave files.
*/
public static final String DEFAULT_EXTENSION = "wav";
private static WaveLoader singletonInstance = null;
/**
* @return the WaveLoader instance to use as singleton.
*/
public static WaveLoader getInstance()
{
if ( singletonInstance == null )
singletonInstance = new WaveLoader();
return ( singletonInstance );
}
/**
* This method loads audio data into a WAVData object.
*
* @author Athomas Goldberg
* @author Yuri Vl. Gushchin
*
* @param aIn AudioInputStream that contains audio data to load
* @return a WAVData object containing the audio data
* @throws UnsupportedAudioFileException if the format of the audio if not
* supported.
* @throws IOException If the file can no be found or some other IO error
* occurs
*/
private static WaveData loadFromAudioInputStream( AudioInputStream aIn ) throws UnsupportedAudioFileException, IOException
{
WaveData result = null;
ReadableByteChannel aChannel = Channels.newChannel( aIn );
AudioFormat fmt = aIn.getFormat();
int numChannels = fmt.getChannels();
int bits = fmt.getSampleSizeInBits();
BufferFormat format = null;
try
{
format = BufferFormat.getFromValues( bits, numChannels );
}
catch ( IllegalArgumentException e )
{
e.printStackTrace();
format = BufferFormat.MONO8;
}
int freq = Math.round( fmt.getSampleRate() );
int size = aIn.available();
ByteBuffer buffer = BufferUtils.createByteBuffer( size ); // Check, if default byte order is native order!
aChannel.read( buffer );
result = new WaveData( buffer, format, size, freq, false );
aIn.close();
return ( result );
}
/**
* {@inheritDoc}
*/
@Override
public WaveSoundContainer loadSound( InputStream in ) throws IOException
{
try
{
WaveData wd = loadFromAudioInputStream( AudioSystem.getAudioInputStream( in ) );
WaveSoundContainer container = new WaveSoundContainer( wd );
return ( container );
}
catch ( UnsupportedAudioFileException e )
{
IOException e2 = new IOException();
e2.initCause( e );
throw e2;
}
}
/**
* {@inheritDoc}
*/
@Override
public WaveSoundContainer loadSound( URL url ) throws IOException
{
try
{
WaveData wd = loadFromAudioInputStream( AudioSystem.getAudioInputStream( url ) );
WaveSoundContainer container = new WaveSoundContainer( wd );
return ( container );
}
catch ( UnsupportedAudioFileException e )
{
IOException e2 = new IOException();
e2.initCause( e );
throw e2;
}
}
/**
* {@inheritDoc}
*/
@Override
public WaveSoundContainer loadSound( String filename ) throws IOException
{
try
{
WaveData wd = loadFromAudioInputStream( AudioSystem.getAudioInputStream( new File( filename ) ) );
WaveSoundContainer container = new WaveSoundContainer( wd );
return ( container );
}
catch ( UnsupportedAudioFileException e )
{
IOException e2 = new IOException();
e2.initCause( e );
throw e2;
}
}
}
| 33.403226 | 126 | 0.649928 |
dba0e2be7669e5bb3dc70b1822ac652293ff82b2 | 172 | package com.intellij.openapi.actionSystem;
/**
* Analogue of ToggleAction for option popups
*
* @author Konstantin Bulenkov
*/
public interface CheckedActionGroup {
}
| 17.2 | 45 | 0.761628 |
655f9d60603831895027a70f50449f6c6730d594 | 420 | package me.doggy.app.ui.main;
import android.content.Context;
import android.util.AttributeSet;
import android.view.View;
import androidx.annotation.NonNull;
import com.google.android.material.appbar.AppBarLayout;
public class FixedAppBarLayoutBehavior extends AppBarLayout.ScrollingViewBehavior {
public FixedAppBarLayoutBehavior(Context context, AttributeSet attrs) {
super(context, attrs);
}
} | 22.105263 | 83 | 0.795238 |
5101a6ac5e54296db170f8e881b8f7595c7beb96 | 709 | package com.artifex.mupdf.fitz;
public class Font
{
private long pointer;
protected native void finalize();
public void destroy() {
finalize();
pointer = 0;
}
private native long newNative(String name, int index);
private Font(long p) {
pointer = p;
}
public Font(String name, int index) {
pointer = newNative(name, index);
}
public Font(String name) {
pointer = newNative(name, 0);
}
public native String getName();
public native int encodeCharacter(int unicode);
public native float advanceGlyph(int glyph, boolean wmode);
public float advanceGlyph(int glyph) {
return advanceGlyph(glyph, false);
}
public String toString() {
return "Font(" + getName() + ")";
}
}
| 17.292683 | 60 | 0.692525 |
623099dec0a90c6cb34246aebabd3a2e3055ca93 | 5,063 | /*
* Copyright 2016 Code Above Lab LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.codeabovelab.dm.common.security.acl;
import com.codeabovelab.dm.common.security.MultiTenancySupport;
import com.codeabovelab.dm.common.security.dto.ObjectIdentityData;
import com.codeabovelab.dm.common.utils.Uuids;
import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.google.common.collect.ImmutableList;
import lombok.Data;
import org.springframework.util.Assert;
import java.util.*;
/**
* Immutable source for acl.
* We use classes instead of ifaces because need correct serialization to json.
*/
@Data
public class AclSource {
@Data
public static class Builder {
private final Map<String, AceSource> entries = new LinkedHashMap<>();
private ObjectIdentityData objectIdentity;
private TenantSid owner;
private AclSource parentAcl;
private boolean entriesInheriting;
public Builder from(AclSource acl) {
if(acl == null) {
return this;
}
this.setEntries(acl.getEntries());
this.setObjectIdentity(acl.getObjectIdentity());
this.setOwner(acl.getOwner());
this.setParentAcl(acl.getParentAcl());
this.setEntriesInheriting(acl.isEntriesInheriting());
return this;
}
public Builder objectIdentity(ObjectIdentityData objectIdentity) {
setObjectIdentity(objectIdentity);
return this;
}
public void setObjectIdentity(ObjectIdentityData objectIdentity) {
this.objectIdentity = objectIdentity;
}
public Builder owner(TenantSid owner) {
setOwner(owner);
return this;
}
public Builder entriesInheriting(boolean entriesInheriting) {
setEntriesInheriting(entriesInheriting);
return this;
}
public Builder addEntry(AceSource entry) {
String id = entry.getId();
if(id == null) {
// this is new entry
id = newId();
entry = AceSource.builder().from(entry).id(id).build();
}
this.entries.put(id, entry);
return this;
}
private String newId() {
while(true) {
String id = Uuids.longUid();
if(!this.entries.containsKey(id)) {
return id;
}
}
}
public Builder entriesMap(Map<Long, AceSource> entries) {
setEntriesMap(entries);
return this;
}
public Builder entries(List<AceSource> entries) {
setEntries(entries);
return this;
}
public void setEntries(List<AceSource> entries) {
this.entries.clear();
if(entries != null) {
entries.forEach(this::addEntry);
}
}
public void setEntriesMap(Map<Long, AceSource> entries) {
this.entries.clear();
if(entries != null) {
entries.forEach((k, v) -> this.addEntry(v));
}
}
public Builder parentAcl(AclSource parentAcl) {
setParentAcl(parentAcl);
return this;
}
public AclSource build() {
return new AclSource(this);
}
}
private final Map<String, AceSource> entriesMap;
private final ObjectIdentityData objectIdentity;
private final TenantSid owner;
private final AclSource parentAcl;
private final boolean entriesInheriting;
@JsonCreator
protected AclSource(Builder b) {
Assert.notNull(b.objectIdentity, "Object Identity required");
Assert.notNull(b.owner, "Owner required");
this.owner = b.owner;
Assert.notNull(MultiTenancySupport.getTenant(this.owner), "Tenant of owner is null");
this.objectIdentity = b.objectIdentity;
this.parentAcl = b.parentAcl;
this.entriesInheriting = b.entriesInheriting;
// we must save order of ACEs
this.entriesMap = Collections.unmodifiableMap(new LinkedHashMap<>(b.entries));
}
@JsonIgnore
public Map<String, AceSource> getEntriesMap() {
return entriesMap;
}
public List<AceSource> getEntries() {
return ImmutableList.copyOf(this.entriesMap.values());
}
public static Builder builder() {
return new Builder();
}
}
| 31.253086 | 93 | 0.619988 |
3a60df4e7f6c23523c3986f8ab20c4f42161eb69 | 1,803 | package jnc.foreign;
import javax.annotation.Nonnull;
import jnc.foreign.spi.ForeignProvider;
@SuppressWarnings("PublicInnerClass")
public interface Platform {
@Nonnull
static Platform getNativePlatform() {
return ForeignProvider.getDefault().getPlatform();
}
@Nonnull
String getLibcName();
@Nonnull
OS getOS();
@Nonnull
Arch getArch();
enum Arch {
UNKNOWN(0),
I386(4),
X86_64(8);
private final int size;
Arch(int size) {
this.size = size;
}
public int sizeOfPointer() {
return size;
}
}
enum OS {
UNKNOWN(OS.FLAG_NONE),
WINDOWS(OS.FLAG_WINDOWS),
LINUX(OS.FLAG_UNIX | OS.FLAG_ELF),
FREEBSD(OS.FLAG_UNIX | OS.FLAG_BSD | OS.FLAG_ELF),
OPENBSD(OS.FLAG_UNIX | OS.FLAG_BSD | OS.FLAG_ELF),
DARWIN(OS.FLAG_UNIX | OS.FLAG_BSD), /*
AIX(OS.FLAG_UNIX),
HPUX(OS.FLAG_UNIX | OS.FLAG_ELF),
OPENVMS(OS.FLAG_UNIX | OS.FLAG_ELF)
*/;
private static final int FLAG_NONE = 0;
private static final int FLAG_WINDOWS = 1; // _WIN32
private static final int FLAG_UNIX = 2; // __unix__
private static final int FLAG_ELF = 4; // __ELF__
private static final int FLAG_BSD = 8; // BSD
private final int flag;
OS(int flag) {
this.flag = flag;
}
public boolean isWindows() {
return (flag & FLAG_WINDOWS) != 0;
}
public boolean isBSD() {
return (flag & FLAG_BSD) != 0;
}
public boolean isUnix() {
return (flag & FLAG_UNIX) != 0;
}
public boolean isELF() {
return (flag & FLAG_ELF) != 0;
}
}
}
| 21.211765 | 60 | 0.549639 |
3597d81e2ee52e212bb0e372ddaf022e9d0dce07 | 1,470 | /*
* Copyright 2019 Patrik Karlström.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.mapton.core_wb.modules.map;
import javafx.scene.Node;
import org.mapton.base.ui.ObjectPropertyView;
import org.openide.util.lookup.ServiceProvider;
import se.trixon.almond.util.Dict;
import se.trixon.windowsystemfx.Window;
import se.trixon.windowsystemfx.WindowSystemComponent;
@WindowSystemComponent.Description(
iconBase = "",
preferredId = "org.mapton.core_wb.modules.map.PropertyWindow",
parentId = "property",
position = 1
)
@ServiceProvider(service = Window.class)
public final class PropertyWindow extends Window {
private ObjectPropertyView mObjectPropertyView = new ObjectPropertyView();
public PropertyWindow() {
setName(Dict.OBJECT_PROPERTIES.toString());
}
@Override
public Node getNode() {
return mObjectPropertyView;
}
}
| 32.666667 | 79 | 0.715646 |
ec9bd20b51f35013c214f30abf22381e2a380cb5 | 1,558 | package com.tami.vmanager.entity;
import com.tami.vmanager.http.HttpKey;
import java.io.Serializable;
/**
* Created by Tang on 2018/7/4
* 客户端请求 向服务器传递参数
*/
public class SearchRequestBean extends MobileMessage implements Serializable {
private static final long serialVersionUID = 4465853287643258883L;
/**
* keyWord : 塔
* searchType : 1
* userId : 1
* curPage : 1
* pageSize : 2
*/
private String keyWord;
private int searchType;
private String userId;
private int curPage;
private int pageSize;
public SearchRequestBean() {
super();
}
public String getKeyWord() {
return keyWord;
}
public void setKeyWord(String keyWord) {
this.keyWord = keyWord;
}
public int getSearchType() {
return searchType;
}
public void setSearchType(int searchType) {
this.searchType = searchType;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
public int getCurPage() {
return curPage;
}
public void setCurPage(int curPage) {
this.curPage = curPage;
}
public int getPageSize() {
return pageSize;
}
public void setPageSize(int pageSize) {
this.pageSize = pageSize;
}
@Override
public Class getResponseClass() {
return SearchResponseBean.class;
}
@Override
public String getRequestUrl() {
return HttpKey.SEARCH_MEETING;
}
}
| 18.771084 | 78 | 0.619384 |
954d18ac9feeff6920040d7d794672f8d2b083cc | 298 | package com.hp.autonomy.frontend.find.hod.export;
import org.springframework.boot.test.context.SpringBootTest;
@SpringBootTest(classes = HodCsvExportController.class, webEnvironment = SpringBootTest.WebEnvironment.NONE)
public class HodCsvExportControllerTest extends HodExportControllerTest {
}
| 37.25 | 108 | 0.855705 |
325e7510899951b57fc8dbdef47cca82744e6792 | 28,254 | /*
* Copyright 2016-2017 Fukurou Mishiranu
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.mishiranu.dashchan.media;
import android.annotation.SuppressLint;
import android.content.Context;
import android.content.pm.ApplicationInfo;
import android.graphics.Bitmap;
import android.graphics.Point;
import android.graphics.SurfaceTexture;
import android.os.Handler;
import android.os.Looper;
import android.os.Process;
import android.view.Surface;
import android.view.TextureView;
import android.view.View;
import com.mishiranu.dashchan.util.IOUtils;
import com.mishiranu.dashchan.util.Log;
import java.io.File;
import java.io.FileInputStream;
import java.io.IOException;
import java.lang.ref.WeakReference;
import java.lang.reflect.Method;
import java.util.HashMap;
import java.util.concurrent.Semaphore;
import chan.content.ChanManager;
import dalvik.system.PathClassLoader;
public class VideoPlayer {
private static final int MESSAGE_PLAYBACK_COMPLETE = 1;
private static final int MESSAGE_SIZE_CHANGED = 2;
private static final int MESSAGE_START_SEEKING = 3;
private static final int MESSAGE_END_SEEKING = 4;
private static final int MESSAGE_START_BUFFERING = 5;
private static final int MESSAGE_END_BUFFERING = 6;
private static final int MESSAGE_RETRY_SET_POSITION = 7;
private static final Handler HANDLER = new Handler(Looper.getMainLooper(), msg -> {
switch (msg.what) {
case MESSAGE_PLAYBACK_COMPLETE: {
VideoPlayer player = (VideoPlayer) msg.obj;
if (player.listener != null && !player.consumed) {
player.listener.onComplete(player);
}
return true;
}
case MESSAGE_SIZE_CHANGED: {
VideoPlayer player = (VideoPlayer) msg.obj;
player.onDimensionChange();
return true;
}
case MESSAGE_START_SEEKING:
case MESSAGE_END_SEEKING: {
boolean seeking = msg.what == MESSAGE_START_SEEKING;
VideoPlayer player = (VideoPlayer) msg.obj;
if (player.lastSeeking != seeking) {
player.lastSeeking = seeking;
player.onSeekingBufferingStateChange(true, false);
}
return true;
}
case MESSAGE_START_BUFFERING:
case MESSAGE_END_BUFFERING: {
boolean buffering = msg.what == MESSAGE_START_BUFFERING;
VideoPlayer player = (VideoPlayer) msg.obj;
if (player.lastBuffering != buffering) {
player.lastBuffering = buffering;
player.onSeekingBufferingStateChange(false, true);
}
return true;
}
case MESSAGE_RETRY_SET_POSITION: {
Object[] data = (Object[]) msg.obj;
VideoPlayer player = (VideoPlayer) data[0];
long position = (long) data[1];
// Sometimes player hangs during setPosition (ffmpeg seek too far away from real position)
// I can do nothing better than repeat seeking
player.setPosition(position);
return true;
}
}
return false;
});
private static final HashMap<String, Method> METHODS = new HashMap<>();
private static boolean loaded = false;
private static Class<?> holderClass;
public static boolean loadLibraries(Context context) {
synchronized (VideoPlayer.class) {
if (loaded) {
return true;
}
ChanManager.ExtensionItem extensionItem = ChanManager.getInstance()
.getLibExtension(ChanManager.EXTENSION_NAME_LIB_WEBM);
if (extensionItem != null) {
String dir = extensionItem.applicationInfo.nativeLibraryDir;
if (dir != null) {
// System.loadLibrary uses a path from ClassLoader, so I must create one
// containing all paths to native libraries (client + webm libraries package).
// Holder class is loaded from this class loader, so all libraries will load correctly.
ApplicationInfo applicationInfo = context.getApplicationInfo();
PathClassLoader classLoader = new PathClassLoader(applicationInfo.sourceDir, applicationInfo
.nativeLibraryDir + File.pathSeparatorChar + dir, Context.class.getClassLoader());
try {
// Initialize class (invoke static block)
holderClass = Class.forName(Holder.class.getName(), true, classLoader);
loaded = true;
return true;
} catch (Exception | LinkageError e) {
Log.persistent().stack(e);
}
}
}
return false;
}
}
public static boolean isLoaded() {
synchronized (VideoPlayer.class) {
return loaded;
}
}
private static Object invoke(String methodName, Object... args) {
Method method;
synchronized (METHODS) {
method = METHODS.get(methodName);
if (method == null) {
Method[] methods = holderClass.getMethods();
for (int i = 0; i < methods.length; i++) {
if (methodName.equals(methods[i].getName())) {
method = methods[i];
METHODS.put(methodName, method);
break;
}
}
}
}
try {
return method.invoke(null, args);
} catch (Exception e) {
throw new RuntimeException(e);
}
}
private static long init(Object nativeBridge, boolean seekAnyFrame) {
return (long) invoke("init", nativeBridge, seekAnyFrame);
}
private static void destroy(long pointer) {
invoke("destroy", pointer);
}
private static int getErrorCode(long pointer) {
return (int) invoke("getErrorCode", pointer);
}
private static void getSummary(long pointer, int[] output) {
invoke("getSummary", pointer, output);
}
private static long getDuration(long pointer) {
return (long) invoke("getDuration", pointer);
}
private static long getPosition(long pointer) {
return (long) invoke("getPosition", pointer);
}
private static void setPosition(long pointer, long position) {
invoke("setPosition", pointer, position);
}
private static void setSurface(long pointer, Surface surface) {
invoke("setSurface", pointer, surface);
}
private static void setPlaying(long pointer, boolean playing) {
invoke("setPlaying", pointer, playing);
}
private static int[] getCurrentFrame(long pointer) {
return (int[]) invoke("getCurrentFrame", pointer);
}
private static String[] getTechnicalInfo(long pointer) {
return (String[]) invoke("getTechnicalInfo", pointer);
}
private final Object inputLock = new Object();
private final byte[] buffer;
private InputHolder inputHolder;
private long pointer;
private boolean consumed = false;
private boolean playing = false;
private final boolean seekAnyFrame;
private boolean initialized = false;
private final int[] summaryOutput = new int[3];
public interface Listener {
public void onComplete(VideoPlayer player);
public void onBusyStateChange(VideoPlayer player, boolean busy);
public void onDimensionChange(VideoPlayer player);
}
private Listener listener;
private boolean lastSeeking = false;
private volatile boolean lastBuffering = false;
private interface InputHolder {
public int read(byte[] buffer, int count) throws IOException;
public int seek(int position, CachingInputStream.Whence whence) throws IOException;
public void setAllowReadBeyondBuffer(boolean allow);
public int getPosition() throws IOException;
public int getSize();
public void close();
}
private static class FileInputHolder implements InputHolder {
private final int size;
private final FileInputStream inputStream;
public FileInputHolder(File file, FileInputStream inputStream) {
size = (int) file.length();
this.inputStream = inputStream;
}
@Override
public int read(byte[] buffer, int count) throws IOException {
return inputStream.read(buffer, 0, count);
}
@Override
public int seek(int position, CachingInputStream.Whence whence) throws IOException {
switch (whence) {
case START: {
inputStream.getChannel().position(position);
break;
}
case RELATIVE: {
inputStream.getChannel().position(getPosition() + position);
break;
}
case END: {
inputStream.getChannel().position(size + position);
break;
}
}
return getPosition();
}
@Override
public void setAllowReadBeyondBuffer(boolean allow) {
}
@Override
public int getPosition() throws IOException {
return (int) inputStream.getChannel().position();
}
@Override
public int getSize() {
return size;
}
@Override
public void close() {
IOUtils.close(inputStream);
}
}
private static class CachingInputHolder implements InputHolder {
private final CachingInputStream inputStream;
public CachingInputHolder(CachingInputStream inputStream) {
this.inputStream = inputStream;
}
@Override
public int read(byte[] buffer, int count) throws IOException {
return inputStream.read(buffer, 0, count);
}
@Override
public int seek(int position, CachingInputStream.Whence whence) {
return inputStream.seek(position, whence);
}
@Override
public void setAllowReadBeyondBuffer(boolean allow) {
inputStream.setAllowReadBeyondBuffer(allow);
}
@Override
public int getPosition() {
return inputStream.getPosition();
}
@Override
public int getSize() {
return inputStream.getTotalCount();
}
@Override
public void close() {
IOUtils.close(inputStream);
}
}
public VideoPlayer(boolean seekAnyFrame) {
buffer = new byte[8192];
this.seekAnyFrame = seekAnyFrame;
}
public void init(CachingInputStream inputStream) throws IOException {
init(new CachingInputHolder(inputStream));
}
public void init(File file) throws IOException {
init(new FileInputHolder(file, new FileInputStream(file)));
}
private void init(InputHolder inputHolder) throws IOException {
synchronized (inputLock) {
if (pointer == 0 && !consumed) {
int priority = Process.getThreadPriority(Process.myTid());
Process.setThreadPriority(Process.THREAD_PRIORITY_DISPLAY);
try {
this.inputHolder = inputHolder;
pointer = init(new NativeBridge(this), seekAnyFrame);
int errorCode = getErrorCode(pointer);
if (errorCode != 0) {
free();
throw new InitializationException(errorCode);
}
initialized = true;
seekerThread.start();
} finally {
Process.setThreadPriority(priority);
}
}
}
}
public void replaceStream(File file) throws IOException {
if (consumed) {
return;
}
replaceStream(new FileInputHolder(file, new FileInputStream(file)));
}
private void replaceStream(InputHolder inputHolder) throws IOException {
synchronized (inputLock) {
if (!consumed && initialized) {
int position = this.inputHolder.getPosition();
inputHolder.seek(position, CachingInputStream.Whence.START);
this.inputHolder.close();
this.inputHolder = inputHolder;
} else {
inputHolder.close();
}
}
}
public static class InitializationException extends IOException {
private InitializationException(int errorCode) {
super("Can't initialize player: CODE=" + errorCode);
}
}
public void setListener(Listener listener) {
this.listener = listener;
}
private boolean obtainSummary() {
if (consumed) {
return false;
}
getSummary(pointer, summaryOutput);
return true;
}
public Point getDimensions() {
if (!obtainSummary()) {
return null;
}
return new Point(summaryOutput[0], summaryOutput[1]);
}
public boolean isAudioPresent() {
if (!obtainSummary()) {
return false;
}
return summaryOutput[2] != 0;
}
public long getDuration() {
if (consumed) {
return -1L;
}
return getDuration(pointer);
}
public long getPosition() {
if (consumed) {
return -1L;
}
long seekToPosition = this.seekToPosition;
return seekToPosition >= 0L ? seekToPosition : getPosition(pointer);
}
private volatile boolean cancelNativeRequests = false;
private static final long SEEK_TO_WAIT = -1L;
private long seekToPosition = SEEK_TO_WAIT;
private final Semaphore seekerMutex = new Semaphore(1);
private final Thread seekerThread = new Thread(() -> {
Thread seekerThread = Thread.currentThread();
while (true) {
long seekToPosition = SEEK_TO_WAIT;
synchronized (seekerThread) {
while (this.seekToPosition == SEEK_TO_WAIT && !consumed) {
try {
seekerThread.wait();
} catch (InterruptedException e) {
// Uninterruptible wait, ignore exception
}
}
if (consumed) {
return;
}
if (!consumed && initialized && this.seekToPosition >= 0L) {
seekToPosition = this.seekToPosition;
seekerMutex.acquireUninterruptibly();
}
}
if (seekToPosition >= 0L) {
try {
HANDLER.removeMessages(MESSAGE_END_BUFFERING);
HANDLER.sendMessageDelayed(HANDLER.obtainMessage(MESSAGE_START_BUFFERING,
VideoPlayer.this), 200);
HANDLER.sendMessageDelayed(HANDLER.obtainMessage(MESSAGE_RETRY_SET_POSITION,
new Object[]{VideoPlayer.this, seekToPosition}), 1000);
setPosition(pointer, seekToPosition);
HANDLER.removeMessages(MESSAGE_RETRY_SET_POSITION);
HANDLER.removeMessages(MESSAGE_START_BUFFERING);
HANDLER.sendMessageDelayed(HANDLER.obtainMessage(MESSAGE_END_BUFFERING,
VideoPlayer.this), 100);
} finally {
this.seekToPosition = SEEK_TO_WAIT;
seekerMutex.release();
}
}
}
});
private void cancelSetPosition() {
boolean locked = seekerMutex.tryAcquire();
if (!locked) {
cancelNativeRequests = true;
inputHolder.setAllowReadBeyondBuffer(false);
seekerMutex.acquireUninterruptibly();
cancelNativeRequests = false;
inputHolder.setAllowReadBeyondBuffer(true);
}
seekerMutex.release();
}
public void setPosition(long position) {
synchronized (this) {
if (!consumed && initialized) {
if (playing) {
cancelSetPosition();
seekToPosition = position;
synchronized (seekerThread) {
seekerThread.notifyAll();
}
} else {
seekToPosition = position;
}
}
}
}
private void onDimensionChange() {
if (videoView != null) {
videoView.requestLayout();
}
if (listener != null) {
listener.onDimensionChange(this);
}
}
@SuppressLint("ViewConstructor")
private static class PlayerTextureView extends TextureView implements TextureView.SurfaceTextureListener {
private final WeakReference<VideoPlayer> player;
public PlayerTextureView(Context context, VideoPlayer player) {
super(context);
this.player = new WeakReference<>(player);
setSurfaceTextureListener(this);
}
@Override
protected void onMeasure(int widthMeasureSpec, int heightMeasureSpec) {
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
VideoPlayer player = this.player.get();
if (player == null) {
return;
}
Point dimensions = player.getDimensions();
if (dimensions != null && dimensions.x > 0 && dimensions.y > 0) {
int width = getMeasuredWidth();
int height = getMeasuredHeight();
if (dimensions.x * height > dimensions.y * width) {
height = dimensions.y * width / dimensions.x;
} else {
width = dimensions.x * height / dimensions.y;
}
setMeasuredDimension(width, height);
}
}
@Override
public void onSurfaceTextureAvailable(SurfaceTexture surface, int width, int height) {
VideoPlayer player = this.player.get();
if (player == null) {
return;
}
player.setSurface(new Surface(surface));
}
@Override
public boolean onSurfaceTextureDestroyed(SurfaceTexture surface) {
VideoPlayer player = this.player.get();
if (player == null) {
return true;
}
player.setSurface(null);
return true;
}
@Override
public void onSurfaceTextureSizeChanged(SurfaceTexture surface, int width, int height) {
}
@Override
public void onSurfaceTextureUpdated(SurfaceTexture surface) {
}
}
private View videoView;
public View getVideoView(Context context) {
if (videoView == null) {
videoView = new PlayerTextureView(context, this);
}
return videoView;
}
private void setSurface(Surface surface) {
synchronized (this) {
if (!consumed && initialized) {
boolean playing = isPlaying();
if (playing) {
setPlaying(false);
}
setSurface(pointer, surface);
if (playing) {
setPlaying(true);
}
}
}
}
public void setPlaying(boolean playing) {
synchronized (this) {
if (!consumed && initialized && this.playing != playing) {
long seekToPosition = this.seekToPosition;
cancelSetPosition();
this.playing = playing;
if (playing) {
setPlaying(pointer, true);
if (seekToPosition >= 0L) {
setPosition(seekToPosition);
}
} else {
setPlaying(pointer, false);
this.seekToPosition = seekToPosition; // Will be reset in cancelSetPosition
}
}
}
}
public boolean isPlaying() {
synchronized (this) {
return !consumed && initialized && playing;
}
}
public Bitmap getCurrentFrame() {
synchronized (this) {
int[] frame = consumed ? null : getCurrentFrame(pointer);
if (frame != null) {
Point dimensions = getDimensions();
try {
return Bitmap.createBitmap(frame, dimensions.x, dimensions.y, Bitmap.Config.ARGB_8888);
} catch (Exception e) {
// Ignore exception
}
}
return null;
}
}
public HashMap<String, String> getTechnicalInfo() {
synchronized (this) {
HashMap<String, String> result = new HashMap<>();
if (!consumed && initialized) {
String[] array = getTechnicalInfo(pointer);
if (array != null) {
for (int i = 0; i < array.length; i += 2) {
String key = array[i];
String value = array[i + 1];
if (key != null && value != null) {
result.put(key, value);
}
}
}
}
return result;
}
}
public void free() {
synchronized (this) {
if (!consumed && pointer != 0) {
consumed = true;
if (inputHolder != null) {
inputHolder.close();
}
cancelSetPosition();
synchronized (seekerThread) {
seekerThread.notifyAll();
}
destroy(pointer);
}
}
}
@Override
protected void finalize() throws Throwable {
try {
free();
} finally {
super.finalize();
}
}
private void onSeekingBufferingStateChange(boolean seekingChange, boolean bufferingChange) {
if (seekingChange && lastBuffering) {
return;
}
if (bufferingChange && lastSeeking) {
return;
}
if (listener != null && !consumed) {
listener.onBusyStateChange(this, lastSeeking || lastBuffering);
}
}
@SuppressWarnings("unused")
private static class NativeBridge {
private final WeakReference<VideoPlayer> player;
public NativeBridge(VideoPlayer player) {
this.player = new WeakReference<>(player);
}
public byte[] getBuffer() {
VideoPlayer player = this.player.get();
return player != null ? player.buffer : null;
}
public int onRead(int size) {
VideoPlayer player = this.player.get();
if (player == null) {
return -1;
}
synchronized (player.inputLock) {
if (player.inputHolder == null || player.cancelNativeRequests) {
return -1;
}
size = Math.min(size, player.buffer.length);
try {
return player.inputHolder.read(player.buffer, size);
} catch (IOException e) {
return -1;
}
}
}
public long onSeek(long position, int whence) {
VideoPlayer player = this.player.get();
if (player == null) {
return -1;
}
synchronized (player.inputLock) {
if (player.inputHolder == null || player.cancelNativeRequests) {
return -1;
}
if (whence == 0x10000) {
// AVSEEK_SIZE == 0x10000
return player.inputHolder.getSize();
}
try {
int seekPosition = position > Integer.MAX_VALUE ? Integer.MAX_VALUE
: position < Integer.MIN_VALUE ? Integer.MIN_VALUE : (int) position;
CachingInputStream.Whence seekWhence = whence == 2 ? CachingInputStream.Whence.END : whence == 1
? CachingInputStream.Whence.RELATIVE : CachingInputStream.Whence.START;
return player.inputHolder.seek(seekPosition, seekWhence);
} catch (IOException e) {
return -1;
}
}
}
public void onMessage(int what) {
VideoPlayer player = this.player.get();
if (player != null) {
switch (what) {
case 1: {
// BRIDGE_MESSAGE_PLAYBACK_COMPLETE
HANDLER.sendMessageDelayed(HANDLER.obtainMessage(MESSAGE_PLAYBACK_COMPLETE, player), 200);
break;
}
case 2: {
// BRIDGE_MESSAGE_SIZE_CHANGED
HANDLER.obtainMessage(MESSAGE_SIZE_CHANGED, player).sendToTarget();
break;
}
case 3: {
// BRIDGE_MESSAGE_START_SEEKING
HANDLER.removeMessages(MESSAGE_END_SEEKING);
if (player.lastBuffering) {
HANDLER.obtainMessage(MESSAGE_START_SEEKING, player).sendToTarget();
} else {
HANDLER.sendMessageDelayed(HANDLER.obtainMessage(MESSAGE_START_SEEKING, player), 500);
}
break;
}
case 4: {
// BRIDGE_MESSAGE_END_SEEKING
HANDLER.removeMessages(MESSAGE_START_SEEKING);
HANDLER.obtainMessage(MESSAGE_END_SEEKING, player).sendToTarget();
break;
}
}
}
}
}
@SuppressWarnings("unused")
private static class Holder {
public static native long init(Object nativeBridge, boolean seekAnyFrame);
public static native void destroy(long pointer);
public static native int getErrorCode(long pointer);
public static native void getSummary(long pointer, int[] output);
public static native long getDuration(long pointer);
public static native long getPosition(long pointer);
public static native void setPosition(long pointer, long position);
public static native void setSurface(long pointer, Surface surface);
public static native void setPlaying(long pointer, boolean playing);
public static native int[] getCurrentFrame(long pointer);
public static native String[] getTechnicalInfo(long pointer);
static {
System.loadLibrary("avutil");
System.loadLibrary("swscale");
System.loadLibrary("swresample");
System.loadLibrary("avcodec");
System.loadLibrary("avformat");
System.loadLibrary("yuv");
System.loadLibrary("player");
}
}
}
| 34.205811 | 116 | 0.548489 |
d57416a9a7e172c7e79952df47217b190ae7df4c | 4,577 | /**
* Copyright (c) Dell Inc., or its subsidiaries. All Rights Reserved.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*/
package io.pravega.kafka.sampleapps;
import java.time.Duration;
import java.util.Arrays;
import java.util.Properties;
import java.util.concurrent.Future;
import io.pravega.kafka.shared.Utils;
import lombok.Getter;
import lombok.RequiredArgsConstructor;
import lombok.SneakyThrows;
import lombok.extern.slf4j.Slf4j;
import org.apache.kafka.clients.consumer.Consumer;
import org.apache.kafka.clients.consumer.ConsumerRecord;
import org.apache.kafka.clients.consumer.ConsumerRecords;
import org.apache.kafka.clients.consumer.KafkaConsumer;
import org.apache.kafka.clients.producer.KafkaProducer;
import org.apache.kafka.clients.producer.Producer;
import org.apache.kafka.clients.producer.ProducerRecord;
import org.apache.kafka.clients.producer.RecordMetadata;
@RequiredArgsConstructor
@Slf4j
public class BasicKafkaApplicationShowcase implements BasicApplicationShowcase {
@Getter
private final Properties applicationConfig;
public static void main(String... args) {
BasicKafkaApplicationShowcase showcase = new BasicKafkaApplicationShowcase(
Utils.loadConfigFromClasspath("app.properties"));
String topic = showcase.getApplicationConfig().getProperty("topic.name");
String message = "Test message - Hello world!";
showcase.produce(message);
showcase.consume(message);
log.info("Done. Exiting...");
System.exit(0);
}
@SneakyThrows
public void produce(String message) {
// Prepare producer configuration
Properties producerConfig = new Properties();
producerConfig.put("bootstrap.servers", applicationConfig.getProperty("bootstrap.servers"));
producerConfig.put("key.serializer", applicationConfig.getProperty("key.serializer"));
producerConfig.put("value.serializer", applicationConfig.getProperty("value.serializer"));
String topic = applicationConfig.getProperty("topic.name");
// Initialize a Kafka producer
Producer<String, String> kafkaProducer = new KafkaProducer<>(producerConfig);
// Setup a record that we want to send
ProducerRecord<String, String> producerRecord = new ProducerRecord<>(topic, message);
// Asynchronously send a producer record via the producer
Future<RecordMetadata> responseFuture = kafkaProducer.send(producerRecord);
try {
// Wait for the write to complete
RecordMetadata kafkaRecordMetadata = responseFuture.get();
//region Any additional business logic here...
log.info("Sent a producer record. Received reply: {}", kafkaRecordMetadata);
//endregion
} finally {
kafkaProducer.close();
}
}
public void consume(String expectedMessage) {
// Prepare the consumer configuration
Properties consumerConfig = new Properties();
consumerConfig.put("bootstrap.servers", applicationConfig.getProperty("bootstrap.servers"));
consumerConfig.put("group.id", applicationConfig.getProperty("group.id"));
consumerConfig.put("client.id", applicationConfig.getProperty("client.id"));
consumerConfig.put("auto.offset.reset", applicationConfig.getProperty("auto.offset.reset"));
consumerConfig.put("key.deserializer", applicationConfig.getProperty("key.deserializer"));
consumerConfig.put("value.deserializer", applicationConfig.getProperty("value.deserializer"));
String topic = applicationConfig.getProperty("topic.name");
// Initialize a Kafka consumer
Consumer<String, String> kafkaConsumer = new KafkaConsumer(consumerConfig);
// Have the consumer subscribe to the topic
kafkaConsumer.subscribe(Arrays.asList(topic));
try {
// Read the records from the topic
ConsumerRecords<String, String> records = kafkaConsumer.poll(Duration.ofSeconds(2));
for (ConsumerRecord<String, String> record : records) {
//region Business logic here...
assert record.value().equals(expectedMessage);
log.info("Read message: {}", record.value());
//endregion
}
} finally {
kafkaConsumer.close();
}
}
}
| 40.149123 | 102 | 0.697837 |
2c9cf94c4e3f5d1c4709227da89e154522fe8d37 | 837 | package section.catalog.creational.af;
import section.catalog.creational.AppConfig;
import java.util.Objects;
public class ApplicationConfiguration {
public static void main(String[] args) throws Exception {
GUIFactory factory;
AppConfig config = readApplicationConfigFile();
if (Objects.equals(config.os, "Windows")) {
factory = new WinFactory();
} else if (Objects.equals(config.os, "Mac")) {
factory = new MacFactory();
} else {
throw new Exception("Error! Unknown operating system.");
}
Application app = new Application(factory);
app.createUI();
app.paint();
}
private static AppConfig readApplicationConfigFile() {
return new AppConfig("Windows");
// return new AppConfig("Web");
}
}
| 24.617647 | 68 | 0.62724 |
3ac7eb545445e1fc2cf98911546dd1978ed46987 | 2,683 | package controllers.calevent;
import play.data.validation.ValidationError;
import java.util.ArrayList;
import java.util.List;
/**
* Backing class for the Calevent data form.
* Requirements:
* <ul>
* <li> All fields are public,
* <li> All fields are of type String or List[String].
* <li> A public no-arg constructor.
* <li> A validate() method that returns null or a List[ValidationError].
* </ul>
*
* @author Manuel de la Peña
* @generated
*/
public class CaleventFormData {
public String uuid;
public String eventId;
public String groupId;
public String companyId;
public String userId;
public String userName;
public String createDate;
public String modifiedDate;
public String title;
public String description;
public String location;
public String startDate;
public String endDate;
public String durationHour;
public String durationMinute;
public String allDay;
public String timeZoneSensitive;
public String customtype;
public String repeating;
public String recurrence;
public String remindBy;
public String firstReminder;
public String secondReminder;
public CaleventFormData() {
}
public CaleventFormData(
String uuid,
String eventId,
String groupId,
String companyId,
String userId,
String userName,
String createDate,
String modifiedDate,
String title,
String description,
String location,
String startDate,
String endDate,
String durationHour,
String durationMinute,
String allDay,
String timeZoneSensitive,
String customtype,
String repeating,
String recurrence,
String remindBy,
String firstReminder,
String secondReminder
) {
this.uuid = uuid;
this.eventId = eventId;
this.groupId = groupId;
this.companyId = companyId;
this.userId = userId;
this.userName = userName;
this.createDate = createDate;
this.modifiedDate = modifiedDate;
this.title = title;
this.description = description;
this.location = location;
this.startDate = startDate;
this.endDate = endDate;
this.durationHour = durationHour;
this.durationMinute = durationMinute;
this.allDay = allDay;
this.timeZoneSensitive = timeZoneSensitive;
this.customtype = customtype;
this.repeating = repeating;
this.recurrence = recurrence;
this.remindBy = remindBy;
this.firstReminder = firstReminder;
this.secondReminder = secondReminder;
}
public List<ValidationError> validate() {
List<ValidationError> errors = new ArrayList<>();
if (eventId == null || eventId.length() == 0) {
errors.add(new ValidationError("eventId", "No eventId was given."));
}
if(errors.size() > 0) {
return errors;
}
return null;
}
}
| 23.12931 | 73 | 0.725307 |
8fcb2bc04332916639888b0068e8753fc0c9b1f7 | 1,392 | package examples.hibernate.domainmodel.attributeconverter;
import javax.persistence.AttributeConverter;
import javax.persistence.Convert;
import javax.persistence.Converter;
import javax.persistence.Entity;
import javax.persistence.Id;
import lombok.Getter;
import lombok.Setter;
class AttributeConverter_1 {
@Entity(name = "Person")@Getter@Setter
public static class Person {
@Id
private Long id;
private String name;
@Convert( converter = GenderConverter.class )
public Gender gender;
}
@Converter
public static class GenderConverter
implements AttributeConverter<Gender, Character> {
@Override
public Character convertToDatabaseColumn( Gender value ) {
if ( value == null ) {
return null;
}
return value.getCode();
}
@Override
public Gender convertToEntityAttribute( Character value ) {
if ( value == null ) {
return null;
}
return Gender.fromCode( value );
}
}
public enum Gender {
MALE( 'M' ),
FEMALE( 'F' );
private final char code;
Gender(char code) {
this.code = code;
}
public static Gender fromCode(char code) {
if ( code == 'M' || code == 'm' ) {
return MALE;
}
if ( code == 'F' || code == 'f' ) {
return FEMALE;
}
throw new UnsupportedOperationException(
"The code " + code + " is not supported!"
);
}
public char getCode() {
return this.code;
}
}
}
| 18.56 | 61 | 0.670977 |
fc2f24b855c6312c1c06e0b25c4fd5cd10c13d3c | 3,196 | /*
* Copyright 2016 higherfrequencytrading.com
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*
*/
package net.openhft.chronicle.websocket.jetty;
import net.openhft.chronicle.core.io.SimpleCloseable;
import net.openhft.chronicle.wire.DocumentContext;
import net.openhft.chronicle.wire.MarshallableOut;
import net.openhft.chronicle.wire.UnrecoverableTimeoutException;
import net.openhft.chronicle.wire.WireIn;
import org.eclipse.jetty.websocket.api.Session;
import org.eclipse.jetty.websocket.client.WebSocketClient;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import java.io.IOException;
import java.net.URI;
import java.util.concurrent.Future;
import java.util.function.BiConsumer;
/*
* Created by peter.lawrey on 06/02/2016.
*/
public class JettyWebSocketClient extends SimpleCloseable implements MarshallableOut {
private static final Logger LOGGER = LoggerFactory.getLogger(JettyWebSocketClient.class);
private final WebSocketClient client;
private final JettyWebSocketAdapter<MarshallableOut> adapter;
private final boolean recordHistory;
public JettyWebSocketClient(String uriString, BiConsumer<WireIn, MarshallableOut> parser) throws IOException {
this(uriString, parser, false);
}
public JettyWebSocketClient(String uriString, BiConsumer<WireIn, MarshallableOut> parser, boolean recordHistory) throws IOException {
this.recordHistory = recordHistory;
URI uri = URI.create(uriString);
client = new WebSocketClient();
try {
client.start();
// The socket that receives events
adapter = new JettyWebSocketAdapter<>(out -> out, parser);
// Attempt Connect
Future<Session> fut = client.connect(adapter, uri);
// Wait for Connect
Session session = fut.get();
adapter.onWebSocketConnect(session);
} catch (IOException ioe) {
throw ioe;
} catch (Exception e) {
throw new IOException(e);
}
}
@Override
public DocumentContext writingDocument(boolean metaData) {
throwExceptionIfClosed();
assert !metaData;
return adapter.writingDocument();
}
@Override
public DocumentContext acquireWritingDocument(boolean metaData) throws UnrecoverableTimeoutException {
return writingDocument(metaData);
}
@Override
public boolean recordHistory() {
return recordHistory;
}
@Override
protected void performClose() {
try {
client.stop();
} catch (Exception e) {
LOGGER.info("Error on close of " + client, e);
}
}
}
| 31.96 | 137 | 0.700876 |
fe0f2f46c4f51f368858250eeaeee1b98f56ae0e | 95 | package lists.chap10.list10_03;
public class Inn {
void checkIn(Hero h) {
h.hp = -100;
}
}
| 13.571429 | 31 | 0.663158 |
5b637d31c04d09f73b96d2db67b2a163be81c989 | 3,425 | package com.ewell.core.server.os;
import com.ewell.common.GatewayConfig;
import io.netty.channel.Channel;
import io.netty.channel.EventLoopGroup;
import io.netty.channel.ServerChannel;
import io.netty.channel.epoll.EpollEventLoopGroup;
import io.netty.channel.epoll.EpollServerSocketChannel;
import io.netty.channel.epoll.EpollSocketChannel;
import io.netty.channel.kqueue.KQueueEventLoopGroup;
import io.netty.channel.kqueue.KQueueServerSocketChannel;
import io.netty.channel.kqueue.KQueueSocketChannel;
import io.netty.channel.nio.NioEventLoopGroup;
import io.netty.channel.socket.nio.NioServerSocketChannel;
import io.netty.channel.socket.nio.NioSocketChannel;
import net.openhft.affinity.AffinityLock;
import net.openhft.chronicle.core.OS;
import com.google.inject.Inject;
import java.util.concurrent.ThreadFactory;
import java.util.concurrent.atomic.AtomicInteger;
import static net.openhft.affinity.AffinityStrategies.DIFFERENT_CORE;
/**
* @Author: wy
* @Date: Created in 16:49 2021-06-23
* @Description: 当前os相关
* @Modified: By:
*/
public class OSHelper {
private static final Class<? extends Channel> channelType;
private static final Class<? extends ServerChannel> acceptChannelType;
@Inject
private static GatewayConfig gatewayConfig;
static {
if (OS.isLinux()) {
channelType = EpollSocketChannel.class;
acceptChannelType = EpollServerSocketChannel.class;
} else if (OS.isMacOSX()) {
channelType = KQueueSocketChannel.class;
acceptChannelType = KQueueServerSocketChannel.class;
} else {
channelType = NioSocketChannel.class;
acceptChannelType = NioServerSocketChannel.class;
}
}
public static Class<? extends Channel> channelType() {
return channelType;
}
public static Class<? extends ServerChannel> acceptChannelType() {
return acceptChannelType;
}
public static EventLoopGroup eventLoopGroup(int num, String name) {
if (OS.isLinux()) {
return new EpollEventLoopGroup(num, getFactory(name + "-epoll-"));
} else if (OS.isMacOSX()) {
return new KQueueEventLoopGroup(num, getFactory(name + "-kqueue-"));
} else {
return new NioEventLoopGroup(num, getFactory(name + "-nio-"));
}
}
public static ThreadFactory getFactory(String name) {
return new ThreadFactory() {
private AffinityLock lastAffinityLock = null;
private final AtomicInteger counter = new AtomicInteger(0);
@Override
public synchronized Thread newThread(Runnable r) {
return new Thread(() -> {
if (gatewayConfig.isAffinity()) {
try (AffinityLock ignored = acquireLockBasedOnLast()) {
r.run();
}
} else {
r.run();
}
}, name + "-" + counter.getAndIncrement());
}
private synchronized AffinityLock acquireLockBasedOnLast() {
AffinityLock al = lastAffinityLock == null ?
AffinityLock.acquireLock() : lastAffinityLock.acquireLock(DIFFERENT_CORE);
if (al.cpuId() >= 0)
lastAffinityLock = al;
return al;
}
};
}
}
| 33.910891 | 98 | 0.641168 |
1ac07fa4b59ee1f298b56a7492b51b88bb158e66 | 1,268 | package com.baomidou.mybatisplus.samples.assembly.controller;
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
import com.baomidou.mybatisplus.samples.assembly.entity.User;
import com.baomidou.mybatisplus.samples.assembly.service.IUserService;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
import java.util.List;
/**
* @author nieqiuqiu
*/
@RestController
@RequestMapping(value = "/")
public class UserController {
private static final Logger LOGGER = LoggerFactory.getLogger(UserController.class);
@Autowired
private IUserService userService;
// 测试地址 http://localhost:8080/test
@RequestMapping(value = "test")
public String test(){
User user = new User();
user.setEmail("[email protected]");
user.setAge(18);
user.setName("啪啪啪");
userService.save(user);
List<User> list = userService.list(new LambdaQueryWrapper<>(new User()).select(User::getId, User::getName));
list.forEach(u -> LOGGER.info("当前用户数据:{}", u));
return "[email protected]";
}
}
| 31.7 | 116 | 0.731073 |
14585dd3abf90fb09a2c0229b2cd2d996fe219a8 | 3,858 | package com.alipay.api.domain;
import com.alipay.api.AlipayObject;
import com.alipay.api.internal.mapping.ApiField;
/**
* 钱包中地铁票购票,获得核销码,线下地铁自助购票机上凭核销码取票,购票确认
*
* @author auto create
* @since 1.0, 2019-10-10 16:30:39
*/
public class AlipayCommerceCityfacilitatorVoucherConfirmModel extends AlipayObject {
private static final long serialVersionUID = 2882925414121139212L;
/**
* 金额,元为单位
*/
@ApiField("amount")
private String amount;
/**
* 渠道商提供的其它信息
*/
@ApiField("biz_info_ext")
private String bizInfoExt;
/**
* 该笔请求的唯一编号,有值请求强校验
*/
@ApiField("biz_request_id")
private String bizRequestId;
/**
* 城市标准码
*/
@ApiField("city_code")
private String cityCode;
/**
* 终点站编号
*/
@ApiField("end_station")
private String endStation;
/**
* 单张票编号列表,多个逗号分隔
*/
@ApiField("exchange_ids")
private String exchangeIds;
/**
* 商户核销时间
*/
@ApiField("operate_time")
private String operateTime;
/**
* 商户的交易号
*/
@ApiField("out_biz_no")
private String outBizNo;
/**
* 票数
*/
@ApiField("quantity")
private String quantity;
/**
* 请求方标识
*/
@ApiField("seller_id")
private String sellerId;
/**
* 起点站编号
*/
@ApiField("start_station")
private String startStation;
/**
* 核销号
*/
@ApiField("ticket_no")
private String ticketNo;
/**
* 票单价,元为单位
*/
@ApiField("ticket_price")
private String ticketPrice;
/**
* 票类型
*/
@ApiField("ticket_type")
private String ticketType;
/**
* 支付宝交易号
*/
@ApiField("trade_no")
private String tradeNo;
public String getAmount() {
return this.amount;
}
public void setAmount(String amount) {
this.amount = amount;
}
public String getBizInfoExt() {
return this.bizInfoExt;
}
public void setBizInfoExt(String bizInfoExt) {
this.bizInfoExt = bizInfoExt;
}
public String getBizRequestId() {
return this.bizRequestId;
}
public void setBizRequestId(String bizRequestId) {
this.bizRequestId = bizRequestId;
}
public String getCityCode() {
return this.cityCode;
}
public void setCityCode(String cityCode) {
this.cityCode = cityCode;
}
public String getEndStation() {
return this.endStation;
}
public void setEndStation(String endStation) {
this.endStation = endStation;
}
public String getExchangeIds() {
return this.exchangeIds;
}
public void setExchangeIds(String exchangeIds) {
this.exchangeIds = exchangeIds;
}
public String getOperateTime() {
return this.operateTime;
}
public void setOperateTime(String operateTime) {
this.operateTime = operateTime;
}
public String getOutBizNo() {
return this.outBizNo;
}
public void setOutBizNo(String outBizNo) {
this.outBizNo = outBizNo;
}
public String getQuantity() {
return this.quantity;
}
public void setQuantity(String quantity) {
this.quantity = quantity;
}
public String getSellerId() {
return this.sellerId;
}
public void setSellerId(String sellerId) {
this.sellerId = sellerId;
}
public String getStartStation() {
return this.startStation;
}
public void setStartStation(String startStation) {
this.startStation = startStation;
}
public String getTicketNo() {
return this.ticketNo;
}
public void setTicketNo(String ticketNo) {
this.ticketNo = ticketNo;
}
public String getTicketPrice() {
return this.ticketPrice;
}
public void setTicketPrice(String ticketPrice) {
this.ticketPrice = ticketPrice;
}
public String getTicketType() {
return this.ticketType;
}
public void setTicketType(String ticketType) {
this.ticketType = ticketType;
}
public String getTradeNo() {
return this.tradeNo;
}
public void setTradeNo(String tradeNo) {
this.tradeNo = tradeNo;
}
}
| 18.198113 | 85 | 0.666407 |
eb096cd41366073fec25b51bbfbb257c9c3ce7e5 | 10,107 | package org.motechproject.newebodac.service;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.fasterxml.jackson.databind.SerializationFeature;
import com.fasterxml.jackson.datatype.jsr310.JavaTimeModule;
import java.io.IOException;
import java.io.InputStreamReader;
import java.time.LocalDate;
import java.time.format.DateTimeFormatter;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashMap;
import java.util.List;
import java.util.Locale;
import java.util.Map;
import java.util.UUID;
import java.util.stream.Collectors;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.motechproject.newebodac.domain.BaseEntity;
import org.motechproject.newebodac.domain.CsvConfig;
import org.motechproject.newebodac.domain.CsvField;
import org.motechproject.newebodac.domain.KeyCommunityPerson;
import org.motechproject.newebodac.domain.Vaccinee;
import org.motechproject.newebodac.domain.Visit;
import org.motechproject.newebodac.domain.enums.EnrollmentStatus;
import org.motechproject.newebodac.exception.EntityNotFoundException;
import org.motechproject.newebodac.helper.EncryptionHelper;
import org.motechproject.newebodac.repository.CsvConfigRepository;
import org.motechproject.newebodac.repository.KeyCommunityPersonRepository;
import org.motechproject.newebodac.repository.VaccineeRepository;
import org.motechproject.newebodac.repository.VisitRepository;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import org.springframework.web.multipart.MultipartFile;
import org.supercsv.io.CsvMapReader;
import org.supercsv.io.ICsvMapReader;
import org.supercsv.prefs.CsvPreference;
@SuppressWarnings({"PMD.CyclomaticComplexity", "PMD.CloseResource", "PMD.ExcessiveImports",
"PMD.AssignmentInOperand", "PMD.NcssCount", "PMD.ExcessiveMethodLength"})
@Slf4j
@Service
public class CsvImportService extends ImportService {
private static final String PHONE_NUMBER = "phoneNumber";
private static final ObjectMapper OBJECT_MAPPER = new ObjectMapper();
@Autowired
private CsvConfigRepository csvConfigRepository;
@Autowired
private VaccineeRepository vaccineeRepository;
@Autowired
private KeyCommunityPersonRepository keyCommunityPersonRepository;
@Autowired
private VisitRepository visitRepository;
@Autowired
private EncryptionHelper encryptionHelper;
@Autowired
private EnrollmentService enrollmentService;
/**
* Processes CSV file with data and returns list of errors.
*
* @param csvFile csv file with data to import
* @param csvConfigId id of the particular CsvConfig
* @return map with row numbers as keys and errors as values.
*/
@SuppressWarnings("PMD.NPathComplexity")
public Map<Integer, String> importDataFromCsvWithConfig(MultipartFile csvFile,
UUID csvConfigId) throws IOException {
CsvConfig csvConfig = csvConfigRepository.findById(csvConfigId).orElseThrow(() ->
new EntityNotFoundException("Csv Config with id: " + csvConfigId + " couldn't be found"));
configureMapper();
final ICsvMapReader csvMapReader = new CsvMapReader(new InputStreamReader(
csvFile.getInputStream()), CsvPreference.STANDARD_PREFERENCE);
String[] csvHeaders = getCsvHeaders(csvMapReader);
List<String> csvConfigFieldsNames = getAllCsvConfigFieldNames(csvConfig);
checkExistingColumnsInCsv(csvHeaders, csvConfigFieldsNames);
final Map<Integer, String> errorMap = new HashMap<>();
Map<String, Object> cleanRow = new HashMap<>();
Map<String, String> row;
while ((row = csvMapReader.read(csvHeaders)) != null) {
log.debug(String.format("lineNo=%s, rowNo=%s, row=%s", csvMapReader.getLineNumber(),
csvMapReader.getRowNumber(), row));
String cellValue;
cleanRow.clear();
for (CsvField csvField : csvConfig.getCsvFields()) {
cellValue = row.get(csvField.getFieldName().toLowerCase(Locale.ENGLISH));
if (StringUtils.isBlank(cellValue)) {
if (StringUtils.isBlank(csvField.getDefaultValue())) {
continue;
} else {
cellValue = csvField.getDefaultValue();
}
}
cellValue = cellValue.trim();
switch (csvField.getFieldConfig().getFieldType()) {
case DATE:
case DATE_TIME:
DateTimeFormatter formatter = DateTimeFormatter.ofPattern(csvField.getFormat());
LocalDate parsedDate = LocalDate.parse(cellValue,
formatter);
cleanRow.put(csvField.getFieldConfig().getName(), parsedDate);
break;
case RELATION:
if (!csvField.getFieldValueMap().isEmpty() && csvField.getFieldValueMap()
.get(cellValue) == null) {
addFieldValueMapErrorsFromCsv(csvMapReader, errorMap, cellValue,
csvField, csvField.getFieldValueMap());
continue;
}
BaseEntity relatedEntityObject = getRelatedEntityObject(cellValue, csvField);
cleanRow.put(csvField.getFieldConfig().getName(),
relatedEntityObject);
break;
case ENUM:
if (!csvField.getEnumValueMap().isEmpty() && csvField.getEnumValueMap()
.get(cellValue) == null) {
addFieldValueMapErrorsFromCsv(csvMapReader, errorMap, cellValue,
csvField, csvField.getEnumValueMap());
continue;
}
String relatedEnum = csvField.getEnumValueMap().get(cellValue);
cleanRow.put(csvField.getFieldConfig().getName(), relatedEnum);
break;
default:
if (PHONE_NUMBER.equals(csvField.getFieldConfig().getName())) {
cleanRow.put(csvField.getFieldConfig().getName(),
encryptionHelper.encrypt(cellValue));
} else {
cleanRow.put(csvField.getFieldConfig().getName(), cellValue);
}
break;
}
}
switch (csvConfig.getEntity()) {
case VACCINEE:
handleVaccineeEntity(cleanRow);
break;
case VISIT:
Visit visit = OBJECT_MAPPER.convertValue(cleanRow, Visit.class);
Vaccinee correspondingVaccinee = vaccineeRepository.findByVaccineeId(visit.getVaccinee()
.getVaccineeId());
if (correspondingVaccinee == null) {
errorMap.put(csvMapReader.getLineNumber(), String.format(
"There is no Vaccinee with Vaccinee id=%s in DB",
visit.getVaccinee().getVaccineeId()));
continue;
}
visit.setVaccinee(correspondingVaccinee);
Visit existingVisit = visitRepository
.getByVaccineeIdAndType(visit.getVaccinee().getId(), visit.getType());
if (existingVisit == null) {
EnrollmentStatus status = enrollmentService.getEnrollmentStatus(correspondingVaccinee);
visit.setStatus(status);
} else {
visit.setId(existingVisit.getId());
visit.setStatus(existingVisit.getStatus());
}
visitRepository.save(visit);
break;
case PERSON:
handlePersonEntity(cleanRow);
break;
default:
break;
}
}
csvMapReader.close();
return errorMap;
}
private String[] getCsvHeaders(ICsvMapReader csvMapReader) throws IOException {
return Arrays.stream(csvMapReader.getHeader(true))
.map(String::trim)
.map(String::toLowerCase)
.toArray(String[]::new);
}
private List<String> getAllCsvConfigFieldNames(CsvConfig csvConfig) {
return csvConfig.getCsvFields()
.stream()
.map(CsvField::getFieldName)
.map(String::toLowerCase)
.collect(Collectors.toList());
}
private void configureMapper() {
OBJECT_MAPPER.registerModule(new JavaTimeModule());
OBJECT_MAPPER.disable(SerializationFeature.WRITE_DATES_AS_TIMESTAMPS);
}
private void handlePersonEntity(Map<String, Object> cleanRow) {
KeyCommunityPerson keyCommunityPerson = OBJECT_MAPPER.convertValue(cleanRow,
KeyCommunityPerson.class);
keyCommunityPersonRepository.save(keyCommunityPerson);
}
private void handleVaccineeEntity(Map<String, Object> cleanRow) {
Vaccinee vaccinee = OBJECT_MAPPER.convertValue(cleanRow, Vaccinee.class);
Vaccinee existingVaccinee = vaccineeRepository.findByVaccineeId(vaccinee.getVaccineeId());
if (existingVaccinee != null) {
vaccinee.setId(existingVaccinee.getId());
enrollmentService.updateEnrollmentStatus(existingVaccinee);
}
vaccineeRepository.save(vaccinee);
}
private void addFieldValueMapErrorsFromCsv(ICsvMapReader csvMapReader, Map<Integer,
String> errorMap, String cellValue, CsvField csvField, Map<String, ?> valuesMap) {
errorMap.put(csvMapReader.getLineNumber(), String.format(
"The value '%s' from the CSV column '%s' isn't mapped in the CSV config for field %s: "
+ "%s", cellValue, csvField.getFieldName(),
csvField.getFieldConfig().getDisplayName(), valuesMap.keySet()));
}
private BaseEntity getRelatedEntityObject(String cellValue, CsvField csvField) {
return getBaseEntity(cellValue, csvField.getFieldConfig(), csvField.getFieldValueMap(),
OBJECT_MAPPER);
}
private void checkExistingColumnsInCsv(String[] csvHeaders, List<String> csvConfigFieldsNames) {
csvConfigFieldsNames.forEach(csvConfigFieldName -> {
if (Arrays.stream(csvHeaders).noneMatch(h -> h.equals(csvConfigFieldName))) {
List<String> unmappedHeaders = new ArrayList<>(Arrays.asList(csvHeaders));
unmappedHeaders.removeAll(csvConfigFieldsNames);
throw new IllegalArgumentException(String.format("Column '%s' "
+ "is missing in the CSV file.\nEither fix your CSV or your CSV config.\n"
+ "Following CSV headers appear in the CSV file but not in config:\n'%s'",
csvConfigFieldName, unmappedHeaders));
}
});
}
}
| 39.480469 | 99 | 0.699416 |
245dae90da7654d85cb3442f50fd95935db40709 | 138 | public int diff(int x, int y) {
if (!same(x, y)) {
return Integer.MAX_VALUE;
}
return calcWeight(y) - calcWeight(x);
} | 23 | 41 | 0.572464 |
13c45c99304d83611fe100f4972d68ff416c618d | 9,455 | /*
Copyright 2009 Semantic Discovery, Inc. (www.semanticdiscovery.com)
This file is part of the Semantic Discovery Toolkit.
The Semantic Discovery Toolkit is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
The Semantic Discovery Toolkit is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public License
along with The Semantic Discovery Toolkit. If not, see <http://www.gnu.org/licenses/>.
*/
package org.sd.cio;
import org.sd.io.FileUtil;
import org.sd.util.ExecUtil;
import java.io.File;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
/**
* Wrapper around a file that may exist remotely.
* <p>
* This places files into the current user's machine-level cluster cache.
* <ul>
* <li>A file that is local to the machine will be symbolically linked to the cache area.</li>
* <li>A file that is accessible over a mount will be copied to the cache area.</li>
* <li>A file that is otherwise remote will be rsynced to the cache area.</li>
* </ul>
* The file in the cache will be used as the local handle.
* <p>
* When a RemoteFile is closed, if keepLocal is false, then the locally cached link or copy
* will be deleted.
* <p>
* If the file already exists in the local cache area, no transfer or update will be done
* unless the forceCopy flag is true.
*
* @author Spence Koehler
*/
public class RemoteFile {
private File file;
private boolean keepLocal;
private boolean forceCopy;
private boolean dontCopy;
private String filename;
private String machine;
private String path;
private File localFile;
/**
* Construct a handle to a remote file by placing it in the local
* cache area. If !keepLocal, then delete the copied file on close.
* <p>
* Don't force a copy if the file already exists and do allow the
* copy.
*/
public RemoteFile(File file, boolean keepLocal) {
this(file, keepLocal, false, false);
}
/**
* Construct a handle to a remote file by placing it in the local
* cache area.
*/
public RemoteFile(File file, boolean keepLocal, boolean forceCopy, boolean dontCopy) {
this.file = file;
this.keepLocal = keepLocal;
this.forceCopy = forceCopy;
this.dontCopy = dontCopy;
init();
}
/**
* Get the local file handle to the file.
*/
public File getLocalHandle() {
return (localFile != null) ? localFile : file;
}
/**
* Get this instance's keepLocal flag.
*/
public boolean keepLocal() {
return keepLocal;
}
/**
* Set this instance's keepLocal flag. Note that its effect is applied
* when this instance is closed.
*/
public void setKeepLocal(boolean keepLocal) {
this.keepLocal = keepLocal;
}
/**
* Close this remote file handle, deleting the local file from the cache
* if this instance is not to keep local copies.
*/
public void close() {
if (!keepLocal && localFile != null && localFile.exists()) {
localFile.delete();
}
}
public String toString() {
final StringBuilder result = new StringBuilder();
result.append(filename);
if (localFile != null) {
result.append(" (local=").
append(localFile.getAbsolutePath()).append(')');
}
return result.toString();
}
private final void init() {
// this.filename = file.getAbsolutePath();
this.filename = file.toString();
this.machine = getMachine(filename);
this.path = getPath(filename);
final String localPath = generateLocalPath(machine, path);
this.localFile = (localPath != null) ? new File(localPath) : null;
if (localFile != null && !localFile.exists()) {
copyRemoteToLocal();
}
}
public static final File getLocalHandle(File file) {
final String filename = file.toString();
final String machine = getMachine(filename);
final String path = getPath(filename);
final String localPath = generateLocalPath(machine, path);
return (localPath != null) ? new File(localPath) : file;
}
private static final Pattern REMOTE_MOUNT_PATTERN = Pattern.compile("^/mnt/([^/]+)(/.*)$");
private static final Pattern REMOTE_SSH_PATTERN = Pattern.compile("^([^:]+):(.*)$");
protected static final String getMachine(String filename) {
String machine = null;
Matcher m = REMOTE_MOUNT_PATTERN.matcher(filename);
if (!m.matches()) {
m = REMOTE_SSH_PATTERN.matcher(filename);
}
if (m.matches()) {
machine = m.group(1).toLowerCase();
final int atPos = machine.indexOf('@');
if (atPos >= 0) {
machine = machine.substring(atPos + 1);
}
}
// if machine is of the form a^b, then return b (a=newMachine, b=origMachine)
if (machine != null) {
final int cPos = machine.indexOf('^');
if (cPos >= 0) {
machine = machine.substring(cPos + 1);
}
}
return machine;
}
protected static final String getPath(String filename) {
String path = null;
Matcher m = REMOTE_MOUNT_PATTERN.matcher(filename);
if (!m.matches()) {
m = REMOTE_SSH_PATTERN.matcher(filename);
}
if (m.matches()) {
path = m.group(2);
// path = m.group(2).toLowerCase();
}
return path;
}
/**
* Given a remote file path in the form of <machine>:<path> or
* /mnt/<machine>/<path>, generate a local path for the file
* under the current user's cluster/cache.
*
* @return the localPath or null if unable to parse the remote file.
*/
public static final String generateLocalPath(String remoteFile) {
final String machine = getMachine(remoteFile);
if (machine == null) return null;
final String path = getPath(remoteFile);
if (path == null) return null;
return generateLocalPath(machine, path);
}
protected static final String generateLocalPath(String machine, String path) {
if (machine == null || path == null || path.length() == 0) return null;
final StringBuilder result = new StringBuilder();
if (path.indexOf("/cluster/cache") < 0) {
result.
append(ExecUtil.getUserHome()).
append("/cluster/cache/").
append(machine);
if (path.charAt(0) != '/') {
result.append('/');
}
}
// else assume path already points to a cluster cache on this machine.
result.append(path);
return result.toString();
}
/**
* Copy the source file to the cache area if it is locally accessible.
* <p>
* If it is locally accessible over a mount point, then copy the file;
* otherwise, symbolically link the file.
*
* @return a handle on the cached file if successful or null.
*/
public static final File copyToCache(File source) {
final File result = getLocalHandle(source);
if (result != null && !result.exists() && source.exists()) {
// make parent directories if needed.
if (!FileUtil.makeParentDirectories(result)) {
System.err.println("***WARNING: mkdirs '" + result.getParentFile().getAbsolutePath() + "' failed!");
}
else {
String command = null;
final String filename = source.getAbsolutePath();
final String local = result.getAbsolutePath();
final String machine = getMachine(local);
if (machine == null || machine.equals(ExecUtil.getMachineName().toLowerCase())) {
// file exists locally. can just do an "ln -s"
command = "ln -s -f " + filename + " " + local;
}
else {
// file exists over a mount point. copy the file over.
command = "cp -f " + filename + " " + local;
}
ExecUtil.executeProcess(command);
}
}
return (result != null && result.exists()) ? result : null;
}
private final void copyRemoteToLocal() {
if (dontCopy || localFile == null || (localFile.exists() && !forceCopy)) return;
// link or rsync the remote file
final File localCopy = copyToCache(file);
if (localCopy == null) {
// couldn't copy so try to rsync.
final String remote = getRemoteName();
new DataBroker().pullWithRsync(remote, localFile);
}
}
public final String getRemoteName() {
return getRemoteName(filename, machine, path);
}
public static final String getRemoteName(File file) {
final String filename = file.toString();
return getRemoteName(filename);
}
public static final String getRemoteName(String filename) {
final String machine = getMachine(filename);
final String path = getPath(filename);
return getRemoteName(filename, machine, path);
}
public static final String getRemoteName(String filename, String machine, String path) {
String result = filename;
if (filename.indexOf(':') < 0) {
// need to convert "/mnt/machine/path" to "machine:path"
result = machine + ":" + path;
}
int caretPos = result.indexOf('^');
if (caretPos > 0) {
// need to rebuild "a^b:path" as "b:path"
result = result.substring(caretPos + 1);
}
return result;
}
}
| 29.272446 | 108 | 0.651296 |
d50fb03856bfcac810d8fa622dec0b78d3d3af3c | 84 | package com.nzt.gdx.test.trials.st.utils.pools;
public class ClassPoolPoolable {
}
| 16.8 | 47 | 0.785714 |
9da6cf942f498c635ad56efc5a0e9b399fe54081 | 629 | package ct.common.code;
import org.apache.log4j.Logger;
/**
* Boiler plate startup class similar to Basic Startup
* @author nikhil
*
*/
public class NonSpringExample1Startup
{
private static final Logger log = Logger.getLogger(NonSpringExample1Startup.class);
public static void main(String[] args)
{
/*
* The Manual Wirering we do In application.
*/
DateService dateService = new USDateService();
HolidayService hService = new HolidayService();
hService.setDtService(dateService);
TradeService tService = new TradeService();
tService.sethService(hService);
tService.bookTrade();
}
}
| 20.290323 | 83 | 0.72814 |
80c64b39b09aed0ae9c451989a531199039ca149 | 3,583 | package io.github.PheonixVX.ThreeDShareware.gui.screen;
import net.minecraft.client.MinecraftClient;
import net.minecraft.client.gui.screen.Screen;
import net.minecraft.client.render.BufferBuilder;
import net.minecraft.client.render.Tessellator;
import net.minecraft.client.render.VertexFormats;
import net.minecraft.client.texture.NativeImage;
import net.minecraft.client.texture.ResourceTexture;
import net.minecraft.client.util.math.MatrixStack;
import net.minecraft.resource.DefaultResourcePack;
import net.minecraft.resource.ResourceManager;
import net.minecraft.resource.ResourceType;
import net.minecraft.text.LiteralText;
import net.minecraft.text.Text;
import net.minecraft.util.Identifier;
import java.io.FilterInputStream;
import java.io.IOException;
import java.io.InputStream;
public class DOSScreen extends Screen {
private static final Identifier field_19193 = new Identifier("sound.sys");
protected DOSScreen (Text title) {
super(new LiteralText("Credits"));
}
@Override
public void render (MatrixStack matrices, int mouseX, int mouseY, float delta) {
this.client.getTextureManager().bindTexture(field_19193);
Tessellator tessellator = Tessellator.getInstance();
BufferBuilder vertexConsumer = tessellator.getBuffer();
vertexConsumer.begin(7, VertexFormats.POSITION_TEXTURE_COLOR);
vertexConsumer.vertex(0.0D, this.height, this.getZOffset()).texture(0.0F, 1.0F).next();
vertexConsumer.vertex(this.width, this.height, this.getZOffset()).texture(1.0F, 1.0F).next();
vertexConsumer.vertex(this.width, 0.0D, this.getZOffset()).texture(1.0F, 0.0F).next();
vertexConsumer.vertex(0.0D, 0.0D, this.getZOffset()).texture(0.0F, 0.0F).next();
tessellator.draw();
}
public static class class_4282 extends ResourceTexture {
private final Identifier field_19194;
public class_4282 (Identifier var1) {
super(var1);
this.field_19194 = var1;
}
protected ResourceTexture.TextureData loadTextureData (ResourceManager var1) {
MinecraftClient var2 = MinecraftClient.getInstance();
DefaultResourcePack var3 = var2.getResourcePackDownloader().getPack();
byte[] var4 = new byte[4];
try {
InputStream var5 = var3.open(ResourceType.CLIENT_RESOURCES, this.field_19194);
Throwable var6 = null;
Object var9;
try {
var5.read(var4);
InputStream var7 = new FilterInputStream(var5) {
public int read () throws IOException {
return super.read() ^ 113;
}
public int read (byte[] var1, int var2, int var3) throws IOException {
int var4 = super.read(var1, var2, var3);
for (int var5 = 0; var5 < var4; ++var5) {
var1[var5 + var2] = (byte) (var1[var5 + var2] ^ 113);
}
return var4;
}
};
Throwable var8 = null;
try {
var9 = new ResourceTexture.TextureData(null, NativeImage.read(var7));
} catch (Throwable var34) {
throw var34;
} finally {
if (var7 != null) {
if (var8 != null) {
try {
var7.close();
} catch (Throwable var33) {
var8.addSuppressed(var33);
}
} else {
var7.close();
}
}
}
} catch (Throwable var36) {
throw var36;
} finally {
if (var5 != null) {
if (var6 != null) {
try {
var5.close();
} catch (Throwable var32) {
var6.addSuppressed(var32);
}
} else {
var5.close();
}
}
}
return (ResourceTexture.TextureData) var9;
} catch (IOException var38) {
return new ResourceTexture.TextureData(var38);
}
}
}
}
| 29.61157 | 95 | 0.681831 |
367b051ad7a58835ed72d2b6d2d6adf2cf45aca8 | 1,655 | package com.eegeo.mapapi.rendering;
import android.support.annotation.UiThread;
import android.support.annotation.WorkerThread;
import com.eegeo.mapapi.EegeoMap;
import com.eegeo.mapapi.bluesphere.BlueSphere;
import com.eegeo.mapapi.util.NativeApiObject;
import java.util.concurrent.Callable;
/**
* @eegeo.internal
*/
public class RenderingState extends NativeApiObject {
private final RenderingApi m_renderingApi;
private final EegeoMap.AllowApiAccess m_allowApiAccess;
private boolean m_isMapCollapsed;
public RenderingState(
final RenderingApi renderingApi,
final EegeoMap.AllowApiAccess allowApiAccess,
boolean isMapCollapsed
) {
super(renderingApi.getNativeRunner(), renderingApi.getUiRunner(),
new Callable<Integer>() {
@WorkerThread
@Override
public Integer call() throws Exception {
return renderingApi.createNativeHandle(allowApiAccess);
}
});
m_renderingApi = renderingApi;
m_allowApiAccess = allowApiAccess;
m_isMapCollapsed = isMapCollapsed;
setMapCollapsed(isMapCollapsed);
}
@UiThread
public boolean isMapCollapsed() {
return m_isMapCollapsed;
}
@UiThread
public void setMapCollapsed(final boolean isMapCollapsed) {
m_isMapCollapsed = isMapCollapsed;
submit(new Runnable() {
@WorkerThread
public void run() {
m_renderingApi.setMapCollapsed(m_allowApiAccess, isMapCollapsed);
}
});
}
}
| 28.534483 | 81 | 0.649547 |
b00bd8cb096243437fe1e58b67406ae0fb581684 | 1,155 | import javafx.concurrent.Service;
import javafx.concurrent.Task;
import sun.awt.Mutex;
class MyRun implements Runnable {
@Override
public void run() {
System.out.println("my runnable");
}
}
class MyThread extends Thread {
@Override
public void run() {
System.out.println("my thread");
}
}
class MyJFXService extends Service<String> {
public MyJFXService() {
setOnSucceeded(s -> {
});
setOnFailed(s -> {
});
setOnCancelled(s -> {
});
setOnReady(s-> {
});
}
@Override
protected Task<String> createTask() {
return new Task<String>() {
@Override
protected String call() throws Exception {
return "";
}
};
}
}
public class AsyncJava {
static Integer val = 42;
static Mutex m = new Mutex();
public static void main(String[] args) {
Thread t = new Thread(new MyRun());
t.start();
MyThread mt = new MyThread();
mt.run();
System.out.println("main");
synchronized(val) {
}
}
}
| 15.608108 | 54 | 0.527273 |
c8804182ea8fbc09dc5a9b45ed484b6ecb5d1ca5 | 2,740 | package com.rapidcassandra.Chapter04.util;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.net.URL;
import java.net.URLConnection;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.logging.Level;
import java.util.logging.Logger;
import org.jsoup.Jsoup;
import org.jsoup.nodes.Document;
import org.jsoup.select.Elements;
import com.rapidcassandra.Chapter04.model.Quote;
public class YahooFetcher {
static Logger log = Logger.getLogger(YahooFetcher.class.getName());
// collect stock quote data from Yahoo! Finance
static public BufferedReader getStock(String symbol, int fromMonth,
int fromDay, int fromYear, int toMonth, int toDay, int toYear) {
try {
// Retrieve CSV stream
URL yahoo = new URL("http://ichart.yahoo.com/table.csv?s="
+ symbol.toUpperCase() + "&a="
+ Integer.toString(fromMonth) + "&b="
+ Integer.toString(fromDay) + "&c="
+ Integer.toString(fromYear) + "&d="
+ Integer.toString(toMonth) + "&e="
+ Integer.toString(toDay) + "&f="
+ Integer.toString(toYear) + "&g=d&ignore=.csv");
log.info(yahoo.toString());
URLConnection connection = yahoo.openConnection();
InputStreamReader is = new InputStreamReader(
connection.getInputStream());
// return the BufferedReader
return new BufferedReader(is);
} catch (IOException e) {
log.log(Level.SEVERE, e.toString(), e);
}
return null;
}
// convert each stock quote data into a Quote POJO
static public Quote parseQuote(String symbol, String[] feed) {
Date price_time = null;
float daylow = 0;
float dayhigh = 0;
float dayopen = 0;
float dayclose = 0;
double volume = 0;
try {
price_time = new SimpleDateFormat("yyyy-MM-dd").parse(feed[0]);
dayopen = Float.parseFloat(feed[1]);
dayhigh = Float.parseFloat(feed[2]);
daylow = Float.parseFloat(feed[3]);
dayclose = Float.parseFloat(feed[4]);
volume = Double.parseDouble(feed[5]);
} catch (ParseException e) {
log.log(Level.SEVERE, e.toString(), e);
}
// create a Quote POJO
return new Quote(symbol.toUpperCase(), price_time, dayopen, dayhigh,
daylow, dayclose, volume, null);
}
// extract stock name from a HTML
public static String getStockName(final String symbol) {
String url = "http://finance.yahoo.com/q/hp?s=" + symbol + "+Historical+Prices";
String stockName = null;
log.info("Fetching " + url);
Document doc;
try {
doc = Jsoup.connect(url).get();
Elements h2s = doc.select("h2");
stockName = h2s.get(2) != null ? h2s.get(2).text() : null;
} catch (IOException e) {
log.log(Level.SEVERE, e.toString(), e);
}
return stockName;
}
}
| 28.842105 | 82 | 0.689416 |
93593511b269322ca2927422cc36526e989363cb | 2,611 | package org.metaborg.spoofax.core.stratego.primitive;
import org.apache.commons.vfs2.FileObject;
import org.metaborg.core.build.paths.ILanguagePathService;
import org.metaborg.core.context.IContext;
import org.metaborg.core.project.IProject;
import org.metaborg.core.project.IProjectService;
import org.metaborg.core.resource.IResourceService;
import org.metaborg.spoofax.core.stratego.primitive.generic.ASpoofaxContextPrimitive;
import org.metaborg.util.resource.ResourceUtils;
import org.spoofax.interpreter.stratego.Strategy;
import org.spoofax.interpreter.terms.IStrategoTerm;
import org.spoofax.interpreter.terms.ITermFactory;
import com.google.inject.Inject;
import org.spoofax.terms.util.TermUtils;
public class RelativeSourceOrIncludePath extends ASpoofaxContextPrimitive {
private final ILanguagePathService languagePathService;
private final IResourceService resourceService;
private final IProjectService projectService;
@Inject public RelativeSourceOrIncludePath(ILanguagePathService languagePathService, IResourceService resourceService,
IProjectService projectService) {
super("language_relative_source_or_include_path", 0, 1);
this.languagePathService = languagePathService;
this.resourceService = resourceService;
this.projectService = projectService;
}
@Override protected IStrategoTerm call(IStrategoTerm current, Strategy[] svars, IStrategoTerm[] tvars,
ITermFactory factory, IContext context) {
if(!TermUtils.isString(tvars[0])) return null;
if(!TermUtils.isString(current)) return null;
final String path = TermUtils.toJavaString(current);
final FileObject resource = resourceService.resolve(context.project().location(), path);
FileObject base = context.location();
final IProject project = projectService.get(context.location());
if(project != null) {
// GTODO: require language identifier instead of language name
final String languageName = TermUtils.toJavaString(tvars[0]);
final Iterable<FileObject> sourceLocations = languagePathService.sourceAndIncludePaths(project, languageName);
for(FileObject sourceLocation : sourceLocations) {
if(sourceLocation.getName().isDescendent(resource.getName())) {
base = sourceLocation;
break;
}
}
}
final String relativePath = ResourceUtils.relativeName(resource.getName(), base.getName(), true);
return factory.makeString(relativePath);
}
}
| 44.254237 | 122 | 0.737265 |
8bd02b0c3daa36f7fad09963882a08cfe3903ace | 840 | package br.unb.cic.dojo.bowling;
import java.util.ArrayList;
import java.util.List;
public class Processador {
public int[] lista;
public static List<Frame> processa(int[] jogadas) {
List<Frame> lista = new ArrayList<Frame>();
if(jogadas.length ==0)
return lista;
Frame f = new Frame();
for (int i : jogadas) {
if (f.isFull()) {
lista.add(f);
f = new Frame();
}
f.push(i);
}
lista.add(f);
return lista;
}
public static int calculaPontuacao(List<Frame> jogo) {
int pontuacao = 0;
for (int i = 0; i < jogo.size(); i++) {
Frame f = jogo.get(i);
if (f.getTotal() == 10) {
if (i<jogo.size()-1) {
Frame futureFrame = jogo.get(i+1);
pontuacao += futureFrame.get(0);
}
}
pontuacao += f.getTotal();
}
return pontuacao;
}
}
| 16.153846 | 55 | 0.567857 |
716070945a0b91baf1130c28243251c99feb2ee6 | 1,491 | package io.github.chenshun00.web.util;
import com.alibaba.druid.pool.DruidDataSource;
import io.github.chenshun00.ioc.InitTest;
import io.github.chenshun00.ioc.annotation.Bean;
import io.github.chenshun00.ioc.annotation.Configuration;
import io.github.chenshun00.ioc.bean.aware.Environment;
import io.github.chenshun00.ioc.bean.aware.EnvironmentAware;
import javax.sql.DataSource;
/**
* @author [email protected]
* @since 2018/9/16
*/
@Configuration
public class ConfigurationTest implements EnvironmentAware {
private Environment environment;
@Bean
public DataSource dataSource() {
DruidDataSource druidDataSource = new DruidDataSource();
druidDataSource.setMaxActive(10);
druidDataSource.setInitialSize(5);
if (InitTest.user.equals("root") && InitTest.password.equals("chenshun")) {
System.err.println("出现错误请检查数据url,user,password是否替换,未出现错误请忽略该消息");
}
druidDataSource.setUrl(environment.getString("url"));
druidDataSource.setUsername(environment.getString("user"));
druidDataSource.setPassword(environment.getString("password"));
druidDataSource.setValidationQuery("select 'x'");
druidDataSource.setTestOnBorrow(false);
druidDataSource.setTestOnReturn(false);
druidDataSource.setTestWhileIdle(true);
return druidDataSource;
}
@Override
public void setEnvironment(Environment environment) {
this.environment = environment;
}
}
| 33.886364 | 83 | 0.733065 |
3b7fe7e32a1dad9d8aa19261c3b5e4480a759835 | 5,665 | /*
* Copyright 2011 Red Hat inc. and third party contributors as noted
* by the author tags.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.redhat.ceylon.cmr.impl;
import java.io.File;
import java.lang.reflect.Method;
import java.net.MalformedURLException;
import java.net.URI;
import java.net.URL;
import com.redhat.ceylon.common.log.Logger;
import com.redhat.ceylon.cmr.api.Repository;
import com.redhat.ceylon.cmr.api.RepositoryBuilder;
import com.redhat.ceylon.cmr.spi.StructureBuilder;
/**
* Repository builder.
*
* @author <a href="mailto:[email protected]">Ales Justin</a>
*/
class RepositoryBuilderImpl implements RepositoryBuilder {
private Logger log;
private int timeout;
private boolean offline;
private String mavenOverrides;
RepositoryBuilderImpl(Logger log, boolean offline, int timeout, String mavenOverrides) {
this.log = log;
this.timeout = timeout;
this.offline = offline;
this.mavenOverrides = mavenOverrides;
}
public Repository buildRepository(String token) throws Exception {
if (token == null)
throw new IllegalArgumentException("Null repository");
final String key = (token.startsWith("${") ? token.substring(2, token.length() - 1) : token);
final String temp = SecurityActions.getProperty(key);
if (temp != null)
token = temp;
StructureBuilder structureBuilder;
if (token.startsWith("http:") || token.startsWith("https:")) {
structureBuilder = new RemoteContentStore(token, log, offline, timeout);
} else if (token.equals("jdk") || token.equals("jdk:")) {
return new JDKRepository();
} else if (token.equals("aether") || token.equals("aether:") || token.equals("mvn") || token.equals("mvn:")) {
Class<?> aetherRepositoryClass = Class.forName("com.redhat.ceylon.cmr.maven.AetherRepository");
Method createRepository = aetherRepositoryClass.getMethod("createRepository", Logger.class, String.class, String.class, boolean.class, int.class);
return (Repository) createRepository.invoke(null, log, null, mavenOverrides, offline, timeout);
} else if (token.startsWith("aether:")) {
return createMavenRepository(token, "aether:");
} else if (token.startsWith("mvn:")) {
return createMavenRepository(token, "mvn:");
} else if (token.startsWith("flat:")) {
final File file = new File(token.substring(5));
if (file.exists() == false)
throw new IllegalArgumentException("Directory does not exist: " + token);
if (file.isDirectory() == false)
throw new IllegalArgumentException("Repository exists but is not a directory: " + token);
structureBuilder = new FileContentStore(file);
return new FlatRepository(structureBuilder.createRoot());
} else {
final File file = (token.startsWith("file:") ? new File(new URI(token)) : new File(token));
if (file.exists() == false)
throw new IllegalArgumentException("Directory does not exist: " + token);
if (file.isDirectory() == false)
throw new IllegalArgumentException("Repository exists but is not a directory: " + token);
structureBuilder = new FileContentStore(file);
}
return new DefaultRepository(structureBuilder.createRoot());
}
protected Repository createMavenRepository(String token, String prefix) throws Exception {
String config = token.substring(prefix.length());
int p = config.indexOf("|");
String settingsXml = null;
String overridesXml = null;
if (p < 0) {
settingsXml = config;
} else if (p == 0) {
overridesXml = config.substring(1);
} else {
settingsXml = config.substring(0, p);
overridesXml = config.substring(p + 1);
}
if(overridesXml == null)
overridesXml = mavenOverrides;
Class<?> aetherRepositoryClass = Class.forName("com.redhat.ceylon.cmr.maven.AetherRepository");
Method createRepository = aetherRepositoryClass.getMethod("createRepository", Logger.class, String.class, String.class, boolean.class, int.class);
return (Repository) createRepository.invoke(null, log, settingsXml, overridesXml, offline, timeout);
}
public boolean isRemote(String token) {
// IMPORTANT Make sure this is consistent with RepositoryBuilderImpl.buildRepository() !
// (except for "file:" which we don't support)
return isHttp(token) || "mvn".equals(token) || token.startsWith("mvn:") || "aether".equals(token) || token.startsWith("aether:") || token.equals("jdk") || token.equals("jdk:");
}
public boolean isHttp(String token) {
try {
URL url = new URL(token);
String protocol = url.getProtocol();
return "http".equals(protocol) || "https".equals(protocol);
} catch (MalformedURLException e) {
return false;
}
}
}
| 43.914729 | 184 | 0.652074 |
173e2dc9ac81a42870c618830647bc38574b4e56 | 852 | package com.azhar.rajaongkir.data.cost;
import com.google.gson.annotations.Expose;
import com.google.gson.annotations.SerializedName;
import java.io.Serializable;
/**
* Created by Azhar Rivaldi on 25-12-2020
*/
public class DataCost implements Serializable {
@SerializedName("value")
@Expose
public Integer value;
@SerializedName("etd")
@Expose
public String etd;
@SerializedName("note")
@Expose
public String note;
public Integer getValue() {
return value;
}
public void setValue(Integer value) {
this.value = value;
}
public String getEtd() {
return etd;
}
public void setEtd(String etd) {
this.etd = etd;
}
public String getNote() {
return note;
}
public void setNote(String note) {
this.note = note;
}
}
| 18.12766 | 50 | 0.629108 |
010f493a5dba587a9ec20f7bbb24673d3abaa573 | 2,191 | package eu.sblendorio.easysaxon.test;
import eu.sblendorio.easysaxon.SaxonFacade;
import eu.sblendorio.easysaxon.XsltBundle;
import java.io.FileNotFoundException;
import java.io.IOException;
import java.nio.file.Paths;
import java.util.Collections;
import java.util.Map;
import java.util.TreeMap;
import junit.framework.Test;
import junit.framework.TestCase;
import junit.framework.TestSuite;
import net.sf.saxon.s9api.SaxonApiException;
import net.sf.saxon.s9api.XdmNode;
import net.sf.saxon.s9api.XsltExecutable;
public class AppTest
extends TestCase {
public AppTest(String testName) {
super(testName);
}
public static Test suite() {
return new TestSuite(AppTest.class);
}
public void testSimpleApp() throws FileNotFoundException, SaxonApiException, IOException {
SaxonFacade api = new SaxonFacade();
XdmNode input = api.getXdm(Paths.get("src/test/resources/testSource.xml"));
XsltExecutable transform = api.getXsltExecutable(Paths.get("src/test/resources/testTransformation.xsl"));
Map<String, Object> params = new TreeMap<>();
params.put("newtag", "John Doe");
XdmNode result = api.executeTransformation(transform, input, params);
System.out.println("RESULT ----------------------------------------------------");
System.out.println(result.toString());
}
public void testIncludingApp() throws Exception {
SaxonFacade api = new SaxonFacade();
XdmNode input = api.getXdm(Paths.get("src/test/resources/testSource.xml"));
XsltBundle bundle = new XsltBundle(Paths.get("src/test/resources/test-main.xsl"));
bundle.addImport("uri:getData-1.xsl", Paths.get("src/test/resources/test-included-1.xsl"));
bundle.addImport("uri:getData-2.xsl", Paths.get("src/test/resources/test-included-2.xsl"));
XsltExecutable transform = api.getXsltExecutable(bundle);
XdmNode output = api.executeTransformation(transform, input, Collections.EMPTY_MAP);
System.out.println("RESULT testIncludingApp ----------------------------------------------------");
System.out.println(output.toString());
}
}
| 35.918033 | 113 | 0.677773 |
60a2383f02b517afb9b2b5a71b31f1edd5f6ebfb | 159 | package babroval.eec_iv.dao;
import java.io.InputStream;
import java.util.List;
public interface Dao<T> {
List<T> loadAll(InputStream csvFile);
}
| 15.9 | 39 | 0.716981 |
ebf820971ab8b7c8072ed9697c8e9c5b991dcf6b | 5,359 | package io.virusafe.validation.personalnumber;
import io.virusafe.domain.dto.PersonalInformationRequestDTO;
import org.junit.jupiter.api.extension.ExtendWith;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.Arguments;
import org.junit.jupiter.params.provider.MethodSource;
import org.mockito.junit.jupiter.MockitoExtension;
import java.util.stream.Stream;
import static org.junit.jupiter.api.Assertions.assertEquals;
@ExtendWith(MockitoExtension.class)
class LnchValidatorTest {
private final LnchValidator lnchValidator = new LnchValidator();
@ParameterizedTest
@MethodSource("providePersonalInformationRequests")
public void testValidLnchShouldPass(PersonalInformationRequestDTO requestDTO, boolean expected, String message) {
assertEquals(expected, lnchValidator.isValidPersonalNumber(requestDTO), message);
}
private static Stream<Arguments> providePersonalInformationRequests() {
PersonalInformationRequestDTO validMaleEGN = new PersonalInformationRequestDTO();
validMaleEGN.setIdentificationNumber("7004306769");
PersonalInformationRequestDTO validMaleUnder20EGN = new PersonalInformationRequestDTO();
validMaleUnder20EGN.setIdentificationNumber("0851092922");
PersonalInformationRequestDTO validMaleOver120EGN = new PersonalInformationRequestDTO();
validMaleOver120EGN.setIdentificationNumber("7323143261");
PersonalInformationRequestDTO validFemaleEGN = new PersonalInformationRequestDTO();
validFemaleEGN.setIdentificationNumber("8607122413");
PersonalInformationRequestDTO validFemaleUnder20EGN = new PersonalInformationRequestDTO();
validFemaleUnder20EGN.setIdentificationNumber("1149072990");
PersonalInformationRequestDTO validFemaleOver120EGN = new PersonalInformationRequestDTO();
validFemaleOver120EGN.setIdentificationNumber("9223144838");
PersonalInformationRequestDTO validLnch = new PersonalInformationRequestDTO();
validLnch.setIdentificationNumber("1111111111");
PersonalInformationRequestDTO invalidEGNCheckSum = new PersonalInformationRequestDTO();
invalidEGNCheckSum.setIdentificationNumber("4905301159");
PersonalInformationRequestDTO invalidEGNAge = new PersonalInformationRequestDTO();
invalidEGNAge.setIdentificationNumber("1149072990");
PersonalInformationRequestDTO invalidEGNGender = new PersonalInformationRequestDTO();
invalidEGNGender.setIdentificationNumber("1149072990");
PersonalInformationRequestDTO eGNmonthOver52 = new PersonalInformationRequestDTO();
eGNmonthOver52.setIdentificationNumber("0453114605");
PersonalInformationRequestDTO eGNmonthOver12 = new PersonalInformationRequestDTO();
eGNmonthOver12.setIdentificationNumber("5717112747");
PersonalInformationRequestDTO eGNmonthZero = new PersonalInformationRequestDTO();
eGNmonthZero.setIdentificationNumber("8400118944");
PersonalInformationRequestDTO eGNmonthOver32 = new PersonalInformationRequestDTO();
eGNmonthOver32.setIdentificationNumber("2635116625");
PersonalInformationRequestDTO eGNdayZero = new PersonalInformationRequestDTO();
eGNdayZero.setIdentificationNumber("4804003507");
PersonalInformationRequestDTO eGNdayOver31 = new PersonalInformationRequestDTO();
eGNdayOver31.setIdentificationNumber("0845335888");
PersonalInformationRequestDTO eGNfeb29NonLeap = new PersonalInformationRequestDTO();
eGNfeb29NonLeap.setIdentificationNumber("0742292689");
PersonalInformationRequestDTO longerNumber = new PersonalInformationRequestDTO();
longerNumber.setIdentificationNumber("074229268900");
PersonalInformationRequestDTO nullNumber = new PersonalInformationRequestDTO();
return Stream.of(
Arguments.of(validMaleEGN, false, "Valid EGN male 1900-2000"),
Arguments.of(validMaleUnder20EGN, false, "Valid EGN male 2000-3000"),
Arguments.of(validMaleOver120EGN, false, "Valid EGN male 1800-1900"),
Arguments.of(validFemaleEGN, false, "Valid EGN female 1900-2000"),
Arguments.of(validFemaleUnder20EGN, false, "Valid EGN female 2000-3000"),
Arguments.of(validFemaleOver120EGN, false, "Valid EGN female 1800-1900"),
Arguments.of(validLnch, true, "Valid LNCH"),
Arguments.of(invalidEGNCheckSum, false, "Invalid EGN checksum"),
Arguments.of(invalidEGNAge, false, "Invalid EGN age"),
Arguments.of(invalidEGNGender, false, "Invalid EGN gender"),
Arguments.of(eGNmonthOver52, false, "EGN month over 52"),
Arguments.of(eGNmonthOver12, false, "EGN month 13-19"),
Arguments.of(eGNmonthZero, false, "EGN month 0"),
Arguments.of(eGNmonthOver32, false, "EGN month 33-39"),
Arguments.of(eGNdayZero, false, "EGN day 0"),
Arguments.of(eGNdayOver31, false, "EGN day over 31"),
Arguments.of(eGNfeb29NonLeap, false, "EGN Feb 29th for a non-leap year"),
Arguments.of(longerNumber, false, "Longer personal number"),
Arguments.of(nullNumber, false, "Null personal number")
);
}
} | 63.047059 | 117 | 0.745662 |
6c78476b0c1116eff106e198fa6d3ccf812a24f8 | 2,544 | package com.appointment.publishing.controller;
import com.appointment.publishing.model.GeneralApiError;
import org.hibernate.PropertyValueException;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.dao.DataIntegrityViolationException;
import org.springframework.http.HttpHeaders;
import org.springframework.http.HttpStatus;
import org.springframework.http.ResponseEntity;
import org.springframework.web.bind.annotation.ControllerAdvice;
import org.springframework.web.bind.annotation.ExceptionHandler;
import org.springframework.web.context.request.WebRequest;
import org.springframework.web.servlet.mvc.method.annotation.ResponseEntityExceptionHandler;
/**
* Provides handling for exceptions throughout this service.
*
* <p>Automatically produces a user friendly response message as:
*
* <pre>{@code
* {
* "status": "BAD_REQUEST",
* "timestamp": "20-07-2020 05:07:05",
* "message": "Missing required property 'clippingMatter'",
* "debugMessage": "not-null property ..."
* }
* }</pre>
*
* @see <a href="https://www.toptal.com/java/spring-boot-rest-api-error-handling">Guide to Spring
* Boot REST API Error Handling</a>
* @see <a
* href="https://medium.com/@jovannypcg/understanding-springs-controlleradvice-cd96a364033f">Understanding
* Spring’s @ControllerAdvice</a>
* @see <a href="https://www.baeldung.com/exception-handling-for-rest-with-spring">Error Handling
* for REST with Spring</a>
*/
@ControllerAdvice
public class GlobalExceptionHandler extends ResponseEntityExceptionHandler {
private static final Logger logger = LoggerFactory.getLogger(ClippingController.class);
@ExceptionHandler(DataIntegrityViolationException.class)
public ResponseEntity<Object> handleDataIntegrityViolationException(
Exception exception, WebRequest request) {
PropertyValueException cause = (PropertyValueException) exception.getCause();
final String property = cause.getPropertyName();
final String missing = String.format("Missing required property '%s'", property);
logger.error("{} due to {}", missing, cause.getLocalizedMessage());
HttpHeaders headers = new HttpHeaders();
return buildResponseEntity(
new GeneralApiError(HttpStatus.BAD_REQUEST, missing, exception), headers);
}
protected ResponseEntity<Object> buildResponseEntity(GeneralApiError error, HttpHeaders headers) {
return new ResponseEntity<>(error, headers, error.getStatus());
}
}
| 42.4 | 111 | 0.751179 |
64a4007d2329dadc330ca8b99a5298f27310c628 | 622 | package cn.gov.modules.system.repository;
import cn.gov.modules.system.domain.Dept;
import cn.gov.modules.system.domain.Job;
import cn.gov.modules.system.domain.Organization;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
/**
* @author liushaoqiang
* @Description TODO
* @date 2021/9/14
*/
public interface OrganizationRepository extends JpaRepository<Organization, Long>, JpaSpecificationExecutor<Organization> {
/**
* 根据名称查询
* @param name 名称
* @return /
*/
Organization findByName(String name);
}
| 27.043478 | 123 | 0.757235 |
1e732fc916444a74165f486b121962e8e809f2cb | 3,260 | package com.sabag.ronen.refactortonewarchitecturecomponents.notesList;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;
import android.support.v7.widget.RecyclerView;
import android.support.v7.widget.StaggeredGridLayoutManager;
import android.support.v7.widget.Toolbar;
import android.view.Menu;
import android.view.MenuItem;
import android.view.View;
import com.sabag.ronen.refactortonewarchitecturecomponents.App;
import com.sabag.ronen.refactortonewarchitecturecomponents.addNotes.AddNoteDialog;
import com.sabag.ronen.refactortonewarchitecturecomponents.addNotes.AddNoteListener;
import com.sabag.ronen.refactortonewarchitecturecomponents.notesDetails.NoteDetailsActivity;
import com.sabag.ronen.refactortonewarchitecturecomponents.storage.INotesTable;
import com.sabag.ronen.refactortonewarchitecturecomponents.storage.notesTableImpl.NoteData;
import com.sabag.ronen.refactortonewarchitecturecomponents.R;
import java.util.List;
public class NotesActivity extends AppCompatActivity implements AddNoteListener, OnNoteClickListener {
private INotesTable mNotesTable;
private RecyclerView notesList;
@Override
protected void onCreate(@Nullable Bundle savedInstanceState) {
super.onCreate(savedInstanceState);
setContentView(R.layout.activity_notes);
Toolbar toolbar = findViewById(R.id.toolbar);
setSupportActionBar(toolbar);
notesList = findViewById(R.id.notesList);
notesList.setLayoutManager(new StaggeredGridLayoutManager(2,
StaggeredGridLayoutManager.VERTICAL));
notesList.setAdapter(new NotesAdapter(this));
View fab = findViewById(R.id.addNote);
fab.setOnClickListener(new View.OnClickListener() {
@Override
public void onClick(View v) {
AddNoteDialog addNoteDialog = new AddNoteDialog();
addNoteDialog.show(getSupportFragmentManager(), "AddNoteDialog");
}
});
mNotesTable = ((App)getApplication()).getNotesTable();
updateNotes(true);
}
@Override
public boolean onCreateOptionsMenu(Menu menu) {
getMenuInflater().inflate(R.menu.menu_notes, menu);
return true;
}
@Override
public boolean onOptionsItemSelected(MenuItem item) {
switch (item.getItemId()) {
case R.id.action_settings:
return true;
}
return super.onOptionsItemSelected(item);
}
@Override
public void onNoteClick(long noteId) {
Intent intent = new Intent(this, NoteDetailsActivity.class);
intent.putExtra("NOTE_ID", noteId);
startActivity(intent);
}
@Override
public void onNoteAdded(String note) {
mNotesTable.add(new NoteData(note));
updateNotes(false);
}
private void updateNotes(boolean notifyAll) {
List<NoteData> all = mNotesTable.getAll();
NotesAdapter adapter = (NotesAdapter) notesList.getAdapter();
adapter.setNotes(all);
if (notifyAll) {
adapter.notifyDataSetChanged();
} else {
adapter.notifyItemInserted(all.size() - 1);
}
}
} | 35.434783 | 102 | 0.715644 |
944ba89f418a48373708711a01f5a441a27f4945 | 2,048 |
package com.commercetools.api.models.category;
import java.util.*;
import java.util.function.Function;
import javax.annotation.Nullable;
import io.vrap.rmf.base.client.Builder;
import io.vrap.rmf.base.client.utils.Generated;
@Generated(value = "io.vrap.rmf.codegen.rendring.CoreCodeGenerator", comments = "https://github.com/vrapio/rmf-codegen")
public final class CategoryReferenceBuilder implements Builder<CategoryReference> {
private String id;
@Nullable
private com.commercetools.api.models.category.Category obj;
public CategoryReferenceBuilder id(final String id) {
this.id = id;
return this;
}
public CategoryReferenceBuilder obj(
Function<com.commercetools.api.models.category.CategoryBuilder, com.commercetools.api.models.category.CategoryBuilder> builder) {
this.obj = builder.apply(com.commercetools.api.models.category.CategoryBuilder.of()).build();
return this;
}
public CategoryReferenceBuilder obj(@Nullable final com.commercetools.api.models.category.Category obj) {
this.obj = obj;
return this;
}
public String getId() {
return this.id;
}
@Nullable
public com.commercetools.api.models.category.Category getObj() {
return this.obj;
}
public CategoryReference build() {
Objects.requireNonNull(id, CategoryReference.class + ": id is missing");
return new CategoryReferenceImpl(id, obj);
}
/**
* builds CategoryReference without checking for non null required values
*/
public CategoryReference buildUnchecked() {
return new CategoryReferenceImpl(id, obj);
}
public static CategoryReferenceBuilder of() {
return new CategoryReferenceBuilder();
}
public static CategoryReferenceBuilder of(final CategoryReference template) {
CategoryReferenceBuilder builder = new CategoryReferenceBuilder();
builder.id = template.getId();
builder.obj = template.getObj();
return builder;
}
}
| 29.681159 | 141 | 0.702148 |
87a3c7e75e27f8744e39d7553bf504786c9c7e3a | 805 | package org.atlasapi.query.v4.search.attribute;
import com.metabroadcast.sherlock.client.parameter.SingleValueParameter;
import com.metabroadcast.sherlock.client.parameter.TermParameter;
import com.metabroadcast.sherlock.common.type.KeywordMapping;
import org.atlasapi.query.common.coercers.AttributeCoercer;
import javax.annotation.Nonnull;
public class KeywordAttribute<T> extends TermAttribute<T, KeywordMapping<T>> {
public KeywordAttribute(
SherlockParameter parameter,
KeywordMapping<T> mapping,
AttributeCoercer<T> coercer
) {
super(parameter, mapping, coercer);
}
@Override
protected SingleValueParameter<T> createParameter(KeywordMapping<T> mapping, @Nonnull T value) {
return TermParameter.of(mapping, value);
}
}
| 32.2 | 100 | 0.750311 |
7a7dda004505b0643715967fda1bcf3b72bd13ba | 2,098 | /*
* The MIT License (MIT)
*
* Copyright (c) 2011-2021 Rice University, Baylor College of Medicine, Aiden Lab
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package mixer.utils.slice.gmm;
import org.apache.commons.math3.linear.CholeskyDecomposition;
import org.apache.commons.math3.linear.RealMatrix;
public class CovarianceMatrixInverseAndDeterminant {
public double determinant;
public RealMatrix inverse;
public CovarianceMatrixInverseAndDeterminant(RealMatrix covMatrix) {
CholeskyDecomposition chol = new CholeskyDecomposition(covMatrix);
determinant = chol.getDeterminant();
inverse = chol.getSolver().getInverse();
}
public static CovarianceMatrixInverseAndDeterminant[] convertToArray(RealMatrix[] covMatrices) {
CovarianceMatrixInverseAndDeterminant[] covs = new CovarianceMatrixInverseAndDeterminant[covMatrices.length];
for (int k = 0; k < covs.length; k++) {
covs[k] = new CovarianceMatrixInverseAndDeterminant(covMatrices[k]);
}
return covs;
}
}
| 43.708333 | 117 | 0.747855 |
787f6c69e5b11b76cc7b896233d438dc803843e8 | 1,103 | package org.firstinspires.ftc.teamcode;
import com.qualcomm.robotcore.eventloop.opmode.OpMode;
import com.qualcomm.robotcore.eventloop.opmode.TeleOp;
import com.qualcomm.robotcore.hardware.DcMotor;
import com.qualcomm.robotcore.hardware.DcMotorSimple;
@TeleOp(name="DayO", group="DayO")
public class DayO extends OpMode {
private DcMotor leftMotor = null;
private DcMotor rightMotor = null;
public void init() {
leftMotor = hardwareMap.dcMotor.get("leftMotor");
rightMotor = hardwareMap.dcMotor.get("rightMotor");
leftMotor.setDirection(DcMotorSimple.Direction.REVERSE);
leftMotor.setPower(0);
rightMotor.setPower(0);
}
public void start() {
// Run once when driver hits "PLAY".
// Robot start-of-match code goes here.
}
public void loop() {
double left = gamepad1.left_stick_y;
double right = gamepad1.right_stick_y;
leftMotor.setPower(left);
rightMotor.setPower(right);
}
public void stop() {
leftMotor.setPower(0);
rightMotor.setPower(0);
}
}
| 24.511111 | 64 | 0.673617 |
42fde703ffb9677261422cde651d01b14b062f1f | 1,004 | Dado un grafo acíclico y dirigido, ordena los nodos linealmente de tal manera que si existe una arista entre los nodos u y v entonces u aparece antes que v.
Este ordenamiento es una manera de poner todos los nodos en una línea recta de tal manera que las aristas vayan de izquierda a derecha.
SE DEBEN LIMPIAR LAS ESTRUCTURAS DE DATOS ANTES DE UTILIZARSE
static int v, e; //vertices, arcos
static int MAX=100005; //Cantidad máxima de nodos del grafo
static ArrayList<Integer> ady[] = new ArrayList[MAX]; //Lista de adyacencia
static ArrayList<Integer> topoSort; //Lista de adyacencia
static boolean marked[] = new boolean[MAX]; //Estructura auxiliar para marcar los grafos visitados
//Recibe un nodo inicial u
static void dfs( int u ){
int i, v;
marked[u] = 1;
for( i = 0; i < ady[u].size(); i++){
v = ady[u].get(i);
if( !marked[v] ) dfs(v);
}
topoSort.add(u);
}
public static void main( String args[]){
for(i=0; i<v; i++){
if( !marked[i] ) dfs(i)
}
//imprimir topoSort en reversa :3
}
| 34.62069 | 156 | 0.713147 |
d92c042d982609ec842ed5e9c84a9494bb3a99c6 | 5,377 | /*
* Copyright (c) 2020, WSO2 Inc. (http://www.wso2.org) All Rights Reserved.
*
* WSO2 Inc. licenses this file to you under the Apache License,
* Version 2.0 (the "License"); you may not use this file except
* in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing,
* software distributed under the License is distributed on an
* "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
* KIND, either express or implied. See the License for the
* specific language governing permissions and limitations
* under the License.
*/
package org.wso2.carbon.esb.hl7.inbound.transport.test;
import org.apache.axiom.om.OMElement;
import org.apache.axiom.om.util.AXIOMUtil;
import org.testng.Assert;
import org.testng.annotations.AfterClass;
import org.testng.annotations.BeforeClass;
import org.testng.annotations.Test;
import org.wso2.carbon.automation.engine.context.AutomationContext;
import org.wso2.carbon.automation.engine.frameworkutils.FrameworkPathUtil;
import org.wso2.carbon.automation.test.utils.http.client.HttpRequestUtil;
import org.wso2.esb.integration.common.utils.CarbonLogReader;
import org.wso2.esb.integration.common.utils.ESBIntegrationTest;
import org.wso2.esb.integration.common.utils.Utils;
import org.wso2.esb.integration.common.utils.common.ServerConfigurationManager;
import java.io.File;
import java.util.HashMap;
import java.util.Map;
public class HL7InboundPreprocessorTest extends ESBIntegrationTest {
private CarbonLogReader logReader = null;
private ServerConfigurationManager configurationManager;
@BeforeClass(alwaysRun = true)
public void init() throws Exception {
configurationManager = new ServerConfigurationManager(new AutomationContext());
String hl7Toml =
FrameworkPathUtil.getSystemResourceLocation() + "artifacts" + File.separator + "ESB" + File.separator
+ "hl7" + File.separator + "conf" + File.separator + "deployment.toml";
configurationManager.applyMIConfigurationWithRestart(new File(hl7Toml));
super.init();
logReader = new CarbonLogReader();
logReader.start();
}
@AfterClass(alwaysRun = true)
public void restoreServerConfiguration() throws Exception {
logReader.stop();
configurationManager.restoreToLastMIConfiguration();
}
@Test(groups = { "wso2.esb" },
description = "Test HL7 PreProcessor")
public void testHL7MessagePreprocessorInboundAutoAck() throws Exception {
logReader.clearLogs();
Utils.deploySynapseConfiguration(addInbound(), "hl7_inbound", Utils.ArtifactType.INBOUND_ENDPOINT, false);
Assert.assertTrue(logReader.checkForLog("Starting HL7 Inbound Endpoint on port 20003", DEFAULT_TIMEOUT),
"Inbound deployment failed");
verifyAPIExistence("hl7-api");
// send request
Map<String, String> headers = new HashMap<>();
headers.put("Accept", "application/xml");
String apiUrl = getMainSequenceURL() + "hl7/inbound20003";
HttpRequestUtil.doGet(apiUrl, headers);
boolean found = logReader.checkForLog("Message = HL7 Message Received via Inbound Endpoint", DEFAULT_TIMEOUT);
Assert.assertTrue(found, "Hl7 Message not received in inbound.");
Assert.assertTrue(logReader.checkForLog("Encoding ER7", DEFAULT_TIMEOUT),
"HL7MessagePreprocessor not working" + " as expected.");
Utils.undeploySynapseConfiguration("hl7_inbound", Utils.ArtifactType.INBOUND_ENDPOINT, false);
}
private OMElement addInbound() throws Exception {
return AXIOMUtil.stringToOM("<inboundEndpoint xmlns=\"http://ws.apache.org/ns/synapse\"\n"
+ " name=\"hl7_inbound\"\n"
+ " sequence=\"hl7-log\"\n"
+ " onError=\"fault\"\n"
+ " protocol=\"hl7\"\n"
+ " suspend=\"false\">\n" + " <parameters>\n"
+ " <parameter name=\"inbound.hl7.ValidateMessage\">true</parameter>\n"
+ " <parameter name=\"inbound.hl7.Port\">20003</parameter>\n"
+ " <parameter name=\"inbound.hl7.TimeOut\">3000</parameter>\n"
+ " <parameter name=\"inbound.hl7.MessagePreProcessor\">org.wso2.sample.MessageFilter</parameter>\n"
+ " <parameter name=\"inbound.hl7.AutoAck\">true</parameter>\n"
+ " <parameter name=\"inbound.hl7.BuildInvalidMessages\">true</parameter>\n"
+ " <parameter name=\"inbound.hl7.PassThroughInvalidMessages\">true</parameter>\n"
+ " <parameter name=\"inbound.hl7.CharSet\">UTF-8</parameter>\n"
+ " </parameters>\n" + "</inboundEndpoint>");
}
}
| 51.701923 | 149 | 0.618189 |
4680b09bdf42c6288db8479eafb4bf1b80ac808c | 4,228 | package agenda.gui.utils;
import java.awt.BorderLayout;
import java.awt.Dimension;
import java.awt.FlowLayout;
import java.awt.GridLayout;
import java.awt.Toolkit;
import java.awt.event.ActionEvent;
import java.awt.event.ActionListener;
import javax.swing.JButton;
import javax.swing.JDialog;
import javax.swing.JLabel;
import javax.swing.JPanel;
import javax.swing.SwingConstants;
import javax.swing.WindowConstants;
public abstract class FormDialog extends JDialog implements ActionListener {
private static final long serialVersionUID = 1L;
private JLabel titleLabel;
private JPanel buttonContainer;
private JPanel contentPanel;
private JButton cancelButton;
private JButton okButton;
private DialogResult result;
protected void setModalResult(DialogResult result) {
this.result = result;
}
protected DialogResult getModalResult() {
return this.result;
}
public DialogResult showDialog() {
setModal(true);
setVisible(true);
return getModalResult();
}
/**
* Centra la vista nel centro dello schermo
*/
protected void Center() {
Dimension dim = Toolkit.getDefaultToolkit().getScreenSize();
// Determine the new location of the window
int w = getSize().width;
int h = getSize().height;
int x = (dim.width - w) / 2;
int y = (dim.height - h) / 2;
// Move the window
setLocation(x, y);
}
/**
* Imposta il titolo della vista
*/
public void setTitle(String title) {
super.setTitle(title);
titleLabel.setText(title);
}
/**
* Ritorna il pannello principale a cui aggiungere tutti i controlli.
*
* @return
*/
protected JPanel getContentPanel() {
return contentPanel;
}
@Override
public void actionPerformed(ActionEvent e) {
Object source = e.getSource();
if (source == okButton)
OnOkClick();
if (source == cancelButton)
OnCancelClick();
}
public FormDialog() {
super();
preinitGUI();
initGUI();
pack();
}
private void preinitGUI() {
try {
setDefaultCloseOperation(WindowConstants.DISPOSE_ON_CLOSE);
this.setResizable(false);
{
titleLabel = new JLabel();
getContentPane().add(titleLabel, BorderLayout.NORTH);
titleLabel.setFont(new java.awt.Font("Segoe UI", 1, 20));
titleLabel.setPreferredSize(new java.awt.Dimension(434, 62));
titleLabel.setHorizontalTextPosition(SwingConstants.CENTER);
titleLabel.setText("TITOLO");
}
{
buttonContainer = new JPanel();
FlowLayout buttonContainerLayout = new FlowLayout();
buttonContainerLayout.setAlignment(FlowLayout.RIGHT);
buttonContainer.setLayout(buttonContainerLayout);
getContentPane().add(buttonContainer, BorderLayout.SOUTH);
{
cancelButton = new JButton();
buttonContainer.add(cancelButton);
cancelButton.setText("Annulla");
cancelButton.addActionListener(this);
}
{
okButton = new JButton();
buttonContainer.add(okButton);
okButton.setText("Ok");
okButton.addActionListener(this);
}
}
{
contentPanel = new JPanel();
GridLayout contentPanelLayout = new GridLayout(1, 1);
contentPanelLayout.setColumns(1);
contentPanelLayout.setHgap(5);
contentPanelLayout.setVgap(5);
contentPanel.setLayout(contentPanelLayout);
getContentPane().add(contentPanel, BorderLayout.CENTER);
}
} catch (Exception e) {
e.printStackTrace();
}
}
protected void setCancelButtonVisible(boolean visible) {
cancelButton.setVisible(visible);
}
/**
* Metodo astratto da implementare per inserire tutti i controlli. Il pack
* non è necessario in quanto richiamato automaticamente dal costruttore
*/
protected abstract void initGUI();
/**
* E' eseguito alla pressione del pulsante cancel
*/
protected void OnCancelClick() {
setModalResult(DialogResult.Cancel);
Close();
}
/**
* E' eseguito alla pressione del pulsante ok
*/
protected void OnOkClick() {
setModalResult(DialogResult.Ok);
Close();
}
/**
* Chiude la finestra e gestisce EXIT_ON_CLOSE e DISPOSE_ON_CLOSE
*/
protected void Close() {
this.setVisible(false);
if (getDefaultCloseOperation() == WindowConstants.EXIT_ON_CLOSE) {
System.exit(0);
}
if (getDefaultCloseOperation() == WindowConstants.DISPOSE_ON_CLOSE) {
dispose();
}
}
}
| 24.298851 | 76 | 0.716178 |
96f3a578d31e3003d4a22538863ea663b7b729cc | 1,122 | /*
Part of Libnodave, a free communication libray for Siemens S7
(C) Thomas Hergenhahn ([email protected]) 2005.
Libnodave is free software; you can redistribute it and/or modify
it under the terms of the GNU Library General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
Libnodave is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU Library General Public License
along with this; see the file COPYING. If not, write to
the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.
*/
package com.github.s7connector.impl.nodave;
/**
* @author Thomas Hergenhahn
* <p>
* To change the template for this generated type comment go to
* Window>Preferences>Java>Code Generation>Code and Comments
*/
public final class Result {
public int bufferStart;
public int error;
public int length;
}
| 34 | 77 | 0.762032 |
5e521e924fa1506442992a880b27c0bb26109039 | 63 | package gmbarrera.ga.generic;
public abstract class Gen {
}
| 10.5 | 29 | 0.746032 |
832cd8e973d9e745c6d92473dfa6f44d396f0466 | 309 | package com.scraperclub.android.scraping;
import com.scraperclub.android.api.model.ScraperResult;
import com.scraperclub.android.api.model.ScraperUrl;
import io.reactivex.Single;
public interface ScrapingCore {
Single<ScraperResult> startScraping(ScraperUrl url);
void stopScrapingImmediately();
}
| 25.75 | 56 | 0.812298 |
ef362e2d51b411a5edc0e4028965842e212e56a8 | 4,603 | package org.infinispan.manager;
import org.infinispan.Cache;
import org.infinispan.configuration.cache.CacheMode;
import org.infinispan.configuration.cache.ConfigurationBuilder;
import org.infinispan.eviction.EvictionManager;
import org.infinispan.eviction.EvictionStrategy;
import org.infinispan.interceptors.BatchingInterceptor;
import org.infinispan.interceptors.InterceptorChain;
import org.infinispan.remoting.transport.Transport;
import org.infinispan.test.AbstractCacheTest;
import org.infinispan.test.AbstractInfinispanTest;
import org.infinispan.test.TestingUtil;
import org.infinispan.test.fwk.TestCacheManagerFactory;
import org.infinispan.transaction.TransactionMode;
import org.infinispan.transaction.lookup.DummyTransactionManagerLookup;
import org.infinispan.transaction.tm.DummyTransactionManager;
import org.testng.annotations.AfterMethod;
import org.testng.annotations.Test;
import javax.transaction.TransactionManager;
/**
* @author Manik Surtani
* @since 4.0
*/
@Test(groups = "functional", testName = "manager.CacheManagerComponentRegistryTest")
public class CacheManagerComponentRegistryTest extends AbstractCacheTest {
EmbeddedCacheManager cm;
@AfterMethod
public void tearDown() {
TestingUtil.killCacheManagers(cm);
cm = null;
}
public void testForceSharedComponents() {
ConfigurationBuilder defaultCfg = getDefaultClusteredCacheConfig(CacheMode.REPL_SYNC);
defaultCfg
.clustering()
.stateTransfer()
.fetchInMemoryState(false)
.transaction()
.transactionMode(TransactionMode.NON_TRANSACTIONAL);
// cache manager with default configuration
cm = TestCacheManagerFactory.createClusteredCacheManager(defaultCfg);
// default cache with no overrides
Cache c = cm.getCache();
ConfigurationBuilder overrides = TestCacheManagerFactory.getDefaultCacheConfiguration(true);
overrides.transaction().transactionManagerLookup(new DummyTransactionManagerLookup());
cm.defineConfiguration("transactional", overrides.build());
Cache transactional = cm.getCache("transactional");
// assert components.
assert TestingUtil.extractComponent(c, TransactionManager.class) == null;
assert TestingUtil.extractComponent(transactional, TransactionManager.class) instanceof DummyTransactionManager;
// assert force-shared components
assert TestingUtil.extractComponent(c, Transport.class) != null;
assert TestingUtil.extractComponent(transactional, Transport.class) != null;
assert TestingUtil.extractComponent(c, Transport.class) == TestingUtil.extractComponent(transactional, Transport.class);
}
public void testForceUnsharedComponents() {
ConfigurationBuilder defaultCfg = getDefaultClusteredCacheConfig(CacheMode.REPL_SYNC);
defaultCfg
.clustering()
.stateTransfer()
.fetchInMemoryState(false)
.eviction()
.strategy(EvictionStrategy.NONE);
// cache manager with default configuration
cm = TestCacheManagerFactory.createClusteredCacheManager(defaultCfg);
// default cache with no overrides
Cache c = cm.getCache();
ConfigurationBuilder overrides = TestCacheManagerFactory.getDefaultCacheConfiguration(true);
overrides.transaction().transactionManagerLookup(new DummyTransactionManagerLookup());
cm.defineConfiguration("transactional", overrides.build());
Cache transactional = cm.getCache("transactional");
// assert components.
assert TestingUtil.extractComponent(c, EvictionManager.class) != null;
assert TestingUtil.extractComponent(transactional, EvictionManager.class) != null;
assert TestingUtil.extractComponent(c, EvictionManager.class) != TestingUtil.extractComponent(transactional, EvictionManager.class);
}
public void testOverridingComponents() {
cm = TestCacheManagerFactory.createClusteredCacheManager(new ConfigurationBuilder());
// default cache with no overrides
Cache c = cm.getCache();
ConfigurationBuilder overrides = new ConfigurationBuilder();
overrides.invocationBatching().enable();
cm.defineConfiguration("overridden", overrides.build());
Cache overridden = cm.getCache("overridden");
// assert components.
assert !TestingUtil.extractComponent(c, InterceptorChain.class).containsInterceptorType(BatchingInterceptor.class);
assert TestingUtil.extractComponent(overridden, InterceptorChain.class).containsInterceptorType(BatchingInterceptor.class);
}
}
| 42.62037 | 138 | 0.762763 |
d329471f091015dcea15bc42e5a9a81b16645aa1 | 1,494 | package com.bishe.wuliu.pojo;
import java.util.Date;
public class Express {
private String id;
private String fromlocation;
private String tolocation;
private String phone;
private Date posttime;
private String type;
private String company;
public String getId() {
return id;
}
public void setId(String id) {
this.id = id == null ? null : id.trim();
}
public String getFromlocation() {
return fromlocation;
}
public void setFromlocation(String fromlocation) {
this.fromlocation = fromlocation == null ? null : fromlocation.trim();
}
public String getTolocation() {
return tolocation;
}
public void setTolocation(String tolocation) {
this.tolocation = tolocation == null ? null : tolocation.trim();
}
public String getPhone() {
return phone;
}
public void setPhone(String phone) {
this.phone = phone == null ? null : phone.trim();
}
public Date getPosttime() {
return posttime;
}
public void setPosttime(Date posttime) {
this.posttime = posttime;
}
public String getType() {
return type;
}
public void setType(String type) {
this.type = type == null ? null : type.trim();
}
public String getCompany() {
return company;
}
public void setCompany(String company) {
this.company = company == null ? null : company.trim();
}
} | 19.92 | 78 | 0.603079 |
b25bc5ee982ab6a9f5261d71f71e1a6a0be24d00 | 1,151 | package edu.utexas.tacc.tapis.jobs.model;
import java.util.ArrayList;
import java.util.List;
public class IncludeExcludeFilter
{
private List<String> includes;
private List<String> excludes;
private Boolean includeLaunchFiles;
public IncludeExcludeFilter() {this(true);}
public IncludeExcludeFilter(boolean init) {if (init) initAll();}
// A simple way to make sure all fields are non-null.
public void initAll()
{
if (includes == null) includes = new ArrayList<String>();
if (excludes == null) excludes = new ArrayList<String>();
}
public List<String> getIncludes() {
return includes;
}
public void setIncludes(List<String> includes) {
this.includes = includes;
}
public List<String> getExcludes() {
return excludes;
}
public void setExcludes(List<String> excludes) {
this.excludes = excludes;
}
public Boolean getIncludeLaunchFiles() {
return includeLaunchFiles;
}
public void setIncludeLaunchFiles(Boolean includeLaunchFiles) {
this.includeLaunchFiles = includeLaunchFiles;
}
}
| 28.073171 | 68 | 0.662033 |
fd9c7c26b1dd11a466f7e42cf6a162db9b356769 | 191 | package cn.enncy.scs.swing.frame.base.view.index.card.component;
/**
* //TODO
* <br/>Created in 13:14 2021/4/28
*
* @author: enncy
*/
public enum ManageType {
INSERT,
UPDATE
}
| 13.642857 | 64 | 0.638743 |
bd7beaf533cec45c883bbe1b15fcc0cdd80f1632 | 5,287 | package org.sec.util;
import org.sec.model.ClassFile;
import org.apache.log4j.Logger;
import java.io.*;
import java.nio.file.Files;
import java.nio.file.Path;
import java.util.*;
import java.util.jar.JarEntry;
import java.util.jar.JarInputStream;
/**
* 和RtUtil配合实现Jar解压读取Class
*/
@SuppressWarnings("all")
public class JarUtil {
private static final Logger logger = Logger.getLogger(JarUtil.class);
private static final Set<ClassFile> classFileSet = new HashSet<>();
/**
* 处理SpringBoot的Jar包
* @param jarPath Jar包的路径
* @param useAllLib 是否处理所有的lib
* @return 封装后的classFile列表
*/
public static List<ClassFile> resolveSpringBootJarFile(String jarPath,boolean useAllLib) {
try {
// 创建一个随机命名的临时目录
final Path tmpDir = Files.createTempDirectory(UUID.randomUUID().toString());
// 添加一个Hook让JVM退出时删除目录
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
// 注意要先关闭所有的Class流
// 否则占用无法删除目录
closeAll();
// 删除所有目录
DirUtil.removeDir(tmpDir.toFile());
}));
// 解压
resolve(jarPath, tmpDir);
// 解压lib
resolveBoot(jarPath, tmpDir);
// 如果需要处理所有lib
if(useAllLib){
// 对BOOT-INF/lib中所有库都进行Jar解压
Files.list(tmpDir.resolve("BOOT-INF/lib")).forEach(p -> {
resolveNormalJarFile(p.toFile().getAbsolutePath());
});
}
return new ArrayList<>(classFileSet);
} catch (Exception e) {
logger.error("error ", e);
}
return new ArrayList<>();
}
/**
* 处理普通Jar包
* @param jarPath Jar包路径
* @return 封装后的classFile列表
*/
public static List<ClassFile> resolveNormalJarFile(String jarPath) {
try {
// 临时目录
final Path tmpDir = Files.createTempDirectory(UUID.randomUUID().toString());
Runtime.getRuntime().addShutdownHook(new Thread(() -> {
closeAll();
DirUtil.removeDir(tmpDir.toFile());
}));
// 解压
resolve(jarPath, tmpDir);
return new ArrayList<>(classFileSet);
} catch (Exception e) {
logger.error("error ", e);
}
return new ArrayList<>();
}
/**
* 解压Jar包
* @param jarPath Jar路径
* @param tmpDir 临时路径
*/
private static void resolve(String jarPath, Path tmpDir) {
try {
// 解压Jar包
InputStream is = new FileInputStream(jarPath);
JarInputStream jarInputStream = new JarInputStream(is);
JarEntry jarEntry;
while ((jarEntry = jarInputStream.getNextJarEntry()) != null) {
Path fullPath = tmpDir.resolve(jarEntry.getName());
if (!jarEntry.isDirectory()) {
if (!jarEntry.getName().endsWith(".class")) {
continue;
}
Path dirName = fullPath.getParent();
if (!Files.exists(dirName)) {
// 创建目录
Files.createDirectories(dirName);
}
// 通过复制流将Jar包所有Class文件复制到临时目录
OutputStream outputStream = Files.newOutputStream(fullPath);
IOUtil.copy(jarInputStream, outputStream);
// 封装ClassFile
InputStream fis = new FileInputStream(fullPath.toFile());
ClassFile classFile = new ClassFile(jarEntry.getName(), fis);
classFileSet.add(classFile);
}
}
} catch (Exception e) {
logger.error("error ", e);
}
}
/**
* 解压SpringBoot的Jar包
* @param jarPath Jar路径
* @param tmpDir 临时目录
*/
private static void resolveBoot(String jarPath, Path tmpDir) {
try {
InputStream is = new FileInputStream(jarPath);
JarInputStream jarInputStream = new JarInputStream(is);
JarEntry jarEntry;
while ((jarEntry = jarInputStream.getNextJarEntry()) != null) {
Path fullPath = tmpDir.resolve(jarEntry.getName());
// 不同于普通Jar包
// SpringBootFatJar中包含其他Jar
if (!jarEntry.isDirectory()) {
if (!jarEntry.getName().endsWith(".jar")) {
continue;
}
Path dirName = fullPath.getParent();
if (!Files.exists(dirName)) {
Files.createDirectories(dirName);
}
// 这里是把其他Jar复制到临时目录
OutputStream outputStream = Files.newOutputStream(fullPath);
IOUtil.copy(jarInputStream, outputStream);
}
}
} catch (Exception e) {
logger.error("error ", e);
}
}
/**
* 关闭所有流
*/
private static void closeAll() {
// 删除目录前关闭流防止占用
List<ClassFile> classFileList = new ArrayList<>(classFileSet);
for (ClassFile classFile : classFileList) {
classFile.close();
}
}
} | 33.675159 | 94 | 0.522981 |
5f2b57f8ce8f69494d79f9dce5a16522c146ef20 | 1,350 | package com.kleen.selector;
import org.assertj.core.api.Assertions;
import org.junit.Test;
import static org.assertj.core.api.Assertions.assertThat;
/**
* @author [email protected] <br>
*/
public class ExtractorsTest {
String html = "<div><h1>test<a href=\"xxx\">aabbcc</a></h1></div>";
String html2 = "<title>aabbcc</title>";
@Test
public void testEach() {
Assertions.assertThat(Selectors.$("div h1 a").select(html)).isEqualTo("<a href=\"xxx\">aabbcc</a>");
Assertions.assertThat(Selectors.$("div h1 a", "href").select(html)).isEqualTo("xxx");
Assertions.assertThat(Selectors.$("div h1 a", "innerHtml").select(html)).isEqualTo("aabbcc");
assertThat(Selectors.xpath("//a/@href").select(html)).isEqualTo("xxx");
assertThat(Selectors.regex("a href=\"(.*)\"").select(html)).isEqualTo("xxx");
assertThat(Selectors.regex("(a href)=\"(.*)\"", 2).select(html)).isEqualTo("xxx");
}
@Test
public void testCombo() {
assertThat(Selectors.and(Selectors.$("title"), Selectors.regex("aa(bb)cc")).select(html2)).isEqualTo("bb");
OrSelector or = Selectors.or(Selectors.$("div h1 a", "innerHtml"), Selectors.xpath("//title"));
assertThat(or.select(html)).isEqualTo("aabbcc");
assertThat(or.select(html2)).isEqualTo("<title>aabbcc</title>");
}
}
| 38.571429 | 115 | 0.640741 |
eba4df35c6b6e3cf475552406814afb75a81aed0 | 8,860 |
package mage.game;
import java.io.Serializable;
import java.util.*;
import mage.cards.decks.DeckValidator;
import mage.constants.TableState;
import mage.game.events.Listener;
import mage.game.events.TableEvent;
import mage.game.events.TableEventSource;
import mage.game.match.Match;
import mage.game.result.ResultProtos.TableProto;
import mage.game.tournament.Tournament;
import mage.players.Player;
import mage.players.PlayerType;
/**
* @author BetaSteward_at_googlemail.com
*/
public class Table implements Serializable {
private UUID tableId;
private UUID roomId;
private String name;
private String controllerName;
private String gameType;
private Date createTime;
private Seat[] seats;
private int numSeats;
private boolean isTournament;
private boolean tournamentSubTable;
private DeckValidator validator;
private TableState state;
private Match match;
private Tournament tournament;
private TableRecorder recorder;
private Set<String> bannedUsernames;
private boolean isPlaneChase;
@FunctionalInterface
public interface TableRecorder {
void record(Table table);
}
protected TableEventSource tableEventSource = new TableEventSource();
public Table(UUID roomId, String gameType, String name, String controllerName, DeckValidator validator, List<PlayerType> playerTypes, TableRecorder recorder, Tournament tournament, Set<String> bannedUsernames, boolean isPlaneChase) {
this(roomId, gameType, name, controllerName, validator, playerTypes, recorder, bannedUsernames, isPlaneChase);
this.tournament = tournament;
this.isTournament = true;
setState(TableState.WAITING);
}
public Table(UUID roomId, String gameType, String name, String controllerName, DeckValidator validator, List<PlayerType> playerTypes, TableRecorder recorder, Match match, Set<String> bannedUsernames, boolean isPlaneChase) {
this(roomId, gameType, name, controllerName, validator, playerTypes, recorder, bannedUsernames, isPlaneChase);
this.match = match;
this.isTournament = false;
setState(TableState.WAITING);
}
protected Table(UUID roomId, String gameType, String name, String controllerName, DeckValidator validator, List<PlayerType> playerTypes, TableRecorder recorder, Set<String> bannedUsernames, boolean isPlaneChase) {
tableId = UUID.randomUUID();
this.roomId = roomId;
this.numSeats = playerTypes.size();
this.gameType = gameType;
this.name = name;
this.controllerName = controllerName;
this.createTime = new Date();
createSeats(playerTypes);
this.validator = validator;
this.recorder = recorder;
this.bannedUsernames = new HashSet<>(bannedUsernames);
this.isPlaneChase = isPlaneChase;
}
private void createSeats(List<PlayerType> playerTypes) {
int i = 0;
seats = new Seat[numSeats];
for (PlayerType playerType : playerTypes) {
seats[i] = new Seat(playerType);
i++;
}
}
public UUID getId() {
return tableId;
}
public UUID getRoomId() {
return roomId;
}
public void initGame() {
setState(TableState.DUELING);
}
public void initTournament() {
setState(TableState.DUELING);
tournament.setStepStartTime(new Date());
}
public void endTournament() {
setState(TableState.FINISHED);
}
public void initDraft() {
setState(TableState.DRAFTING);
tournament.setStepStartTime(new Date());
}
public void construct() {
setState(TableState.CONSTRUCTING);
tournament.setStepStartTime(new Date());
}
/**
* All activities of the table end (only replay of games (if active) and
* display tournament results)
*/
public void closeTable() {
if (getState() != TableState.WAITING && getState() != TableState.READY_TO_START) {
setState(TableState.FINISHED); // otherwise the table can be removed completely
}
this.validator = null;
}
/**
* Complete remove of the table, release all objects
*/
public void cleanUp() {
if (match != null) {
match.cleanUpOnMatchEnd(false, false);
}
}
public String getGameType() {
return gameType;
}
public String getDeckType() {
if (validator != null) {
return validator.getName();
}
return "<deck type missing>";
}
public Date getCreateTime() {
return new Date(createTime.getTime());
}
public boolean isTournament() {
return this.isTournament;
}
public UUID joinTable(Player player, Seat seat) throws GameException {
if (seat.getPlayer() != null) {
throw new GameException("Seat is occupied.");
}
seat.setPlayer(player);
if (isReady()) {
setState(TableState.READY_TO_START);
}
return seat.getPlayer().getId();
}
private boolean isReady() {
for (int i = 0; i < numSeats; i++) {
if (seats[i].getPlayer() == null) {
return false;
}
}
return true;
}
public Seat[] getSeats() {
return seats;
}
public int getNumberOfSeats() {
return numSeats;
}
public Seat getNextAvailableSeat(PlayerType playerType) {
for (int i = 0; i < numSeats; i++) {
if (seats[i].getPlayer() == null && seats[i].getPlayerType() == (playerType)) {
return seats[i];
}
}
return null;
}
public boolean allSeatsAreOccupied() {
for (int i = 0; i < numSeats; i++) {
if (seats[i].getPlayer() == null) {
return false;
}
}
return true;
}
public void leaveNotStartedTable(UUID playerId) {
for (int i = 0; i < numSeats; i++) {
Player player = seats[i].getPlayer();
if (player != null && player.getId().equals(playerId)) {
seats[i].setPlayer(null);
if (getState() == TableState.READY_TO_START) {
setState(TableState.WAITING);
}
break;
}
}
}
final public void setState(TableState state) {
this.state = state;
if (isTournament()) {
getTournament().setTournamentState(state.toString());
}
if (state == TableState.FINISHED) {
this.recorder.record(this);
}
}
public TableState getState() {
return state;
}
public DeckValidator getValidator() {
return this.validator;
}
public void sideboard() {
setState(TableState.SIDEBOARDING);
}
public String getName() {
return this.name;
}
public void addTableEventListener(Listener<TableEvent> listener) {
tableEventSource.addListener(listener);
}
public Match getMatch() {
return match;
}
public Tournament getTournament() {
return tournament;
}
public void setTournament(Tournament tournament) {
this.tournament = tournament;
}
public String getControllerName() {
return controllerName;
}
public boolean isTournamentSubTable() {
return tournamentSubTable;
}
public void setTournamentSubTable(boolean tournamentSubTable) {
this.tournamentSubTable = tournamentSubTable;
}
public Date getStartTime() {
if (isTournament) {
return tournament.getStartTime();
} else {
return match.getStartTime();
}
}
public Date getEndTime() {
if (isTournament) {
return tournament.getEndTime();
} else {
return match.getEndTime();
}
}
public boolean userIsBanned(String username) {
return bannedUsernames.contains(username);
}
public TableProto toProto() {
TableProto.Builder builder = TableProto.newBuilder();
if (this.isTournament()) {
builder.getTourneyBuilder().mergeFrom(this.getTournament().toProto());
} else {
builder.getMatchBuilder().mergeFrom(this.getMatch().toProto());
}
return builder.setGameType(this.getGameType())
.setName(this.getName())
.setGameType(this.getGameType())
.setDeckType(this.getDeckType())
.setControllerName(this.getControllerName())
.setStartTimeMs(this.getStartTime() != null ? this.getStartTime().getTime() : 0L)
.setEndTimeMs(this.getEndTime() != null ? this.getEndTime().getTime() : 0L)
.build();
}
}
| 28.954248 | 237 | 0.61456 |
baac8824c334893cec712c21f46d62b82811bba3 | 2,871 | /**
* @FileName: ExecuteAction.java
* @Description:
* @author Jacky ZHANG
* @date Apr 8, 2015
*/
package luna.web.action;
import java.awt.Graphics;
import java.util.Set;
import org.apache.struts2.ServletActionContext;
import luna.LunaGlobal;
import luna.LunaPlanner;
import luna.LunaPlanner.FileType;
import luna.graphviz.Graphviz;
import luna.util.JsonConverter;
import luna.web.model.LunaPlannerOutput;
import luna.web.model.PlannerOption;
import mynd.Global;
/**
* @Description:
*/
public class ExecuteAction extends LunaActionBase
{
private static final long serialVersionUID = 1L;
// Input 1: PPDDL file , Type: InputStream
private PlannerOption plannerOption;
// Output:
// Fields for packaging into JSON:
private String plannerOutputString;
private LunaPlannerOutput plannerOutputInfo;
// TODO
// private WeblogicDynamicInfo weblogicDynamicInfo;
@Override
public String execute()
{
try
{
// for test
logger.entry();
logger.debug(plannerOption);
logger.debug("parameters = " + parameters);
String projectRootPath = ServletActionContext.getServletContext()
.getRealPath("/");
// for test:
// String projectRootPath = LunaGlobal.projectRootPath;
// 1. Validating input:
// parameters MAY be null.
// if (parameters == null)
// {
// logger.error("输入参数为空。");
// return ERROR;
// }
// 2. Converting query parameters:
if (parameters != null)
{
plannerOption = JsonConverter.jsonToBean(parameters,
PlannerOption.class);
}
logger.debug("plannerOption = " + plannerOption);
// 3. Logging
// 4. Executing
// TODO
// Set default argument: dumpPlan
if (plannerOption == null)
{
plannerOption = new PlannerOption();
}
plannerOption.setPrintPlan("-dumpPlan");
logger.info("Execute: \nPlannerOptions:" + plannerOption);
// 5.Set result
plannerOutputString = LunaPlanner.execute(projectRootPath,
plannerOption);
plannerOutputInfo = Global.problem.lunaPlannerOutput;
// 6. Return
return SUCCESS;
} catch (Exception e)
{
logger.error(e);
e.printStackTrace();
return ERROR;
}
}
public PlannerOption getPlannerOption()
{
return plannerOption;
}
public void setPlannerOption(PlannerOption plannerOption)
{
this.plannerOption = plannerOption;
}
public String getPlannerOutputString()
{
return plannerOutputString;
}
public void setPlannerOutputString(String plannerOutputString)
{
this.plannerOutputString = plannerOutputString;
}
public LunaPlannerOutput getPlannerOutputInfo()
{
return plannerOutputInfo;
}
public void setPlannerOutputInfo(LunaPlannerOutput plannerOutputInfo)
{
this.plannerOutputInfo = plannerOutputInfo;
}
}
| 20.956204 | 71 | 0.683037 |
49272898872af03de810abb2de3cc006fdee400a | 4,840 | /**
* Copyright [2016] [Muhammad Afzal]
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package org.uclab.scl.interpreterdatamodel;
import java.io.Serializable;
import org.codehaus.jackson.annotate.JsonProperty;
/**
* @version MM v2.5
* @author Afzal
*
*/
public class FoodLog implements Serializable {
@JsonProperty("id")
private long id;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
public String getRequestType() {
return requestType;
}
public void setRequestType(String requestType) {
this.requestType = requestType;
}
@JsonProperty("requestType")
private String requestType;
@JsonProperty("eatingTime")
private String eatingTime;
@JsonProperty("foodName")
private String foodName;
@JsonProperty("totalCarbohydrate")
private long totalCarbohydrate;
@JsonProperty("totalFat")
private long totalFat;
@JsonProperty("totalFoodItem")
private long totalFoodItem;
@JsonProperty("totalProtein")
private long totalProtein;
@JsonProperty("userId")
private long userId;
// private String totalCarbs;
// private String totalProts;
/**
*
* @return The eatingTime
*/
@JsonProperty("eatingTime")
public String getEatingTime() {
return eatingTime;
}
/**
*
* @param eatingTime
* The eatingTime
*/
@JsonProperty("eatingTime")
public void setEatingTime(String eatingTime) {
this.eatingTime = eatingTime;
}
/**
*
* @return The foodName
*/
@JsonProperty("foodName")
public String getFoodName() {
return foodName;
}
/**
*
* @param foodName
* The foodName
*/
@JsonProperty("foodName")
public void setFoodName(String foodName) {
this.foodName = foodName;
}
/**
*
* @return The totalCarbohydrate
*/
@JsonProperty("totalCarbohydrate")
public long getTotalCarbohydrate() {
return totalCarbohydrate;
}
/**
*
* @param totalCarbohydrate
* The totalCarbohydrate
*/
@JsonProperty("totalCarbohydrate")
public void setTotalCarbohydrate(long totalCarbohydrate) {
this.totalCarbohydrate = totalCarbohydrate;
}
/**
*
* @return The totalFat
*/
@JsonProperty("totalFat")
public long getTotalFat() {
return totalFat;
}
/**
*
* @param totalFat
* The totalFat
*/
@JsonProperty("totalFat")
public void setTotalFat(long totalFat) {
this.totalFat = totalFat;
}
/**
*
* @return The totalFoodItem
*/
@JsonProperty("totalFoodItem")
public long getTotalFoodItem() {
return totalFoodItem;
}
/**
*
* @param totalFoodItem
* The totalFoodItem
*/
@JsonProperty("totalFoodItem")
public void setTotalFoodItem(long totalFoodItem) {
this.totalFoodItem = totalFoodItem;
}
/**
*
* @return The totalProtein
*/
@JsonProperty("totalProtein")
public long getTotalProtein() {
return totalProtein;
}
/**
*
* @param totalProtein
* The totalProtein
*/
@JsonProperty("totalProtein")
public void setTotalProtein(long totalProtein) {
this.totalProtein = totalProtein;
}
/**
*
* @return The userId
*/
@JsonProperty("userId")
public long getUserId() {
return userId;
}
/**
*
* @param userId
* The userId
*/
@JsonProperty("userId")
public void setUserId(long userId) {
this.userId = userId;
}
/**
* @return the totalCarbs
*/
// public String getTotalCarbs() {
// return totalCarbs;
// }
//
// /**
// * @param totalCarbs the totalCarbs to set
// */
// public void setTotalCarbs(String totalCarbs) {
// this.totalCarbs = totalCarbs;
// }
//
// /**
// * @return the totalProts
// */
// public String getTotalProts() {
// return totalProts;
// }
//
// /**
// * @param totalProts the totalProts to set
// */
// public void setTotalProts(String totalProts) {
// this.totalProts = totalProts;
// }
@Override
public String toString() {
String keyValue = "\"Consumed Fat\":\"" + this.getTotalFat() + "\",\n";
keyValue += "\"Consumed Protein\":\"" + this.getTotalProtein() + "\",\n";
keyValue += "\"Consumed Carbohydrate\":\"" + this.getTotalCarbohydrate()
+ "\",";
return keyValue;
}
}
| 20.166667 | 77 | 0.637397 |
cfa4ab710bfc0a793d176f77d4018ac8ffacc3ee | 1,310 | /*
* alert-common
*
* Copyright (c) 2021 Synopsys, Inc.
*
* Use subject to the terms and conditions of the Synopsys End User Software License and Maintenance Agreement. All rights reserved worldwide.
*/
package com.synopsys.integration.alert.common.descriptor.config.field;
import java.net.MalformedURLException;
import java.net.URL;
import org.apache.commons.lang3.StringUtils;
import com.synopsys.integration.alert.common.descriptor.config.field.validation.ValidationResult;
import com.synopsys.integration.alert.common.rest.model.FieldModel;
import com.synopsys.integration.alert.common.rest.model.FieldValueModel;
public class URLInputConfigField extends TextInputConfigField {
public URLInputConfigField(String key, String label, String description) {
super(key, label, description);
applyValidationFunctions(this::validateURL);
}
private ValidationResult validateURL(FieldValueModel fieldValueModel, FieldModel fieldModel) {
String url = fieldValueModel.getValue().orElse("");
if (StringUtils.isNotBlank(url)) {
try {
new URL(url);
} catch (MalformedURLException e) {
return ValidationResult.errors(e.getMessage());
}
}
return ValidationResult.success();
}
}
| 33.589744 | 142 | 0.722137 |
b2dc83d544ca9d9c777d9d9d9d197c5e4105cd2c | 1,514 | package com.jivesoftware.boundaries.restz;
import com.jivesoftware.boundaries.restz.layers.ExecutionWrapperLayer;
import com.jivesoftware.boundaries.restz.layers.RecoverableFailureLayer;
import java.util.Collection;
import java.util.LinkedList;
/**
* Created by bmoshe on 4/8/14.
*/
public class LayerCollection
{
private Collection<ExecutionWrapperLayer> wrappers;
private Collection<RecoverableFailureLayer> recoverables;
public LayerCollection()
{
wrappers = new LinkedList<>();
recoverables = new LinkedList<>();
}
public LayerCollection(Layer... layers)
{
this();
add(layers);
}
public void add(Layer... layers)
{
for(Layer layer : layers)
{
if (layer instanceof ExecutionWrapperLayer)
wrappers.add((ExecutionWrapperLayer) layer);
if (layer instanceof RecoverableFailureLayer)
recoverables.add((RecoverableFailureLayer) layer);
}
}
public void remove(Layer... layers)
{
for(Layer layer : layers)
{
if (layer instanceof ExecutionWrapperLayer)
wrappers.remove(layer);
if (layer instanceof RecoverableFailureLayer)
recoverables.remove(layer);
}
}
public Collection<ExecutionWrapperLayer> getWrappers()
{
return wrappers;
}
public Collection<RecoverableFailureLayer> getRecoverables()
{
return recoverables;
}
}
| 24.031746 | 72 | 0.641347 |
a3cf7eabe55679742199e36f28daf2b8a090673f | 2,029 | /*
* Copyright 2014-2018 the original author or authors.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* http://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND,
* either express or implied. See the License for the specific language
* governing permissions and limitations under the License.
*/
package org.dbflute.cbean.chelper;
import junit.framework.TestCase;
/**
* @author jflute
*/
public class HpCBPurposeTest extends TestCase {
public void test_spec_NormalUse() {
// ## Arrange ##
HpCBPurpose purpose = HpCBPurpose.NORMAL_USE; // all can be used
// ## Act & Assert ##
assertFalse(purpose.isNoSetupSelect());
assertFalse(purpose.isNoSpecify());
assertFalse(purpose.isNoSpecifyColumnTwoOrMore());
assertFalse(purpose.isNoSpecifyRelation());
assertFalse(purpose.isNoSpecifyDerivedReferrer());
assertFalse(purpose.isNoQuery());
assertFalse(purpose.isNoOrderBy());
}
public void test_toString() {
assertEquals("NormalUse", HpCBPurpose.NORMAL_USE.toString());
assertEquals("UnionQuery", HpCBPurpose.UNION_QUERY.toString());
assertEquals("ExistsReferrer", HpCBPurpose.EXISTS_REFERRER.toString());
assertEquals("InScopeRelation", HpCBPurpose.IN_SCOPE_RELATION.toString());
assertEquals("DerivedReferrer", HpCBPurpose.DERIVED_REFERRER.toString());
assertEquals("ScalarSelect", HpCBPurpose.SCALAR_SELECT.toString());
assertEquals("ScalarCondition", HpCBPurpose.SCALAR_CONDITION.toString());
assertEquals("ColumnQuery", HpCBPurpose.COLUMN_QUERY.toString());
assertEquals("VaryingUpdate", HpCBPurpose.VARYING_UPDATE.toString());
}
}
| 39.784314 | 82 | 0.713652 |
1e03704224d62d1aebeaf2a04ee10d321ffaf5ff | 10,317 | package net.milanqiu.mimas.collect.tree;
import net.milanqiu.mimas.collect.CollectionUtils;
import net.milanqiu.mimas.collect.traversal.CompletedTraverser;
import net.milanqiu.mimas.collect.traversal.Traversable;
import net.milanqiu.mimas.collect.traversal.TraversalListener;
import net.milanqiu.mimas.instrumentation.DebugUtils;
import net.milanqiu.mimas.string.StrUtils;
import java.util.Collections;
import java.util.LinkedList;
import java.util.List;
/**
* This class provides a skeletal implementation of {@link TreeNode} interface to minimize the effort required to
* implement this interface backed.
* <p>
* It implements parent and siblings by three references of parent, previous sibling and next sibling.
* <p>
* Creation Date: 2016-12-20
* @author Milan Qiu
* <p>
* @param <D> the type of data held by this node
*/
public abstract class AbstractTreeNode<D> implements TreeNode<D> {
protected String outOfBoundsMsg(int index, int size) {
return "Index: " + index + ", Size: " + size;
}
@Override
public String toString() {
return data != null ? data.toString() : StrUtils.STR_EMPTY;
}
@Override
public Iterable<Traversable> adjacencies() {
return CollectionUtils.convertIterable(getChildList());
}
protected D data;
@Override
public D getData() {
return data;
}
@Override
public void setData(D data) {
this.data = data;
}
protected TreeNode<D> parent;
protected TreeNode<D> prevSibling;
protected TreeNode<D> nextSibling;
@Override
public TreeNode<D> getParent() {
return parent;
}
@Override
public boolean isAncestorOf(TreeNode<D> treeNode) {
if (treeNode == null || treeNode == this)
return false;
TreeNode<D> node = treeNode;
while (node.getParent() != null) {
node = node.getParent();
if (node == this)
return true;
}
return false;
}
@Override
public boolean isDescendantOf(TreeNode<D> treeNode) {
if (treeNode == null || treeNode == this)
return false;
TreeNode<D> node = this;
while (node.getParent() != null) {
node = node.getParent();
if (node == treeNode)
return true;
}
return false;
}
@Override
public boolean isRoot() {
return getParent() == null;
}
@Override
public TreeNode<D> getRoot() {
TreeNode<D> result = this;
while (result.getParent() != null) {
result = result.getParent();
}
return result;
}
@Override
public List<TreeNode<D>> getPathFromRoot() {
LinkedList<TreeNode<D>> result = new LinkedList<>();
TreeNode<D> node = this;
result.add(node);
while (node.getParent() != null) {
node = node.getParent();
result.addFirst(node);
}
return Collections.unmodifiableList(result);
}
@Override
public int getLevel() {
int result = 0;
TreeNode<D> node = this;
while (node.getParent() != null) {
node = node.getParent();
result++;
}
return result;
}
@Override
public int getSiblingsCount() {
return (getParent() == null) ? 1 : getParent().getChildCount();
}
@Override
public List<TreeNode<D>> getSiblingsList() {
return (getParent() == null) ? Collections.singletonList(this) : getParent().getChildList();
}
@Override
public TreeNode<D> getSibling(int index) throws IndexOutOfBoundsException {
if (getParent() == null) {
if (index == 0)
return this;
else
throw new IndexOutOfBoundsException(outOfBoundsMsg(index, 0));
} else {
return getParent().getChild(index);
}
}
@Override
public TreeNode<D> getPrevSibling() {
return prevSibling;
}
@Override
public TreeNode<D> getNextSibling() {
return nextSibling;
}
@Override
public TreeNode<D> getFirstSibling() {
return (getParent() == null) ? this : getParent().getFirstChild();
}
@Override
public TreeNode<D> getLastSibling() {
return (getParent() == null) ? this : getParent().getLastChild();
}
@Override
public int getPositionAmongSiblings() {
int result = indexOfSibling(this);
DebugUtils.assertTrue("self not found in siblings", result != -1);
return result;
}
@Override
public int indexOfSibling(TreeNode<D> treeNode) {
return (getParent() == null) ? (treeNode == this ? 0 : -1) : getParent().indexOfChild(treeNode);
}
@Override
public TreeNode<D> newPrevSibling() throws AddSiblingToRootException {
if (isRoot())
throw new AddSiblingToRootException();
TreeNode<D> result = newStandalone();
addPrevSibling(result);
return result;
}
@Override
public TreeNode<D> newNextSibling() throws AddSiblingToRootException {
if (isRoot())
throw new AddSiblingToRootException();
TreeNode<D> result = newStandalone();
addNextSibling(result);
return result;
}
@Override
public TreeNode<D> newFirstSibling() throws AddSiblingToRootException {
if (isRoot())
throw new AddSiblingToRootException();
TreeNode<D> result = newStandalone();
addFirstSibling(result);
return result;
}
@Override
public TreeNode<D> newLastSibling() throws AddSiblingToRootException {
if (isRoot())
throw new AddSiblingToRootException();
TreeNode<D> result = newStandalone();
addLastSibling(result);
return result;
}
@Override
public TreeNode<D> newFirstChild() {
TreeNode<D> result = newStandalone();
addFirstChild(result);
return result;
}
@Override
public TreeNode<D> newLastChild() {
TreeNode<D> result = newStandalone();
addLastChild(result);
return result;
}
@Override
public TreeNode<D> newChild(int index) throws IndexOutOfBoundsException {
TreeNode<D> result = newStandalone();
addChild(result, index);
return result;
}
@Override
public TreeNode<D> removePrevSibling() {
TreeNode<D> result = getPrevSibling();
if (result != null) {
result.removeSelfFromTree();
}
return result;
}
@Override
public TreeNode<D> removeNextSibling() {
TreeNode<D> result = getNextSibling();
if (result != null) {
result.removeSelfFromTree();
}
return result;
}
@Override
public TreeNode<D> removeFirstSibling() throws RemoveRootException {
TreeNode<D> result = getFirstSibling();
if (result != null) {
result.removeSelfFromTree();
}
return result;
}
@Override
public TreeNode<D> removeLastSibling() throws RemoveRootException {
TreeNode<D> result = getLastSibling();
if (result != null) {
result.removeSelfFromTree();
}
return result;
}
@Override
public TreeNode<D> removeFirstChild() {
TreeNode<D> result = getFirstChild();
if (result != null) {
result.removeSelfFromTree();
}
return result;
}
@Override
public TreeNode<D> removeLastChild() {
TreeNode<D> result = getLastChild();
if (result != null) {
result.removeSelfFromTree();
}
return result;
}
@Override
public TreeNode<D> removeChild(int index) throws IndexOutOfBoundsException {
TreeNode<D> result = getChild(index);
if (result != null) {
result.removeSelfFromTree();
}
return result;
}
@Override
public String treeToString() {
return treeToString("(", ", ", ")");
}
@Override
public String treeToString(String childListHead, String childSeparator, String childListTail) {
StringBuilder sb = new StringBuilder();
CompletedTraverser.create(new TraversalListener() {
@Override
public void visitElement(int level, Traversable element) {
sb.append(element);
}
@Override
public void enterNextLevel(int toLevel, Traversable fromElement, Traversable toElement) {
sb.append(childListHead);
}
@Override
public void enterPrevLevel(int toLevel, Traversable fromElement, Traversable toElement) {
sb.append(childListTail);
}
@Override
public void travelBetweenAdjacencies(int level, Traversable fromElement, Traversable toElement) {
sb.append(childSeparator);
}
}, false).preOrderTraversal(this);
return sb.toString();
}
@Override
public String treeToMultiLineString() {
return treeToMultiLineString("\t");
}
@Override
public String treeToMultiLineString(String levelMark) {
StringBuilder sb = new StringBuilder();
CompletedTraverser.create(new TraversalListener() {
@Override
public void visitElement(int level, Traversable element) {
sb.append(element);
}
@Override
public void enterNextLevel(int toLevel, Traversable fromElement, Traversable toElement) {
sb.append(System.lineSeparator());
for (int i = 0; i < toLevel; i++)
sb.append(levelMark);
}
@Override
public void enterPrevLevel(int toLevel, Traversable fromElement, Traversable toElement) {
}
@Override
public void travelBetweenAdjacencies(int level, Traversable fromElement, Traversable toElement) {
sb.append(System.lineSeparator());
for (int i = 0; i < level; i++)
sb.append(levelMark);
}
}, false).preOrderTraversal(this);
return sb.toString();
}
}
| 28.035326 | 113 | 0.592517 |
8823ff2e305b8dc7e85c2d7ef28fd7b6aa795082 | 595,675 | /*
* Copyright (c) 2002-2022 Gargoyle Software Inc.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
package com.gargoylesoftware.htmlunit.general;
import static java.nio.charset.StandardCharsets.ISO_8859_1;
import java.awt.Color;
import java.awt.GradientPaint;
import java.io.File;
import java.io.IOException;
import java.lang.reflect.Method;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.Collections;
import java.util.Comparator;
import java.util.List;
import javax.imageio.ImageIO;
import org.apache.commons.io.FileUtils;
import org.jfree.chart.ChartFactory;
import org.jfree.chart.JFreeChart;
import org.jfree.chart.axis.NumberAxis;
import org.jfree.chart.plot.CategoryPlot;
import org.jfree.chart.plot.PlotOrientation;
import org.jfree.chart.renderer.category.LayeredBarRenderer;
import org.jfree.chart.util.SortOrder;
import org.jfree.data.category.DefaultCategoryDataset;
import org.junit.AfterClass;
import org.junit.BeforeClass;
import org.junit.Test;
import org.junit.runner.RunWith;
import com.gargoylesoftware.htmlunit.BrowserVersion;
import com.gargoylesoftware.htmlunit.WebDriverTestCase;
import com.gargoylesoftware.htmlunit.html.HtmlPageTest;
import com.gargoylesoftware.htmlunit.javascript.host.dom.NodeList;
import com.gargoylesoftware.htmlunit.javascript.host.html.HTMLCollection;
import com.gargoylesoftware.htmlunit.junit.BrowserRunner;
import com.gargoylesoftware.htmlunit.junit.BrowserRunner.Alerts;
import com.gargoylesoftware.htmlunit.junit.BrowserRunner.HtmlUnitNYI;
import com.gargoylesoftware.htmlunit.junit.BrowserVersionClassRunner;
/**
* Tests all properties of an object.
*
* @author Ahmed Ashour
* @author Ronald Brill
*/
@RunWith(BrowserRunner.class)
public class ElementPropertiesTest extends WebDriverTestCase {
private static BrowserVersion BROWSER_VERSION_;
private void test(final String tagName) throws Exception {
testString("", "document.createElement('" + tagName + "'), unknown");
}
private void testString(final String preparation, final String string) throws Exception {
final String html = HtmlPageTest.STANDARDS_MODE_PREFIX_
+ "<html><head><script>\n"
+ LOG_TEXTAREA_FUNCTION
+ " function test(event) {\n"
+ " var xmlDocument = document.implementation.createDocument('', '', null);\n"
+ " var element = xmlDocument.createElement('wakwak');\n"
+ " var unknown = document.createElement('harhar');\n"
+ " var div = document.createElement('div');\n"
+ " var svg = document.getElementById('mySvg');\n"
+ " try{\n"
+ " " + preparation + "\n"
+ " process(" + string + ");\n"
+ " } catch (e) {\n"
+ " log('exception');\n"
+ " return;"
+ " }\n"
+ " }\n"
+ "\n"
+ " /*\n"
+ " * Alerts all properties (including functions) of the specified object.\n"
+ " *\n"
+ " * @param object the object to write the property of\n"
+ " * @param parent the direct parent of the object (or child of that parent), can be null.\n"
+ " * The parent is used to exclude any inherited properties.\n"
+ " */\n"
+ " function process(object, parent) {\n"
+ " var all = [];\n"
+ " for (var property in object) {\n"
+ " try {\n"
+ " if (parent == null || !(property in parent)) {\n"
+ " if (typeof object[property] == 'function')\n"
+ " all.push(property + '()');\n"
+ " else\n"
+ " all.push(property);\n"
+ " }\n"
+ " } catch(e) {\n"
+ " try{\n"
+ " if (typeof object[property] == 'function')\n"
+ " all.push(property + '()');\n"
+ " else\n"
+ " all.push(property);\n"
+ " } catch (e) {\n"
+ " all.push(property.toString());\n"
+ " }\n"
+ " }\n"
+ " }\n"
+ " all.sort(sortFunction);\n"
+ " if (all.length == 0) { all = '-' };\n"
+ " log(all);\n"
+ " }\n"
+ " function sortFunction(s1, s2) {\n"
+ " var s1lc = s1.toLowerCase();\n"
+ " var s2lc = s2.toLowerCase();\n"
+ " if (s1lc > s2lc) { return 1; }\n"
+ " if (s1lc < s2lc) { return -1; }\n"
+ " return s1 > s2 ? 1 : -1;\n"
+ " }\n"
+ "</script></head>\n"
+ "<body onload='test(event)'>\n"
+ " <svg xmlns='http://www.w3.org/2000/svg' version='1.1'>\n"
+ " <invalid id='mySvg'/>\n"
+ " </svg>\n"
+ LOG_TEXTAREA
+ "</body></html>";
if (BROWSER_VERSION_ == null) {
BROWSER_VERSION_ = getBrowserVersion();
}
loadPageVerifyTextArea2(html);
}
private static List<String> stringAsArray(final String string) {
if (string.isEmpty()) {
return Collections.emptyList();
}
return Arrays.asList(string.split(","));
}
/**
* Resets browser-specific values.
*/
@BeforeClass
public static void beforeClass() {
BROWSER_VERSION_ = null;
}
/**
* Saves HTML and PNG files.
*
* @throws IOException if an error occurs
*/
@AfterClass
public static void saveAll() throws IOException {
final DefaultCategoryDataset dataset = new DefaultCategoryDataset();
final int[] counts = {0, 0};
final StringBuilder html = new StringBuilder();
html.setLength(0);
collectStatistics(BROWSER_VERSION_, dataset, html, counts);
saveChart(dataset);
FileUtils.writeStringToFile(new File(getTargetDirectory()
+ "/properties-" + BROWSER_VERSION_.getNickname() + ".html"),
htmlHeader()
.append(overview(counts))
.append(htmlDetailsHeader())
.append(html)
.append(htmlDetailsFooter())
.append(htmlFooter()).toString(), ISO_8859_1);
}
private static void collectStatistics(final BrowserVersion browserVersion, final DefaultCategoryDataset dataset,
final StringBuilder html, final int[] counts) {
final Method[] methods = ElementPropertiesTest.class.getMethods();
Arrays.sort(methods, Comparator.comparing(Method::getName));
for (final Method method : methods) {
if (method.isAnnotationPresent(Test.class)) {
final Alerts alerts = method.getAnnotation(Alerts.class);
String[] expectedAlerts = {};
if (BrowserVersionClassRunner.isDefined(alerts.value())) {
expectedAlerts = alerts.value();
}
if (browserVersion == BrowserVersion.INTERNET_EXPLORER) {
expectedAlerts = BrowserVersionClassRunner
.firstDefinedOrGiven(expectedAlerts, alerts.IE(), alerts.DEFAULT());
}
else if (browserVersion == BrowserVersion.EDGE) {
expectedAlerts = BrowserVersionClassRunner
.firstDefinedOrGiven(expectedAlerts, alerts.EDGE(), alerts.DEFAULT());
}
else if (browserVersion == BrowserVersion.FIREFOX_ESR) {
expectedAlerts = BrowserVersionClassRunner
.firstDefinedOrGiven(expectedAlerts, alerts.FF_ESR(), alerts.DEFAULT());
}
else if (browserVersion == BrowserVersion.FIREFOX) {
expectedAlerts = BrowserVersionClassRunner
.firstDefinedOrGiven(expectedAlerts, alerts.FF(), alerts.DEFAULT());
}
else if (browserVersion == BrowserVersion.CHROME) {
expectedAlerts = BrowserVersionClassRunner
.firstDefinedOrGiven(expectedAlerts, alerts.CHROME(), alerts.DEFAULT());
}
final HtmlUnitNYI htmlUnitNYI = method.getAnnotation(HtmlUnitNYI.class);
String[] nyiAlerts = {};
if (htmlUnitNYI != null) {
if (browserVersion == BrowserVersion.INTERNET_EXPLORER) {
nyiAlerts = BrowserVersionClassRunner.firstDefinedOrGiven(expectedAlerts, htmlUnitNYI.IE());
}
else if (browserVersion == BrowserVersion.EDGE) {
nyiAlerts = BrowserVersionClassRunner.firstDefinedOrGiven(expectedAlerts, htmlUnitNYI.EDGE());
}
else if (browserVersion == BrowserVersion.FIREFOX_ESR) {
nyiAlerts = BrowserVersionClassRunner.firstDefinedOrGiven(expectedAlerts, htmlUnitNYI.FF_ESR());
}
else if (browserVersion == BrowserVersion.FIREFOX) {
nyiAlerts = BrowserVersionClassRunner.firstDefinedOrGiven(expectedAlerts, htmlUnitNYI.FF());
}
else if (browserVersion == BrowserVersion.CHROME) {
nyiAlerts = BrowserVersionClassRunner.firstDefinedOrGiven(expectedAlerts, htmlUnitNYI.CHROME());
}
}
final List<String> realProperties = stringAsArray(String.join(",", expectedAlerts));
final List<String> simulatedProperties = stringAsArray(String.join(",", nyiAlerts));
final List<String> erroredProperties = new ArrayList<>(simulatedProperties);
erroredProperties.removeAll(realProperties);
final List<String> implementedProperties = new ArrayList<>(simulatedProperties);
implementedProperties.retainAll(realProperties);
counts[1] += implementedProperties.size();
counts[0] += realProperties.size();
htmlDetails(method.getName(), html, realProperties, implementedProperties, erroredProperties);
dataset.addValue(implementedProperties.size(), "Implemented", method.getName());
dataset.addValue(realProperties.size(),
browserVersion.getNickname().replace("FF", "Firefox ").replace("IE", "Internet Explorer "),
method.getName());
dataset.addValue(erroredProperties.size(), "Should not be implemented", method.getName());
}
}
}
private static void saveChart(final DefaultCategoryDataset dataset) throws IOException {
final JFreeChart chart = ChartFactory.createBarChart(
"HtmlUnit implemented properties and methods for " + BROWSER_VERSION_.getNickname(), "Objects",
"Count", dataset, PlotOrientation.HORIZONTAL, true, true, false);
final CategoryPlot plot = (CategoryPlot) chart.getPlot();
final NumberAxis axis = (NumberAxis) plot.getRangeAxis();
axis.setStandardTickUnits(NumberAxis.createIntegerTickUnits());
final LayeredBarRenderer renderer = new LayeredBarRenderer();
plot.setRenderer(renderer);
plot.setRowRenderingOrder(SortOrder.DESCENDING);
renderer.setSeriesPaint(0, new GradientPaint(0, 0, Color.green, 0, 0, new Color(0, 64, 0)));
renderer.setSeriesPaint(1, new GradientPaint(0, 0, Color.blue, 0, 0, new Color(0, 0, 64)));
renderer.setSeriesPaint(2, new GradientPaint(0, 0, Color.red, 0, 0, new Color(64, 0, 0)));
ImageIO.write(chart.createBufferedImage(1200, 2400), "png",
new File(getTargetDirectory() + "/properties-" + BROWSER_VERSION_.getNickname() + ".png"));
}
/**
* Returns the 'target' directory.
* @return the 'target' directory
*/
public static String getTargetDirectory() {
final String dirName = "./target";
final File dir = new File(dirName);
if (!dir.exists()) {
if (!dir.mkdir()) {
throw new RuntimeException("Could not create artifacts directory");
}
}
return dirName;
}
private static StringBuilder htmlHeader() {
final StringBuilder html = new StringBuilder();
html.append("<html><head>\n");
html.append("<style type=\"text/css\">\n");
html.append("table.bottomBorder { border-collapse:collapse; }\n");
html.append("table.bottomBorder td, table.bottomBorder th { "
+ "border-bottom:1px dotted black;padding:5px; }\n");
html.append("table.bottomBorder td.numeric { text-align:right; }\n");
html.append("</style>\n");
html.append("</head><body>\n");
html.append("<div align='center'>").append("<h2>")
.append("HtmlUnit implemented properties and methods for " + BROWSER_VERSION_.getNickname())
.append("</h2>").append("</div>\n");
return html;
}
private static StringBuilder overview(final int[] counts) {
final StringBuilder html = new StringBuilder();
html.append("<table class='bottomBorder'>");
html.append("<tr>\n");
html.append("<th>Total Implemented:</th>\n");
html.append("<td>" + counts[1])
.append(" (" + Math.round(((double) counts[1]) / counts[0] * 100))
.append("%)</td>\n");
html.append("</tr>\n");
html.append("</table>\n");
html.append("<p><br></p>\n");
return html;
}
private static StringBuilder htmlFooter() {
final StringBuilder html = new StringBuilder();
html.append("<br>").append("Legend:").append("<br>")
.append("<span style='color: blue'>").append("To be implemented").append("</span>").append("<br>")
.append("<span style='color: green'>").append("Implemented").append("</span>").append("<br>")
.append("<span style='color: red'>").append("Should not be implemented").append("</span>");
html.append("\n");
html.append("</body>\n");
html.append("</html>\n");
return html;
}
private static StringBuilder htmlDetailsHeader() {
final StringBuilder html = new StringBuilder();
html.append("<table class='bottomBorder' width='100%'>");
html.append("<tr>\n");
html.append("<th>Class</th><th>Methods/Properties</th><th>Counts</th>\n");
html.append("</tr>");
return html;
}
private static StringBuilder htmlDetails(final String name, final StringBuilder html,
final List<String> realProperties,
final List<String> implementedProperties, final List<String> erroredProperties) {
html.append("<tr>").append('\n').append("<td rowspan='2'>").append("<a name='" + name + "'>").append(name)
.append("</a>").append("</td>").append('\n').append("<td>");
int implementedCount = 0;
if (realProperties.isEmpty()) {
html.append(" ");
}
else if (realProperties.size() == 1
&& realProperties.contains("exception")
&& implementedProperties.size() == 1
&& implementedProperties.contains("exception")
&& erroredProperties.size() == 0) {
html.append(" ");
}
else {
for (int i = 0; i < realProperties.size(); i++) {
final String color;
if (implementedProperties.contains(realProperties.get(i))) {
color = "green";
implementedCount++;
}
else {
color = "blue";
}
html.append("<span style='color: " + color + "'>").append(realProperties.get(i)).append("</span>");
if (i < realProperties.size() - 1) {
html.append(',').append(' ');
}
}
}
html.append("</td>").append("<td>").append(implementedCount).append('/')
.append(realProperties.size()).append("</td>").append("</tr>").append('\n');
html.append("<tr>").append("<td>");
for (int i = 0; i < erroredProperties.size(); i++) {
html.append("<span style='color: red'>").append(erroredProperties.get(i)).append("</span>");
if (i < erroredProperties.size() - 1) {
html.append(',').append(' ');
}
}
if (erroredProperties.isEmpty()) {
html.append(" ");
}
html.append("</td>")
.append("<td>").append(erroredProperties.size()).append("</td>").append("</tr>\n");
return html;
}
private static StringBuilder htmlDetailsFooter() {
final StringBuilder html = new StringBuilder();
html.append("</table>");
return html;
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "appendData(),data,deleteData(),insertData(),length,replaceData(),splitText(),substringData(),"
+ "wholeText",
IE = "appendData(),data,deleteData(),insertData(),length,replaceData(),replaceWholeText(),splitText(),"
+ "substringData(),"
+ "wholeText")
@HtmlUnitNYI(IE = "appendData(),data,deleteData(),insertData(),length,replaceData(),splitText(),"
+ "substringData(),wholeText")
public void text() throws Exception {
testString("", "document.createTextNode('some text'), unknown");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "name,ownerElement,specified,value",
IE = "expando,name,ownerElement,specified,value")
public void attr() throws Exception {
testString("", "document.createAttribute('some_attrib'), unknown");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "appendData(),data,deleteData(),insertData(),length,replaceData(),substringData()",
IE = "appendData(),data,deleteData(),insertData(),length,replaceData(),substringData(),text")
public void comment() throws Exception {
testString("", "document.createComment('come_comment'), unknown");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "namedRecordset(),recordset")
@HtmlUnitNYI(IE = "-")
public void unknown() throws Exception {
testString("", "unknown, div");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "accessKey,attachInternals(),autocapitalize,autofocus,blur(),click(),contentEditable,dataset,dir,"
+ "draggable,enterKeyHint,focus(),hidden,innerText,inputMode,isContentEditable,lang,nonce,"
+ "offsetHeight,offsetLeft,offsetParent,offsetTop,offsetWidth,onabort,onanimationend,"
+ "onanimationiteration,onanimationstart,onauxclick,onbeforexrselect,onblur,oncancel,oncanplay,"
+ "oncanplaythrough,onchange,onclick,onclose,oncontextlost,oncontextmenu,oncontextrestored,"
+ "oncopy,oncuechange,oncut,ondblclick,"
+ "ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,"
+ "onemptied,onended,onerror,onfocus,onformdata,ongotpointercapture,oninput,oninvalid,onkeydown,"
+ "onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,"
+ "onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,"
+ "onpaste,onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,"
+ "onpointermove,onpointerout,onpointerover,onpointerrawupdate,onpointerup,onprogress,onratechange,"
+ "onreset,onresize,onscroll,onsecuritypolicyviolation,onseeked,onseeking,"
+ "onselect,onselectionchange,onselectstart,onslotchange,onstalled,"
+ "onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,"
+ "ontransitionstart,onvolumechange,onwaiting,onwebkitanimationend,onwebkitanimationiteration,"
+ "onwebkitanimationstart,onwebkittransitionend,onwheel,outerText,spellcheck,style,tabIndex,title,"
+ "translate,virtualKeyboardPolicy",
EDGE = "accessKey,attachInternals(),autocapitalize,autofocus,blur(),click(),contentEditable,dataset,dir,"
+ "draggable,enterKeyHint,focus(),hidden,innerText,inputMode,isContentEditable,lang,nonce,"
+ "offsetHeight,offsetLeft,offsetParent,offsetTop,offsetWidth,onabort,onanimationend,"
+ "onanimationiteration,onanimationstart,onauxclick,onbeforexrselect,onblur,oncancel,oncanplay,"
+ "oncanplaythrough,onchange,onclick,onclose,oncontextlost,oncontextmenu,oncontextrestored,"
+ "oncopy,oncuechange,oncut,ondblclick,"
+ "ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,"
+ "onemptied,onended,onerror,onfocus,onformdata,ongotpointercapture,oninput,oninvalid,onkeydown,"
+ "onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,"
+ "onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,"
+ "onpaste,onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,"
+ "onpointermove,onpointerout,onpointerover,onpointerrawupdate,onpointerup,onprogress,onratechange,"
+ "onreset,onresize,onscroll,onsecuritypolicyviolation,onseeked,onseeking,"
+ "onselect,onselectionchange,onselectstart,onslotchange,onstalled,"
+ "onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,"
+ "ontransitionstart,onvolumechange,onwaiting,onwebkitanimationend,onwebkitanimationiteration,"
+ "onwebkitanimationstart,onwebkittransitionend,onwheel,outerText,spellcheck,style,tabIndex,"
+ "textprediction,title,translate,virtualKeyboardPolicy",
FF = "accessKey,accessKeyLabel,attachInternals(),"
+ "blur(),click(),contentEditable,dataset,dir,draggable,enterKeyHint,focus(),"
+ "hidden,innerText,inputMode,isContentEditable,"
+ "lang,nonce,offsetHeight,offsetLeft,offsetParent,offsetTop,"
+ "offsetWidth,"
+ "onabort,onanimationcancel,onanimationend,onanimationiteration,onanimationstart,onauxclick,"
+ "onbeforeinput,onblur,"
+ "oncanplay,oncanplaythrough,onchange,onclick,onclose,oncontextmenu,oncopy,oncuechange,oncut,"
+ "ondblclick,ondrag,ondragend,ondragenter,ondragexit,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,onformdata,ongotpointercapture,oninput,"
+ "oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadend,onloadstart,"
+ "onlostpointercapture,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,"
+ "onmouseup,onmozfullscreenchange,onmozfullscreenerror,onpaste,onpause,onplay,onplaying,"
+ "onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,"
+ "onpointerover,onpointerup,onprogress,onratechange,onreset,onresize,onscroll,"
+ "onsecuritypolicyviolation,onseeked,onseeking,"
+ "onselect,onselectionchange,onselectstart,onslotchange,"
+ "onstalled,onsubmit,onsuspend,ontimeupdate,ontoggle,"
+ "ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,onvolumechange,"
+ "onwaiting,onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart,"
+ "onwebkittransitionend,onwheel,outerText,spellcheck,style,tabIndex,title",
FF_ESR = "accessKey,accessKeyLabel,"
+ "blur(),click(),contentEditable,dataset,dir,draggable,focus(),"
+ "hidden,innerText,isContentEditable,lang,nonce,offsetHeight,offsetLeft,offsetParent,offsetTop,"
+ "offsetWidth,"
+ "onabort,onanimationcancel,onanimationend,onanimationiteration,onanimationstart,onauxclick,"
+ "onbeforeinput,onblur,"
+ "oncanplay,oncanplaythrough,onchange,onclick,onclose,oncontextmenu,oncopy,oncuechange,oncut,"
+ "ondblclick,ondrag,ondragend,ondragenter,ondragexit,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,onformdata,ongotpointercapture,oninput,"
+ "oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadend,onloadstart,"
+ "onlostpointercapture,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,"
+ "onmouseup,onmozfullscreenchange,onmozfullscreenerror,onpaste,onpause,onplay,onplaying,"
+ "onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,"
+ "onpointerover,onpointerup,onprogress,onratechange,onreset,onresize,onscroll,"
+ "onseeked,onseeking,"
+ "onselect,onselectstart,"
+ "onstalled,onsubmit,onsuspend,ontimeupdate,ontoggle,"
+ "ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,onvolumechange,"
+ "onwaiting,onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart,"
+ "onwebkittransitionend,onwheel,spellcheck,style,tabIndex,title",
IE = "accessKey,applyElement(),blur(),canHaveChildren,canHaveHTML,children,classList,className,"
+ "clearAttributes(),click(),componentFromPoint(),contains(),contentEditable,createControlRange(),"
+ "currentStyle,dataset,dir,disabled,dragDrop(),draggable,focus(),getAdjacentText(),"
+ "getElementsByClassName(),hidden,hideFocus,id,innerHTML,innerText,insertAdjacentElement(),"
+ "insertAdjacentHTML(),insertAdjacentText(),isContentEditable,isDisabled,isMultiLine,isTextEdit,"
+ "lang,language,mergeAttributes(),msGetInputContext(),namedRecordset(),offsetHeight,offsetLeft,"
+ "offsetParent,offsetTop,offsetWidth,onabort,onactivate,onbeforeactivate,onbeforecopy,onbeforecut,"
+ "onbeforedeactivate,onbeforepaste,onblur,oncanplay,oncanplaythrough,onchange,onclick,"
+ "oncontextmenu,oncopy,oncuechange,oncut,ondblclick,ondeactivate,ondrag,ondragend,ondragenter,"
+ "ondragleave,ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,"
+ "onfocusin,onfocusout,onhelp,oninput,onkeydown,onkeypress,onkeyup,onload,onloadeddata,"
+ "onloadedmetadata,onloadstart,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,"
+ "onmouseover,onmouseup,onmousewheel,onmscontentzoom,onmsmanipulationstatechanged,onpaste,onpause,"
+ "onplay,onplaying,onprogress,onratechange,onreset,onscroll,onseeked,onseeking,onselect,"
+ "onselectstart,onstalled,onsubmit,onsuspend,ontimeupdate,onvolumechange,onwaiting,outerHTML,"
+ "outerText,parentElement,parentTextEdit,recordNumber,recordset,releaseCapture(),removeNode(),"
+ "replaceAdjacentText(),replaceNode(),runtimeStyle,scrollIntoView(),setActive(),setCapture(),"
+ "sourceIndex,spellcheck,style,swapNode(),tabIndex,title,uniqueID,"
+ "uniqueNumber")
@HtmlUnitNYI(CHROME = "accessKey,blur(),click(),contentEditable,dataset,dir,enterKeyHint,focus(),hidden,innerText,"
+ "isContentEditable,lang,offsetHeight,offsetLeft,offsetParent,offsetTop,offsetWidth,onabort,"
+ "onanimationend,onanimationiteration,onanimationstart,"
+ "onauxclick,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,oncontextmenu,"
+ "oncopy,oncuechange,oncut,"
+ "ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,ongotpointercapture,oninput,oninvalid,"
+ "onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,"
+ "onlostpointercapture,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,"
+ "onmouseup,onmousewheel,onpaste,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,"
+ "onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,onprogress,onratechange,"
+ "onreset,onresize,onscroll,onseeked,onseeking,onselect,onselectionchange,onselectstart,"
+ "onstalled,onsubmit,onsuspend,"
+ "ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,"
+ "onvolumechange,onwaiting,onwheel,outerText,style,tabIndex,title",
EDGE = "accessKey,blur(),click(),contentEditable,dataset,dir,enterKeyHint,focus(),hidden,innerText,"
+ "isContentEditable,lang,offsetHeight,offsetLeft,offsetParent,offsetTop,offsetWidth,onabort,"
+ "onanimationend,onanimationiteration,onanimationstart,"
+ "onauxclick,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,oncontextmenu,"
+ "oncopy,oncuechange,oncut,"
+ "ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,ongotpointercapture,oninput,oninvalid,"
+ "onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,"
+ "onlostpointercapture,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,"
+ "onmouseup,onmousewheel,onpaste,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,"
+ "onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,onprogress,onratechange,"
+ "onreset,onresize,onscroll,onseeked,onseeking,onselect,"
+ "onselectionchange,onselectstart,onstalled,onsubmit,onsuspend,"
+ "ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,"
+ "onvolumechange,onwaiting,onwheel,outerText,style,tabIndex,title",
FF_ESR = "accessKey,blur(),click(),contentEditable,dataset,dir,focus(),hidden,innerText,isContentEditable,"
+ "lang,offsetHeight,offsetLeft,offsetParent,offsetTop,offsetWidth,onabort,"
+ "onanimationcancel,onanimationend,onanimationiteration,onanimationstart,onblur,oncanplay,"
+ "oncanplaythrough,onchange,onclick,oncontextmenu,"
+ "oncopy,oncuechange,oncut,ondblclick,ondrag,ondragend,"
+ "ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,"
+ "onerror,onfocus,ongotpointercapture,"
+ "oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,"
+ "onloadedmetadata,onloadstart,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,"
+ "onmouseover,onmouseup,onmozfullscreenchange,onmozfullscreenerror,onpaste,onpause,onplay,"
+ "onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,"
+ "onpointerover,onpointerup,"
+ "onprogress,onratechange,onreset,onresize,onscroll,onseeked,onseeking,onselect,"
+ "onstalled,onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,"
+ "ontransitionrun,ontransitionstart,onvolumechange,onwaiting,spellcheck,style,"
+ "tabIndex,title",
FF = "accessKey,blur(),click(),contentEditable,dataset,dir,enterKeyHint,focus(),"
+ "hidden,innerText,isContentEditable,"
+ "lang,offsetHeight,offsetLeft,offsetParent,offsetTop,offsetWidth,onabort,"
+ "onanimationcancel,onanimationend,onanimationiteration,onanimationstart,onblur,oncanplay,"
+ "oncanplaythrough,onchange,onclick,oncontextmenu,"
+ "oncopy,oncuechange,oncut,ondblclick,ondrag,ondragend,"
+ "ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,"
+ "onerror,onfocus,ongotpointercapture,"
+ "oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,"
+ "onloadedmetadata,onloadstart,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,"
+ "onmouseover,onmouseup,onmozfullscreenchange,onmozfullscreenerror,onpaste,onpause,onplay,"
+ "onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,"
+ "onpointerover,onpointerup,"
+ "onprogress,onratechange,onreset,onresize,onscroll,onseeked,onseeking,onselect,"
+ "onstalled,onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,"
+ "ontransitionrun,ontransitionstart,onvolumechange,onwaiting,outerText,spellcheck,style,"
+ "tabIndex,title",
IE = "accessKey,blur(),children,classList,className,clearAttributes(),click(),contains(),"
+ "contentEditable,currentStyle,dataset,dir,disabled,focus(),getElementsByClassName(),"
+ "hidden,id,innerHTML,innerText,insertAdjacentElement(),insertAdjacentHTML(),"
+ "insertAdjacentText(),isContentEditable,lang,language,mergeAttributes(),offsetHeight,"
+ "offsetLeft,offsetParent,offsetTop,offsetWidth,onabort,onactivate,onbeforeactivate,"
+ "onbeforecopy,onbeforecut,onbeforedeactivate,onbeforepaste,onblur,oncanplay,oncanplaythrough,"
+ "onchange,onclick,oncontextmenu,oncopy,oncuechange,oncut,ondblclick,ondeactivate,ondrag,"
+ "ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,"
+ "onemptied,onended,onerror,onfocus,onfocusin,onfocusout,onhelp,oninput,onkeydown,"
+ "onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,onmousedown,"
+ "onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,"
+ "onmscontentzoom,onmsmanipulationstatechanged,onpaste,onpause,onplay,onplaying,"
+ "onprogress,onratechange,onreset,onscroll,onseeked,onseeking,onselect,onselectstart,"
+ "onstalled,onsubmit,onsuspend,ontimeupdate,onvolumechange,onwaiting,outerHTML,outerText,"
+ "parentElement,"
+ "releaseCapture(),removeNode(),runtimeStyle,scrollIntoView(),setActive(),setCapture(),"
+ "style,tabIndex,title,uniqueID")
public void htmlElement() throws Exception {
testString("", "unknown, element");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.Element}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "animate(),append(),"
+ "ariaAtomic,ariaAutoComplete,ariaBusy,ariaChecked,ariaColCount,ariaColIndex,ariaColSpan,"
+ "ariaCurrent,ariaDescription,ariaDisabled,ariaExpanded,ariaHasPopup,ariaHidden,"
+ "ariaKeyShortcuts,ariaLabel,"
+ "ariaLevel,ariaLive,ariaModal,ariaMultiLine,ariaMultiSelectable,ariaOrientation,"
+ "ariaPlaceholder,ariaPosInSet,ariaPressed,ariaReadOnly,ariaRelevant,ariaRequired,"
+ "ariaRoleDescription,ariaRowCount,ariaRowIndex,ariaRowSpan,ariaSelected,ariaSetSize,"
+ "ariaSort,ariaValueMax,ariaValueMin,ariaValueNow,ariaValueText,"
+ "attachShadow(),attributes,attributeStyleMap,childElementCount,children,classList,className,"
+ "clientHeight,clientLeft,clientTop,clientWidth,closest(),computedStyleMap(),"
+ "elementTiming,firstElementChild,getAnimations(),getAttribute(),getAttributeNames(),"
+ "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect(),"
+ "getClientRects(),getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS(),"
+ "getInnerHTML(),hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),id,innerHTML,"
+ "insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),lastElementChild,localName,"
+ "matches(),namespaceURI,"
+ "onbeforecopy,onbeforecut,onbeforepaste,onfullscreenchange,onfullscreenerror,"
+ "onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,part,prefix,prepend(),"
+ "querySelector(),querySelectorAll(),"
+ "releasePointerCapture(),removeAttribute(),removeAttributeNode(),"
+ "removeAttributeNS(),replaceChildren(),requestFullscreen(),requestPointerLock(),"
+ "scroll(),scrollBy(),scrollHeight,scrollIntoView(),scrollIntoViewIfNeeded(),"
+ "scrollLeft,scrollTo(),scrollTop,scrollWidth,setAttribute(),setAttributeNode(),setAttributeNodeNS(),"
+ "setAttributeNS(),setPointerCapture(),shadowRoot,slot,tagName,toggleAttribute(),"
+ "webkitMatchesSelector(),webkitRequestFullScreen(),webkitRequestFullscreen()",
EDGE = "animate(),append(),"
+ "ariaAtomic,ariaAutoComplete,ariaBusy,ariaChecked,ariaColCount,ariaColIndex,ariaColSpan,"
+ "ariaCurrent,ariaDescription,ariaDisabled,ariaExpanded,ariaHasPopup,ariaHidden,"
+ "ariaKeyShortcuts,ariaLabel,"
+ "ariaLevel,ariaLive,ariaModal,ariaMultiLine,ariaMultiSelectable,ariaOrientation,"
+ "ariaPlaceholder,ariaPosInSet,ariaPressed,ariaReadOnly,ariaRelevant,ariaRequired,"
+ "ariaRoleDescription,ariaRowCount,ariaRowIndex,ariaRowSpan,ariaSelected,ariaSetSize,"
+ "ariaSort,ariaValueMax,ariaValueMin,ariaValueNow,ariaValueText,"
+ "attachShadow(),attributes,attributeStyleMap,childElementCount,children,classList,className,"
+ "clientHeight,clientLeft,clientTop,clientWidth,closest(),computedStyleMap(),"
+ "elementTiming,firstElementChild,getAnimations(),getAttribute(),getAttributeNames(),"
+ "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect(),"
+ "getClientRects(),getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS(),"
+ "getInnerHTML(),hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),id,innerHTML,"
+ "insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),lastElementChild,localName,"
+ "matches(),namespaceURI,"
+ "onbeforecopy,onbeforecut,onbeforepaste,onfullscreenchange,onfullscreenerror,"
+ "onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,part,prefix,prepend(),"
+ "querySelector(),querySelectorAll(),"
+ "releasePointerCapture(),removeAttribute(),removeAttributeNode(),"
+ "removeAttributeNS(),replaceChildren(),requestFullscreen(),requestPointerLock(),"
+ "scroll(),scrollBy(),scrollHeight,scrollIntoView(),scrollIntoViewIfNeeded(),"
+ "scrollLeft,scrollTo(),scrollTop,scrollWidth,setAttribute(),setAttributeNode(),setAttributeNodeNS(),"
+ "setAttributeNS(),setPointerCapture(),shadowRoot,slot,tagName,toggleAttribute(),"
+ "webkitMatchesSelector(),webkitRequestFullScreen(),webkitRequestFullscreen()",
FF = "animate(),append(),attachShadow(),attributes,childElementCount,children,classList,className,"
+ "clientHeight,clientLeft,clientTop,clientWidth,closest(),firstElementChild,getAnimations(),"
+ "getAttribute(),getAttributeNames(),getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),"
+ "getBoundingClientRect(),getClientRects(),getElementsByClassName(),getElementsByTagName(),"
+ "getElementsByTagNameNS(),hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),"
+ "id,innerHTML,insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),lastElementChild,"
+ "localName,matches(),mozMatchesSelector(),mozRequestFullScreen(),namespaceURI,onfullscreenchange,"
+ "onfullscreenerror,outerHTML,part,prefix,prepend(),querySelector(),querySelectorAll(),"
+ "releaseCapture(),releasePointerCapture(),removeAttribute(),removeAttributeNode(),"
+ "removeAttributeNS(),replaceChildren(),requestFullscreen(),requestPointerLock(),"
+ "scroll(),scrollBy(),scrollHeight,"
+ "scrollIntoView(),scrollLeft,scrollLeftMax,scrollTo(),scrollTop,scrollTopMax,scrollWidth,"
+ "setAttribute(),setAttributeNode(),setAttributeNodeNS(),setAttributeNS(),setCapture(),"
+ "setPointerCapture(),shadowRoot,slot,tagName,toggleAttribute(),webkitMatchesSelector()",
FF_ESR = "animate(),append(),attachShadow(),attributes,childElementCount,children,classList,className,"
+ "clientHeight,clientLeft,clientTop,clientWidth,closest(),firstElementChild,"
+ "getAnimations(),getAttribute(),"
+ "getAttributeNames(),getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),"
+ "getBoundingClientRect(),getClientRects(),getElementsByClassName(),getElementsByTagName(),"
+ "getElementsByTagNameNS(),hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),"
+ "id,innerHTML,insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),lastElementChild,"
+ "localName,matches(),mozMatchesSelector(),mozRequestFullScreen(),namespaceURI,onfullscreenchange,"
+ "onfullscreenerror,outerHTML,part,prefix,prepend(),"
+ "querySelector(),querySelectorAll(),releaseCapture(),"
+ "releasePointerCapture(),removeAttribute(),removeAttributeNode(),removeAttributeNS(),"
+ "replaceChildren(),"
+ "requestFullscreen(),requestPointerLock(),scroll(),scrollBy(),scrollHeight,scrollIntoView(),"
+ "scrollLeft,scrollLeftMax,scrollTo(),scrollTop,scrollTopMax,scrollWidth,setAttribute(),"
+ "setAttributeNode(),setAttributeNodeNS(),setAttributeNS(),setCapture(),setPointerCapture(),"
+ "shadowRoot,slot,tagName,toggleAttribute(),webkitMatchesSelector()",
IE = "childElementCount,clientHeight,clientLeft,clientTop,clientWidth,firstElementChild,getAttribute(),"
+ "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect(),getClientRects(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),hasAttribute(),hasAttributeNS(),lastElementChild,"
+ "msContentZoomFactor,msGetRegionContent(),msGetUntransformedBounds(),msMatchesSelector(),"
+ "msRegionOverflow,msReleasePointerCapture(),msRequestFullscreen(),msSetPointerCapture(),msZoomTo(),"
+ "nextElementSibling,ongotpointercapture,onlostpointercapture,onmsgesturechange,onmsgesturedoubletap,"
+ "onmsgestureend,onmsgesturehold,onmsgesturestart,onmsgesturetap,onmsgotpointercapture,"
+ "onmsinertiastart,onmslostpointercapture,onmspointercancel,onmspointerdown,onmspointerenter,"
+ "onmspointerleave,onmspointermove,onmspointerout,onmspointerover,onmspointerup,onpointercancel,"
+ "onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,"
+ "previousElementSibling,querySelector(),querySelectorAll(),releasePointerCapture(),removeAttribute(),"
+ "removeAttributeNode(),removeAttributeNS(),scrollHeight,scrollLeft,scrollTop,scrollWidth,"
+ "setAttribute(),setAttributeNode(),setAttributeNodeNS(),setAttributeNS(),setPointerCapture(),tagName")
@HtmlUnitNYI(CHROME = "attributes,childElementCount,children,classList,className,clientHeight,clientLeft,clientTop,"
+ "clientWidth,closest(),firstElementChild,getAttribute(),getAttributeNode(),getAttributeNodeNS(),"
+ "getAttributeNS(),getBoundingClientRect(),getClientRects(),getElementsByClassName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),"
+ "getInnerHTML(),hasAttribute(),hasAttributeNS(),hasAttributes(),"
+ "id,innerHTML,insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),lastElementChild,"
+ "localName,matches(),namespaceURI,onbeforecopy,onbeforecut,onbeforepaste,"
+ "onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,prefix,"
+ "querySelector(),querySelectorAll(),removeAttribute(),removeAttributeNode(),removeAttributeNS(),"
+ "scrollHeight,scrollIntoView(),scrollIntoViewIfNeeded(),scrollLeft,scrollTop,scrollWidth,"
+ "setAttribute(),setAttributeNode(),setAttributeNS(),"
+ "tagName,toggleAttribute(),webkitMatchesSelector()",
EDGE = "attributes,childElementCount,children,classList,className,clientHeight,clientLeft,clientTop,"
+ "clientWidth,closest(),firstElementChild,getAttribute(),getAttributeNode(),getAttributeNodeNS(),"
+ "getAttributeNS(),getBoundingClientRect(),getClientRects(),getElementsByClassName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),"
+ "getInnerHTML(),hasAttribute(),hasAttributeNS(),hasAttributes(),"
+ "id,innerHTML,insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),lastElementChild,"
+ "localName,matches(),namespaceURI,onbeforecopy,onbeforecut,onbeforepaste,"
+ "onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,prefix,"
+ "querySelector(),querySelectorAll(),removeAttribute(),removeAttributeNode(),removeAttributeNS(),"
+ "scrollHeight,scrollIntoView(),scrollIntoViewIfNeeded(),scrollLeft,scrollTop,scrollWidth,"
+ "setAttribute(),setAttributeNode(),setAttributeNS(),"
+ "tagName,toggleAttribute(),webkitMatchesSelector()",
FF_ESR = "attributes,childElementCount,children,classList,className,clientHeight,clientLeft,clientTop,"
+ "clientWidth,closest(),firstElementChild,getAttribute(),getAttributeNode(),getAttributeNodeNS(),"
+ "getAttributeNS(),getBoundingClientRect(),getClientRects(),getElementsByClassName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),hasAttribute(),hasAttributeNS(),"
+ "hasAttributes(),id,innerHTML,insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),"
+ "lastElementChild,localName,matches(),mozMatchesSelector(),namespaceURI,outerHTML,prefix,"
+ "querySelector(),querySelectorAll(),releaseCapture(),removeAttribute(),removeAttributeNode(),"
+ "removeAttributeNS(),scrollHeight,scrollIntoView(),scrollLeft,scrollTop,scrollWidth,setAttribute(),"
+ "setAttributeNode(),setAttributeNS(),setCapture(),"
+ "tagName,toggleAttribute(),webkitMatchesSelector()",
FF = "attributes,childElementCount,children,classList,className,clientHeight,clientLeft,clientTop,"
+ "clientWidth,closest(),firstElementChild,getAttribute(),getAttributeNode(),getAttributeNodeNS(),"
+ "getAttributeNS(),getBoundingClientRect(),getClientRects(),getElementsByClassName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),hasAttribute(),hasAttributeNS(),"
+ "hasAttributes(),id,innerHTML,insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),"
+ "lastElementChild,localName,matches(),mozMatchesSelector(),namespaceURI,outerHTML,prefix,"
+ "querySelector(),querySelectorAll(),releaseCapture(),removeAttribute(),removeAttributeNode(),"
+ "removeAttributeNS(),scrollHeight,scrollIntoView(),scrollLeft,scrollTop,scrollWidth,setAttribute(),"
+ "setAttributeNode(),setAttributeNS(),setCapture(),"
+ "tagName,toggleAttribute(),webkitMatchesSelector()",
IE = "childElementCount,clientHeight,clientLeft,clientTop,clientWidth,firstElementChild,getAttribute(),"
+ "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect(),getClientRects(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),hasAttribute(),hasAttributeNS(),lastElementChild,"
+ "msMatchesSelector(),nextElementSibling,ongotpointercapture,onlostpointercapture,onmsgesturechange,"
+ "onmsgesturedoubletap,onmsgestureend,onmsgesturehold,onmsgesturestart,onmsgesturetap,"
+ "onmsgotpointercapture,onmsinertiastart,onmslostpointercapture,onmspointercancel,onmspointerdown,"
+ "onmspointerenter,onmspointerleave,onmspointermove,onmspointerout,onmspointerover,onmspointerup,"
+ "onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,"
+ "onpointerover,onpointerup,previousElementSibling,querySelector(),querySelectorAll(),"
+ "removeAttribute(),removeAttributeNode(),removeAttributeNS(),scrollHeight,scrollLeft,scrollTop,"
+ "scrollWidth,setAttribute(),setAttributeNode(),setAttributeNS(),tagName")
public void element() throws Exception {
testString("", "element, xmlDocument.createTextNode('abc')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.Element}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "after(),animate(),"
+ "ariaAtomic,ariaAutoComplete,ariaBusy,ariaChecked,ariaColCount,ariaColIndex,ariaColSpan,ariaCurrent,"
+ "ariaDescription,ariaDisabled,ariaExpanded,ariaHasPopup,ariaHidden,ariaKeyShortcuts,"
+ "ariaLabel,ariaLevel,ariaLive,"
+ "ariaModal,ariaMultiLine,ariaMultiSelectable,ariaOrientation,ariaPlaceholder,ariaPosInSet,"
+ "ariaPressed,ariaReadOnly,ariaRelevant,ariaRequired,ariaRoleDescription,ariaRowCount,ariaRowIndex,"
+ "ariaRowSpan,ariaSelected,ariaSetSize,ariaSort,ariaValueMax,ariaValueMin,ariaValueNow,"
+ "ariaValueText,assignedSlot,attachShadow(),attributes,attributeStyleMap,before(),classList,className,"
+ "clientHeight,clientLeft,clientTop,clientWidth,closest(),computedStyleMap(),"
+ "elementTiming,getAnimations(),getAttribute(),"
+ "getAttributeNames(),getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),"
+ "getBoundingClientRect(),getClientRects(),"
+ "getElementsByClassName(),getElementsByTagName(),"
+ "getElementsByTagNameNS(),getInnerHTML(),"
+ "hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),id,"
+ "innerHTML,insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),localName,matches(),"
+ "namespaceURI,nextElementSibling,onbeforecopy,onbeforecut,"
+ "onbeforepaste,onfullscreenchange,onfullscreenerror,"
+ "onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,"
+ "part,prefix,"
+ "previousElementSibling,releasePointerCapture(),remove(),removeAttribute(),removeAttributeNode(),"
+ "removeAttributeNS(),replaceWith(),requestFullscreen(),requestPointerLock(),"
+ "scroll(),scrollBy(),scrollHeight,scrollIntoView(),"
+ "scrollIntoViewIfNeeded(),scrollLeft,scrollTo(),scrollTop,scrollWidth,setAttribute(),"
+ "setAttributeNode(),"
+ "setAttributeNodeNS(),setAttributeNS(),setPointerCapture(),shadowRoot,slot,"
+ "tagName,toggleAttribute(),"
+ "webkitMatchesSelector(),webkitRequestFullScreen(),webkitRequestFullscreen()",
EDGE = "after(),animate(),"
+ "ariaAtomic,ariaAutoComplete,ariaBusy,ariaChecked,ariaColCount,ariaColIndex,ariaColSpan,ariaCurrent,"
+ "ariaDescription,ariaDisabled,ariaExpanded,ariaHasPopup,ariaHidden,ariaKeyShortcuts,"
+ "ariaLabel,ariaLevel,ariaLive,"
+ "ariaModal,ariaMultiLine,ariaMultiSelectable,ariaOrientation,ariaPlaceholder,ariaPosInSet,"
+ "ariaPressed,ariaReadOnly,ariaRelevant,ariaRequired,ariaRoleDescription,ariaRowCount,ariaRowIndex,"
+ "ariaRowSpan,ariaSelected,ariaSetSize,ariaSort,ariaValueMax,ariaValueMin,ariaValueNow,"
+ "ariaValueText,assignedSlot,attachShadow(),attributes,attributeStyleMap,before(),classList,className,"
+ "clientHeight,clientLeft,clientTop,clientWidth,closest(),computedStyleMap(),"
+ "elementTiming,getAnimations(),getAttribute(),"
+ "getAttributeNames(),getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),"
+ "getBoundingClientRect(),getClientRects(),"
+ "getElementsByClassName(),getElementsByTagName(),"
+ "getElementsByTagNameNS(),getInnerHTML(),"
+ "hasAttribute(),hasAttributeNS(),hasAttributes(),hasPointerCapture(),id,"
+ "innerHTML,insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),localName,matches(),"
+ "namespaceURI,nextElementSibling,onbeforecopy,onbeforecut,"
+ "onbeforepaste,onfullscreenchange,onfullscreenerror,"
+ "onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,"
+ "part,prefix,"
+ "previousElementSibling,releasePointerCapture(),remove(),removeAttribute(),removeAttributeNode(),"
+ "removeAttributeNS(),replaceWith(),requestFullscreen(),requestPointerLock(),"
+ "scroll(),scrollBy(),scrollHeight,scrollIntoView(),"
+ "scrollIntoViewIfNeeded(),scrollLeft,scrollTo(),scrollTop,scrollWidth,setAttribute(),"
+ "setAttributeNode(),"
+ "setAttributeNodeNS(),setAttributeNS(),setPointerCapture(),shadowRoot,slot,"
+ "tagName,toggleAttribute(),"
+ "webkitMatchesSelector(),webkitRequestFullScreen(),webkitRequestFullscreen()",
FF = "after(),animate(),assignedSlot,attachShadow(),attributes,before(),classList,className,clientHeight,"
+ "clientLeft,clientTop,clientWidth,closest(),getAnimations(),getAttribute(),getAttributeNames(),"
+ "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect(),getClientRects(),"
+ "getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS(),hasAttribute(),"
+ "hasAttributeNS(),hasAttributes(),hasPointerCapture(),id,innerHTML,insertAdjacentElement(),"
+ "insertAdjacentHTML(),insertAdjacentText(),localName,matches(),mozMatchesSelector(),"
+ "mozRequestFullScreen(),namespaceURI,nextElementSibling,onfullscreenchange,onfullscreenerror,"
+ "outerHTML,part,prefix,previousElementSibling,releaseCapture(),releasePointerCapture(),remove(),"
+ "removeAttribute(),removeAttributeNode(),removeAttributeNS(),replaceWith(),requestFullscreen(),"
+ "requestPointerLock(),scroll(),scrollBy(),scrollHeight,scrollIntoView(),scrollLeft,scrollLeftMax,"
+ "scrollTo(),scrollTop,scrollTopMax,scrollWidth,setAttribute(),setAttributeNode(),"
+ "setAttributeNodeNS(),setAttributeNS(),setCapture(),setPointerCapture(),shadowRoot,slot,tagName,"
+ "toggleAttribute(),webkitMatchesSelector()",
FF_ESR = "after(),animate(),assignedSlot,attachShadow(),attributes,"
+ "before(),classList,className,clientHeight,"
+ "clientLeft,clientTop,clientWidth,closest(),getAnimations(),"
+ "getAttribute(),getAttributeNames(),getAttributeNode(),"
+ "getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect(),getClientRects(),"
+ "getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS(),hasAttribute(),"
+ "hasAttributeNS(),hasAttributes(),hasPointerCapture(),id,innerHTML,insertAdjacentElement(),"
+ "insertAdjacentHTML(),insertAdjacentText(),localName,matches(),mozMatchesSelector(),"
+ "mozRequestFullScreen(),namespaceURI,nextElementSibling,onfullscreenchange,onfullscreenerror,"
+ "outerHTML,part,prefix,previousElementSibling,releaseCapture(),"
+ "releasePointerCapture(),remove(),removeAttribute(),removeAttributeNode(),removeAttributeNS(),"
+ "replaceWith(),requestFullscreen(),requestPointerLock(),scroll(),scrollBy(),scrollHeight,"
+ "scrollIntoView(),scrollLeft,scrollLeftMax,scrollTo(),scrollTop,scrollTopMax,scrollWidth,"
+ "setAttribute(),setAttributeNode(),setAttributeNodeNS(),setAttributeNS(),setCapture(),"
+ "setPointerCapture(),shadowRoot,slot,tagName,toggleAttribute(),webkitMatchesSelector()",
IE = "childElementCount,clientHeight,clientLeft,clientTop,clientWidth,firstElementChild,getAttribute(),"
+ "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect(),getClientRects(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),hasAttribute(),hasAttributeNS(),lastElementChild,"
+ "msContentZoomFactor,msGetRegionContent(),msGetUntransformedBounds(),msMatchesSelector(),"
+ "msRegionOverflow,msReleasePointerCapture(),msRequestFullscreen(),msSetPointerCapture(),msZoomTo(),"
+ "nextElementSibling,ongotpointercapture,onlostpointercapture,onmsgesturechange,onmsgesturedoubletap,"
+ "onmsgestureend,onmsgesturehold,onmsgesturestart,onmsgesturetap,onmsgotpointercapture,"
+ "onmsinertiastart,onmslostpointercapture,onmspointercancel,onmspointerdown,onmspointerenter,"
+ "onmspointerleave,onmspointermove,onmspointerout,onmspointerover,onmspointerup,onpointercancel,"
+ "onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,"
+ "previousElementSibling,releasePointerCapture(),removeAttribute(),removeAttributeNode(),"
+ "removeAttributeNS(),scrollHeight,scrollLeft,scrollTop,scrollWidth,setAttribute(),setAttributeNode(),"
+ "setAttributeNodeNS(),setAttributeNS(),setPointerCapture(),tagName")
@HtmlUnitNYI(CHROME = "after(),attributes,before(),classList,className,clientHeight,clientLeft,clientTop,"
+ "clientWidth,closest(),getAttribute(),getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),"
+ "getBoundingClientRect(),getClientRects(),getElementsByClassName(),getElementsByTagName(),"
+ "getElementsByTagNameNS(),getInnerHTML(),"
+ "hasAttribute(),hasAttributeNS(),hasAttributes(),id,innerHTML,"
+ "insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),localName,matches(),"
+ "namespaceURI,nextElementSibling,onbeforecopy,onbeforecut,onbeforepaste,"
+ "onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,prefix,"
+ "previousElementSibling,remove(),removeAttribute(),removeAttributeNode(),removeAttributeNS(),"
+ "replaceWith(),scrollHeight,scrollIntoView(),scrollIntoViewIfNeeded(),scrollLeft,scrollTop,"
+ "scrollWidth,setAttribute(),setAttributeNode(),setAttributeNS(),"
+ "tagName,toggleAttribute(),webkitMatchesSelector()",
EDGE = "after(),attributes,before(),classList,className,clientHeight,clientLeft,clientTop,"
+ "clientWidth,closest(),getAttribute(),getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),"
+ "getBoundingClientRect(),getClientRects(),getElementsByClassName(),getElementsByTagName(),"
+ "getElementsByTagNameNS(),getInnerHTML(),"
+ "hasAttribute(),hasAttributeNS(),hasAttributes(),id,innerHTML,"
+ "insertAdjacentElement(),insertAdjacentHTML(),insertAdjacentText(),localName,matches(),"
+ "namespaceURI,nextElementSibling,onbeforecopy,onbeforecut,onbeforepaste,"
+ "onsearch,onwebkitfullscreenchange,onwebkitfullscreenerror,outerHTML,prefix,"
+ "previousElementSibling,remove(),removeAttribute(),removeAttributeNode(),removeAttributeNS(),"
+ "replaceWith(),scrollHeight,scrollIntoView(),scrollIntoViewIfNeeded(),scrollLeft,scrollTop,"
+ "scrollWidth,setAttribute(),setAttributeNode(),setAttributeNS(),"
+ "tagName,toggleAttribute(),webkitMatchesSelector()",
FF_ESR = "after(),attributes,before(),classList,className,clientHeight,clientLeft,clientTop,clientWidth,"
+ "closest(),getAttribute(),getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),"
+ "getBoundingClientRect(),"
+ "getClientRects(),getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS(),"
+ "hasAttribute(),hasAttributeNS(),hasAttributes(),id,innerHTML,insertAdjacentElement(),"
+ "insertAdjacentHTML(),insertAdjacentText(),localName,matches(),mozMatchesSelector(),namespaceURI,"
+ "nextElementSibling,outerHTML,prefix,previousElementSibling,releaseCapture(),remove(),"
+ "removeAttribute(),removeAttributeNode(),removeAttributeNS(),replaceWith(),scrollHeight,"
+ "scrollIntoView(),scrollLeft,scrollTop,scrollWidth,setAttribute(),setAttributeNode(),"
+ "setAttributeNS(),setCapture(),"
+ "tagName,toggleAttribute(),webkitMatchesSelector()",
FF = "after(),attributes,before(),classList,className,clientHeight,clientLeft,clientTop,clientWidth,"
+ "closest(),getAttribute(),getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),"
+ "getBoundingClientRect(),"
+ "getClientRects(),getElementsByClassName(),getElementsByTagName(),getElementsByTagNameNS(),"
+ "hasAttribute(),hasAttributeNS(),hasAttributes(),id,innerHTML,insertAdjacentElement(),"
+ "insertAdjacentHTML(),insertAdjacentText(),localName,matches(),mozMatchesSelector(),namespaceURI,"
+ "nextElementSibling,outerHTML,prefix,previousElementSibling,releaseCapture(),remove(),"
+ "removeAttribute(),removeAttributeNode(),removeAttributeNS(),replaceWith(),scrollHeight,"
+ "scrollIntoView(),scrollLeft,scrollTop,scrollWidth,setAttribute(),setAttributeNode(),"
+ "setAttributeNS(),setCapture(),"
+ "tagName,toggleAttribute(),webkitMatchesSelector()",
IE = "childElementCount,clientHeight,clientLeft,clientTop,clientWidth,firstElementChild,getAttribute(),"
+ "getAttributeNode(),getAttributeNodeNS(),getAttributeNS(),getBoundingClientRect(),"
+ "getClientRects(),getElementsByTagName(),getElementsByTagNameNS(),hasAttribute(),"
+ "hasAttributeNS(),lastElementChild,msMatchesSelector(),nextElementSibling,ongotpointercapture,"
+ "onlostpointercapture,onmsgesturechange,onmsgesturedoubletap,onmsgestureend,onmsgesturehold,"
+ "onmsgesturestart,onmsgesturetap,onmsgotpointercapture,onmsinertiastart,onmslostpointercapture,"
+ "onmspointercancel,onmspointerdown,onmspointerenter,onmspointerleave,onmspointermove,"
+ "onmspointerout,onmspointerover,onmspointerup,onpointercancel,onpointerdown,onpointerenter,"
+ "onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,previousElementSibling,"
+ "removeAttribute(),removeAttributeNode(),removeAttributeNS(),scrollHeight,scrollLeft,"
+ "scrollTop,scrollWidth,setAttribute(),setAttributeNode(),setAttributeNS(),tagName")
public void element2() throws Exception {
testString("", "element, document.createDocumentFragment()");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "blockDirection,clipBottom,clipLeft,clipRight,clipTop,hasLayout")
@HtmlUnitNYI(IE = "-")
public void currentStyle() throws Exception {
testString("", "document.body.currentStyle, document.body.style");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),isTrusted,"
+ "NONE,path,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),isTrusted,"
+ "NONE,path,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,"
+ "composedPath(),CONTROL_MASK,currentTarget,"
+ "defaultPrevented,eventPhase,explicitOriginalTarget,initEvent(),isTrusted,"
+ "META_MASK,NONE,originalTarget,preventDefault(),returnValue,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,"
+ "type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,"
+ "composedPath(),CONTROL_MASK,currentTarget,"
+ "defaultPrevented,eventPhase,explicitOriginalTarget,initEvent(),isTrusted,"
+ "META_MASK,NONE,originalTarget,preventDefault(),returnValue,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,"
+ "type",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),isTrusted,preventDefault(),srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,"
+ "type")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,"
+ "CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,"
+ "CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),preventDefault(),"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type")
public void event() throws Exception {
testString("", "event ? event : window.event, null");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "addEventListener(),alert(),atob(),blur(),btoa(),caches,cancelAnimationFrame(),"
+ "cancelIdleCallback(),captureEvents(),cdc_adoQpoasnfa76pfcZLmcfl_Array(),"
+ "cdc_adoQpoasnfa76pfcZLmcfl_Promise(),cdc_adoQpoasnfa76pfcZLmcfl_Symbol(),chrome,clearInterval(),"
+ "clearTimeout(),clientInformation,close(),closed,confirm(),cookieStore,createImageBitmap(),"
+ "crossOriginIsolated,crypto,customElements,defaultStatus,defaultstatus,devicePixelRatio,"
+ "dispatchEvent(),document,external,fetch(),find(),focus(),frameElement,frames,getComputedStyle(),"
+ "getScreenDetails(),"
+ "getSelection(),history,indexedDB,innerHeight,innerWidth,isSecureContext,length,localStorage,"
+ "location,locationbar,log(),matchMedia(),menubar,moveBy(),moveTo(),name,navigator,onabort,"
+ "onafterprint,onanimationend,onanimationiteration,onanimationstart,onappinstalled,onauxclick,"
+ "onbeforeinstallprompt,onbeforeprint,onbeforeunload,onbeforexrselect,onblur,oncancel,oncanplay,"
+ "oncanplaythrough,onchange,onclick,onclose,oncontextlost,oncontextmenu,oncontextrestored,"
+ "oncuechange,ondblclick,ondevicemotion,"
+ "ondeviceorientation,ondeviceorientationabsolute,ondrag,ondragend,ondragenter,ondragleave,"
+ "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,"
+ "ongotpointercapture,onhashchange,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onlanguagechange,"
+ "onload(),onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,onmessage,onmessageerror,"
+ "onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,"
+ "onoffline,ononline,onpagehide,onpageshow,onpause,onplay,onplaying,onpointercancel,onpointerdown,"
+ "onpointerenter,onpointerleave,onpointermove,onpointerout,onpointerover,onpointerrawupdate,"
+ "onpointerup,onpopstate,onprogress,onratechange,onrejectionhandled,onreset,onresize,onscroll,"
+ "onsearch,onsecuritypolicyviolation,onseeked,onseeking,onselect,onselectionchange,"
+ "onselectstart,onslotchange,onstalled,onstorage,"
+ "onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,"
+ "ontransitionstart,onunhandledrejection,onunload,onvolumechange,onwaiting,onwebkitanimationend,"
+ "onwebkitanimationiteration,onwebkitanimationstart,onwebkittransitionend,onwheel,open(),"
+ "openDatabase(),opener,origin,originAgentCluster,outerHeight,outerWidth,pageXOffset,pageYOffset,"
+ "parent,performance,PERSISTENT,personalbar,postMessage(),print(),process(),prompt(),"
+ "queueMicrotask(),releaseEvents(),removeEventListener(),reportError(),requestAnimationFrame(),"
+ "requestIdleCallback(),resizeBy(),resizeTo(),scheduler,screen,screenLeft,screenTop,screenX,"
+ "screenY,scroll(),scrollbars,scrollBy(),scrollTo(),scrollX,scrollY,self,sessionStorage,"
+ "setInterval(),setTimeout(),showDirectoryPicker(),showOpenFilePicker(),showSaveFilePicker(),"
+ "sortFunction(),speechSynthesis,status,statusbar,stop(),structuredClone(),"
+ "styleMedia,TEMPORARY,test(),toolbar,top,"
+ "trustedTypes,visualViewport,webkitCancelAnimationFrame(),webkitRequestAnimationFrame(),"
+ "webkitRequestFileSystem(),webkitResolveLocalFileSystemURL(),webkitStorageInfo,"
+ "window",
EDGE = "addEventListener(),alert(),atob(),blur(),btoa(),caches,cancelAnimationFrame(),"
+ "cancelIdleCallback(),captureEvents(),cdc_adoQpoasnfa76pfcZLmcfl_Array(),"
+ "cdc_adoQpoasnfa76pfcZLmcfl_Promise(),cdc_adoQpoasnfa76pfcZLmcfl_Symbol(),chrome,clearInterval(),"
+ "clearTimeout(),clientInformation,close(),closed,confirm(),cookieStore,createImageBitmap(),"
+ "crossOriginIsolated,crypto,customElements,defaultStatus,defaultstatus,devicePixelRatio,"
+ "dispatchEvent(),document,external,fetch(),find(),focus(),frameElement,frames,getComputedStyle(),"
+ "getScreenDetails(),"
+ "getSelection(),history,indexedDB,innerHeight,innerWidth,isSecureContext,length,localStorage,"
+ "location,locationbar,log(),matchMedia(),menubar,moveBy(),moveTo(),name,navigator,onabort,"
+ "onafterprint,onanimationend,onanimationiteration,onanimationstart,onappinstalled,onauxclick,"
+ "onbeforeinstallprompt,onbeforeprint,onbeforeunload,onbeforexrselect,onblur,oncancel,oncanplay,"
+ "oncanplaythrough,onchange,onclick,onclose,oncontextlost,oncontextmenu,oncontextrestored,"
+ "oncuechange,ondblclick,ondevicemotion,"
+ "ondeviceorientation,ondeviceorientationabsolute,ondrag,ondragend,ondragenter,ondragleave,"
+ "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,"
+ "ongotpointercapture,onhashchange,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onlanguagechange,"
+ "onload(),onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,onmessage,onmessageerror,"
+ "onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,"
+ "onoffline,ononline,onpagehide,onpageshow,onpause,onplay,onplaying,onpointercancel,onpointerdown,"
+ "onpointerenter,onpointerleave,onpointermove,onpointerout,onpointerover,onpointerrawupdate,"
+ "onpointerup,onpopstate,onprogress,onratechange,onrejectionhandled,onreset,onresize,onscroll,"
+ "onsearch,onsecuritypolicyviolation,onseeked,onseeking,onselect,"
+ "onselectionchange,onselectstart,onslotchange,onstalled,onstorage,"
+ "onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,"
+ "ontransitionstart,onunhandledrejection,onunload,onvolumechange,onwaiting,onwebkitanimationend,"
+ "onwebkitanimationiteration,onwebkitanimationstart,onwebkittransitionend,onwheel,open(),"
+ "openDatabase(),opener,origin,originAgentCluster,outerHeight,outerWidth,pageXOffset,pageYOffset,"
+ "parent,performance,PERSISTENT,personalbar,postMessage(),print(),process(),prompt(),"
+ "queueMicrotask(),releaseEvents(),removeEventListener(),reportError(),requestAnimationFrame(),"
+ "requestIdleCallback(),resizeBy(),resizeTo(),scheduler,screen,screenLeft,screenTop,screenX,"
+ "screenY,scroll(),scrollbars,scrollBy(),scrollTo(),scrollX,scrollY,self,sessionStorage,"
+ "setInterval(),setTimeout(),showDirectoryPicker(),showOpenFilePicker(),showSaveFilePicker(),"
+ "sortFunction(),speechSynthesis,status,statusbar,stop(),structuredClone(),"
+ "styleMedia,TEMPORARY,test(),toolbar,top,"
+ "trustedTypes,visualViewport,webkitCancelAnimationFrame(),webkitRequestAnimationFrame(),"
+ "webkitRequestFileSystem(),webkitResolveLocalFileSystemURL(),webkitStorageInfo,"
+ "window",
FF = "addEventListener(),alert(),applicationCache,atob(),blur(),btoa(),caches,cancelAnimationFrame(),"
+ "cancelIdleCallback(),captureEvents(),clearInterval(),clearTimeout(),clientInformation,"
+ "close(),closed,confirm(),"
+ "createImageBitmap(),crossOriginIsolated,crypto,customElements,devicePixelRatio,dispatchEvent(),"
+ "document,dump(),event,external,fetch(),find(),focus(),frameElement,frames,fullScreen,"
+ "getComputedStyle(),getDefaultComputedStyle(),getSelection(),history,indexedDB,innerHeight,"
+ "innerWidth,InstallTrigger,isSecureContext,length,localStorage,location,locationbar,"
+ "log(),matchMedia(),"
+ "menubar,moveBy(),moveTo(),mozInnerScreenX,mozInnerScreenY,name,navigator,onabort,"
+ "onabsolutedeviceorientation,onafterprint,onanimationcancel,onanimationend,onanimationiteration,"
+ "onanimationstart,onauxclick,onbeforeinput,onbeforeprint,"
+ "onbeforeunload,onblur,oncanplay,oncanplaythrough,"
+ "onchange,onclick,onclose,oncontextmenu,oncuechange,ondblclick,ondevicemotion,"
+ "ondeviceorientation,ondrag,ondragend,ondragenter,ondragexit,ondragleave,"
+ "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,"
+ "ongamepadconnected,ongamepaddisconnected,"
+ "ongotpointercapture,onhashchange,oninput,oninvalid,onkeydown,onkeypress,onkeyup,"
+ "onlanguagechange,onload(),onloadeddata,onloadedmetadata,onloadend,onloadstart,"
+ "onlostpointercapture,onmessage,onmessageerror,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmozfullscreenchange,onmozfullscreenerror,"
+ "onoffline,ononline,onpagehide,onpageshow,onpause,onplay,onplaying,onpointercancel,"
+ "onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,onpointerover,"
+ "onpointerup,onpopstate,onprogress,onratechange,onrejectionhandled,onreset,onresize,onscroll,"
+ "onsecuritypolicyviolation,onseeked,onseeking,onselect,onselectionchange,onselectstart,"
+ "onslotchange,onstalled,onstorage,"
+ "onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,"
+ "ontransitionend,ontransitionrun,ontransitionstart,onunhandledrejection,onunload,"
+ "onvolumechange,onwaiting,onwebkitanimationend,"
+ "onwebkitanimationiteration,onwebkitanimationstart,onwebkittransitionend,onwheel,open(),opener,"
+ "origin,outerHeight,outerWidth,pageXOffset,pageYOffset,parent,"
+ "performance,personalbar,postMessage(),"
+ "print(),process(),prompt(),queueMicrotask(),releaseEvents(),removeEventListener(),reportError(),"
+ "requestAnimationFrame(),requestIdleCallback(),resizeBy(),resizeTo(),screen,screenLeft,screenTop,"
+ "screenX,screenY,scroll(),scrollbars,scrollBy(),scrollByLines(),scrollByPages(),scrollMaxX,"
+ "scrollMaxY,scrollTo(),scrollX,scrollY,self,sessionStorage,"
+ "setInterval(),setResizable(),setTimeout(),"
+ "sidebar,sizeToContent(),sortFunction(),speechSynthesis,status,statusbar,stop(),structuredClone(),"
+ "test(),toolbar,"
+ "top,u2f,updateCommands(),visualViewport,window",
FF_ESR = "addEventListener(),alert(),applicationCache,atob(),blur(),btoa(),caches,cancelAnimationFrame(),"
+ "cancelIdleCallback(),captureEvents(),clearInterval(),clearTimeout(),clientInformation,"
+ "close(),closed,confirm(),"
+ "createImageBitmap(),crossOriginIsolated,crypto,customElements,devicePixelRatio,dispatchEvent(),"
+ "document,dump(),event,external,fetch(),find(),focus(),frameElement,frames,fullScreen,"
+ "getComputedStyle(),getDefaultComputedStyle(),getSelection(),history,indexedDB,innerHeight,"
+ "innerWidth,InstallTrigger,isSecureContext,length,localStorage,location,locationbar,"
+ "log(),matchMedia(),"
+ "menubar,moveBy(),moveTo(),mozInnerScreenX,mozInnerScreenY,name,navigator,onabort,"
+ "onabsolutedeviceorientation,onafterprint,onanimationcancel,onanimationend,onanimationiteration,"
+ "onanimationstart,onauxclick,onbeforeinput,onbeforeprint,"
+ "onbeforeunload,onblur,oncanplay,oncanplaythrough,"
+ "onchange,onclick,onclose,oncontextmenu,oncuechange,ondblclick,ondevicemotion,"
+ "ondeviceorientation,ondrag,ondragend,ondragenter,ondragexit,ondragleave,"
+ "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,"
+ "ongamepadconnected,ongamepaddisconnected,"
+ "ongotpointercapture,onhashchange,oninput,oninvalid,onkeydown,onkeypress,onkeyup,"
+ "onlanguagechange,onload(),onloadeddata,onloadedmetadata,onloadend,onloadstart,"
+ "onlostpointercapture,onmessage,onmessageerror,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmozfullscreenchange,onmozfullscreenerror,"
+ "onoffline,ononline,onpagehide,onpageshow,onpause,onplay,onplaying,onpointercancel,"
+ "onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,onpointerover,"
+ "onpointerup,onpopstate,onprogress,onratechange,onrejectionhandled,onreset,onresize,onscroll,"
+ "onseeked,onseeking,onselect,onselectstart,"
+ "onstalled,onstorage,"
+ "onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,"
+ "ontransitionend,ontransitionrun,ontransitionstart,onunhandledrejection,onunload,"
+ "onvolumechange,onwaiting,onwebkitanimationend,"
+ "onwebkitanimationiteration,onwebkitanimationstart,onwebkittransitionend,onwheel,open(),opener,"
+ "origin,outerHeight,outerWidth,pageXOffset,pageYOffset,parent,"
+ "performance,personalbar,postMessage(),"
+ "print(),process(),prompt(),queueMicrotask(),releaseEvents(),removeEventListener(),"
+ "requestAnimationFrame(),requestIdleCallback(),resizeBy(),resizeTo(),screen,screenLeft,screenTop,"
+ "screenX,screenY,scroll(),scrollbars,scrollBy(),scrollByLines(),scrollByPages(),scrollMaxX,"
+ "scrollMaxY,scrollTo(),scrollX,scrollY,self,sessionStorage,"
+ "setInterval(),setResizable(),setTimeout(),"
+ "sidebar,sizeToContent(),sortFunction(),speechSynthesis,status,statusbar,stop(),"
+ "test(),toolbar,"
+ "top,u2f,updateCommands(),visualViewport,window",
IE = "addEventListener(),alert(),animationStartTime,applicationCache,atob(),blur(),btoa(),"
+ "cancelAnimationFrame(),captureEvents(),clearImmediate(),clearInterval(),clearTimeout(),"
+ "clientInformation,clipboardData,close(),closed,confirm(),console,"
+ "defaultStatus,devicePixelRatio,dispatchEvent(),document,doNotTrack,event,external,focus(),"
+ "frameElement,frames,getComputedStyle(),getSelection(),history,indexedDB,innerHeight,"
+ "innerWidth,item(),length,localStorage,location,log(),"
+ "matchMedia(),maxConnectionsPerServer,moveBy(),"
+ "moveTo(),msAnimationStartTime,msCancelRequestAnimationFrame(),msClearImmediate(),msCrypto,"
+ "msIndexedDB,msIsStaticHTML(),msMatchMedia(),msRequestAnimationFrame(),msSetImmediate(),"
+ "msWriteProfilerMark(),name,navigate(),navigator,offscreenBuffering,onabort,onafterprint,"
+ "onbeforeprint,onbeforeunload,onblur,oncanplay,oncanplaythrough,onchange,onclick,"
+ "oncompassneedscalibration,oncontextmenu,ondblclick,ondevicemotion,ondeviceorientation,"
+ "ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,onfocusin,onfocusout,onhashchange,onhelp,"
+ "oninput,onkeydown,onkeypress,onkeyup,onload(),onloadeddata,onloadedmetadata,onloadstart,"
+ "onmessage,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,"
+ "onmousewheel,onmsgesturechange,onmsgesturedoubletap,onmsgestureend,onmsgesturehold,"
+ "onmsgesturestart,onmsgesturetap,onmsinertiastart,onmspointercancel,onmspointerdown,"
+ "onmspointerenter,onmspointerleave,onmspointermove,onmspointerout,onmspointerover,onmspointerup,"
+ "onoffline,ononline,onpagehide,onpageshow,onpause,onplay,onplaying,onpointercancel,onpointerdown,"
+ "onpointerenter,onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,onpopstate,"
+ "onprogress,onratechange,onreadystatechange,onreset,onresize,onscroll,onseeked,onseeking,onselect,"
+ "onstalled,onstorage,onsubmit,onsuspend,ontimeupdate,onunload,onvolumechange,"
+ "onwaiting,open(),"
+ "opener,outerHeight,outerWidth,pageXOffset,pageYOffset,parent,performance,"
+ "postMessage(),print(),"
+ "process(),prompt(),releaseEvents(),removeEventListener(),requestAnimationFrame(),resizeBy(),"
+ "resizeTo(),screen,screenLeft,screenTop,screenX,screenY,scroll(),scrollBy(),scrollTo(),self,"
+ "sessionStorage,setImmediate(),setInterval(),setTimeout(),showHelp(),showModalDialog(),"
+ "showModelessDialog(),sortFunction(),status,styleMedia,test(),top,toStaticHTML(),toString(),"
+ "window")
@HtmlUnitNYI(CHROME = "addEventListener(),alert(),atob(),blur(),btoa(),cancelAnimationFrame(),"
+ "captureEvents(),clearInterval(),clearTimeout(),clientInformation,close(),closed,confirm(),"
+ "crypto,devicePixelRatio,dispatchEvent(),document,event,external,find(),focus(),"
+ "frameElement,frames,getComputedStyle(),getSelection(),history,innerHeight,innerWidth,length,"
+ "localStorage,location,log(),matchMedia(),moveBy(),moveTo(),name,navigator,offscreenBuffering,"
+ "onabort,onanimationend,onanimationiteration,onanimationstart,onauxclick,onbeforeunload,"
+ "onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,oncontextmenu,"
+ "oncuechange,ondblclick,ondevicemotion,ondeviceorientation,ondeviceorientationabsolute,"
+ "ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,"
+ "onemptied,onended,onerror,onfocus,ongotpointercapture,onhashchange,oninput,oninvalid,"
+ "onkeydown,onkeypress,onkeyup,onlanguagechange,onload(),onloadeddata,onloadedmetadata,"
+ "onloadstart,onlostpointercapture,onmessage,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onoffline,ononline,onpagehide,"
+ "onpageshow,onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,"
+ "onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,onpopstate,onprogress,"
+ "onratechange,onrejectionhandled,onreset,onresize,onscroll,onsearch,onseeked,onseeking,"
+ "onselect,onstalled,onstorage,onsubmit,onsuspend,ontimeupdate,ontoggle,"
+ "ontransitionend,onunhandledrejection,onunload,onvolumechange,onwaiting,"
+ "onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart,"
+ "onwebkittransitionend,onwheel,open(),opener,outerHeight,outerWidth,pageXOffset,"
+ "pageYOffset,parent,performance,PERSISTENT,postMessage(),print(),process(),prompt(),"
+ "releaseEvents(),removeEventListener(),requestAnimationFrame(),resizeBy(),resizeTo(),"
+ "screen,scroll(),scrollBy(),scrollTo(),scrollX,scrollY,self,sessionStorage,"
+ "setInterval(),setTimeout(),sortFunction(),speechSynthesis,status,stop(),styleMedia,"
+ "TEMPORARY,test(),top,window",
EDGE = "addEventListener(),alert(),atob(),blur(),btoa(),cancelAnimationFrame(),"
+ "captureEvents(),clearInterval(),clearTimeout(),clientInformation,close(),closed,confirm(),"
+ "crypto,devicePixelRatio,dispatchEvent(),document,event,external,find(),focus(),"
+ "frameElement,frames,getComputedStyle(),getSelection(),history,innerHeight,innerWidth,length,"
+ "localStorage,location,log(),matchMedia(),moveBy(),moveTo(),name,navigator,offscreenBuffering,"
+ "onabort,onanimationend,onanimationiteration,onanimationstart,onauxclick,onbeforeunload,"
+ "onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,oncontextmenu,"
+ "oncuechange,ondblclick,ondevicemotion,ondeviceorientation,ondeviceorientationabsolute,"
+ "ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,"
+ "onemptied,onended,onerror,onfocus,ongotpointercapture,onhashchange,oninput,oninvalid,"
+ "onkeydown,onkeypress,onkeyup,onlanguagechange,onload(),onloadeddata,onloadedmetadata,"
+ "onloadstart,onlostpointercapture,onmessage,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onoffline,ononline,onpagehide,"
+ "onpageshow,onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,"
+ "onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,onpopstate,onprogress,"
+ "onratechange,onrejectionhandled,onreset,onresize,onscroll,onsearch,onseeked,onseeking,"
+ "onselect,onstalled,onstorage,onsubmit,onsuspend,ontimeupdate,ontoggle,"
+ "ontransitionend,onunhandledrejection,onunload,onvolumechange,onwaiting,"
+ "onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart,"
+ "onwebkittransitionend,onwheel,open(),opener,outerHeight,outerWidth,pageXOffset,pageYOffset,"
+ "parent,performance,PERSISTENT,postMessage(),print(),process(),prompt(),"
+ "releaseEvents(),removeEventListener(),requestAnimationFrame(),resizeBy(),resizeTo(),"
+ "screen,scroll(),scrollBy(),scrollTo(),scrollX,scrollY,self,sessionStorage,"
+ "setInterval(),setTimeout(),sortFunction(),speechSynthesis,status,stop(),styleMedia,"
+ "TEMPORARY,test(),top,window",
FF_ESR = "addEventListener(),alert(),applicationCache,atob(),blur(),btoa(),cancelAnimationFrame(),"
+ "captureEvents(),clearInterval(),clearTimeout(),clientInformation,"
+ "close(),closed,confirm(),controllers,"
+ "crypto,devicePixelRatio,dispatchEvent(),document,dump(),event,external,find(),focus(),"
+ "frameElement,frames,getComputedStyle(),getSelection(),history,innerHeight,innerWidth,"
+ "length,localStorage,location,log(),matchMedia(),moveBy(),moveTo(),mozInnerScreenX,mozInnerScreenY,"
+ "name,navigator,netscape,onabort,onafterprint,onbeforeprint,onbeforeunload,"
+ "onblur,oncanplay,oncanplaythrough,onchange,onclick,oncontextmenu,ondblclick,"
+ "ondevicelight,ondevicemotion,ondeviceorientation,ondeviceproximity,ondrag,ondragend,"
+ "ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,"
+ "onerror,onfocus,onhashchange,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onlanguagechange,"
+ "onload(),onloadeddata,onloadedmetadata,onloadstart,onmessage,onmousedown,onmouseenter,"
+ "onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmozfullscreenchange,"
+ "onmozfullscreenerror,onoffline,ononline,onpagehide,onpageshow,onpause,onplay,onplaying,"
+ "onpopstate,onprogress,onratechange,onreset,onresize,onscroll,onseeked,onseeking,onselect,"
+ "onstalled,onstorage,onsubmit,onsuspend,ontimeupdate,onunload,onuserproximity,"
+ "onvolumechange,onwaiting,onwheel,open(),opener,outerHeight,outerWidth,pageXOffset,"
+ "pageYOffset,parent,performance,postMessage(),print(),process(),prompt(),releaseEvents(),"
+ "removeEventListener(),requestAnimationFrame(),resizeBy(),resizeTo(),screen,scroll(),"
+ "scrollBy(),scrollByLines(),scrollByPages(),scrollTo(),scrollX,scrollY,self,sessionStorage,"
+ "setInterval(),setTimeout(),sortFunction(),status,stop(),test(),top,window",
FF = "addEventListener(),alert(),applicationCache,atob(),blur(),btoa(),cancelAnimationFrame(),"
+ "captureEvents(),clearInterval(),clearTimeout(),clientInformation,"
+ "close(),closed,confirm(),controllers,"
+ "crypto,devicePixelRatio,dispatchEvent(),document,dump(),event,external,find(),focus(),"
+ "frameElement,frames,getComputedStyle(),getSelection(),history,innerHeight,innerWidth,"
+ "length,localStorage,location,log(),matchMedia(),moveBy(),moveTo(),mozInnerScreenX,mozInnerScreenY,"
+ "name,navigator,netscape,onabort,onafterprint,onbeforeprint,onbeforeunload,"
+ "onblur,oncanplay,oncanplaythrough,onchange,onclick,oncontextmenu,ondblclick,"
+ "ondevicelight,ondevicemotion,ondeviceorientation,ondeviceproximity,ondrag,ondragend,"
+ "ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,"
+ "onerror,onfocus,onhashchange,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onlanguagechange,"
+ "onload(),onloadeddata,onloadedmetadata,onloadstart,onmessage,onmousedown,onmouseenter,"
+ "onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmozfullscreenchange,"
+ "onmozfullscreenerror,onoffline,ononline,onpagehide,onpageshow,onpause,onplay,onplaying,"
+ "onpopstate,onprogress,onratechange,onreset,onresize,onscroll,onseeked,onseeking,onselect,"
+ "onstalled,onstorage,onsubmit,onsuspend,ontimeupdate,onunload,onuserproximity,"
+ "onvolumechange,onwaiting,onwheel,open(),opener,outerHeight,outerWidth,pageXOffset,"
+ "pageYOffset,parent,performance,postMessage(),print(),process(),prompt(),releaseEvents(),"
+ "removeEventListener(),requestAnimationFrame(),resizeBy(),resizeTo(),screen,scroll(),"
+ "scrollBy(),scrollByLines(),scrollByPages(),scrollTo(),scrollX,scrollY,self,sessionStorage,"
+ "setInterval(),setTimeout(),sortFunction(),status,stop(),test(),top,window",
IE = "addEventListener(),alert(),applicationCache,atob(),blur(),btoa(),cancelAnimationFrame(),"
+ "captureEvents(),clearInterval(),clearTimeout(),clientInformation,clipboardData,close(),"
+ "closed,CollectGarbage(),confirm(),devicePixelRatio,dispatchEvent(),document,"
+ "doNotTrack,event,external,focus(),frameElement,frames,getComputedStyle(),getSelection(),"
+ "history,innerHeight,innerWidth,length,localStorage,location,log(),matchMedia(),moveBy(),"
+ "moveTo(),name,navigate(),navigator,offscreenBuffering,onabort,onafterprint,"
+ "onbeforeprint,onbeforeunload,onblur,oncanplay,oncanplaythrough,onchange,onclick,"
+ "oncontextmenu,ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,"
+ "ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onfocusin,"
+ "onfocusout,onhashchange,onhelp,oninput,onkeydown,onkeypress,onkeyup,onload(),"
+ "onloadeddata,onloadedmetadata,onloadstart,onmessage,onmousedown,onmouseenter,"
+ "onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onmsgesturechange,"
+ "onmsgesturedoubletap,onmsgestureend,onmsgesturehold,onmsgesturestart,onmsgesturetap,"
+ "onmsinertiastart,onmspointercancel,onmspointerdown,onmspointerenter,onmspointerleave,"
+ "onmspointermove,onmspointerout,onmspointerover,onmspointerup,onoffline,ononline,"
+ "onpagehide,onpageshow,onpause,onplay,onplaying,onpointercancel,onpointerdown,"
+ "onpointerenter,onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,"
+ "onpopstate,onprogress,onratechange,onreadystatechange,onreset,onresize,onscroll,"
+ "onseeked,onseeking,onselect,onstalled,onstorage,onsubmit,onsuspend,ontimeupdate,"
+ "onunload,onvolumechange,onwaiting,open(),opener,outerHeight,outerWidth,pageXOffset,"
+ "pageYOffset,parent,performance,postMessage(),print(),process(),prompt(),"
+ "releaseEvents(),removeEventListener(),requestAnimationFrame(),resizeBy(),"
+ "resizeTo(),screen,ScriptEngine(),ScriptEngineBuildVersion(),"
+ "ScriptEngineMajorVersion(),ScriptEngineMinorVersion(),scroll(),scrollBy(),"
+ "scrollTo(),self,sessionStorage,setInterval(),setTimeout(),showModalDialog(),"
+ "showModelessDialog(),sortFunction(),status,styleMedia,test(),top,window")
public void window() throws Exception {
testString("", "window, null");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlAbbreviated}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void abbr() throws Exception {
test("abbr");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlAcronym}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void acronym() throws Exception {
test("acronym");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlAnchor}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "charset,coords,download,hash,host,hostname,href,hreflang,name,origin,password,pathname,ping,"
+ "port,protocol,referrerPolicy,rel,relList,rev,search,shape,target,text,type,"
+ "username",
IE = "charset,coords,hash,host,hostname,href,hreflang,Methods,mimeType,name,nameProp,pathname,port,"
+ "protocol,protocolLong,rel,rev,search,shape,target,text,type,"
+ "urn")
public void a() throws Exception {
test("a");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlAddress}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,clear,width")
public void address() throws Exception {
test("address");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlApplet}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "align,alt,altHtml,archive,BaseHref,border,classid,code,codeBase,codeType,contentDocument,data,"
+ "declare,form,height,hspace,name,object,standby,type,useMap,vspace,width")
@HtmlUnitNYI(IE = "align,alt,border,classid,height,width")
public void applet() throws Exception {
test("applet");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlArea}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "alt,coords,download,hash,host,hostname,href,noHref,origin,password,pathname,ping,port,"
+ "protocol,referrerPolicy,rel,relList,search,shape,target,username",
IE = "alt,coords,hash,host,hostname,href,noHref,pathname,port,protocol,rel,search,shape,target")
@HtmlUnitNYI(CHROME = "alt,coords,rel,relList",
EDGE = "alt,coords,rel,relList",
FF_ESR = "alt,coords,rel,relList",
FF = "alt,coords,rel,relList",
IE = "alt,coords,rel")
public void area() throws Exception {
test("area");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlArticle}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void article() throws Exception {
test("article");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlAside}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void aside() throws Exception {
test("aside");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlAudio}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "addTextTrack(),autoplay,buffered,"
+ "canPlayType(),captureStream(),controls,controlsList,crossOrigin,currentSrc,currentTime,"
+ "defaultMuted,defaultPlaybackRate,disableRemotePlayback,duration,"
+ "ended,error,HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,"
+ "HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,load(),loop,mediaKeys,muted,NETWORK_EMPTY,NETWORK_IDLE,"
+ "NETWORK_LOADING,NETWORK_NO_SOURCE,networkState,onencrypted,"
+ "onwaitingforkey,pause(),paused,play(),playbackRate,played,preload,preservesPitch,readyState,remote,"
+ "seekable,seeking,setMediaKeys(),setSinkId(),sinkId,src,srcObject,textTracks,"
+ "volume,webkitAudioDecodedByteCount,"
+ "webkitVideoDecodedByteCount",
EDGE = "addTextTrack(),autoplay,buffered,"
+ "canPlayType(),captureStream(),controls,controlsList,crossOrigin,currentSrc,currentTime,"
+ "defaultMuted,defaultPlaybackRate,disableRemotePlayback,duration,"
+ "ended,error,HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,"
+ "HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,load(),loop,mediaKeys,muted,NETWORK_EMPTY,NETWORK_IDLE,"
+ "NETWORK_LOADING,NETWORK_NO_SOURCE,networkState,onencrypted,"
+ "onwaitingforkey,pause(),paused,play(),playbackRate,played,preload,preservesPitch,readyState,remote,"
+ "seekable,seeking,setMediaKeys(),setSinkId(),sinkId,src,srcObject,textTracks,"
+ "volume,webkitAudioDecodedByteCount,"
+ "webkitVideoDecodedByteCount",
FF = "addTextTrack(),autoplay,buffered,canPlayType(),controls,crossOrigin,currentSrc,currentTime,"
+ "defaultMuted,defaultPlaybackRate,duration,ended,error,fastSeek(),HAVE_CURRENT_DATA,"
+ "HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,load(),loop,mediaKeys,"
+ "mozAudioCaptured,mozCaptureStream(),mozCaptureStreamUntilEnded(),mozFragmentEnd,mozGetMetadata(),"
+ "mozPreservesPitch,muted,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,networkState,"
+ "onencrypted,onwaitingforkey,pause(),paused,play(),playbackRate,played,preload,readyState,seekable,"
+ "seeking,seekToNextFrame(),setMediaKeys(),src,srcObject,textTracks,volume",
FF_ESR = "addTextTrack(),autoplay,buffered,canPlayType(),controls,crossOrigin,currentSrc,currentTime,"
+ "defaultMuted,defaultPlaybackRate,duration,ended,error,fastSeek(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,"
+ "HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,load(),loop,mediaKeys,mozAudioCaptured,"
+ "mozCaptureStream(),mozCaptureStreamUntilEnded(),mozFragmentEnd,mozGetMetadata(),mozPreservesPitch,"
+ "muted,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,networkState,onencrypted,"
+ "onwaitingforkey,pause(),paused,play(),playbackRate,played,preload,readyState,seekable,seeking,"
+ "seekToNextFrame(),setMediaKeys(),src,srcObject,textTracks,volume",
IE = "addTextTrack(),audioTracks,autobuffer,autoplay,buffered,canPlayType(),controls,currentSrc,"
+ "currentTime,defaultPlaybackRate,duration,ended,error,HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,"
+ "HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,initialTime,load(),loop,"
+ "msGraphicsTrustStatus,msKeys,msPlayToDisabled,"
+ "msPlayToPreferredSourceUri,msPlayToPrimary,msSetMediaKeys(),muted,"
+ "NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,"
+ "NETWORK_NO_SOURCE,networkState,onmsneedkey,"
+ "pause(),paused,play(),playbackRate,played,preload,readyState,"
+ "seekable,seeking,src,textTracks,volume")
@HtmlUnitNYI(CHROME = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,"
+ "HAVE_NOTHING,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),play()",
EDGE = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,"
+ "HAVE_NOTHING,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),play()",
FF_ESR = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,"
+ "NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),play()",
FF = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,"
+ "NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),play()",
IE = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,"
+ "HAVE_NOTHING,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),play()")
public void audio() throws Exception {
test("audio");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBackgroundSound}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "balance,loop,src,volume")
@HtmlUnitNYI(IE = "-")
public void bgsound() throws Exception {
test("bgsound");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBase}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("href,target")
public void base() throws Exception {
test("base");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBaseFont}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "color,face,size")
public void basefont() throws Exception {
test("basefont");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBidirectionalIsolation}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void bdi() throws Exception {
test("bdi");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBidirectionalOverride}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void bdo() throws Exception {
test("bdo");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBig}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void big() throws Exception {
test("big");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBlink}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void blink() throws Exception {
test("blink");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBlockQuote}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "cite",
IE = "cite,clear,width")
public void blockquote() throws Exception {
test("blockquote");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBody}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "aLink,background,bgColor,link,onafterprint,onbeforeprint,"
+ "onbeforeunload,onhashchange,onlanguagechange,onmessage,"
+ "onmessageerror,onoffline,ononline,onpagehide,onpageshow,onpopstate,"
+ "onrejectionhandled,onstorage,onunhandledrejection,onunload,"
+ "text,vLink",
EDGE = "aLink,background,bgColor,link,onafterprint,onbeforeprint,"
+ "onbeforeunload,onhashchange,onlanguagechange,onmessage,"
+ "onmessageerror,onoffline,ononline,onpagehide,onpageshow,onpopstate,"
+ "onrejectionhandled,onstorage,onunhandledrejection,onunload,"
+ "text,vLink",
FF = "aLink,background,bgColor,link,onafterprint,onbeforeprint,onbeforeunload,"
+ "ongamepadconnected,ongamepaddisconnected,onhashchange,"
+ "onlanguagechange,onmessage,onmessageerror,"
+ "onoffline,ononline,onpagehide,onpageshow,onpopstate,onrejectionhandled,"
+ "onstorage,onunhandledrejection,onunload,text,vLink",
FF_ESR = "aLink,background,bgColor,link,onafterprint,onbeforeprint,onbeforeunload,"
+ "ongamepadconnected,ongamepaddisconnected,onhashchange,"
+ "onlanguagechange,onmessage,onmessageerror,"
+ "onoffline,ononline,onpagehide,onpageshow,onpopstate,onrejectionhandled,"
+ "onstorage,onunhandledrejection,onunload,text,vLink",
IE = "aLink,background,bgColor,bgProperties,bottomMargin,createTextRange(),leftMargin,link,noWrap,"
+ "onafterprint,onbeforeprint,onbeforeunload,onhashchange,onmessage,onoffline,ononline,onpagehide,"
+ "onpageshow,onpopstate,onresize,onstorage,onunload,rightMargin,scroll,text,topMargin,"
+ "vLink")
@HtmlUnitNYI(IE = "aLink,background,bgColor,createTextRange(),link,onafterprint,onbeforeprint,onbeforeunload,"
+ "onhashchange,onmessage,onoffline,ononline,onpagehide,onpageshow,onpopstate,onresize,"
+ "onstorage,onunload,text,vLink")
public void body() throws Exception {
test("body");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBold}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void b() throws Exception {
test("b");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlBreak}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("clear")
public void br() throws Exception {
test("br");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlButton}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "checkValidity(),disabled,form,formAction,formEnctype,formMethod,formNoValidate,"
+ "formTarget,labels,name,reportValidity(),setCustomValidity(),type,validationMessage,validity,"
+ "value,willValidate",
EDGE = "checkValidity(),disabled,form,formAction,formEnctype,formMethod,formNoValidate,"
+ "formTarget,labels,name,reportValidity(),setCustomValidity(),type,validationMessage,validity,"
+ "value,willValidate",
FF = "autofocus,checkValidity(),disabled,form,formAction,formEnctype,formMethod,formNoValidate,"
+ "formTarget,labels,name,reportValidity(),setCustomValidity(),type,validationMessage,validity,"
+ "value,willValidate",
FF_ESR = "autofocus,checkValidity(),disabled,form,formAction,formEnctype,formMethod,formNoValidate,"
+ "formTarget,labels,name,reportValidity(),setCustomValidity(),type,validationMessage,validity,"
+ "value,willValidate",
IE = "autofocus,checkValidity(),createTextRange(),form,formAction,formEnctype,formMethod,"
+ "formNoValidate,formTarget,name,setCustomValidity(),status,type,validationMessage,validity,value,"
+ "willValidate")
@HtmlUnitNYI(CHROME = "checkValidity(),disabled,form,formNoValidate,labels,name,setCustomValidity()"
+ ",type,validity,value,willValidate",
EDGE = "checkValidity(),disabled,form,formNoValidate,labels,name,setCustomValidity(),"
+ "type,validity,value,willValidate",
FF_ESR = "checkValidity(),disabled,form,formNoValidate,labels,name,setCustomValidity(),"
+ "type,validity,value,willValidate",
FF = "checkValidity(),disabled,form,formNoValidate,labels,name,setCustomValidity(),"
+ "type,validity,value,willValidate",
IE = "checkValidity(),createTextRange(),form,formNoValidate,name,setCustomValidity(),"
+ "type,validity,value,willValidate")
public void button() throws Exception {
test("button");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlCanvas}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "captureStream(),getContext(),height,toBlob(),"
+ "toDataURL(),transferControlToOffscreen(),width",
EDGE = "captureStream(),getContext(),height,toBlob(),"
+ "toDataURL(),transferControlToOffscreen(),width",
FF = "captureStream(),getContext(),height,"
+ "mozOpaque,mozPrintCallback,toBlob(),toDataURL(),width",
FF_ESR = "captureStream(),getContext(),height,"
+ "mozOpaque,mozPrintCallback,toBlob(),toDataURL(),width",
IE = "getContext(),height,msToBlob(),toDataURL(),width")
@HtmlUnitNYI(CHROME = "getContext(),height,toDataURL(),width",
EDGE = "getContext(),height,toDataURL(),width",
FF_ESR = "getContext(),height,toDataURL(),width",
FF = "getContext(),height,toDataURL(),width",
IE = "getContext(),height,toDataURL(),width")
public void canvas() throws Exception {
test("canvas");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlCaption}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,vAlign")
public void caption() throws Exception {
test("caption");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlCenter}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,clear,width")
public void center() throws Exception {
test("center");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlCitation}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void cite() throws Exception {
test("cite");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlCode}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void code() throws Exception {
test("code");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlCommand}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void command() throws Exception {
test("command");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDataList}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("options")
public void datalist() throws Exception {
test("datalist");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDefinition}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void dfn() throws Exception {
test("dfn");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDefinitionDescription}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "noWrap")
public void dd() throws Exception {
test("dd");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDeletedText}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("cite,dateTime")
public void del() throws Exception {
test("del");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDetails}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "open",
IE = "-")
public void details() throws Exception {
test("details");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDialog}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "close(),open,returnValue,show(),showModal()",
FF_ESR = "-",
IE = "-")
@HtmlUnitNYI(CHROME = "-", EDGE = "-", FF = "-")
public void dialog() throws Exception {
test("dialog");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDirectory}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "compact",
IE = "compact,type")
@HtmlUnitNYI(IE = "compact")
public void dir() throws Exception {
test("dir");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDivision}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,noWrap")
public void div() throws Exception {
test("div");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDefinitionList}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("compact")
public void dl() throws Exception {
test("dl");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlDefinitionTerm}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "noWrap")
public void dt() throws Exception {
test("dt");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlEmbed}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align,getSVGDocument(),height,name,src,type,width",
IE = "getSVGDocument(),height,msPlayToDisabled,msPlayToPreferredSourceUri,msPlayToPrimary,name,palette,"
+ "pluginspage,readyState,src,units,"
+ "width")
@HtmlUnitNYI(CHROME = "align,height,name,width",
EDGE = "align,height,name,width",
FF_ESR = "align,height,name,width",
FF = "align,height,name,width",
IE = "height,name,width")
public void embed() throws Exception {
test("embed");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlEmphasis}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void em() throws Exception {
test("em");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlFieldSet}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "checkValidity(),disabled,elements,form,name,reportValidity(),setCustomValidity(),type,"
+ "validationMessage,validity,willValidate",
IE = "align,checkValidity(),form,setCustomValidity(),validationMessage,validity,willValidate")
@HtmlUnitNYI(CHROME = "checkValidity(),disabled,form,name,setCustomValidity(),validity,willValidate",
EDGE = "checkValidity(),disabled,form,name,setCustomValidity(),validity,willValidate",
FF_ESR = "checkValidity(),disabled,form,name,setCustomValidity(),validity,willValidate",
FF = "checkValidity(),disabled,form,name,setCustomValidity(),validity,willValidate",
IE = "align,checkValidity(),form,setCustomValidity(),validity,willValidate")
public void fieldset() throws Exception {
test("fieldset");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlFigureCaption}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void figcaption() throws Exception {
test("figcaption");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlFigure}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void figure() throws Exception {
test("figure");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlFont}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("color,face,size")
public void font() throws Exception {
test("font");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlForm}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "acceptCharset,action,autocomplete,checkValidity(),elements,encoding,enctype,length,method,name,"
+ "noValidate,reportValidity(),requestSubmit(),reset(),submit(),"
+ "target",
EDGE = "acceptCharset,action,autocomplete,checkValidity(),elements,encoding,enctype,length,method,name,"
+ "noValidate,reportValidity(),requestSubmit(),reset(),submit(),"
+ "target",
FF = "acceptCharset,action,autocomplete,checkValidity(),elements,encoding,enctype,length,method,name,"
+ "noValidate,reportValidity(),requestSubmit(),reset(),submit(),"
+ "target",
FF_ESR = "acceptCharset,action,autocomplete,checkValidity(),elements,encoding,enctype,length,method,name,"
+ "noValidate,reportValidity(),requestSubmit(),reset(),submit(),"
+ "target",
IE = "acceptCharset,action,autocomplete,checkValidity(),elements,encoding,enctype,item(),length,method,"
+ "name,namedItem(),noValidate,reset(),submit(),"
+ "target")
@HtmlUnitNYI(CHROME = "action,checkValidity(),elements,encoding,enctype,length,method,name,"
+ "noValidate,requestSubmit(),reset(),submit(),target",
EDGE = "action,checkValidity(),elements,encoding,enctype,length,method,name,"
+ "noValidate,requestSubmit(),reset(),submit(),target",
FF_ESR = "action,checkValidity(),elements,encoding,enctype,length,method,name,"
+ "noValidate,requestSubmit(),reset(),submit(),target",
FF = "action,checkValidity(),elements,encoding,enctype,length,method,name,"
+ "noValidate,requestSubmit(),reset(),submit(),target",
IE = "action,checkValidity(),elements,encoding,enctype,item(),length,method,name,noValidate,"
+ "reset(),submit(),target")
public void form() throws Exception {
test("form");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlFooter}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void footer() throws Exception {
test("footer");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlFrame}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "contentDocument,contentWindow,frameBorder,longDesc,marginHeight,marginWidth,"
+ "name,noResize,scrolling,"
+ "src",
IE = "border,borderColor,contentDocument,contentWindow,frameBorder,frameSpacing,getSVGDocument(),"
+ "height,longDesc,marginHeight,marginWidth,name,noResize,scrolling,security,src,"
+ "width")
@HtmlUnitNYI(CHROME = "contentDocument,contentWindow,name,src",
EDGE = "contentDocument,contentWindow,name,src",
FF_ESR = "contentDocument,contentWindow,name,src",
FF = "contentDocument,contentWindow,name,src",
IE = "border,contentDocument,contentWindow,name,src")
public void frame() throws Exception {
test("frame");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlFrameSet}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "cols,onafterprint,onbeforeprint,onbeforeunload,onhashchange,onlanguagechange,"
+ "onmessage,onmessageerror,onoffline,ononline,onpagehide,"
+ "onpageshow,onpopstate,onrejectionhandled,onstorage,onunhandledrejection,onunload,"
+ "rows",
EDGE = "cols,onafterprint,onbeforeprint,onbeforeunload,onhashchange,onlanguagechange,"
+ "onmessage,onmessageerror,onoffline,ononline,onpagehide,"
+ "onpageshow,onpopstate,onrejectionhandled,onstorage,onunhandledrejection,onunload,"
+ "rows",
FF = "cols,onafterprint,onbeforeprint,onbeforeunload,ongamepadconnected,ongamepaddisconnected,"
+ "onhashchange,onlanguagechange,onmessage,onmessageerror,onoffline,ononline,"
+ "onpagehide,onpageshow,onpopstate,onrejectionhandled,onstorage,onunhandledrejection,"
+ "onunload,rows",
FF_ESR = "cols,onafterprint,onbeforeprint,onbeforeunload,ongamepadconnected,ongamepaddisconnected,"
+ "onhashchange,onlanguagechange,onmessage,onmessageerror,onoffline,ononline,"
+ "onpagehide,onpageshow,onpopstate,onrejectionhandled,onstorage,onunhandledrejection,"
+ "onunload,rows",
IE = "border,borderColor,cols,frameBorder,frameSpacing,name,onafterprint,onbeforeprint,onbeforeunload,"
+ "onhashchange,onmessage,onoffline,ononline,onpagehide,onpageshow,onresize,onstorage,onunload,"
+ "rows")
@HtmlUnitNYI(IE = "border,cols,onafterprint,onbeforeprint,onbeforeunload,onhashchange,onmessage,onoffline,"
+ "ononline,onpagehide,onpageshow,onresize,onstorage,onunload,rows")
public void frameset() throws Exception {
test("frameset");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHead}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "profile")
@HtmlUnitNYI(IE = "-")
public void head() throws Exception {
test("head");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHeader}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void header() throws Exception {
test("header");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHeading1}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,clear")
public void h1() throws Exception {
test("h1");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHeading2}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,clear")
public void h2() throws Exception {
test("h2");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHeading3}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,clear")
public void h3() throws Exception {
test("h3");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHeading4}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,clear")
public void h4() throws Exception {
test("h4");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHeading5}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,clear")
public void h5() throws Exception {
test("h5");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHeading6}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,clear")
public void h6() throws Exception {
test("h6");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHorizontalRule}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("align,color,noShade,size,width")
@HtmlUnitNYI(CHROME = "align,color,width",
EDGE = "align,color,width",
FF_ESR = "align,color,width",
FF = "align,color,width",
IE = "align,color,width")
public void hr() throws Exception {
test("hr");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlHtml}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("version")
public void html() throws Exception {
test("html");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlInlineFrame}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "align,allow,allowFullscreen,allowPaymentRequest,contentDocument,contentWindow,"
+ "csp,featurePolicy,frameBorder,getSVGDocument(),height,"
+ "loading,longDesc,marginHeight,marginWidth,name,"
+ "referrerPolicy,sandbox,scrolling,src,srcdoc,"
+ "width",
EDGE = "align,allow,allowFullscreen,allowPaymentRequest,contentDocument,contentWindow,"
+ "csp,featurePolicy,frameBorder,getSVGDocument(),height,"
+ "loading,longDesc,marginHeight,marginWidth,name,"
+ "referrerPolicy,sandbox,scrolling,src,srcdoc,"
+ "width",
FF = "align,allow,allowFullscreen,contentDocument,contentWindow,frameBorder,"
+ "getSVGDocument(),height,longDesc,marginHeight,marginWidth,name,referrerPolicy,"
+ "sandbox,scrolling,src,srcdoc,width",
FF_ESR = "align,allow,allowFullscreen,contentDocument,contentWindow,frameBorder,"
+ "getSVGDocument(),height,longDesc,marginHeight,marginWidth,name,referrerPolicy,"
+ "sandbox,scrolling,src,srcdoc,width",
IE = "align,border,contentDocument,contentWindow,frameBorder,frameSpacing,getSVGDocument(),height,"
+ "hspace,longDesc,marginHeight,marginWidth,name,noResize,sandbox,scrolling,security,src,vspace,"
+ "width")
@HtmlUnitNYI(CHROME = "align,contentDocument,contentWindow,height,name,src,width",
EDGE = "align,contentDocument,contentWindow,height,name,src,width",
FF_ESR = "align,contentDocument,contentWindow,height,name,src,width",
FF = "align,contentDocument,contentWindow,height,name,src,width",
IE = "align,border,contentDocument,contentWindow,height,name,src,width")
public void iframe() throws Exception {
test("iframe");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlInlineQuotation}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "cite",
IE = "cite,dateTime")
public void q() throws Exception {
test("q");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlImage}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "align,alt,border,complete,crossOrigin,currentSrc,decode(),decoding,"
+ "fetchpriority,height,hspace,isMap,loading,longDesc,lowsrc,name,"
+ "naturalHeight,naturalWidth,referrerPolicy,sizes,src,srcset,useMap,vspace,width,x,"
+ "y",
EDGE = "align,alt,border,complete,crossOrigin,currentSrc,decode(),decoding,"
+ "fetchpriority,height,hspace,isMap,loading,longDesc,lowsrc,name,"
+ "naturalHeight,naturalWidth,referrerPolicy,sizes,src,srcset,useMap,vspace,width,x,"
+ "y",
FF = "align,alt,border,complete,crossOrigin,currentSrc,decode(),decoding,height,hspace,isMap,loading,"
+ "longDesc,lowsrc,name,naturalHeight,naturalWidth,referrerPolicy,sizes,src,srcset,"
+ "useMap,vspace,width,x,y",
FF_ESR = "align,alt,border,complete,crossOrigin,currentSrc,decode(),decoding,height,hspace,isMap,loading,"
+ "longDesc,lowsrc,name,naturalHeight,naturalWidth,referrerPolicy,sizes,src,srcset,"
+ "useMap,vspace,width,x,y",
IE = "align,alt,border,complete,crossOrigin,dynsrc,fileCreatedDate,fileModifiedDate,fileUpdatedDate,"
+ "height,href,hspace,isMap,longDesc,loop,lowsrc,mimeType,msPlayToDisabled,"
+ "msPlayToPreferredSourceUri,msPlayToPrimary,name,nameProp,naturalHeight,naturalWidth,protocol,src,"
+ "start,useMap,vrml,vspace,"
+ "width")
@HtmlUnitNYI(CHROME = "align,alt,border,complete,height,name,naturalHeight,naturalWidth,src,width",
EDGE = "align,alt,border,complete,height,name,naturalHeight,naturalWidth,src,width",
FF_ESR = "align,alt,border,complete,height,name,naturalHeight,naturalWidth,src,width",
FF = "align,alt,border,complete,height,name,naturalHeight,naturalWidth,src,width",
IE = "align,alt,border,complete,height,name,naturalHeight,naturalWidth,src,width")
public void img() throws Exception {
test("img");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlImage}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "align,alt,border,complete,crossOrigin,dynsrc,fileCreatedDate,fileModifiedDate,fileUpdatedDate,"
+ "height,href,hspace,isMap,longDesc,loop,lowsrc,mimeType,msPlayToDisabled,"
+ "msPlayToPreferredSourceUri,msPlayToPrimary,name,nameProp,naturalHeight,naturalWidth,protocol,src,"
+ "start,useMap,vrml,vspace,"
+ "width")
@HtmlUnitNYI(IE = "align,alt,border,complete,height,name,naturalHeight,naturalWidth,src,width")
public void image() throws Exception {
test("image");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlInsertedText}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("cite,dateTime")
public void ins() throws Exception {
test("ins");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlIsIndex}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "action,form,prompt")
@HtmlUnitNYI(IE = "-")
public void isindex() throws Exception {
test("isindex");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlItalic}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void i() throws Exception {
test("i");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlKeyboard}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void kbd() throws Exception {
test("kbd");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,clear,width")
public void keygen() throws Exception {
test("keygen");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlLabel}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "control,form,htmlFor",
IE = "form,htmlFor")
public void label() throws Exception {
test("label");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlLayer}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void layer() throws Exception {
test("layer");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlLegend}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("align,form")
public void legend() throws Exception {
test("legend");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlListing}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "width",
IE = "cite,clear,width")
public void listing() throws Exception {
test("listing");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlListItem}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("type,value")
@HtmlUnitNYI(CHROME = "-",
EDGE = "-",
FF_ESR = "-",
FF = "-",
IE = "-")
public void li() throws Exception {
test("li");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlLink}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "as,charset,crossOrigin,disabled,fetchpriority,href,hreflang,"
+ "imageSizes,imageSrcset,integrity,"
+ "media,referrerPolicy,rel,relList,rev,sheet,sizes,target,type",
EDGE = "as,charset,crossOrigin,disabled,fetchpriority,href,hreflang,"
+ "imageSizes,imageSrcset,integrity,"
+ "media,referrerPolicy,rel,relList,rev,sheet,sizes,target,type",
FF = "as,charset,crossOrigin,disabled,href,hreflang,imageSizes,imageSrcset,integrity,"
+ "media,referrerPolicy,rel,relList,rev,sheet,sizes,target,type",
FF_ESR = "as,charset,crossOrigin,disabled,href,hreflang,imageSizes,imageSrcset,integrity,"
+ "media,referrerPolicy,rel,relList,rev,sheet,sizes,target,type",
IE = "charset,href,hreflang,media,rel,rev,sheet,target,type")
@HtmlUnitNYI(CHROME = "disabled,href,rel,relList,rev,type",
EDGE = "disabled,href,rel,relList,rev,type",
FF_ESR = "disabled,href,rel,relList,rev,type",
FF = "disabled,href,rel,relList,rev,type",
IE = "href,rel,rev,type")
public void link() throws Exception {
test("link");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMain}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void main() throws Exception {
test("main");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMap}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("areas,name")
public void map() throws Exception {
test("map");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMark}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void mark() throws Exception {
test("mark");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMarquee}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "behavior,bgColor,direction,height,hspace,loop,scrollAmount,scrollDelay,start(),stop(),trueSpeed,"
+ "vspace,width",
EDGE = "behavior,bgColor,direction,height,hspace,loop,scrollAmount,scrollDelay,start(),stop(),trueSpeed,"
+ "vspace,width",
FF = "behavior,bgColor,direction,height,hspace,loop,onbounce,onfinish,onstart,scrollAmount,"
+ "scrollDelay,start(),stop(),trueSpeed,vspace,width",
FF_ESR = "behavior,bgColor,direction,height,hspace,loop,onbounce,onfinish,onstart,scrollAmount,"
+ "scrollDelay,start(),stop(),trueSpeed,vspace,width",
IE = "behavior,bgColor,direction,height,hspace,loop,onbounce,onfinish,onstart,scrollAmount,scrollDelay,"
+ "start(),stop(),trueSpeed,vspace,width")
@HtmlUnitNYI(CHROME = "bgColor,height,width",
EDGE = "bgColor,height,width",
FF_ESR = "-",
FF = "-",
IE = "bgColor,height,width")
public void marquee() throws Exception {
test("marquee");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMenu}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "compact",
IE = "compact,type")
public void menu() throws Exception {
test("menu");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMenuItem}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void menuitem() throws Exception {
test("menuitem");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMeta}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "content,httpEquiv,name,scheme",
CHROME = "content,httpEquiv,media,name,scheme",
EDGE = "content,httpEquiv,media,name,scheme",
IE = "charset,content,httpEquiv,name,scheme,url")
public void meta() throws Exception {
test("meta");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMeter}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "high,labels,low,max,min,optimum,value",
IE = "-")
public void meter() throws Exception {
test("meter");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlMultiColumn}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void multicol() throws Exception {
test("multicol");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlNav}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void nav() throws Exception {
test("nav");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlNextId}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "n")
@HtmlUnitNYI(IE = "-")
public void nextid() throws Exception {
test("nextid");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlNoBreak}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void nobr() throws Exception {
test("nobr");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlNoEmbed}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void noembed() throws Exception {
test("noembed");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlNoFrames}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void noframes() throws Exception {
test("noframes");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlNoLayer}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void nolayer() throws Exception {
test("nolayer");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlNoScript}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void noscript() throws Exception {
test("noscript");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlObject}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "align,archive,border,checkValidity(),code,codeBase,codeType,contentDocument,contentWindow,"
+ "data,declare,form,"
+ "getSVGDocument(),height,hspace,name,reportValidity(),setCustomValidity(),standby,type,useMap,"
+ "validationMessage,validity,vspace,width,willValidate",
EDGE = "align,archive,border,checkValidity(),code,codeBase,codeType,contentDocument,contentWindow,"
+ "data,declare,form,"
+ "getSVGDocument(),height,hspace,name,reportValidity(),setCustomValidity(),standby,type,useMap,"
+ "validationMessage,validity,vspace,width,willValidate",
FF = "align,archive,border,checkValidity(),code,codeBase,codeType,contentDocument,contentWindow,data,"
+ "declare,form,getSVGDocument(),height,hspace,name,reportValidity(),setCustomValidity(),standby,"
+ "type,useMap,validationMessage,validity,vspace,width,willValidate",
FF_ESR = "align,archive,border,checkValidity(),code,codeBase,codeType,contentDocument,contentWindow,data,"
+ "declare,form,getSVGDocument(),height,hspace,name,reportValidity(),setCustomValidity(),standby,"
+ "type,useMap,validationMessage,validity,vspace,width,willValidate",
IE = "align,alt,altHtml,archive,BaseHref,border,checkValidity(),classid,code,codeBase,codeType,"
+ "contentDocument,data,declare,form,getSVGDocument(),height,hspace,msPlayToDisabled,"
+ "msPlayToPreferredSourceUri,msPlayToPrimary,name,object,readyState,setCustomValidity(),standby,"
+ "type,useMap,validationMessage,validity,vspace,width,willValidate")
@HtmlUnitNYI(CHROME = "align,border,checkValidity(),form,height,name,setCustomValidity(),"
+ "validity,width,willValidate",
EDGE = "align,border,checkValidity(),form,height,name,setCustomValidity(),"
+ "validity,width,willValidate",
FF_ESR = "align,border,checkValidity(),form,height,name,setCustomValidity(),"
+ "validity,width,willValidate",
FF = "align,border,checkValidity(),form,height,name,setCustomValidity(),"
+ "validity,width,willValidate",
IE = "align,alt,border,checkValidity(),classid,form,height,name,setCustomValidity(),"
+ "validity,width,willValidate")
public void object() throws Exception {
test("object");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlOrderedList}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "compact,reversed,start,type",
IE = "compact,start,type")
@HtmlUnitNYI(CHROME = "compact,type",
EDGE = "compact,type",
FF_ESR = "compact,type",
FF = "compact,type",
IE = "compact,type")
public void ol() throws Exception {
test("ol");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlOptionGroup}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "disabled,label",
IE = "defaultSelected,form,index,label,selected,text,value")
@HtmlUnitNYI(IE = "label")
public void optgroup() throws Exception {
test("optgroup");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlOption}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "defaultSelected,disabled,form,index,label,selected,text,value",
IE = "defaultSelected,form,index,label,selected,text,value")
public void option() throws Exception {
test("option");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlOutput}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "checkValidity(),defaultValue,form,htmlFor,labels,name,reportValidity(),setCustomValidity(),type,"
+ "validationMessage,validity,value,willValidate",
IE = "-")
@HtmlUnitNYI(CHROME = "checkValidity(),form,labels,name,setCustomValidity(),validity,willValidate",
EDGE = "checkValidity(),form,labels,name,setCustomValidity(),validity,willValidate",
FF_ESR = "checkValidity(),form,labels,name,setCustomValidity(),validity,willValidate",
FF = "checkValidity(),form,labels,name,setCustomValidity(),validity,willValidate")
public void output() throws Exception {
test("output");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlParagraph}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align",
IE = "align,clear")
public void p() throws Exception {
test("p");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlParameter}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("name,type,value,valueType")
public void param() throws Exception {
test("param");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlPlainText}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,clear,width")
public void plaintext() throws Exception {
test("plaintext");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlPreformattedText}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "width",
IE = "cite,clear,width")
public void pre() throws Exception {
test("pre");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlProgress}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "labels,max,position,value",
IE = "form,max,position,value")
@HtmlUnitNYI(CHROME = "labels,max,value",
EDGE = "labels,max,value",
FF_ESR = "labels,max,value",
FF = "labels,max,value",
IE = "max,value")
public void progress() throws Exception {
test("progress");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlRp}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
@HtmlUnitNYI(IE = "-")
public void rp() throws Exception {
test("rp");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlRt}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
@HtmlUnitNYI(IE = "-")
public void rt() throws Exception {
test("rt");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlRuby}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
@HtmlUnitNYI(IE = "-")
public void ruby() throws Exception {
test("ruby");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlS}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void s() throws Exception {
test("s");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSample}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void samp() throws Exception {
test("samp");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlScript}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "async,charset,crossOrigin,defer,event,fetchpriority,htmlFor,"
+ "integrity,noModule,referrerPolicy,src,text,type",
EDGE = "async,charset,crossOrigin,defer,event,fetchpriority,htmlFor,"
+ "integrity,noModule,referrerPolicy,src,text,type",
FF = "async,charset,crossOrigin,defer,event,htmlFor,"
+ "integrity,noModule,referrerPolicy,src,text,type",
FF_ESR = "async,charset,crossOrigin,defer,event,htmlFor,"
+ "integrity,noModule,referrerPolicy,src,text,type",
IE = "async,charset,crossOrigin,defer,event,htmlFor,src,text,type")
@HtmlUnitNYI(CHROME = "async,src,text,type",
EDGE = "async,src,text,type",
FF_ESR = "async,src,text,type",
FF = "async,src,text,type",
IE = "async,src,text,type")
public void script() throws Exception {
test("script");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void section() throws Exception {
test("section");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSelect}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "add(),autocomplete,checkValidity(),"
+ "disabled,form,item(),labels,length,multiple,name,namedItem(),"
+ "options,reportValidity(),required,selectedIndex,selectedOptions,setCustomValidity(),size,type,"
+ "validationMessage,validity,value,"
+ "willValidate",
EDGE = "add(),autocomplete,checkValidity(),"
+ "disabled,form,item(),labels,length,multiple,name,namedItem(),"
+ "options,reportValidity(),required,selectedIndex,selectedOptions,setCustomValidity(),size,type,"
+ "validationMessage,validity,value,"
+ "willValidate",
FF = "add(),autocomplete,autofocus,checkValidity(),disabled,form,item(),labels,length,multiple,name,"
+ "namedItem(),options,reportValidity(),required,selectedIndex,selectedOptions,setCustomValidity(),"
+ "size,type,validationMessage,validity,value,"
+ "willValidate",
FF_ESR = "add(),autocomplete,autofocus,checkValidity(),disabled,form,item(),labels,length,multiple,name,"
+ "namedItem(),options,reportValidity(),required,selectedIndex,selectedOptions,setCustomValidity(),"
+ "size,type,validationMessage,validity,value,"
+ "willValidate",
IE = "add(),autofocus,checkValidity(),form,item(),length,multiple,name,namedItem(),options,remove(),"
+ "required,selectedIndex,setCustomValidity(),size,type,validationMessage,validity,value,"
+ "willValidate")
@HtmlUnitNYI(CHROME = "add(),checkValidity(),disabled,form,item(),labels,length,multiple,name,options,"
+ "required,selectedIndex,setCustomValidity(),size,type,validity,value,willValidate",
EDGE = "add(),checkValidity(),disabled,form,item(),labels,length,multiple,name,options,"
+ "required,selectedIndex,setCustomValidity(),size,type,validity,value,willValidate",
FF_ESR = "add(),checkValidity(),disabled,form,item(),labels,length,multiple,name,options,"
+ "required,selectedIndex,setCustomValidity(),size,type,validity,value,willValidate",
FF = "add(),checkValidity(),disabled,form,item(),labels,length,multiple,name,options,"
+ "required,selectedIndex,setCustomValidity(),size,type,validity,value,willValidate",
IE = "add(),checkValidity(),form,item(),length,multiple,name,options,remove(),"
+ "required,selectedIndex,setCustomValidity(),size,type,validity,value,willValidate")
public void select() throws Exception {
test("select");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSmall}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void small() throws Exception {
test("small");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSource}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "height,media,sizes,src,srcset,type,width",
FF = "media,sizes,src,srcset,type",
FF_ESR = "media,sizes,src,srcset,type",
IE = "media,msKeySystem,src,type")
@HtmlUnitNYI(CHROME = "-",
EDGE = "-",
FF_ESR = "-",
FF = "-",
IE = "-")
public void source() throws Exception {
test("source");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSpan}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void span() throws Exception {
test("span");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlStrike}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void strike() throws Exception {
test("strike");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlStrong}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void strong() throws Exception {
test("strong");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlStyle}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "disabled,media,sheet,type",
IE = "media,sheet,type")
public void style() throws Exception {
test("style");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSubscript}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void sub() throws Exception {
test("sub");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSummary}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void summary() throws Exception {
test("summary");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSuperscript}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void sup() throws Exception {
test("sup");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSvg}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void svg() throws Exception {
test("svg");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTable}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align,bgColor,border,caption,cellPadding,cellSpacing,createCaption(),createTBody(),"
+ "createTFoot(),createTHead(),deleteCaption(),deleteRow(),deleteTFoot(),deleteTHead(),frame,"
+ "insertRow(),rows,rules,summary,tBodies,tFoot,tHead,"
+ "width",
IE = "align,background,bgColor,border,borderColor,borderColorDark,borderColorLight,caption,cellPadding,"
+ "cells,cellSpacing,cols,createCaption(),createTBody(),createTFoot(),createTHead(),deleteCaption(),"
+ "deleteRow(),deleteTFoot(),deleteTHead(),frame,height,insertRow(),moveRow(),rows,rules,summary,"
+ "tBodies,tFoot,tHead,"
+ "width")
@HtmlUnitNYI(CHROME = "align,bgColor,border,caption,cellPadding,cellSpacing,createCaption(),createTBody(),"
+ "createTFoot(),createTHead(),deleteCaption(),deleteRow(),deleteTFoot(),deleteTHead(),insertRow(),"
+ "rows,rules,summary,tBodies,tFoot,tHead,width",
EDGE = "align,bgColor,border,caption,cellPadding,cellSpacing,createCaption(),createTBody(),"
+ "createTFoot(),createTHead(),deleteCaption(),deleteRow(),deleteTFoot(),deleteTHead(),insertRow(),"
+ "rows,rules,summary,tBodies,tFoot,tHead,width",
FF_ESR = "align,bgColor,border,caption,cellPadding,cellSpacing,createCaption(),createTBody(),"
+ "createTFoot(),createTHead(),deleteCaption(),deleteRow(),deleteTFoot(),deleteTHead(),insertRow(),"
+ "rows,rules,summary,tBodies,tFoot,tHead,width",
FF = "align,bgColor,border,caption,cellPadding,cellSpacing,createCaption(),createTBody(),"
+ "createTFoot(),createTHead(),deleteCaption(),deleteRow(),deleteTFoot(),deleteTHead(),insertRow(),"
+ "rows,rules,summary,tBodies,tFoot,tHead,width",
IE = "align,bgColor,border,borderColor,borderColorDark,borderColorLight,caption,cellPadding,"
+ "cellSpacing,createCaption(),createTBody(),createTFoot(),createTHead(),deleteCaption(),"
+ "deleteRow(),deleteTFoot(),deleteTHead(),insertRow(),moveRow(),rows,rules,summary,tBodies,"
+ "tFoot,tHead,width")
public void table() throws Exception {
test("table");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTableColumn}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("align,ch,chOff,span,vAlign,width")
public void col() throws Exception {
test("col");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTableColumnGroup}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("align,ch,chOff,span,vAlign,width")
public void colgroup() throws Exception {
test("colgroup");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTableBody}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align,ch,chOff,deleteRow(),insertRow(),rows,vAlign",
IE = "align,bgColor,ch,chOff,deleteRow(),insertRow(),moveRow(),rows,vAlign")
public void tbody() throws Exception {
test("tbody");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTableDataCell}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "abbr,align,axis,bgColor,cellIndex,ch,chOff,colSpan,headers,height,noWrap,rowSpan,scope,vAlign,"
+ "width",
IE = "abbr,align,axis,background,bgColor,borderColor,borderColorDark,borderColorLight,cellIndex,ch,"
+ "chOff,colSpan,headers,height,noWrap,rowSpan,scope,vAlign,"
+ "width")
@HtmlUnitNYI(IE = "abbr,align,axis,bgColor,borderColor,borderColorDark,borderColorLight,cellIndex,ch,chOff,"
+ "colSpan,headers,height,noWrap,rowSpan,scope,vAlign,width")
public void td() throws Exception {
test("td");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTableHeaderCell}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "abbr,align,axis,bgColor,cellIndex,ch,chOff,colSpan,headers,height,noWrap,rowSpan,scope,vAlign,"
+ "width",
IE = "abbr,align,axis,background,bgColor,borderColor,borderColorDark,borderColorLight,cellIndex,ch,"
+ "chOff,colSpan,headers,height,noWrap,rowSpan,scope,vAlign,"
+ "width")
@HtmlUnitNYI(IE = "abbr,align,axis,bgColor,borderColor,borderColorDark,borderColorLight,cellIndex,ch,chOff,"
+ "colSpan,headers,height,noWrap,rowSpan,scope,vAlign,width")
public void th() throws Exception {
test("th");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTableRow}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align,bgColor,cells,ch,chOff,deleteCell(),insertCell(),rowIndex,sectionRowIndex,vAlign",
IE = "align,bgColor,borderColor,borderColorDark,borderColorLight,cells,ch,chOff,deleteCell(),height,"
+ "insertCell(),rowIndex,sectionRowIndex,"
+ "vAlign")
@HtmlUnitNYI(IE = "align,bgColor,borderColor,borderColorDark,borderColorLight,cells,ch,chOff,deleteCell(),"
+ "insertCell(),rowIndex,sectionRowIndex,vAlign")
public void tr() throws Exception {
test("tr");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTextArea}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "autocomplete,checkValidity(),cols,defaultValue,dirName,disabled,form,labels,"
+ "maxLength,minLength,name,placeholder,readOnly,reportValidity(),required,rows,select(),"
+ "selectionDirection,selectionEnd,selectionStart,setCustomValidity(),setRangeText(),"
+ "setSelectionRange(),textLength,type,validationMessage,validity,value,willValidate,"
+ "wrap",
EDGE = "autocomplete,checkValidity(),cols,defaultValue,dirName,disabled,form,labels,"
+ "maxLength,minLength,name,placeholder,readOnly,reportValidity(),required,rows,select(),"
+ "selectionDirection,selectionEnd,selectionStart,setCustomValidity(),setRangeText(),"
+ "setSelectionRange(),textLength,type,validationMessage,validity,value,willValidate,"
+ "wrap",
FF = "autocomplete,autofocus,checkValidity(),cols,defaultValue,disabled,form,"
+ "labels,maxLength,minLength,name,placeholder,"
+ "readOnly,reportValidity(),required,rows,select(),selectionDirection,selectionEnd,"
+ "selectionStart,setCustomValidity(),setRangeText(),setSelectionRange(),"
+ "textLength,type,validationMessage,validity,value,willValidate,wrap",
FF_ESR = "autocomplete,autofocus,checkValidity(),cols,defaultValue,disabled,form,"
+ "labels,maxLength,minLength,name,placeholder,"
+ "readOnly,reportValidity(),required,rows,select(),selectionDirection,selectionEnd,"
+ "selectionStart,setCustomValidity(),setRangeText(),setSelectionRange(),"
+ "textLength,type,validationMessage,validity,value,willValidate,wrap",
IE = "autofocus,checkValidity(),cols,createTextRange(),defaultValue,form,maxLength,name,placeholder,"
+ "readOnly,required,rows,select(),selectionEnd,selectionStart,setCustomValidity(),"
+ "setSelectionRange(),status,type,validationMessage,validity,value,willValidate,"
+ "wrap")
@HtmlUnitNYI(CHROME = "checkValidity(),cols,defaultValue,disabled,form,labels,maxLength,minLength,name,"
+ "placeholder,readOnly,required,rows,select(),selectionEnd,selectionStart"
+ ",setCustomValidity(),setSelectionRange(),textLength,type,validity,value,willValidate",
EDGE = "checkValidity(),cols,defaultValue,disabled,form,labels,maxLength,minLength,name,"
+ "placeholder,readOnly,required,rows,select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),textLength,type,validity,value,willValidate",
FF_ESR = "checkValidity(),cols,defaultValue,disabled,form,labels,maxLength,minLength,name,placeholder,"
+ "readOnly,required,rows,select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),textLength,type,validity,value,willValidate",
FF = "checkValidity(),cols,defaultValue,disabled,form,labels,maxLength,minLength,name,placeholder,"
+ "readOnly,required,rows,select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),textLength,type,validity,value,willValidate",
IE = "checkValidity(),cols,createTextRange(),defaultValue,form,maxLength,name,placeholder,readOnly,"
+ "required,rows,select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),type,validity,value,willValidate")
public void textarea() throws Exception {
test("textarea");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTableFooter}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align,ch,chOff,deleteRow(),insertRow(),rows,vAlign",
IE = "align,bgColor,ch,chOff,deleteRow(),insertRow(),moveRow(),rows,vAlign")
public void tfoot() throws Exception {
test("tfoot");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTableHeader}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "align,ch,chOff,deleteRow(),insertRow(),rows,vAlign",
IE = "align,bgColor,ch,chOff,deleteRow(),insertRow(),moveRow(),rows,vAlign")
public void thead() throws Exception {
test("thead");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTeletype}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void tt() throws Exception {
test("tt");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTime}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "dateTime",
IE = "-")
public void time() throws Exception {
test("time");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTitle}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("text")
public void title() throws Exception {
test("title");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTrack}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("default,ERROR,kind,label,LOADED,LOADING,NONE,readyState,src,srclang,track")
@HtmlUnitNYI(CHROME = "ERROR,LOADED,LOADING,NONE",
EDGE = "ERROR,LOADED,LOADING,NONE",
FF_ESR = "ERROR,LOADED,LOADING,NONE",
FF = "ERROR,LOADED,LOADING,NONE",
IE = "ERROR,LOADED,LOADING,NONE")
public void track() throws Exception {
test("track");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlUnderlined}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void u() throws Exception {
test("u");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlUnorderedList}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("compact,type")
public void ul() throws Exception {
test("ul");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlVariable}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "-",
IE = "cite,dateTime")
public void var() throws Exception {
test("var");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlVideo}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "addTextTrack(),autoplay,buffered,cancelVideoFrameCallback(),"
+ "canPlayType(),captureStream(),controls,controlsList,crossOrigin,currentSrc,currentTime,"
+ "defaultMuted,defaultPlaybackRate,disablePictureInPicture,disableRemotePlayback,duration,"
+ "ended,error,getVideoPlaybackQuality(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,"
+ "HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,height,load(),loop,mediaKeys,muted,NETWORK_EMPTY,"
+ "NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,networkState,onencrypted,"
+ "onenterpictureinpicture,onleavepictureinpicture,"
+ "onwaitingforkey,pause(),paused,play(),playbackRate,played,playsInline,"
+ "poster,preload,preservesPitch,"
+ "readyState,remote,requestPictureInPicture(),requestVideoFrameCallback(),"
+ "seekable,seeking,setMediaKeys(),setSinkId(),sinkId,src,srcObject,"
+ "textTracks,videoHeight,videoWidth,"
+ "volume,webkitAudioDecodedByteCount,webkitDecodedFrameCount,"
+ "webkitDisplayingFullscreen,webkitDroppedFrameCount,"
+ "webkitEnterFullScreen(),webkitEnterFullscreen(),"
+ "webkitExitFullScreen(),webkitExitFullscreen(),"
+ "webkitSupportsFullscreen,webkitVideoDecodedByteCount,width",
EDGE = "addTextTrack(),autoplay,buffered,cancelVideoFrameCallback(),canPlayType(),captureStream(),"
+ "controls,controlsList,crossOrigin,currentSrc,currentTime,defaultMuted,defaultPlaybackRate,"
+ "disablePictureInPicture,disableRemotePlayback,duration,ended,error,getVideoPlaybackQuality(),"
+ "HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,height,load(),"
+ "loop,mediaKeys,muted,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,networkState,"
+ "onencrypted,onenterpictureinpicture,onleavepictureinpicture,onwaitingforkey,pause(),paused,"
+ "play(),playbackRate,played,playsInline,poster,preload,preservesPitch,readyState,remote,"
+ "requestPictureInPicture(),requestVideoFrameCallback(),seekable,seeking,setMediaKeys(),"
+ "setSinkId(),sinkId,src,srcObject,textTracks,videoHeight,videoWidth,volume,"
+ "webkitAudioDecodedByteCount,webkitDecodedFrameCount,webkitDisplayingFullscreen,"
+ "webkitDroppedFrameCount,webkitEnterFullScreen(),webkitEnterFullscreen(),"
+ "webkitExitFullScreen(),webkitExitFullscreen(),"
+ "webkitSupportsFullscreen,webkitVideoDecodedByteCount,"
+ "width",
FF = "addTextTrack(),autoplay,buffered,canPlayType(),controls,crossOrigin,currentSrc,currentTime,"
+ "defaultMuted,defaultPlaybackRate,duration,ended,error,fastSeek(),getVideoPlaybackQuality(),"
+ "HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,height,load(),"
+ "loop,mediaKeys,mozAudioCaptured,mozCaptureStream(),mozCaptureStreamUntilEnded(),mozDecodedFrames,"
+ "mozFragmentEnd,mozFrameDelay,mozGetMetadata(),mozHasAudio,mozPaintedFrames,mozParsedFrames,"
+ "mozPresentedFrames,mozPreservesPitch,muted,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,"
+ "NETWORK_NO_SOURCE,networkState,onencrypted,onwaitingforkey,pause(),paused,play(),playbackRate,"
+ "played,poster,preload,readyState,seekable,seeking,seekToNextFrame(),setMediaKeys(),src,"
+ "srcObject,textTracks,videoHeight,videoWidth,volume,width",
FF_ESR = "addTextTrack(),autoplay,buffered,canPlayType(),controls,crossOrigin,currentSrc,currentTime,"
+ "defaultMuted,defaultPlaybackRate,duration,ended,error,fastSeek(),getVideoPlaybackQuality(),"
+ "HAVE_CURRENT_DATA,"
+ "HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,height,load(),loop,mediaKeys,"
+ "mozAudioCaptured,"
+ "mozCaptureStream(),mozCaptureStreamUntilEnded(),"
+ "mozDecodedFrames,mozFragmentEnd,mozFrameDelay,mozGetMetadata(),mozHasAudio,mozPaintedFrames,"
+ "mozParsedFrames,mozPresentedFrames,mozPreservesPitch,muted,NETWORK_EMPTY,"
+ "NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,networkState,onencrypted,"
+ "onwaitingforkey,pause(),paused,play(),playbackRate,"
+ "played,poster,preload,readyState,seekable,seeking,seekToNextFrame(),setMediaKeys(),"
+ "src,srcObject,textTracks,videoHeight,videoWidth,volume,"
+ "width",
IE = "addTextTrack(),audioTracks,autobuffer,autoplay,buffered,canPlayType(),controls,currentSrc,"
+ "currentTime,defaultPlaybackRate,duration,ended,error,getVideoPlaybackQuality(),"
+ "HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,"
+ "HAVE_FUTURE_DATA,HAVE_METADATA,HAVE_NOTHING,height,initialTime,load(),loop,"
+ "msGraphicsTrustStatus,msKeys,msPlayToDisabled,"
+ "msPlayToPreferredSourceUri,msPlayToPrimary,msSetMediaKeys(),msZoom,"
+ "muted,NETWORK_EMPTY,NETWORK_IDLE,"
+ "NETWORK_LOADING,NETWORK_NO_SOURCE,networkState,"
+ "onmsneedkey,pause(),paused,play(),playbackRate,played,poster,"
+ "preload,readyState,seekable,seeking,src,textTracks,videoHeight,videoWidth,volume,"
+ "width")
@HtmlUnitNYI(CHROME = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,"
+ "HAVE_NOTHING,height,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),"
+ "play(),width",
EDGE = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,"
+ "HAVE_NOTHING,height,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),"
+ "play(),width",
FF_ESR = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,"
+ "HAVE_NOTHING,height,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),"
+ "play(),width",
FF = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,"
+ "HAVE_NOTHING,height,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),"
+ "play(),width",
IE = "canPlayType(),HAVE_CURRENT_DATA,HAVE_ENOUGH_DATA,HAVE_FUTURE_DATA,HAVE_METADATA,"
+ "HAVE_NOTHING,height,NETWORK_EMPTY,NETWORK_IDLE,NETWORK_LOADING,NETWORK_NO_SOURCE,pause(),"
+ "play(),width")
public void video() throws Exception {
test("video");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlWordBreak}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void wbr() throws Exception {
test("wbr");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlExample}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "width",
IE = "cite,clear,width")
public void xmp() throws Exception {
test("xmp");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlInput}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "accept,align,alt,autocomplete,checked,checkValidity(),"
+ "defaultChecked,defaultValue,"
+ "dirName,disabled,files,form,formAction,formEnctype,formMethod,formNoValidate,formTarget,height,"
+ "incremental,indeterminate,labels,list,max,maxLength,min,minLength,multiple,name,pattern,"
+ "placeholder,readOnly,reportValidity(),required,select(),selectionDirection,selectionEnd,"
+ "selectionStart,setCustomValidity(),setRangeText(),setSelectionRange(),"
+ "showPicker(),size,src,step,stepDown(),"
+ "stepUp(),type,useMap,validationMessage,validity,value,valueAsDate,valueAsNumber,webkitdirectory,"
+ "webkitEntries,width,willValidate",
EDGE = "accept,align,alt,autocomplete,checked,checkValidity(),"
+ "defaultChecked,defaultValue,"
+ "dirName,disabled,files,form,formAction,formEnctype,formMethod,formNoValidate,formTarget,height,"
+ "incremental,indeterminate,labels,list,max,maxLength,min,minLength,multiple,name,pattern,"
+ "placeholder,readOnly,reportValidity(),required,select(),selectionDirection,selectionEnd,"
+ "selectionStart,setCustomValidity(),setRangeText(),setSelectionRange(),"
+ "showPicker(),size,src,step,stepDown(),"
+ "stepUp(),type,useMap,validationMessage,validity,value,valueAsDate,valueAsNumber,webkitdirectory,"
+ "webkitEntries,width,willValidate",
FF = "accept,align,alt,autocomplete,autofocus,checked,checkValidity(),defaultChecked,defaultValue,"
+ "disabled,files,form,formAction,formEnctype,formMethod,formNoValidate,formTarget,height,"
+ "indeterminate,labels,list,max,maxLength,min,minLength,mozIsTextField(),multiple,name,"
+ "pattern,placeholder,readOnly,reportValidity(),required,select(),selectionDirection,"
+ "selectionEnd,selectionStart,setCustomValidity(),setRangeText(),setSelectionRange(),size,"
+ "src,step,stepDown(),stepUp(),textLength,type,useMap,validationMessage,validity,value,"
+ "valueAsDate,valueAsNumber,webkitdirectory,webkitEntries,width,willValidate",
FF_ESR = "accept,align,alt,autocomplete,autofocus,checked,checkValidity(),defaultChecked,defaultValue,"
+ "disabled,files,form,formAction,formEnctype,formMethod,formNoValidate,formTarget,height,"
+ "indeterminate,labels,list,max,maxLength,min,minLength,mozIsTextField(),multiple,name,"
+ "pattern,placeholder,readOnly,reportValidity(),required,"
+ "select(),selectionDirection,selectionEnd,selectionStart,setCustomValidity(),"
+ "setRangeText(),setSelectionRange(),size,src,step,stepDown(),stepUp(),textLength,type,useMap,"
+ "validationMessage,validity,value,valueAsDate,valueAsNumber,webkitdirectory,webkitEntries,"
+ "width,willValidate",
IE = "accept,align,alt,autocomplete,autofocus,border,checked,checkValidity(),complete,"
+ "createTextRange(),defaultChecked,defaultValue,dynsrc,files,form,formAction,formEnctype,"
+ "formMethod,formNoValidate,formTarget,height,hspace,indeterminate,list,loop,lowsrc,max,maxLength,"
+ "min,multiple,name,pattern,placeholder,readOnly,required,select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),size,src,start,status,step,stepDown(),stepUp(),type,"
+ "useMap,validationMessage,validity,value,valueAsNumber,vrml,vspace,width,willValidate")
@HtmlUnitNYI(CHROME = "accept,align,alt,autocomplete,checked,checkValidity(),defaultChecked,defaultValue,"
+ "disabled,files,form,formNoValidate,"
+ "height,labels,max,maxLength,min,minLength,name,placeholder,readOnly,"
+ "required,select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),size,src,step,type,validity,value,width,willValidate",
EDGE = "accept,align,alt,autocomplete,checked,checkValidity(),defaultChecked,defaultValue,"
+ "disabled,files,form,formNoValidate,"
+ "height,labels,max,maxLength,min,minLength,name,placeholder,readOnly,"
+ "required,select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),size,src,step,type,validity,value,width,willValidate",
FF_ESR = "accept,align,alt,autocomplete,checked,checkValidity(),defaultChecked,defaultValue,disabled,"
+ "files,form,formNoValidate,"
+ "height,labels,max,maxLength,min,minLength,name,placeholder,readOnly,required,"
+ "select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),size,src,step,textLength,type,"
+ "validity,value,width,willValidate",
FF = "accept,align,alt,autocomplete,checked,checkValidity(),defaultChecked,defaultValue,disabled,"
+ "files,form,formNoValidate,"
+ "height,labels,max,maxLength,min,minLength,name,placeholder,readOnly,required,"
+ "select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),size,src,step,textLength,type,"
+ "validity,value,width,willValidate",
IE = "accept,align,alt,autocomplete,border,checked,checkValidity(),createTextRange(),"
+ "defaultChecked,defaultValue,files,form,formNoValidate,"
+ "height,max,maxLength,min,name,placeholder,readOnly,"
+ "required,select(),selectionEnd,selectionStart,"
+ "setCustomValidity(),setSelectionRange(),size,src,step,type,"
+ "validity,value,width,willValidate")
public void input() throws Exception {
test("input");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlData}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "value",
IE = "-")
public void data() throws Exception {
test("data");
}
/**
* Test HtmlContent.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void content() throws Exception {
test("content");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlPicture}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
public void picutre() throws Exception {
test("picture");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlTemplate}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "content",
IE = "-")
public void template() throws Exception {
test("template");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.KeyboardEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,charCode,code,"
+ "composed,composedPath(),ctrlKey,currentTarget,defaultPrevented,detail,DOM_KEY_LOCATION_LEFT,"
+ "DOM_KEY_LOCATION_NUMPAD,DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,eventPhase,"
+ "getModifierState(),"
+ "initEvent(),initKeyboardEvent(),initUIEvent(),isComposing,isTrusted,key,keyCode,location,metaKey,"
+ "NONE,path,preventDefault(),repeat,returnValue,shiftKey,sourceCapabilities,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which",
EDGE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,charCode,code,"
+ "composed,composedPath(),ctrlKey,currentTarget,defaultPrevented,detail,DOM_KEY_LOCATION_LEFT,"
+ "DOM_KEY_LOCATION_NUMPAD,DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,eventPhase,"
+ "getModifierState(),"
+ "initEvent(),initKeyboardEvent(),initUIEvent(),isComposing,isTrusted,key,keyCode,location,metaKey,"
+ "NONE,path,preventDefault(),repeat,returnValue,shiftKey,sourceCapabilities,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which",
FF = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "charCode,code,composed,composedPath(),CONTROL_MASK,ctrlKey,currentTarget,defaultPrevented,detail,"
+ "DOM_KEY_LOCATION_LEFT,DOM_KEY_LOCATION_NUMPAD,DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,"
+ "DOM_VK_0,DOM_VK_1,DOM_VK_2,DOM_VK_3,DOM_VK_4,DOM_VK_5,DOM_VK_6,DOM_VK_7,DOM_VK_8,DOM_VK_9,DOM_VK_A,"
+ "DOM_VK_ACCEPT,DOM_VK_ADD,DOM_VK_ALT,DOM_VK_ALTGR,DOM_VK_AMPERSAND,DOM_VK_ASTERISK,DOM_VK_AT,"
+ "DOM_VK_ATTN,DOM_VK_B,DOM_VK_BACK_QUOTE,DOM_VK_BACK_SLASH,DOM_VK_BACK_SPACE,DOM_VK_C,"
+ "DOM_VK_CANCEL,DOM_VK_CAPS_LOCK,"
+ "DOM_VK_CIRCUMFLEX,DOM_VK_CLEAR,DOM_VK_CLOSE_BRACKET,DOM_VK_CLOSE_CURLY_BRACKET,DOM_VK_CLOSE_PAREN,"
+ "DOM_VK_COLON,DOM_VK_COMMA,DOM_VK_CONTEXT_MENU,DOM_VK_CONTROL,DOM_VK_CONVERT,DOM_VK_CRSEL,DOM_VK_D,"
+ "DOM_VK_DECIMAL,DOM_VK_DELETE,DOM_VK_DIVIDE,DOM_VK_DOLLAR,DOM_VK_DOUBLE_QUOTE,DOM_VK_DOWN,DOM_VK_E,"
+ "DOM_VK_EISU,DOM_VK_END,DOM_VK_EQUALS,DOM_VK_EREOF,DOM_VK_ESCAPE,DOM_VK_EXCLAMATION,DOM_VK_EXECUTE,"
+ "DOM_VK_EXSEL,DOM_VK_F,DOM_VK_F1,DOM_VK_F10,DOM_VK_F11,DOM_VK_F12,DOM_VK_F13,DOM_VK_F14,DOM_VK_F15,"
+ "DOM_VK_F16,DOM_VK_F17,DOM_VK_F18,DOM_VK_F19,DOM_VK_F2,DOM_VK_F20,DOM_VK_F21,DOM_VK_F22,DOM_VK_F23,"
+ "DOM_VK_F24,DOM_VK_F3,DOM_VK_F4,DOM_VK_F5,DOM_VK_F6,DOM_VK_F7,DOM_VK_F8,DOM_VK_F9,DOM_VK_FINAL,"
+ "DOM_VK_G,DOM_VK_GREATER_THAN,DOM_VK_H,DOM_VK_HANGUL,DOM_VK_HANJA,DOM_VK_HASH,DOM_VK_HELP,"
+ "DOM_VK_HOME,DOM_VK_HYPHEN_MINUS,DOM_VK_I,DOM_VK_INSERT,DOM_VK_J,DOM_VK_JUNJA,DOM_VK_K,"
+ "DOM_VK_KANA,DOM_VK_KANJI,DOM_VK_L,DOM_VK_LEFT,DOM_VK_LESS_THAN,DOM_VK_M,DOM_VK_META,"
+ "DOM_VK_MODECHANGE,DOM_VK_MULTIPLY,DOM_VK_N,DOM_VK_NONCONVERT,DOM_VK_NUM_LOCK,DOM_VK_NUMPAD0,"
+ "DOM_VK_NUMPAD1,DOM_VK_NUMPAD2,DOM_VK_NUMPAD3,DOM_VK_NUMPAD4,DOM_VK_NUMPAD5,DOM_VK_NUMPAD6,"
+ "DOM_VK_NUMPAD7,DOM_VK_NUMPAD8,DOM_VK_NUMPAD9,DOM_VK_O,DOM_VK_OPEN_BRACKET,DOM_VK_OPEN_CURLY_BRACKET,"
+ "DOM_VK_OPEN_PAREN,DOM_VK_P,DOM_VK_PA1,DOM_VK_PAGE_DOWN,DOM_VK_PAGE_UP,DOM_VK_PAUSE,DOM_VK_PERCENT,"
+ "DOM_VK_PERIOD,DOM_VK_PIPE,DOM_VK_PLAY,DOM_VK_PLUS,"
+ "DOM_VK_PRINT,DOM_VK_PRINTSCREEN,DOM_VK_PROCESSKEY,"
+ "DOM_VK_Q,DOM_VK_QUESTION_MARK,DOM_VK_QUOTE,DOM_VK_R,DOM_VK_RETURN,DOM_VK_RIGHT,DOM_VK_S,"
+ "DOM_VK_SCROLL_LOCK,DOM_VK_SELECT,DOM_VK_SEMICOLON,DOM_VK_SEPARATOR,DOM_VK_SHIFT,DOM_VK_SLASH,"
+ "DOM_VK_SLEEP,DOM_VK_SPACE,DOM_VK_SUBTRACT,DOM_VK_T,DOM_VK_TAB,DOM_VK_TILDE,DOM_VK_U,"
+ "DOM_VK_UNDERSCORE,DOM_VK_UP,DOM_VK_V,DOM_VK_VOLUME_DOWN,DOM_VK_VOLUME_MUTE,DOM_VK_VOLUME_UP,"
+ "DOM_VK_W,DOM_VK_WIN,DOM_VK_WIN_ICO_00,DOM_VK_WIN_ICO_CLEAR,"
+ "DOM_VK_WIN_ICO_HELP,DOM_VK_WIN_OEM_ATTN,"
+ "DOM_VK_WIN_OEM_AUTO,DOM_VK_WIN_OEM_BACKTAB,DOM_VK_WIN_OEM_CLEAR,DOM_VK_WIN_OEM_COPY,"
+ "DOM_VK_WIN_OEM_CUSEL,DOM_VK_WIN_OEM_ENLW,DOM_VK_WIN_OEM_FINISH,DOM_VK_WIN_OEM_FJ_JISHO,"
+ "DOM_VK_WIN_OEM_FJ_LOYA,DOM_VK_WIN_OEM_FJ_MASSHOU,"
+ "DOM_VK_WIN_OEM_FJ_ROYA,DOM_VK_WIN_OEM_FJ_TOUROKU,"
+ "DOM_VK_WIN_OEM_JUMP,DOM_VK_WIN_OEM_PA1,DOM_VK_WIN_OEM_PA2,"
+ "DOM_VK_WIN_OEM_PA3,DOM_VK_WIN_OEM_RESET,"
+ "DOM_VK_WIN_OEM_WSCTRL,DOM_VK_X,DOM_VK_Y,DOM_VK_Z,DOM_VK_ZOOM,eventPhase,explicitOriginalTarget,"
+ "getModifierState(),initEvent(),initKeyboardEvent(),initUIEvent(),isComposing,"
+ "isTrusted,key,keyCode,layerX,layerY,location,META_MASK,metaKey,NONE,originalTarget,"
+ "preventDefault(),rangeOffset,rangeParent,repeat,returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,"
+ "SHIFT_MASK,shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,"
+ "type,view,which",
FF_ESR = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "charCode,code,composed,composedPath(),CONTROL_MASK,ctrlKey,currentTarget,defaultPrevented,detail,"
+ "DOM_KEY_LOCATION_LEFT,DOM_KEY_LOCATION_NUMPAD,DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,"
+ "DOM_VK_0,DOM_VK_1,DOM_VK_2,DOM_VK_3,DOM_VK_4,DOM_VK_5,DOM_VK_6,DOM_VK_7,DOM_VK_8,DOM_VK_9,DOM_VK_A,"
+ "DOM_VK_ACCEPT,DOM_VK_ADD,DOM_VK_ALT,DOM_VK_ALTGR,DOM_VK_AMPERSAND,DOM_VK_ASTERISK,DOM_VK_AT,"
+ "DOM_VK_ATTN,DOM_VK_B,DOM_VK_BACK_QUOTE,DOM_VK_BACK_SLASH,DOM_VK_BACK_SPACE,DOM_VK_C,"
+ "DOM_VK_CANCEL,DOM_VK_CAPS_LOCK,"
+ "DOM_VK_CIRCUMFLEX,DOM_VK_CLEAR,DOM_VK_CLOSE_BRACKET,DOM_VK_CLOSE_CURLY_BRACKET,DOM_VK_CLOSE_PAREN,"
+ "DOM_VK_COLON,DOM_VK_COMMA,DOM_VK_CONTEXT_MENU,DOM_VK_CONTROL,DOM_VK_CONVERT,DOM_VK_CRSEL,DOM_VK_D,"
+ "DOM_VK_DECIMAL,DOM_VK_DELETE,DOM_VK_DIVIDE,DOM_VK_DOLLAR,DOM_VK_DOUBLE_QUOTE,DOM_VK_DOWN,DOM_VK_E,"
+ "DOM_VK_EISU,DOM_VK_END,DOM_VK_EQUALS,DOM_VK_EREOF,DOM_VK_ESCAPE,DOM_VK_EXCLAMATION,DOM_VK_EXECUTE,"
+ "DOM_VK_EXSEL,DOM_VK_F,DOM_VK_F1,DOM_VK_F10,DOM_VK_F11,DOM_VK_F12,DOM_VK_F13,DOM_VK_F14,DOM_VK_F15,"
+ "DOM_VK_F16,DOM_VK_F17,DOM_VK_F18,DOM_VK_F19,DOM_VK_F2,DOM_VK_F20,DOM_VK_F21,DOM_VK_F22,DOM_VK_F23,"
+ "DOM_VK_F24,DOM_VK_F3,DOM_VK_F4,DOM_VK_F5,DOM_VK_F6,DOM_VK_F7,DOM_VK_F8,DOM_VK_F9,DOM_VK_FINAL,"
+ "DOM_VK_G,DOM_VK_GREATER_THAN,DOM_VK_H,DOM_VK_HANGUL,DOM_VK_HANJA,DOM_VK_HASH,DOM_VK_HELP,"
+ "DOM_VK_HOME,DOM_VK_HYPHEN_MINUS,DOM_VK_I,DOM_VK_INSERT,DOM_VK_J,DOM_VK_JUNJA,DOM_VK_K,"
+ "DOM_VK_KANA,DOM_VK_KANJI,DOM_VK_L,DOM_VK_LEFT,DOM_VK_LESS_THAN,DOM_VK_M,DOM_VK_META,"
+ "DOM_VK_MODECHANGE,DOM_VK_MULTIPLY,DOM_VK_N,DOM_VK_NONCONVERT,DOM_VK_NUM_LOCK,DOM_VK_NUMPAD0,"
+ "DOM_VK_NUMPAD1,DOM_VK_NUMPAD2,DOM_VK_NUMPAD3,DOM_VK_NUMPAD4,DOM_VK_NUMPAD5,DOM_VK_NUMPAD6,"
+ "DOM_VK_NUMPAD7,DOM_VK_NUMPAD8,DOM_VK_NUMPAD9,DOM_VK_O,DOM_VK_OPEN_BRACKET,DOM_VK_OPEN_CURLY_BRACKET,"
+ "DOM_VK_OPEN_PAREN,DOM_VK_P,DOM_VK_PA1,DOM_VK_PAGE_DOWN,DOM_VK_PAGE_UP,DOM_VK_PAUSE,DOM_VK_PERCENT,"
+ "DOM_VK_PERIOD,DOM_VK_PIPE,DOM_VK_PLAY,DOM_VK_PLUS,"
+ "DOM_VK_PRINT,DOM_VK_PRINTSCREEN,DOM_VK_PROCESSKEY,"
+ "DOM_VK_Q,DOM_VK_QUESTION_MARK,DOM_VK_QUOTE,DOM_VK_R,DOM_VK_RETURN,DOM_VK_RIGHT,DOM_VK_S,"
+ "DOM_VK_SCROLL_LOCK,DOM_VK_SELECT,DOM_VK_SEMICOLON,DOM_VK_SEPARATOR,DOM_VK_SHIFT,DOM_VK_SLASH,"
+ "DOM_VK_SLEEP,DOM_VK_SPACE,DOM_VK_SUBTRACT,DOM_VK_T,DOM_VK_TAB,DOM_VK_TILDE,DOM_VK_U,"
+ "DOM_VK_UNDERSCORE,DOM_VK_UP,DOM_VK_V,DOM_VK_VOLUME_DOWN,DOM_VK_VOLUME_MUTE,DOM_VK_VOLUME_UP,"
+ "DOM_VK_W,DOM_VK_WIN,DOM_VK_WIN_ICO_00,DOM_VK_WIN_ICO_CLEAR,"
+ "DOM_VK_WIN_ICO_HELP,DOM_VK_WIN_OEM_ATTN,"
+ "DOM_VK_WIN_OEM_AUTO,DOM_VK_WIN_OEM_BACKTAB,DOM_VK_WIN_OEM_CLEAR,DOM_VK_WIN_OEM_COPY,"
+ "DOM_VK_WIN_OEM_CUSEL,DOM_VK_WIN_OEM_ENLW,DOM_VK_WIN_OEM_FINISH,DOM_VK_WIN_OEM_FJ_JISHO,"
+ "DOM_VK_WIN_OEM_FJ_LOYA,DOM_VK_WIN_OEM_FJ_MASSHOU,"
+ "DOM_VK_WIN_OEM_FJ_ROYA,DOM_VK_WIN_OEM_FJ_TOUROKU,"
+ "DOM_VK_WIN_OEM_JUMP,DOM_VK_WIN_OEM_PA1,DOM_VK_WIN_OEM_PA2,"
+ "DOM_VK_WIN_OEM_PA3,DOM_VK_WIN_OEM_RESET,"
+ "DOM_VK_WIN_OEM_WSCTRL,DOM_VK_X,DOM_VK_Y,DOM_VK_Z,DOM_VK_ZOOM,eventPhase,explicitOriginalTarget,"
+ "getModifierState(),initEvent(),initKeyboardEvent(),initKeyEvent(),initUIEvent(),isComposing,"
+ "isTrusted,key,keyCode,layerX,layerY,location,META_MASK,metaKey,NONE,originalTarget,"
+ "preventDefault(),rangeOffset,rangeParent,repeat,returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,"
+ "SHIFT_MASK,shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,"
+ "type,view,which",
IE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,char,charCode,"
+ "ctrlKey,currentTarget,defaultPrevented,detail,deviceSessionId,DOM_KEY_LOCATION_JOYSTICK,"
+ "DOM_KEY_LOCATION_LEFT,"
+ "DOM_KEY_LOCATION_MOBILE,DOM_KEY_LOCATION_NUMPAD,DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,"
+ "eventPhase,getModifierState(),initEvent(),initKeyboardEvent(),initUIEvent(),isTrusted,key,keyCode,"
+ "locale,location,metaKey,preventDefault(),repeat,shiftKey,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which")
@HtmlUnitNYI(CHROME = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "charCode,"
+ "code,composed,ctrlKey,currentTarget,"
+ "defaultPrevented,detail,DOM_KEY_LOCATION_LEFT,DOM_KEY_LOCATION_NUMPAD,"
+ "DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,"
+ "eventPhase,initEvent(),initUIEvent(),isComposing,key,keyCode,location,"
+ "metaKey,NONE,preventDefault(),repeat,returnValue,shiftKey,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
EDGE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,charCode,"
+ "code,composed,ctrlKey,currentTarget,"
+ "defaultPrevented,detail,DOM_KEY_LOCATION_LEFT,DOM_KEY_LOCATION_NUMPAD,"
+ "DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,"
+ "eventPhase,initEvent(),initUIEvent(),isComposing,key,keyCode,location,"
+ "metaKey,NONE,preventDefault(),repeat,returnValue,shiftKey,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
FF_ESR = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,charCode,"
+ "code,composed,CONTROL_MASK,ctrlKey,currentTarget,defaultPrevented,detail,DOM_KEY_LOCATION_LEFT,"
+ "DOM_KEY_LOCATION_NUMPAD,DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,DOM_VK_0,DOM_VK_1,"
+ "DOM_VK_2,DOM_VK_3,DOM_VK_4,DOM_VK_5,DOM_VK_6,DOM_VK_7,DOM_VK_8,DOM_VK_9,DOM_VK_A,DOM_VK_ACCEPT,"
+ "DOM_VK_ADD,DOM_VK_ALT,DOM_VK_ALTGR,DOM_VK_AMPERSAND,DOM_VK_ASTERISK,DOM_VK_AT,DOM_VK_ATTN,"
+ "DOM_VK_B,DOM_VK_BACK_QUOTE,DOM_VK_BACK_SLASH,DOM_VK_BACK_SPACE,DOM_VK_C,DOM_VK_CANCEL,"
+ "DOM_VK_CAPS_LOCK,DOM_VK_CIRCUMFLEX,DOM_VK_CLEAR,DOM_VK_CLOSE_BRACKET,DOM_VK_CLOSE_CURLY_BRACKET,"
+ "DOM_VK_CLOSE_PAREN,DOM_VK_COLON,DOM_VK_COMMA,DOM_VK_CONTEXT_MENU,DOM_VK_CONTROL,DOM_VK_CONVERT,"
+ "DOM_VK_CRSEL,DOM_VK_D,DOM_VK_DECIMAL,DOM_VK_DELETE,DOM_VK_DIVIDE,DOM_VK_DOLLAR,"
+ "DOM_VK_DOUBLE_QUOTE,DOM_VK_DOWN,DOM_VK_E,DOM_VK_EISU,DOM_VK_END,DOM_VK_EQUALS,"
+ "DOM_VK_EREOF,DOM_VK_ESCAPE,DOM_VK_EXCLAMATION,DOM_VK_EXECUTE,DOM_VK_EXSEL,DOM_VK_F,"
+ "DOM_VK_F1,DOM_VK_F10,DOM_VK_F11,DOM_VK_F12,DOM_VK_F13,DOM_VK_F14,DOM_VK_F15,DOM_VK_F16,"
+ "DOM_VK_F17,DOM_VK_F18,DOM_VK_F19,DOM_VK_F2,DOM_VK_F20,DOM_VK_F21,DOM_VK_F22,DOM_VK_F23,"
+ "DOM_VK_F24,DOM_VK_F3,DOM_VK_F4,DOM_VK_F5,DOM_VK_F6,DOM_VK_F7,DOM_VK_F8,DOM_VK_F9,DOM_VK_FINAL,"
+ "DOM_VK_G,DOM_VK_GREATER_THAN,DOM_VK_H,DOM_VK_HANGUL,DOM_VK_HANJA,DOM_VK_HASH,DOM_VK_HELP,"
+ "DOM_VK_HOME,DOM_VK_HYPHEN_MINUS,DOM_VK_I,DOM_VK_INSERT,DOM_VK_J,DOM_VK_JUNJA,DOM_VK_K,"
+ "DOM_VK_KANA,DOM_VK_KANJI,DOM_VK_L,DOM_VK_LEFT,DOM_VK_LESS_THAN,DOM_VK_M,DOM_VK_META,"
+ "DOM_VK_MODECHANGE,DOM_VK_MULTIPLY,DOM_VK_N,DOM_VK_NONCONVERT,DOM_VK_NUM_LOCK,DOM_VK_NUMPAD0,"
+ "DOM_VK_NUMPAD1,DOM_VK_NUMPAD2,DOM_VK_NUMPAD3,DOM_VK_NUMPAD4,DOM_VK_NUMPAD5,DOM_VK_NUMPAD6,"
+ "DOM_VK_NUMPAD7,DOM_VK_NUMPAD8,DOM_VK_NUMPAD9,DOM_VK_O,DOM_VK_OPEN_BRACKET,"
+ "DOM_VK_OPEN_CURLY_BRACKET,DOM_VK_OPEN_PAREN,DOM_VK_P,DOM_VK_PA1,DOM_VK_PAGE_DOWN,"
+ "DOM_VK_PAGE_UP,DOM_VK_PAUSE,DOM_VK_PERCENT,DOM_VK_PERIOD,DOM_VK_PIPE,DOM_VK_PLAY,"
+ "DOM_VK_PLUS,DOM_VK_PRINT,DOM_VK_PRINTSCREEN,DOM_VK_PROCESSKEY,DOM_VK_Q,DOM_VK_QUESTION_MARK,"
+ "DOM_VK_QUOTE,DOM_VK_R,DOM_VK_RETURN,DOM_VK_RIGHT,DOM_VK_S,DOM_VK_SCROLL_LOCK,DOM_VK_SELECT,"
+ "DOM_VK_SEMICOLON,DOM_VK_SEPARATOR,DOM_VK_SHIFT,DOM_VK_SLASH,DOM_VK_SLEEP,DOM_VK_SPACE,"
+ "DOM_VK_SUBTRACT,DOM_VK_T,DOM_VK_TAB,DOM_VK_TILDE,DOM_VK_U,DOM_VK_UNDERSCORE,DOM_VK_UP,"
+ "DOM_VK_V,DOM_VK_VOLUME_DOWN,DOM_VK_VOLUME_MUTE,DOM_VK_VOLUME_UP,DOM_VK_W,DOM_VK_WIN,"
+ "DOM_VK_WIN_ICO_00,DOM_VK_WIN_ICO_CLEAR,DOM_VK_WIN_ICO_HELP,DOM_VK_WIN_OEM_ATTN,"
+ "DOM_VK_WIN_OEM_AUTO,DOM_VK_WIN_OEM_BACKTAB,DOM_VK_WIN_OEM_CLEAR,DOM_VK_WIN_OEM_COPY,"
+ "DOM_VK_WIN_OEM_CUSEL,DOM_VK_WIN_OEM_ENLW,DOM_VK_WIN_OEM_FINISH,DOM_VK_WIN_OEM_FJ_JISHO,"
+ "DOM_VK_WIN_OEM_FJ_LOYA,DOM_VK_WIN_OEM_FJ_MASSHOU,DOM_VK_WIN_OEM_FJ_ROYA,"
+ "DOM_VK_WIN_OEM_FJ_TOUROKU,DOM_VK_WIN_OEM_JUMP,DOM_VK_WIN_OEM_PA1,"
+ "DOM_VK_WIN_OEM_PA2,DOM_VK_WIN_OEM_PA3,DOM_VK_WIN_OEM_RESET,DOM_VK_WIN_OEM_WSCTRL,"
+ "DOM_VK_X,DOM_VK_Y,DOM_VK_Z,DOM_VK_ZOOM,"
+ "eventPhase,initEvent(),initKeyEvent(),initUIEvent(),isComposing,"
+ "key,keyCode,location,META_MASK,metaKey,NONE,preventDefault(),repeat,returnValue,"
+ "SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,"
+ "shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
FF = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,charCode,"
+ "code,composed,CONTROL_MASK,ctrlKey,currentTarget,defaultPrevented,detail,DOM_KEY_LOCATION_LEFT,"
+ "DOM_KEY_LOCATION_NUMPAD,DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,DOM_VK_0,DOM_VK_1,"
+ "DOM_VK_2,DOM_VK_3,DOM_VK_4,DOM_VK_5,DOM_VK_6,DOM_VK_7,DOM_VK_8,DOM_VK_9,DOM_VK_A,DOM_VK_ACCEPT,"
+ "DOM_VK_ADD,DOM_VK_ALT,DOM_VK_ALTGR,DOM_VK_AMPERSAND,DOM_VK_ASTERISK,DOM_VK_AT,DOM_VK_ATTN,"
+ "DOM_VK_B,DOM_VK_BACK_QUOTE,DOM_VK_BACK_SLASH,DOM_VK_BACK_SPACE,DOM_VK_C,DOM_VK_CANCEL,"
+ "DOM_VK_CAPS_LOCK,DOM_VK_CIRCUMFLEX,DOM_VK_CLEAR,DOM_VK_CLOSE_BRACKET,DOM_VK_CLOSE_CURLY_BRACKET,"
+ "DOM_VK_CLOSE_PAREN,DOM_VK_COLON,DOM_VK_COMMA,DOM_VK_CONTEXT_MENU,DOM_VK_CONTROL,DOM_VK_CONVERT,"
+ "DOM_VK_CRSEL,DOM_VK_D,DOM_VK_DECIMAL,DOM_VK_DELETE,DOM_VK_DIVIDE,DOM_VK_DOLLAR,"
+ "DOM_VK_DOUBLE_QUOTE,DOM_VK_DOWN,DOM_VK_E,DOM_VK_EISU,DOM_VK_END,DOM_VK_EQUALS,"
+ "DOM_VK_EREOF,DOM_VK_ESCAPE,DOM_VK_EXCLAMATION,DOM_VK_EXECUTE,DOM_VK_EXSEL,DOM_VK_F,"
+ "DOM_VK_F1,DOM_VK_F10,DOM_VK_F11,DOM_VK_F12,DOM_VK_F13,DOM_VK_F14,DOM_VK_F15,DOM_VK_F16,"
+ "DOM_VK_F17,DOM_VK_F18,DOM_VK_F19,DOM_VK_F2,DOM_VK_F20,DOM_VK_F21,DOM_VK_F22,DOM_VK_F23,"
+ "DOM_VK_F24,DOM_VK_F3,DOM_VK_F4,DOM_VK_F5,DOM_VK_F6,DOM_VK_F7,DOM_VK_F8,DOM_VK_F9,DOM_VK_FINAL,"
+ "DOM_VK_G,DOM_VK_GREATER_THAN,DOM_VK_H,DOM_VK_HANGUL,DOM_VK_HANJA,DOM_VK_HASH,DOM_VK_HELP,"
+ "DOM_VK_HOME,DOM_VK_HYPHEN_MINUS,DOM_VK_I,DOM_VK_INSERT,DOM_VK_J,DOM_VK_JUNJA,DOM_VK_K,"
+ "DOM_VK_KANA,DOM_VK_KANJI,DOM_VK_L,DOM_VK_LEFT,DOM_VK_LESS_THAN,DOM_VK_M,DOM_VK_META,"
+ "DOM_VK_MODECHANGE,DOM_VK_MULTIPLY,DOM_VK_N,DOM_VK_NONCONVERT,DOM_VK_NUM_LOCK,DOM_VK_NUMPAD0,"
+ "DOM_VK_NUMPAD1,DOM_VK_NUMPAD2,DOM_VK_NUMPAD3,DOM_VK_NUMPAD4,DOM_VK_NUMPAD5,DOM_VK_NUMPAD6,"
+ "DOM_VK_NUMPAD7,DOM_VK_NUMPAD8,DOM_VK_NUMPAD9,DOM_VK_O,DOM_VK_OPEN_BRACKET,"
+ "DOM_VK_OPEN_CURLY_BRACKET,DOM_VK_OPEN_PAREN,DOM_VK_P,DOM_VK_PA1,DOM_VK_PAGE_DOWN,"
+ "DOM_VK_PAGE_UP,DOM_VK_PAUSE,DOM_VK_PERCENT,DOM_VK_PERIOD,DOM_VK_PIPE,DOM_VK_PLAY,"
+ "DOM_VK_PLUS,DOM_VK_PRINT,DOM_VK_PRINTSCREEN,DOM_VK_PROCESSKEY,DOM_VK_Q,DOM_VK_QUESTION_MARK,"
+ "DOM_VK_QUOTE,DOM_VK_R,DOM_VK_RETURN,DOM_VK_RIGHT,DOM_VK_S,DOM_VK_SCROLL_LOCK,DOM_VK_SELECT,"
+ "DOM_VK_SEMICOLON,DOM_VK_SEPARATOR,DOM_VK_SHIFT,DOM_VK_SLASH,DOM_VK_SLEEP,DOM_VK_SPACE,"
+ "DOM_VK_SUBTRACT,DOM_VK_T,DOM_VK_TAB,DOM_VK_TILDE,DOM_VK_U,DOM_VK_UNDERSCORE,DOM_VK_UP,"
+ "DOM_VK_V,DOM_VK_VOLUME_DOWN,DOM_VK_VOLUME_MUTE,DOM_VK_VOLUME_UP,DOM_VK_W,DOM_VK_WIN,"
+ "DOM_VK_WIN_ICO_00,DOM_VK_WIN_ICO_CLEAR,DOM_VK_WIN_ICO_HELP,DOM_VK_WIN_OEM_ATTN,"
+ "DOM_VK_WIN_OEM_AUTO,DOM_VK_WIN_OEM_BACKTAB,DOM_VK_WIN_OEM_CLEAR,DOM_VK_WIN_OEM_COPY,"
+ "DOM_VK_WIN_OEM_CUSEL,DOM_VK_WIN_OEM_ENLW,DOM_VK_WIN_OEM_FINISH,DOM_VK_WIN_OEM_FJ_JISHO,"
+ "DOM_VK_WIN_OEM_FJ_LOYA,DOM_VK_WIN_OEM_FJ_MASSHOU,DOM_VK_WIN_OEM_FJ_ROYA,"
+ "DOM_VK_WIN_OEM_FJ_TOUROKU,DOM_VK_WIN_OEM_JUMP,DOM_VK_WIN_OEM_PA1,"
+ "DOM_VK_WIN_OEM_PA2,DOM_VK_WIN_OEM_PA3,DOM_VK_WIN_OEM_RESET,DOM_VK_WIN_OEM_WSCTRL,"
+ "DOM_VK_X,DOM_VK_Y,DOM_VK_Z,DOM_VK_ZOOM,"
+ "eventPhase,initEvent(),initUIEvent(),isComposing,"
+ "key,keyCode,location,META_MASK,metaKey,NONE,preventDefault(),repeat,returnValue,"
+ "SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,"
+ "shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
IE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,char,charCode,"
+ "ctrlKey,currentTarget,defaultPrevented,detail,DOM_KEY_LOCATION_JOYSTICK,DOM_KEY_LOCATION_LEFT,"
+ "DOM_KEY_LOCATION_MOBILE,DOM_KEY_LOCATION_NUMPAD,DOM_KEY_LOCATION_RIGHT,DOM_KEY_LOCATION_STANDARD,"
+ "eventPhase,initEvent(),initUIEvent(),key,keyCode,location,"
+ "metaKey,preventDefault(),repeat,shiftKey,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which")
public void keyboardEvent() throws Exception {
testString("", "document.createEvent('KeyboardEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.UIEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),isTrusted,preventDefault(),srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),preventDefault(),srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type")
public void event2() throws Exception {
testString("", "document.createEvent('Event')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.UIEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,"
+ "composedPath(),currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,sourceCapabilities,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,"
+ "composedPath(),currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,sourceCapabilities,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,detail,eventPhase,"
+ "explicitOriginalTarget,initEvent(),initUIEvent(),isTrusted,layerX,layerY,META_MASK,NONE,"
+ "originalTarget,preventDefault(),rangeOffset,rangeParent,returnValue,SCROLL_PAGE_DOWN,"
+ "SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,detail,eventPhase,"
+ "explicitOriginalTarget,initEvent(),initUIEvent(),isTrusted,layerX,layerY,META_MASK,NONE,"
+ "originalTarget,preventDefault(),rangeOffset,rangeParent,returnValue,SCROLL_PAGE_DOWN,"
+ "SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,"
+ "defaultPrevented,detail,deviceSessionId,eventPhase,initEvent(),initUIEvent(),isTrusted,"
+ "preventDefault(),srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault(),"
+ "returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault(),"
+ "returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),preventDefault(),srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
public void uiEvent() throws Exception {
testString("", "document.createEvent('UIEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.URL}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "hash,host,hostname,href,origin,password,pathname,"
+ "port,protocol,search,searchParams,toJSON(),toString(),username",
EDGE = "hash,host,hostname,href,origin,password,pathname,"
+ "port,protocol,search,searchParams,toJSON(),toString(),username",
FF = "hash,host,hostname,href,origin,password,pathname,"
+ "port,protocol,search,searchParams,toJSON(),toString(),username",
FF_ESR = "hash,host,hostname,href,origin,password,pathname,"
+ "port,protocol,search,searchParams,toJSON(),toString(),username",
IE = "exception")
public void url() throws Exception {
testString("", "new URL('http://developer.mozilla.org')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.DragEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "clientX,clientY,composed,composedPath(),ctrlKey,currentTarget,dataTransfer,defaultPrevented,detail,"
+ "eventPhase,fromElement,getModifierState(),initEvent(),initMouseEvent(),initUIEvent(),isTrusted,"
+ "layerX,layerY,metaKey,movementX,movementY,NONE,offsetX,offsetY,pageX,pageY,path,preventDefault(),"
+ "relatedTarget,returnValue,screenX,screenY,shiftKey,sourceCapabilities,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,toElement,type,view,which,x,y",
EDGE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "clientX,clientY,composed,composedPath(),ctrlKey,currentTarget,dataTransfer,defaultPrevented,detail,"
+ "eventPhase,fromElement,getModifierState(),initEvent(),initMouseEvent(),initUIEvent(),isTrusted,"
+ "layerX,layerY,metaKey,movementX,movementY,NONE,offsetX,offsetY,pageX,pageY,path,preventDefault(),"
+ "relatedTarget,returnValue,screenX,screenY,shiftKey,sourceCapabilities,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,toElement,type,view,which,x,y",
FF = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,composedPath(),CONTROL_MASK,ctrlKey,currentTarget,"
+ "dataTransfer,defaultPrevented,detail,eventPhase,explicitOriginalTarget,getModifierState(),"
+ "initDragEvent(),initEvent(),initMouseEvent(),initNSMouseEvent(),initUIEvent(),isTrusted,"
+ "layerX,layerY,META_MASK,metaKey,movementX,movementY,MOZ_SOURCE_CURSOR,MOZ_SOURCE_ERASER,"
+ "MOZ_SOURCE_KEYBOARD,MOZ_SOURCE_MOUSE,MOZ_SOURCE_PEN,MOZ_SOURCE_TOUCH,MOZ_SOURCE_UNKNOWN,"
+ "mozInputSource,mozPressure,NONE,offsetX,offsetY,originalTarget,pageX,pageY,preventDefault(),"
+ "rangeOffset,rangeParent,region,relatedTarget,returnValue,screenX,screenY,SCROLL_PAGE_DOWN,"
+ "SCROLL_PAGE_UP,SHIFT_MASK,shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which,x,y",
FF_ESR = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,composedPath(),CONTROL_MASK,ctrlKey,currentTarget,"
+ "dataTransfer,defaultPrevented,detail,eventPhase,explicitOriginalTarget,getModifierState(),"
+ "initDragEvent(),initEvent(),initMouseEvent(),initNSMouseEvent(),initUIEvent(),isTrusted,"
+ "layerX,layerY,META_MASK,metaKey,movementX,movementY,MOZ_SOURCE_CURSOR,MOZ_SOURCE_ERASER,"
+ "MOZ_SOURCE_KEYBOARD,MOZ_SOURCE_MOUSE,MOZ_SOURCE_PEN,MOZ_SOURCE_TOUCH,MOZ_SOURCE_UNKNOWN,"
+ "mozInputSource,mozPressure,NONE,offsetX,offsetY,originalTarget,pageX,pageY,preventDefault(),"
+ "rangeOffset,rangeParent,region,relatedTarget,returnValue,screenX,screenY,SCROLL_PAGE_DOWN,"
+ "SCROLL_PAGE_UP,SHIFT_MASK,shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which,x,y",
IE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "clientX,clientY,ctrlKey,currentTarget,dataTransfer,defaultPrevented,detail,deviceSessionId,"
+ "eventPhase,fromElement,getModifierState(),initDragEvent(),initEvent(),initMouseEvent(),"
+ "initUIEvent(),isTrusted,layerX,layerY,metaKey,msConvertURL(),offsetX,offsetY,pageX,pageY,"
+ "preventDefault(),relatedTarget,screenX,screenY,shiftKey,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,toElement,type,view,which,x,y")
@HtmlUnitNYI(CHROME = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,ctrlKey,currentTarget,defaultPrevented,detail,eventPhase,"
+ "initEvent(),initMouseEvent(),initUIEvent(),metaKey,NONE,pageX,pageY,preventDefault(),"
+ "returnValue,screenX,screenY,shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
EDGE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,ctrlKey,currentTarget,defaultPrevented,detail,eventPhase,"
+ "initEvent(),initMouseEvent(),initUIEvent(),metaKey,NONE,pageX,pageY,preventDefault(),"
+ "returnValue,screenX,screenY,shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
FF_ESR = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,CONTROL_MASK,ctrlKey,currentTarget,defaultPrevented,detail,"
+ "eventPhase,initEvent(),initMouseEvent(),initUIEvent(),META_MASK,metaKey,MOZ_SOURCE_CURSOR,"
+ "MOZ_SOURCE_ERASER,MOZ_SOURCE_KEYBOARD,MOZ_SOURCE_MOUSE,MOZ_SOURCE_PEN,MOZ_SOURCE_TOUCH,"
+ "MOZ_SOURCE_UNKNOWN,NONE,pageX,pageY,preventDefault(),returnValue,screenX,screenY,"
+ "SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,shiftKey,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
FF = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,CONTROL_MASK,ctrlKey,currentTarget,defaultPrevented,detail,"
+ "eventPhase,initEvent(),initMouseEvent(),initUIEvent(),META_MASK,metaKey,MOZ_SOURCE_CURSOR,"
+ "MOZ_SOURCE_ERASER,MOZ_SOURCE_KEYBOARD,MOZ_SOURCE_MOUSE,MOZ_SOURCE_PEN,MOZ_SOURCE_TOUCH,"
+ "MOZ_SOURCE_UNKNOWN,NONE,pageX,pageY,preventDefault(),returnValue,screenX,screenY,"
+ "SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,shiftKey,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
IE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "clientX,clientY,ctrlKey,currentTarget,defaultPrevented,detail,eventPhase,initEvent(),"
+ "initMouseEvent(),initUIEvent(),metaKey,pageX,pageY,preventDefault(),screenX,screenY,"
+ "shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,"
+ "type,view,which")
public void dragEvent() throws Exception {
testString("", "document.createEvent('DragEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.PointerEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "altitudeAngle,azimuthAngle,getCoalescedEvents(),getPredictedEvents(),height,"
+ "isPrimary,pointerId,pointerType,pressure,"
+ "tangentialPressure,tiltX,tiltY,twist,width",
EDGE = "altitudeAngle,azimuthAngle,getCoalescedEvents(),getPredictedEvents(),height,"
+ "isPrimary,pointerId,pointerType,pressure,"
+ "tangentialPressure,tiltX,tiltY,twist,width",
FF = "getCoalescedEvents(),getPredictedEvents(),height,isPrimary,pointerId,pointerType,pressure,"
+ "tangentialPressure,tiltX,tiltY,twist,width",
FF_ESR = "getCoalescedEvents(),getPredictedEvents(),height,isPrimary,pointerId,pointerType,pressure,"
+ "tangentialPressure,tiltX,tiltY,twist,width",
IE = "exception")
@HtmlUnitNYI(CHROME = "altitudeAngle,azimuthAngle,height,"
+ "isPrimary,pointerId,pointerType,pressure,tiltX,tiltY,width",
EDGE = "altitudeAngle,azimuthAngle,height,isPrimary,pointerId,pointerType,pressure,tiltX,tiltY,width",
FF_ESR = "height,isPrimary,pointerId,pointerType,pressure,tiltX,tiltY,width",
FF = "height,isPrimary,pointerId,pointerType,pressure,tiltX,tiltY,width")
public void pointerEvent() throws Exception {
testString("", "new PointerEvent('click'), document.createEvent('MouseEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.PointerEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "exception",
EDGE = "exception",
FF = "exception",
FF_ESR = "exception",
IE = "height,hwTimestamp,initPointerEvent(),isPrimary,pointerId,"
+ "pointerType,pressure,rotation,tiltX,tiltY,width")
@HtmlUnitNYI(IE = "height,initPointerEvent(),isPrimary,pointerId,pointerType,pressure,tiltX,tiltY,width")
public void pointerEvent2() throws Exception {
testString("", " document.createEvent('PointerEvent'), document.createEvent('MouseEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.WheelEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "deltaMode,deltaX,deltaY,deltaZ,DOM_DELTA_LINE,DOM_DELTA_PAGE,"
+ "DOM_DELTA_PIXEL,wheelDelta,wheelDeltaX,wheelDeltaY",
EDGE = "deltaMode,deltaX,deltaY,deltaZ,DOM_DELTA_LINE,DOM_DELTA_PAGE,"
+ "DOM_DELTA_PIXEL,wheelDelta,wheelDeltaX,wheelDeltaY",
FF = "exception",
FF_ESR = "exception",
IE = "deltaMode,deltaX,deltaY,deltaZ,DOM_DELTA_LINE,DOM_DELTA_PAGE,DOM_DELTA_PIXEL,initWheelEvent()")
@HtmlUnitNYI(CHROME = "DOM_DELTA_LINE,DOM_DELTA_PAGE,DOM_DELTA_PIXEL",
EDGE = "DOM_DELTA_LINE,DOM_DELTA_PAGE,DOM_DELTA_PIXEL",
IE = "DOM_DELTA_LINE,DOM_DELTA_PAGE,DOM_DELTA_PIXEL")
public void wheelEvent() throws Exception {
testString("", "document.createEvent('WheelEvent'), document.createEvent('MouseEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.MouseEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,composedPath(),ctrlKey,currentTarget,"
+ "defaultPrevented,detail,eventPhase,fromElement,getModifierState(),initEvent(),initMouseEvent(),"
+ "initUIEvent(),isTrusted,layerX,layerY,metaKey,movementX,movementY,NONE,offsetX,offsetY,"
+ "pageX,pageY,path,preventDefault(),relatedTarget,returnValue,screenX,screenY,shiftKey,"
+ "sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),target,"
+ "timeStamp,toElement,type,view,which,x,y",
EDGE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,composedPath(),ctrlKey,currentTarget,"
+ "defaultPrevented,detail,eventPhase,fromElement,getModifierState(),initEvent(),initMouseEvent(),"
+ "initUIEvent(),isTrusted,layerX,layerY,metaKey,movementX,movementY,NONE,offsetX,offsetY,"
+ "pageX,pageY,path,preventDefault(),relatedTarget,returnValue,screenX,screenY,shiftKey,"
+ "sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),target,"
+ "timeStamp,toElement,type,view,which,x,y",
FF = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,composedPath(),CONTROL_MASK,ctrlKey,currentTarget,"
+ "defaultPrevented,detail,eventPhase,explicitOriginalTarget,getModifierState(),initEvent(),"
+ "initMouseEvent(),initNSMouseEvent(),initUIEvent(),isTrusted,layerX,layerY,META_MASK,metaKey,"
+ "movementX,movementY,MOZ_SOURCE_CURSOR,MOZ_SOURCE_ERASER,MOZ_SOURCE_KEYBOARD,MOZ_SOURCE_MOUSE,"
+ "MOZ_SOURCE_PEN,MOZ_SOURCE_TOUCH,MOZ_SOURCE_UNKNOWN,mozInputSource,mozPressure,NONE,offsetX,"
+ "offsetY,originalTarget,pageX,pageY,preventDefault(),rangeOffset,rangeParent,region,"
+ "relatedTarget,returnValue,screenX,screenY,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,shiftKey,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which,x,y",
FF_ESR = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,composedPath(),CONTROL_MASK,ctrlKey,currentTarget,"
+ "defaultPrevented,detail,eventPhase,explicitOriginalTarget,getModifierState(),initEvent(),"
+ "initMouseEvent(),initNSMouseEvent(),initUIEvent(),isTrusted,layerX,layerY,META_MASK,metaKey,"
+ "movementX,movementY,MOZ_SOURCE_CURSOR,MOZ_SOURCE_ERASER,MOZ_SOURCE_KEYBOARD,MOZ_SOURCE_MOUSE,"
+ "MOZ_SOURCE_PEN,MOZ_SOURCE_TOUCH,MOZ_SOURCE_UNKNOWN,mozInputSource,mozPressure,NONE,offsetX,"
+ "offsetY,originalTarget,pageX,pageY,preventDefault(),rangeOffset,rangeParent,region,"
+ "relatedTarget,returnValue,screenX,screenY,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,shiftKey,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which,x,y",
IE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "clientX,clientY,ctrlKey,currentTarget,defaultPrevented,detail,deviceSessionId,eventPhase,"
+ "fromElement,getModifierState(),initEvent(),initMouseEvent(),initUIEvent(),isTrusted,layerX,"
+ "layerY,metaKey,offsetX,offsetY,pageX,pageY,preventDefault(),relatedTarget,screenX,screenY,"
+ "shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,toElement,"
+ "type,view,which,x,y")
@HtmlUnitNYI(CHROME = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,ctrlKey,currentTarget,defaultPrevented,detail,eventPhase,"
+ "initEvent(),initMouseEvent(),initUIEvent(),metaKey,NONE,pageX,pageY,preventDefault(),"
+ "returnValue,screenX,screenY,shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
EDGE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,ctrlKey,currentTarget,defaultPrevented,detail,eventPhase,"
+ "initEvent(),initMouseEvent(),initUIEvent(),metaKey,NONE,pageX,pageY,preventDefault(),"
+ "returnValue,screenX,screenY,shiftKey,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
FF_ESR = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,CONTROL_MASK,ctrlKey,currentTarget,defaultPrevented,"
+ "detail,eventPhase,initEvent(),initMouseEvent(),initUIEvent(),META_MASK,metaKey,"
+ "MOZ_SOURCE_CURSOR,MOZ_SOURCE_ERASER,MOZ_SOURCE_KEYBOARD,MOZ_SOURCE_MOUSE,MOZ_SOURCE_PEN,"
+ "MOZ_SOURCE_TOUCH,MOZ_SOURCE_UNKNOWN,NONE,pageX,pageY,preventDefault(),returnValue,screenX,"
+ "screenY,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,shiftKey,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
FF = "ALT_MASK,altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,composed,CONTROL_MASK,ctrlKey,currentTarget,defaultPrevented,"
+ "detail,eventPhase,initEvent(),initMouseEvent(),initUIEvent(),META_MASK,metaKey,"
+ "MOZ_SOURCE_CURSOR,MOZ_SOURCE_ERASER,MOZ_SOURCE_KEYBOARD,MOZ_SOURCE_MOUSE,MOZ_SOURCE_PEN,"
+ "MOZ_SOURCE_TOUCH,MOZ_SOURCE_UNKNOWN,NONE,pageX,pageY,preventDefault(),returnValue,screenX,"
+ "screenY,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,shiftKey,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
IE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "clientX,clientY,ctrlKey,currentTarget,defaultPrevented,detail,eventPhase,initEvent(),"
+ "initMouseEvent(),initUIEvent(),metaKey,pageX,pageY,preventDefault(),screenX,screenY,shiftKey,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which")
public void mouseEvent() throws Exception {
testString("", "document.createEvent('MouseEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.CompositionEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,data,defaultPrevented,detail,eventPhase,"
+ "initCompositionEvent(),initEvent(),initUIEvent(),isTrusted,NONE,path,preventDefault(),"
+ "returnValue,sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,data,defaultPrevented,detail,eventPhase,"
+ "initCompositionEvent(),initEvent(),initUIEvent(),isTrusted,NONE,path,preventDefault(),"
+ "returnValue,sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,data,defaultPrevented,detail,eventPhase,"
+ "explicitOriginalTarget,initCompositionEvent(),initEvent(),initUIEvent(),isTrusted,"
+ "layerX,layerY,locale,META_MASK,NONE,originalTarget,preventDefault(),rangeOffset,rangeParent,"
+ "returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,data,defaultPrevented,detail,eventPhase,"
+ "explicitOriginalTarget,initCompositionEvent(),initEvent(),initUIEvent(),isTrusted,"
+ "layerX,layerY,locale,META_MASK,NONE,originalTarget,preventDefault(),rangeOffset,rangeParent,"
+ "returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,data,"
+ "defaultPrevented,detail,deviceSessionId,eventPhase,initCompositionEvent(),initEvent(),"
+ "initUIEvent(),isTrusted,locale,preventDefault(),srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,currentTarget,"
+ "data,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault(),"
+ "returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,currentTarget,"
+ "data,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault(),"
+ "returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,data,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,data,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,data,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),preventDefault(),srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
public void compositionEvent() throws Exception {
testString("", "document.createEvent('CompositionEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.FocusEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,detail,eventPhase,initEvent(),"
+ "initUIEvent(),isTrusted,NONE,path,preventDefault(),relatedTarget,returnValue,"
+ "sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),target,"
+ "timeStamp,type,view,which",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,detail,eventPhase,initEvent(),"
+ "initUIEvent(),isTrusted,NONE,path,preventDefault(),relatedTarget,returnValue,"
+ "sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),target,"
+ "timeStamp,type,view,which",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,detail,eventPhase,"
+ "explicitOriginalTarget,initEvent(),initUIEvent(),isTrusted,layerX,layerY,META_MASK,NONE,"
+ "originalTarget,preventDefault(),rangeOffset,rangeParent,relatedTarget,returnValue,"
+ "SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,detail,eventPhase,"
+ "explicitOriginalTarget,initEvent(),initUIEvent(),isTrusted,layerX,layerY,META_MASK,NONE,"
+ "originalTarget,preventDefault(),rangeOffset,rangeParent,relatedTarget,returnValue,"
+ "SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view,which",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "currentTarget,defaultPrevented,detail,deviceSessionId,eventPhase,initEvent(),"
+ "initFocusEvent(),initUIEvent(),isTrusted,preventDefault(),relatedTarget,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,"
+ "preventDefault(),returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,"
+ "preventDefault(),returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),preventDefault(),srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
public void focusEvent() throws Exception {
testString("", "document.createEvent('FocusEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.InputEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,data,dataTransfer,defaultPrevented,detail,"
+ "eventPhase,getTargetRanges(),initEvent(),initUIEvent(),inputType,isComposing,"
+ "isTrusted,NONE,path,preventDefault(),returnValue,sourceCapabilities,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,data,dataTransfer,defaultPrevented,detail,"
+ "eventPhase,getTargetRanges(),initEvent(),initUIEvent(),inputType,isComposing,"
+ "isTrusted,NONE,path,preventDefault(),returnValue,sourceCapabilities,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,data,dataTransfer,defaultPrevented,"
+ "detail,eventPhase,explicitOriginalTarget,getTargetRanges(),"
+ "initEvent(),initUIEvent(),inputType,isComposing,"
+ "isTrusted,layerX,layerY,META_MASK,NONE,originalTarget,preventDefault(),rangeOffset,"
+ "rangeParent,returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,data,dataTransfer,defaultPrevented,"
+ "detail,eventPhase,explicitOriginalTarget,getTargetRanges(),"
+ "initEvent(),initUIEvent(),inputType,isComposing,"
+ "isTrusted,layerX,layerY,META_MASK,NONE,originalTarget,preventDefault(),rangeOffset,"
+ "rangeParent,returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view,which",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "data,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),"
+ "inputType,isComposing,NONE,"
+ "preventDefault(),returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "data,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),"
+ "inputType,isComposing,NONE,"
+ "preventDefault(),returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,currentTarget,"
+ "data,defaultPrevented,detail,eventPhase,initEvent(),"
+ "initUIEvent(),inputType,isComposing,"
+ "META_MASK,NONE,preventDefault(),returnValue,SCROLL_PAGE_DOWN,"
+ "SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,currentTarget,"
+ "data,defaultPrevented,detail,eventPhase,initEvent(),"
+ "initUIEvent(),inputType,isComposing,"
+ "META_MASK,NONE,preventDefault(),returnValue,SCROLL_PAGE_DOWN,"
+ "SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,view")
public void inputEvent() throws Exception {
testString("", "new InputEvent('input')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.MouseWheelEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "exception",
EDGE = "exception",
FF = "exception",
FF_ESR = "exception",
IE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,button,buttons,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,clientX,clientY,ctrlKey,currentTarget,defaultPrevented,detail,"
+ "deviceSessionId,eventPhase,fromElement,getModifierState(),initEvent(),initMouseEvent(),"
+ "initMouseWheelEvent(),initUIEvent(),isTrusted,layerX,layerY,metaKey,offsetX,offsetY,"
+ "pageX,pageY,preventDefault(),relatedTarget,screenX,screenY,shiftKey,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,toElement,type,"
+ "view,wheelDelta,which,x,y")
@HtmlUnitNYI(IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),preventDefault(),"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
public void mouseWheelEvent() throws Exception {
testString("", "document.createEvent('MouseWheelEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.SVGZoomEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("exception")
public void svgZoomEvent() throws Exception {
testString("", "document.createEvent('SVGZoomEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.TextEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,data,defaultPrevented,detail,eventPhase,initEvent(),"
+ "initTextEvent(),initUIEvent(),isTrusted,NONE,path,preventDefault(),returnValue,"
+ "sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),target,"
+ "timeStamp,type,view,which",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,data,defaultPrevented,detail,eventPhase,initEvent(),"
+ "initTextEvent(),initUIEvent(),isTrusted,NONE,path,preventDefault(),returnValue,"
+ "sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),target,"
+ "timeStamp,type,view,which",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,data,defaultPrevented,detail,eventPhase,"
+ "explicitOriginalTarget,initCompositionEvent(),initEvent(),initUIEvent(),isTrusted,layerX,layerY,"
+ "locale,META_MASK,NONE,originalTarget,preventDefault(),rangeOffset,rangeParent,returnValue,"
+ "SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,data,defaultPrevented,detail,eventPhase,"
+ "explicitOriginalTarget,initCompositionEvent(),initEvent(),initUIEvent(),isTrusted,layerX,layerY,"
+ "locale,META_MASK,NONE,originalTarget,preventDefault(),rangeOffset,rangeParent,returnValue,"
+ "SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type,view,which",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,data,"
+ "defaultPrevented,detail,deviceSessionId,DOM_INPUT_METHOD_DROP,DOM_INPUT_METHOD_HANDWRITING,"
+ "DOM_INPUT_METHOD_IME,DOM_INPUT_METHOD_KEYBOARD,DOM_INPUT_METHOD_MULTIMODAL,DOM_INPUT_METHOD_OPTION,"
+ "DOM_INPUT_METHOD_PASTE,DOM_INPUT_METHOD_SCRIPT,DOM_INPUT_METHOD_UNKNOWN,DOM_INPUT_METHOD_VOICE,"
+ "eventPhase,initEvent(),initTextEvent(),initUIEvent(),inputMethod,isTrusted,locale,preventDefault(),"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault(),returnValue,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault(),returnValue,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SCROLL_PAGE_DOWN,SCROLL_PAGE_UP,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
IE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,"
+ "defaultPrevented,"
+ "detail,DOM_INPUT_METHOD_DROP,DOM_INPUT_METHOD_HANDWRITING,DOM_INPUT_METHOD_IME,"
+ "DOM_INPUT_METHOD_KEYBOARD,DOM_INPUT_METHOD_MULTIMODAL,DOM_INPUT_METHOD_OPTION,"
+ "DOM_INPUT_METHOD_PASTE,DOM_INPUT_METHOD_SCRIPT,DOM_INPUT_METHOD_UNKNOWN,"
+ "DOM_INPUT_METHOD_VOICE,eventPhase,initEvent(),initUIEvent(),preventDefault(),srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
public void textEvent() throws Exception {
testString("", "document.createEvent('TextEvent')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.event.TouchEvent}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "changedTouches,composed,composedPath(),ctrlKey,currentTarget,defaultPrevented,detail,eventPhase,"
+ "initEvent(),initUIEvent(),isTrusted,metaKey,NONE,path,preventDefault(),returnValue,shiftKey,"
+ "sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),target,targetTouches,"
+ "timeStamp,touches,type,view,which",
EDGE = "altKey,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "changedTouches,composed,composedPath(),ctrlKey,currentTarget,defaultPrevented,detail,eventPhase,"
+ "initEvent(),initUIEvent(),isTrusted,metaKey,NONE,path,preventDefault(),returnValue,shiftKey,"
+ "sourceCapabilities,srcElement,stopImmediatePropagation(),stopPropagation(),target,targetTouches,"
+ "timeStamp,touches,type,view,which",
FF = "exception",
FF_ESR = "exception",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault(),"
+ "returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,detail,eventPhase,initEvent(),initUIEvent(),NONE,preventDefault(),"
+ "returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,view")
public void touchEvent() throws Exception {
testString("", "new TouchEvent('touch')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.html.HtmlSlot}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "assign(),assignedElements(),assignedNodes(),name",
EDGE = "assign(),assignedElements(),assignedNodes(),name",
FF = "assign(),assignedElements(),assignedNodes(),name",
FF_ESR = "assignedElements(),assignedNodes(),name",
IE = "-")
@HtmlUnitNYI(CHROME = "-",
EDGE = "-",
FF_ESR = "-",
FF = "-")
public void slot() throws Exception {
test("slot");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.html.HTMLDocument}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts("-")
@HtmlUnitNYI(CHROME = "open(),write(),writeln()",
EDGE = "open(),write(),writeln()",
FF_ESR = "close(),cookie,getElementsByName(),getSelection(),head,"
+ "open(),write(),writeln()",
FF = "close(),cookie,getElementsByName(),getSelection(),head,"
+ "open(),write(),writeln()",
IE = "getSelection(),open(),write(),writeln()")
public void htmlDocument() throws Exception {
testString("", "document, xmlDocument");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.dom.Document}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "activeElement,adoptedStyleSheets,adoptNode(),alinkColor,all,anchors,append(),applets,bgColor,"
+ "body,captureEvents(),caretRangeFromPoint(),characterSet,charset,childElementCount,children,"
+ "clear(),close(),compatMode,contentType,cookie,createAttribute(),createAttributeNS(),"
+ "createCDATASection(),createComment(),createDocumentFragment(),createElement(),createElementNS(),"
+ "createEvent(),createExpression(),createNodeIterator(),createNSResolver(),"
+ "createProcessingInstruction(),createRange(),createTextNode(),createTreeWalker(),currentScript,"
+ "defaultView,designMode,dir,doctype,documentElement,documentURI,domain,elementFromPoint(),"
+ "elementsFromPoint(),embeds,evaluate(),execCommand(),exitFullscreen(),exitPictureInPicture(),"
+ "exitPointerLock(),featurePolicy,fgColor,firstElementChild,fonts,forms,fragmentDirective,"
+ "fullscreen,fullscreenElement,fullscreenEnabled,getAnimations(),getElementById(),"
+ "getElementsByClassName(),getElementsByName(),getElementsByTagName(),getElementsByTagNameNS(),"
+ "getSelection(),hasFocus(),head,hidden,images,implementation,importNode(),inputEncoding,"
+ "lastElementChild,lastModified,linkColor,links,location,onabort,onanimationend,"
+ "onanimationiteration,onanimationstart,onauxclick,onbeforecopy,onbeforecut,onbeforepaste,"
+ "onbeforexrselect,onblur,"
+ "oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,"
+ "oncontextlost,oncontextmenu,oncontextrestored,oncopy,oncuechange,"
+ "oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,onformdata,onfreeze,onfullscreenchange,"
+ "onfullscreenerror,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,"
+ "onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,onmousedown,onmouseenter,"
+ "onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onpaste,onpause,onplay,"
+ "onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointerlockchange,"
+ "onpointerlockerror,onpointermove,onpointerout,onpointerover,onpointerrawupdate,onpointerup,"
+ "onprogress,onratechange,onreadystatechange,onreset,onresize,onresume,onscroll,onsearch,"
+ "onsecuritypolicyviolation,onseeked,onseeking,onselect,onselectionchange,onselectstart,onslotchange,"
+ "onstalled,"
+ "onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,"
+ "ontransitionstart,onvisibilitychange,onvolumechange,onwaiting,onwebkitanimationend,"
+ "onwebkitanimationiteration,onwebkitanimationstart,onwebkitfullscreenchange,"
+ "onwebkitfullscreenerror,onwebkittransitionend,onwheel,open(),pictureInPictureElement,"
+ "pictureInPictureEnabled,plugins,pointerLockElement,prepend(),queryCommandEnabled(),"
+ "queryCommandIndeterm(),queryCommandState(),queryCommandSupported(),queryCommandValue(),"
+ "querySelector(),querySelectorAll(),readyState,referrer,releaseEvents(),replaceChildren(),"
+ "rootElement,scripts,scrollingElement,styleSheets,timeline,title,URL,visibilityState,vlinkColor,"
+ "wasDiscarded,webkitCancelFullScreen(),webkitCurrentFullScreenElement,webkitExitFullscreen(),"
+ "webkitFullscreenElement,webkitFullscreenEnabled,webkitHidden,webkitIsFullScreen,"
+ "webkitVisibilityState,write(),writeln(),xmlEncoding,xmlStandalone,"
+ "xmlVersion",
EDGE = "activeElement,adoptedStyleSheets,adoptNode(),alinkColor,all,anchors,append(),applets,bgColor,"
+ "body,captureEvents(),caretRangeFromPoint(),characterSet,charset,childElementCount,children,"
+ "clear(),close(),compatMode,contentType,cookie,createAttribute(),createAttributeNS(),"
+ "createCDATASection(),createComment(),createDocumentFragment(),createElement(),createElementNS(),"
+ "createEvent(),createExpression(),createNodeIterator(),createNSResolver(),"
+ "createProcessingInstruction(),createRange(),createTextNode(),createTreeWalker(),currentScript,"
+ "defaultView,designMode,dir,doctype,documentElement,documentURI,domain,elementFromPoint(),"
+ "elementsFromPoint(),embeds,evaluate(),execCommand(),exitFullscreen(),exitPictureInPicture(),"
+ "exitPointerLock(),featurePolicy,fgColor,firstElementChild,fonts,forms,fragmentDirective,"
+ "fullscreen,fullscreenElement,fullscreenEnabled,getAnimations(),getElementById(),"
+ "getElementsByClassName(),getElementsByName(),getElementsByTagName(),getElementsByTagNameNS(),"
+ "getSelection(),hasFocus(),hasStorageAccess(),head,hidden,images,implementation,importNode(),"
+ "inputEncoding,lastElementChild,lastModified,linkColor,links,location,onabort,onanimationend,"
+ "onanimationiteration,onanimationstart,onauxclick,onbeforecopy,onbeforecut,onbeforepaste,"
+ "onbeforexrselect,onblur,"
+ "oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,"
+ "oncontextlost,oncontextmenu,oncontextrestored,oncopy,oncuechange,"
+ "oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,onformdata,onfreeze,onfullscreenchange,"
+ "onfullscreenerror,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,"
+ "onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,onmousedown,onmouseenter,"
+ "onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onpaste,onpause,onplay,"
+ "onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointerlockchange,"
+ "onpointerlockerror,onpointermove,onpointerout,onpointerover,onpointerrawupdate,onpointerup,"
+ "onprogress,onratechange,onreadystatechange,onreset,onresize,onresume,onscroll,onsearch,"
+ "onsecuritypolicyviolation,onseeked,onseeking,onselect,onselectionchange,onselectstart,onslotchange,"
+ "onstalled,"
+ "onsubmit,onsuspend,ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,"
+ "ontransitionstart,onvisibilitychange,onvolumechange,onwaiting,onwebkitanimationend,"
+ "onwebkitanimationiteration,onwebkitanimationstart,onwebkitfullscreenchange,"
+ "onwebkitfullscreenerror,onwebkittransitionend,onwheel,open(),pictureInPictureElement,"
+ "pictureInPictureEnabled,plugins,pointerLockElement,prepend(),queryCommandEnabled(),"
+ "queryCommandIndeterm(),queryCommandState(),queryCommandSupported(),queryCommandValue(),"
+ "querySelector(),querySelectorAll(),readyState,referrer,releaseEvents(),replaceChildren(),"
+ "requestStorageAccess(),rootElement,scripts,scrollingElement,styleSheets,timeline,title,URL,"
+ "visibilityState,vlinkColor,wasDiscarded,webkitCancelFullScreen(),webkitCurrentFullScreenElement,"
+ "webkitExitFullscreen(),webkitFullscreenElement,webkitFullscreenEnabled,webkitHidden,"
+ "webkitIsFullScreen,webkitVisibilityState,write(),writeln(),xmlEncoding,xmlStandalone,"
+ "xmlVersion",
FF = "activeElement,adoptNode(),alinkColor,all,anchors,append(),applets,bgColor,body,captureEvents(),"
+ "caretPositionFromPoint(),characterSet,charset,childElementCount,children,clear(),close(),"
+ "compatMode,contentType,cookie,createAttribute(),createAttributeNS(),createCDATASection(),"
+ "createComment(),createDocumentFragment(),createElement(),createElementNS(),createEvent(),"
+ "createExpression(),createNodeIterator(),createNSResolver(),createProcessingInstruction(),"
+ "createRange(),createTextNode(),createTreeWalker(),currentScript,defaultView,designMode,dir,"
+ "doctype,documentElement,documentURI,domain,elementFromPoint(),elementsFromPoint(),embeds,"
+ "enableStyleSheetsForSet(),evaluate(),execCommand(),exitFullscreen(),exitPointerLock(),fgColor,"
+ "firstElementChild,fonts,forms,fullscreen,fullscreenElement,fullscreenEnabled,getAnimations(),"
+ "getElementById(),"
+ "getElementsByClassName(),getElementsByName(),getElementsByTagName(),getElementsByTagNameNS(),"
+ "getSelection(),hasFocus(),hasStorageAccess(),head,hidden,images,implementation,importNode(),"
+ "inputEncoding,lastElementChild,lastModified,lastStyleSheetSet,linkColor,links,location,"
+ "mozCancelFullScreen(),mozFullScreen,mozFullScreenElement,mozFullScreenEnabled,"
+ "mozSetImageElement(),onabort,onafterscriptexecute,onanimationcancel,onanimationend,"
+ "onanimationiteration,onanimationstart,onauxclick,onbeforeinput,"
+ "onbeforescriptexecute,onblur,oncanplay,"
+ "oncanplaythrough,onchange,onclick,onclose,oncontextmenu,oncopy,oncuechange,oncut,ondblclick,"
+ "ondrag,ondragend,ondragenter,ondragexit,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,onformdata,onfullscreenchange,"
+ "onfullscreenerror,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,"
+ "onload,onloadeddata,onloadedmetadata,onloadend,onloadstart,onlostpointercapture,"
+ "onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,"
+ "onmozfullscreenchange,onmozfullscreenerror,onpaste,onpause,onplay,onplaying,"
+ "onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointerlockchange,"
+ "onpointerlockerror,onpointermove,onpointerout,onpointerover,onpointerup,onprogress,"
+ "onratechange,onreadystatechange,onreset,onresize,onscroll,"
+ "onsecuritypolicyviolation,onseeked,onseeking,onselect,"
+ "onselectionchange,onselectstart,onslotchange,onstalled,onsubmit,onsuspend,ontimeupdate,"
+ "ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,"
+ "onvisibilitychange,onvolumechange,onwaiting,onwebkitanimationend,onwebkitanimationiteration,"
+ "onwebkitanimationstart,onwebkittransitionend,onwheel,open(),plugins,pointerLockElement,"
+ "preferredStyleSheetSet,prepend(),queryCommandEnabled(),queryCommandIndeterm(),"
+ "queryCommandState(),queryCommandSupported(),queryCommandValue(),querySelector(),"
+ "querySelectorAll(),readyState,referrer,releaseCapture(),releaseEvents(),replaceChildren(),"
+ "requestStorageAccess(),"
+ "rootElement,scripts,scrollingElement,selectedStyleSheetSet,styleSheets,styleSheetSets,"
+ "timeline,title,URL,visibilityState,vlinkColor,write(),writeln()",
FF_ESR = "activeElement,adoptNode(),alinkColor,all,anchors,append(),applets,bgColor,body,captureEvents(),"
+ "caretPositionFromPoint(),characterSet,charset,childElementCount,children,clear(),close(),"
+ "compatMode,contentType,cookie,createAttribute(),createAttributeNS(),createCDATASection(),"
+ "createComment(),createDocumentFragment(),createElement(),createElementNS(),createEvent(),"
+ "createExpression(),createNodeIterator(),createNSResolver(),createProcessingInstruction(),"
+ "createRange(),createTextNode(),createTreeWalker(),currentScript,defaultView,designMode,dir,"
+ "doctype,documentElement,documentURI,domain,elementFromPoint(),elementsFromPoint(),embeds,"
+ "enableStyleSheetsForSet(),evaluate(),execCommand(),exitFullscreen(),exitPointerLock(),fgColor,"
+ "firstElementChild,fonts,forms,fullscreen,fullscreenElement,fullscreenEnabled,getAnimations(),"
+ "getElementById(),"
+ "getElementsByClassName(),getElementsByName(),getElementsByTagName(),getElementsByTagNameNS(),"
+ "getSelection(),hasFocus(),hasStorageAccess(),head,hidden,images,implementation,importNode(),"
+ "inputEncoding,lastElementChild,lastModified,lastStyleSheetSet,linkColor,links,location,"
+ "mozCancelFullScreen(),mozFullScreen,mozFullScreenElement,mozFullScreenEnabled,"
+ "mozSetImageElement(),onabort,onafterscriptexecute,onanimationcancel,onanimationend,"
+ "onanimationiteration,onanimationstart,onauxclick,onbeforeinput,"
+ "onbeforescriptexecute,onblur,oncanplay,"
+ "oncanplaythrough,onchange,onclick,onclose,oncontextmenu,oncopy,oncuechange,oncut,ondblclick,"
+ "ondrag,ondragend,ondragenter,ondragexit,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,onformdata,onfullscreenchange,"
+ "onfullscreenerror,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,"
+ "onload,onloadeddata,onloadedmetadata,onloadend,onloadstart,onlostpointercapture,"
+ "onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,"
+ "onmozfullscreenchange,onmozfullscreenerror,onpaste,onpause,onplay,onplaying,"
+ "onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointerlockchange,"
+ "onpointerlockerror,onpointermove,onpointerout,onpointerover,onpointerup,onprogress,"
+ "onratechange,onreadystatechange,onreset,onresize,onscroll,"
+ "onseeked,onseeking,onselect,"
+ "onselectionchange,onselectstart,onstalled,onsubmit,onsuspend,ontimeupdate,"
+ "ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,"
+ "onvisibilitychange,onvolumechange,onwaiting,onwebkitanimationend,onwebkitanimationiteration,"
+ "onwebkitanimationstart,onwebkittransitionend,onwheel,open(),plugins,pointerLockElement,"
+ "preferredStyleSheetSet,prepend(),queryCommandEnabled(),queryCommandIndeterm(),"
+ "queryCommandState(),queryCommandSupported(),queryCommandValue(),querySelector(),"
+ "querySelectorAll(),readyState,referrer,releaseCapture(),releaseEvents(),replaceChildren(),"
+ "requestStorageAccess(),"
+ "rootElement,scripts,scrollingElement,selectedStyleSheetSet,styleSheets,styleSheetSets,"
+ "timeline,title,URL,visibilityState,vlinkColor,write(),writeln()",
IE = "activeElement,adoptNode(),alinkColor,all,anchors,applets,bgColor,body,captureEvents(),characterSet,"
+ "charset,clear(),close(),compatible,compatMode,cookie,createAttribute(),createAttributeNS(),"
+ "createCDATASection(),createComment(),createDocumentFragment(),createElement(),createElementNS(),"
+ "createEvent(),createNodeIterator(),createProcessingInstruction(),createRange(),createTextNode(),"
+ "createTreeWalker(),defaultCharset,defaultView,designMode,dir,doctype,documentElement,documentMode,"
+ "domain,elementFromPoint(),embeds,execCommand(),execCommandShowHelp(),fgColor,fileCreatedDate,"
+ "fileModifiedDate,fileUpdatedDate,focus(),forms,frames,getElementById(),getElementsByClassName(),"
+ "getElementsByName(),getElementsByTagName(),getElementsByTagNameNS(),getSelection(),hasFocus(),head,"
+ "hidden,images,implementation,importNode(),inputEncoding,lastModified,linkColor,links,location,media,"
+ "mimeType,msCapsLockWarningOff,msCSSOMElementFloatMetrics,msElementsFromPoint(),msElementsFromRect(),"
+ "msExitFullscreen(),msFullscreenElement,msFullscreenEnabled,msHidden,msVisibilityState,nameProp,"
+ "onabort,onactivate,onbeforeactivate,onbeforedeactivate,onblur,oncanplay,oncanplaythrough,onchange,"
+ "onclick,oncontextmenu,ondblclick,ondeactivate,ondrag,ondragend,ondragenter,ondragleave,ondragover,"
+ "ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onfocusin,onfocusout,onhelp,"
+ "oninput,onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,onmousedown,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onmscontentzoom,onmsfullscreenchange,"
+ "onmsfullscreenerror,onmsgesturechange,onmsgesturedoubletap,onmsgestureend,onmsgesturehold,"
+ "onmsgesturestart,onmsgesturetap,onmsinertiastart,onmsmanipulationstatechanged,onmspointercancel,"
+ "onmspointerdown,onmspointerenter,onmspointerleave,onmspointermove,onmspointerout,onmspointerover,"
+ "onmspointerup,onmssitemodejumplistitemremoved,onmsthumbnailclick,onpause,onplay,onplaying,"
+ "onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,"
+ "onpointerout,"
+ "onpointerover,onpointerup,onprogress,onratechange,onreadystatechange,onreset,onscroll,onseeked,"
+ "onseeking,onselect,onselectionchange,onselectstart,onstalled,onstop,onstoragecommit,onsubmit,"
+ "onsuspend,ontimeupdate,onvolumechange,onwaiting,open(),parentWindow,plugins,protocol,"
+ "queryCommandEnabled(),queryCommandIndeterm(),queryCommandState(),queryCommandSupported(),"
+ "queryCommandText(),queryCommandValue(),querySelector(),querySelectorAll(),readyState,referrer,"
+ "releaseCapture(),releaseEvents(),rootElement,scripts,security,styleSheets,title,uniqueID,"
+ "updateSettings(),URL,URLUnencoded,visibilityState,vlinkColor,write(),writeln(),xmlEncoding,"
+ "xmlStandalone,xmlVersion")
@HtmlUnitNYI(CHROME = "activeElement,adoptNode(),alinkColor,all,anchors,applets,bgColor,body,"
+ "captureEvents(),characterSet,charset,childElementCount,"
+ "children,clear(),close(),compatMode,contentType,cookie,createAttribute(),createCDATASection(),"
+ "createComment(),createDocumentFragment(),createElement(),createElementNS(),createEvent(),"
+ "createNodeIterator(),createNSResolver(),createProcessingInstruction(),createRange(),"
+ "createTextNode(),createTreeWalker(),currentScript,defaultView,designMode,doctype,"
+ "documentElement,documentURI,domain,elementFromPoint(),embeds,evaluate(),execCommand(),"
+ "fgColor,firstElementChild,fonts,forms,getElementById(),getElementsByClassName(),getElementsByName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),getSelection(),hasFocus(),head,hidden,images,"
+ "implementation,importNode(),inputEncoding,lastElementChild,lastModified,linkColor,links,location,"
+ "onabort,onauxclick,onbeforecopy,onbeforecut,onbeforepaste,onblur,oncancel,oncanplay,"
+ "oncanplaythrough,onchange,onclick,onclose,oncontextmenu,oncopy,oncuechange,oncut,ondblclick,"
+ "ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,"
+ "onemptied,onended,onerror,onfocus,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,"
+ "onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,onmousedown,"
+ "onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onpaste,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,"
+ "onpointerlockchange,onpointerlockerror,onpointermove,onpointerout,onpointerover,onpointerup,"
+ "onprogress,onratechange,onreadystatechange,onreset,onresize,onscroll,onsearch,onseeked,"
+ "onseeking,onselect,onselectionchange,onselectstart,onstalled,onsubmit,"
+ "onsuspend,ontimeupdate,ontoggle,onvolumechange,onwaiting,"
+ "onwebkitfullscreenchange,onwebkitfullscreenerror,onwheel,"
+ "plugins,queryCommandEnabled(),queryCommandSupported(),"
+ "querySelector(),querySelectorAll(),readyState,referrer,releaseEvents(),rootElement,"
+ "scripts,styleSheets,title,URL,vlinkColor,xmlEncoding,xmlStandalone,xmlVersion",
EDGE = "activeElement,adoptNode(),alinkColor,all,anchors,applets,bgColor,body,"
+ "captureEvents(),characterSet,charset,childElementCount,"
+ "children,clear(),close(),compatMode,contentType,cookie,createAttribute(),createCDATASection(),"
+ "createComment(),createDocumentFragment(),createElement(),createElementNS(),createEvent(),"
+ "createNodeIterator(),createNSResolver(),createProcessingInstruction(),createRange(),"
+ "createTextNode(),createTreeWalker(),currentScript,defaultView,designMode,doctype,"
+ "documentElement,documentURI,domain,elementFromPoint(),embeds,evaluate(),execCommand(),"
+ "fgColor,firstElementChild,fonts,forms,getElementById(),getElementsByClassName(),getElementsByName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),getSelection(),hasFocus(),"
+ "head,hidden,images,"
+ "implementation,importNode(),inputEncoding,lastElementChild,lastModified,linkColor,links,location,"
+ "onabort,onauxclick,onbeforecopy,onbeforecut,onbeforepaste,onblur,oncancel,oncanplay,"
+ "oncanplaythrough,onchange,onclick,onclose,oncontextmenu,oncopy,oncuechange,oncut,ondblclick,"
+ "ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,ondurationchange,"
+ "onemptied,onended,onerror,onfocus,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,"
+ "onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,onlostpointercapture,onmousedown,"
+ "onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onpaste,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,"
+ "onpointerlockchange,onpointerlockerror,onpointermove,onpointerout,onpointerover,onpointerup,"
+ "onprogress,onratechange,onreadystatechange,onreset,onresize,onscroll,onsearch,onseeked,"
+ "onseeking,onselect,onselectionchange,onselectstart,onstalled,onsubmit,"
+ "onsuspend,ontimeupdate,ontoggle,onvolumechange,onwaiting,onwebkitfullscreenchange,"
+ "onwebkitfullscreenerror,onwheel,"
+ "plugins,queryCommandEnabled(),queryCommandSupported(),"
+ "querySelector(),querySelectorAll(),readyState,referrer,releaseEvents(),rootElement,"
+ "scripts,styleSheets,title,URL,vlinkColor,xmlEncoding,xmlStandalone,xmlVersion",
FF_ESR = "activeElement,adoptNode(),alinkColor,all,anchors,applets,bgColor,body,"
+ "captureEvents(),characterSet,charset,childElementCount,children,clear(),compatMode,"
+ "contentType,createAttribute(),createCDATASection(),createComment(),createDocumentFragment(),"
+ "createElement(),createElementNS(),createEvent(),createNodeIterator(),createNSResolver(),"
+ "createProcessingInstruction(),createRange(),createTextNode(),createTreeWalker(),"
+ "currentScript,defaultView,designMode,doctype,documentElement,documentURI,domain,elementFromPoint(),"
+ "embeds,evaluate(),execCommand(),fgColor,firstElementChild,fonts,forms,"
+ "getElementById(),getElementsByClassName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),hasFocus(),hidden,images,implementation,"
+ "importNode(),inputEncoding,lastElementChild,lastModified,linkColor,links,location,onabort,"
+ "onafterscriptexecute,onbeforescriptexecute,onblur,oncanplay,oncanplaythrough,onchange,"
+ "onclick,oncontextmenu,oncopy,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,"
+ "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,oninput,"
+ "oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,"
+ "onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,"
+ "onmozfullscreenchange,onmozfullscreenerror,onpaste,onpause,onplay,onplaying,onprogress,"
+ "onratechange,onreadystatechange,onreset,onresize,onscroll,onseeked,onseeking,onselect,"
+ "onstalled,onsubmit,onsuspend,ontimeupdate,onvolumechange,onwaiting,onwheel,"
+ "plugins,queryCommandEnabled(),queryCommandSupported(),"
+ "querySelector(),querySelectorAll(),readyState,referrer,releaseCapture(),releaseEvents(),rootElement,"
+ "scripts,styleSheets,title,URL,vlinkColor",
FF = "activeElement,adoptNode(),alinkColor,all,anchors,applets,bgColor,body,"
+ "captureEvents(),characterSet,charset,childElementCount,children,clear(),compatMode,"
+ "contentType,createAttribute(),createCDATASection(),createComment(),createDocumentFragment(),"
+ "createElement(),createElementNS(),createEvent(),createNodeIterator(),createNSResolver(),"
+ "createProcessingInstruction(),createRange(),createTextNode(),createTreeWalker(),"
+ "currentScript,defaultView,designMode,doctype,documentElement,documentURI,domain,elementFromPoint(),"
+ "embeds,evaluate(),execCommand(),fgColor,firstElementChild,fonts,forms,"
+ "getElementById(),getElementsByClassName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),hasFocus(),hidden,images,implementation,"
+ "importNode(),inputEncoding,lastElementChild,lastModified,linkColor,links,location,onabort,"
+ "onafterscriptexecute,onbeforescriptexecute,onblur,oncanplay,oncanplaythrough,onchange,"
+ "onclick,oncontextmenu,oncopy,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,"
+ "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,oninput,"
+ "oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,"
+ "onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,onmouseup,"
+ "onmozfullscreenchange,onmozfullscreenerror,onpaste,onpause,onplay,onplaying,onprogress,"
+ "onratechange,onreadystatechange,onreset,onresize,onscroll,onseeked,onseeking,onselect,"
+ "onstalled,onsubmit,onsuspend,ontimeupdate,onvolumechange,onwaiting,onwheel,"
+ "plugins,queryCommandEnabled(),queryCommandSupported(),"
+ "querySelector(),querySelectorAll(),readyState,referrer,releaseCapture(),releaseEvents(),rootElement,"
+ "scripts,styleSheets,title,URL,vlinkColor",
IE = "activeElement,adoptNode(),alinkColor,all,anchors,applets,bgColor,body,captureEvents(),characterSet,"
+ "charset,clear(),close(),compatMode,cookie,createAttribute(),createCDATASection(),createComment(),"
+ "createDocumentFragment(),createElement(),createElementNS(),createEvent(),createNodeIterator(),"
+ "createProcessingInstruction(),createRange(),createTextNode(),createTreeWalker(),defaultCharset,"
+ "defaultView,designMode,doctype,documentElement,documentMode,domain,elementFromPoint(),embeds,"
+ "execCommand(),fgColor,forms,frames,getElementById(),getElementsByClassName(),getElementsByName(),"
+ "getElementsByTagName(),getElementsByTagNameNS(),hasFocus(),head,hidden,images,implementation,"
+ "importNode(),inputEncoding,lastModified,linkColor,links,location,onabort,onactivate,"
+ "onbeforeactivate,onbeforedeactivate,onblur,oncanplay,oncanplaythrough,onchange,onclick,"
+ "oncontextmenu,ondblclick,ondeactivate,ondrag,ondragend,ondragenter,ondragleave,ondragover,"
+ "ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onfocusin,onfocusout,"
+ "onhelp,oninput,onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,"
+ "onmousedown,onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onmscontentzoom,"
+ "onmsfullscreenchange,onmsfullscreenerror,onmsgesturechange,onmsgesturedoubletap,onmsgestureend,"
+ "onmsgesturehold,onmsgesturestart,onmsgesturetap,onmsinertiastart,onmsmanipulationstatechanged,"
+ "onmspointercancel,onmspointerdown,onmspointerenter,onmspointerleave,onmspointermove,"
+ "onmspointerout,onmspointerover,onmspointerup,onmssitemodejumplistitemremoved,onmsthumbnailclick,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,"
+ "onpointermove,onpointerout,onpointerover,onpointerup,onprogress,onratechange,onreadystatechange,"
+ "onreset,onscroll,onseeked,onseeking,onselect,onselectionchange,onselectstart,onstalled,"
+ "onstop,onstoragecommit,onsubmit,onsuspend,ontimeupdate,"
+ "onvolumechange,onwaiting,parentWindow,plugins,"
+ "queryCommandEnabled(),queryCommandSupported(),querySelector(),querySelectorAll(),readyState,"
+ "referrer,releaseCapture(),releaseEvents(),rootElement,scripts,styleSheets,title,uniqueID,URL,"
+ "URLUnencoded,vlinkColor,xmlEncoding,xmlStandalone,xmlVersion")
public void document() throws Exception {
testString("", "xmlDocument, document.createTextNode('some text')");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "autofocus,blur(),dataset,focus(),nonce,onabort,onanimationend,onanimationiteration,"
+ "onanimationstart,onauxclick,onbeforexrselect,"
+ "onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,"
+ "oncontextlost,oncontextmenu,oncontextrestored,"
+ "oncopy,oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,"
+ "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,"
+ "ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,"
+ "onloadedmetadata,onloadstart,onlostpointercapture,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onpaste,onpause,onplay,onplaying,"
+ "onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,"
+ "onpointerover,onpointerrawupdate,onpointerup,onprogress,onratechange,onreset,onresize,onscroll,"
+ "onsecuritypolicyviolation,onseeked,onseeking,onselect,"
+ "onselectionchange,onselectstart,onslotchange,onstalled,onsubmit,onsuspend,"
+ "ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,"
+ "onvolumechange,onwaiting,onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart,"
+ "onwebkittransitionend,onwheel,ownerSVGElement,style,tabIndex,"
+ "viewportElement",
EDGE = "autofocus,blur(),dataset,focus(),nonce,onabort,onanimationend,onanimationiteration,"
+ "onanimationstart,onauxclick,onbeforexrselect,"
+ "onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,"
+ "oncontextlost,oncontextmenu,oncontextrestored,"
+ "oncopy,oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragleave,"
+ "ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,onformdata,"
+ "ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,"
+ "onloadedmetadata,onloadstart,onlostpointercapture,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmousewheel,onpaste,onpause,onplay,onplaying,"
+ "onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,onpointerout,"
+ "onpointerover,onpointerrawupdate,onpointerup,onprogress,onratechange,onreset,onresize,onscroll,"
+ "onsecuritypolicyviolation,onseeked,onseeking,onselect,"
+ "onselectionchange,onselectstart,onslotchange,onstalled,onsubmit,onsuspend,"
+ "ontimeupdate,ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,"
+ "onvolumechange,onwaiting,onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart,"
+ "onwebkittransitionend,onwheel,ownerSVGElement,style,tabIndex,"
+ "viewportElement",
FF = "blur(),dataset,focus(),nonce,onabort,onanimationcancel,onanimationend,onanimationiteration,"
+ "onanimationstart,onauxclick,onbeforeinput,onblur,oncanplay,oncanplaythrough,"
+ "onchange,onclick,onclose,"
+ "oncontextmenu,oncopy,oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragexit,"
+ "ondragleave,ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,"
+ "onformdata,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,"
+ "onloadedmetadata,onloadend,onloadstart,onlostpointercapture,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmozfullscreenchange,onmozfullscreenerror,onpaste,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,"
+ "onpointerout,onpointerover,onpointerup,onprogress,onratechange,onreset,onresize,onscroll,"
+ "onsecuritypolicyviolation,onseeked,onseeking,onselect,onselectionchange,"
+ "onselectstart,onslotchange,onstalled,onsubmit,onsuspend,ontimeupdate,"
+ "ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,onvolumechange,"
+ "onwaiting,onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart,"
+ "onwebkittransitionend,onwheel,ownerSVGElement,style,tabIndex,viewportElement",
FF_ESR = "blur(),dataset,focus(),nonce,onabort,onanimationcancel,onanimationend,onanimationiteration,"
+ "onanimationstart,onauxclick,onbeforeinput,onblur,oncanplay,oncanplaythrough,"
+ "onchange,onclick,onclose,"
+ "oncontextmenu,oncopy,oncuechange,oncut,ondblclick,ondrag,ondragend,ondragenter,ondragexit,"
+ "ondragleave,ondragover,ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,"
+ "onformdata,ongotpointercapture,oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,"
+ "onloadedmetadata,onloadend,onloadstart,onlostpointercapture,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmozfullscreenchange,onmozfullscreenerror,onpaste,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,onpointerleave,onpointermove,"
+ "onpointerout,onpointerover,onpointerup,onprogress,onratechange,onreset,onresize,onscroll,"
+ "onseeked,onseeking,onselect,"
+ "onselectstart,onstalled,onsubmit,onsuspend,ontimeupdate,"
+ "ontoggle,ontransitioncancel,ontransitionend,ontransitionrun,ontransitionstart,onvolumechange,"
+ "onwaiting,onwebkitanimationend,onwebkitanimationiteration,onwebkitanimationstart,"
+ "onwebkittransitionend,onwheel,ownerSVGElement,style,tabIndex,viewportElement",
IE = "-")
@HtmlUnitNYI(CHROME = "onabort,onauxclick,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,"
+ "oncontextmenu,oncopy,oncuechange,oncut,"
+ "ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,"
+ "ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,ongotpointercapture,"
+ "oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,"
+ "onlostpointercapture,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,"
+ "onmouseup,onmousewheel,onpaste,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,"
+ "onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,onprogress,onratechange,"
+ "onreset,onresize,onscroll,onseeked,onseeking,onselect,onstalled,onsubmit,onsuspend,"
+ "ontimeupdate,ontoggle,onvolumechange,onwaiting,onwheel,style",
EDGE = "onabort,onauxclick,onblur,oncancel,oncanplay,oncanplaythrough,onchange,onclick,onclose,"
+ "oncontextmenu,oncopy,oncuechange,oncut,"
+ "ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,"
+ "ondragstart,ondrop,ondurationchange,onemptied,onended,onerror,onfocus,ongotpointercapture,"
+ "oninput,oninvalid,onkeydown,onkeypress,onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,"
+ "onlostpointercapture,onmousedown,onmouseenter,onmouseleave,onmousemove,onmouseout,onmouseover,"
+ "onmouseup,onmousewheel,onpaste,"
+ "onpause,onplay,onplaying,onpointercancel,onpointerdown,onpointerenter,"
+ "onpointerleave,onpointermove,onpointerout,onpointerover,onpointerup,onprogress,onratechange,"
+ "onreset,onresize,onscroll,onseeked,onseeking,onselect,onstalled,onsubmit,onsuspend,"
+ "ontimeupdate,ontoggle,onvolumechange,onwaiting,onwheel,style",
FF_ESR = "onabort,onblur,oncanplay,oncanplaythrough,onchange,onclick,oncontextmenu,oncopy,oncut,"
+ "ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,oninput,oninvalid,onkeydown,onkeypress,"
+ "onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmozfullscreenchange,onmozfullscreenerror,onpaste,"
+ "onpause,onplay,onplaying,onprogress,onratechange,onreset,onresize,onscroll,onseeked,onseeking,"
+ "onselect,onstalled,onsubmit,onsuspend,ontimeupdate,onvolumechange,onwaiting,style",
FF = "onabort,onblur,oncanplay,oncanplaythrough,onchange,onclick,oncontextmenu,oncopy,oncut,"
+ "ondblclick,ondrag,ondragend,ondragenter,ondragleave,ondragover,ondragstart,ondrop,"
+ "ondurationchange,onemptied,onended,onerror,onfocus,oninput,oninvalid,onkeydown,onkeypress,"
+ "onkeyup,onload,onloadeddata,onloadedmetadata,onloadstart,onmousedown,onmouseenter,onmouseleave,"
+ "onmousemove,onmouseout,onmouseover,onmouseup,onmozfullscreenchange,onmozfullscreenerror,onpaste,"
+ "onpause,onplay,onplaying,onprogress,onratechange,onreset,onresize,onscroll,onseeked,onseeking,"
+ "onselect,onstalled,onsubmit,onsuspend,ontimeupdate,onvolumechange,onwaiting,style")
public void svgElement() throws Exception {
testString("", "svg, element");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childNodes,cloneNode(),COMMENT_NODE,"
+ "compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,getRootNode(),"
+ "hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode(),isSameNode(),"
+ "lastChild,localName,lookupNamespaceURI(),lookupPrefix(),name,namespaceURI,nextSibling,nodeName,"
+ "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,parentElement,parentNode,"
+ "prefix,previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),replaceChild(),specified,TEXT_NODE,"
+ "textContent,value",
EDGE = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childNodes,cloneNode(),COMMENT_NODE,"
+ "compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,getRootNode(),"
+ "hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode(),isSameNode(),"
+ "lastChild,localName,lookupNamespaceURI(),lookupPrefix(),name,namespaceURI,nextSibling,nodeName,"
+ "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,parentElement,parentNode,"
+ "prefix,previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),replaceChild(),specified,TEXT_NODE,"
+ "textContent,value",
FF = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childNodes,cloneNode(),COMMENT_NODE,"
+ "compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,getRootNode(),"
+ "hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode(),isSameNode(),"
+ "lastChild,localName,lookupNamespaceURI(),lookupPrefix(),name,namespaceURI,nextSibling,nodeName,"
+ "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,parentElement,parentNode,"
+ "prefix,previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),replaceChild(),specified,"
+ "TEXT_NODE,textContent,value",
FF_ESR = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childNodes,cloneNode(),COMMENT_NODE,"
+ "compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,getRootNode(),"
+ "hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode(),isSameNode(),"
+ "lastChild,localName,lookupNamespaceURI(),lookupPrefix(),name,namespaceURI,nextSibling,nodeName,"
+ "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,parentElement,"
+ "parentNode,prefix,previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),"
+ "replaceChild(),specified,TEXT_NODE,textContent,value",
IE = "addEventListener(),appendChild(),ATTRIBUTE_NODE,attributes,CDATA_SECTION_NODE,childNodes,cloneNode(),"
+ "COMMENT_NODE,compareDocumentPosition(),dispatchEvent(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,expando,firstChild,"
+ "hasAttributes(),hasChildNodes(),insertBefore(),isDefaultNamespace(),isEqualNode(),isSameNode(),"
+ "isSupported(),lastChild,localName,lookupNamespaceURI(),lookupPrefix(),name,namespaceURI,nextSibling,"
+ "nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,parentNode,prefix,"
+ "previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),removeEventListener(),replaceChild(),"
+ "specified,TEXT_NODE,textContent,value")
@HtmlUnitNYI(CHROME = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childNodes,cloneNode(),COMMENT_NODE,"
+ "compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,"
+ "getRootNode(),hasChildNodes(),"
+ "insertBefore(),isSameNode(),lastChild,localName,name,namespaceURI,nextSibling,nodeName,nodeType,"
+ "nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,parentElement,parentNode,prefix,"
+ "previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),replaceChild(),specified,TEXT_NODE,"
+ "textContent,value",
EDGE = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childNodes,cloneNode(),COMMENT_NODE,"
+ "compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,"
+ "getRootNode(),hasChildNodes(),"
+ "insertBefore(),isSameNode(),lastChild,localName,name,namespaceURI,nextSibling,nodeName,nodeType,"
+ "nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,parentElement,parentNode,prefix,"
+ "previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),replaceChild(),specified,TEXT_NODE,"
+ "textContent,value",
FF_ESR = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childNodes,cloneNode(),COMMENT_NODE,"
+ "compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,"
+ "DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,"
+ "firstChild,getRootNode(),"
+ "hasChildNodes(),insertBefore(),isSameNode(),lastChild,localName,name,namespaceURI,"
+ "nextSibling,nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,"
+ "parentElement,parentNode,prefix,previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),"
+ "replaceChild(),specified,TEXT_NODE,textContent,value",
FF = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childNodes,cloneNode(),COMMENT_NODE,"
+ "compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,"
+ "DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,"
+ "firstChild,getRootNode(),"
+ "hasChildNodes(),insertBefore(),isSameNode(),lastChild,localName,name,namespaceURI,"
+ "nextSibling,nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,"
+ "parentElement,parentNode,prefix,previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),"
+ "replaceChild(),specified,TEXT_NODE,textContent,value",
IE = "addEventListener(),appendChild(),ATTRIBUTE_NODE,attributes,CDATA_SECTION_NODE,childNodes,"
+ "cloneNode(),COMMENT_NODE,compareDocumentPosition(),dispatchEvent(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,"
+ "ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,expando,firstChild,hasAttributes(),"
+ "hasChildNodes(),insertBefore(),isSameNode(),lastChild,localName,name,namespaceURI,nextSibling,"
+ "nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,ownerElement,parentNode,"
+ "prefix,previousSibling,PROCESSING_INSTRUCTION_NODE,removeChild(),removeEventListener(),"
+ "replaceChild(),specified,TEXT_NODE,textContent,value")
public void nodeAndAttr() throws Exception {
testString("", "document.createAttribute('some_attrib'), window.performance");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(DEFAULT = "cloneContents(),cloneRange(),collapse(),collapsed,commonAncestorContainer,"
+ "compareBoundaryPoints(),comparePoint(),createContextualFragment(),deleteContents(),detach(),"
+ "END_TO_END,END_TO_START,endContainer,endOffset,expand(),extractContents(),getBoundingClientRect(),"
+ "getClientRects(),insertNode(),intersectsNode(),isPointInRange(),selectNode(),selectNodeContents(),"
+ "setEnd(),setEndAfter(),setEndBefore(),setStart(),setStartAfter(),setStartBefore(),START_TO_END,"
+ "START_TO_START,startContainer,startOffset,surroundContents()",
IE = "cloneContents(),cloneRange(),collapse(),collapsed,commonAncestorContainer,compareBoundaryPoints(),"
+ "createContextualFragment(),deleteContents(),detach(),END_TO_END,END_TO_START,endContainer,endOffset,"
+ "extractContents(),getBoundingClientRect(),getClientRects(),insertNode(),selectNode(),"
+ "selectNodeContents(),setEnd(),setEndAfter(),setEndBefore(),setStart(),setStartAfter(),"
+ "setStartBefore(),START_TO_END,START_TO_START,startContainer,startOffset,surroundContents()",
FF_ESR = "cloneContents(),cloneRange(),collapse(),collapsed,commonAncestorContainer,"
+ "compareBoundaryPoints(),comparePoint(),createContextualFragment(),deleteContents(),detach(),"
+ "END_TO_END,END_TO_START,endContainer,endOffset,extractContents(),getBoundingClientRect(),"
+ "getClientRects(),insertNode(),intersectsNode(),isPointInRange(),selectNode(),selectNodeContents(),"
+ "setEnd(),setEndAfter(),setEndBefore(),setStart(),setStartAfter(),setStartBefore(),START_TO_END,"
+ "START_TO_START,startContainer,startOffset,surroundContents()",
FF = "cloneContents(),cloneRange(),collapse(),collapsed,commonAncestorContainer,compareBoundaryPoints(),"
+ "comparePoint(),createContextualFragment(),deleteContents(),detach(),END_TO_END,END_TO_START,"
+ "endContainer,endOffset,extractContents(),getBoundingClientRect(),getClientRects(),insertNode(),"
+ "intersectsNode(),isPointInRange(),selectNode(),selectNodeContents(),setEnd(),setEndAfter(),"
+ "setEndBefore(),setStart(),setStartAfter(),setStartBefore(),START_TO_END,START_TO_START,"
+ "startContainer,startOffset,surroundContents()")
@HtmlUnitNYI(CHROME = "cloneContents(),cloneRange(),collapse(),collapsed,commonAncestorContainer,"
+ "compareBoundaryPoints(),createContextualFragment(),deleteContents(),detach(),END_TO_END,"
+ "END_TO_START,endContainer,endOffset,extractContents(),getBoundingClientRect(),getClientRects(),"
+ "insertNode(),selectNode(),selectNodeContents(),setEnd(),setEndAfter(),setEndBefore(),setStart(),"
+ "setStartAfter(),setStartBefore(),START_TO_END,START_TO_START,startContainer,startOffset,"
+ "surroundContents()",
EDGE = "cloneContents(),cloneRange(),collapse(),collapsed,commonAncestorContainer,"
+ "compareBoundaryPoints(),createContextualFragment(),deleteContents(),detach(),END_TO_END,"
+ "END_TO_START,endContainer,endOffset,extractContents(),getBoundingClientRect(),getClientRects(),"
+ "insertNode(),selectNode(),selectNodeContents(),setEnd(),setEndAfter(),setEndBefore(),setStart(),"
+ "setStartAfter(),setStartBefore(),START_TO_END,START_TO_START,startContainer,startOffset,"
+ "surroundContents()",
FF_ESR = "cloneContents(),cloneRange(),collapse(),collapsed,commonAncestorContainer,"
+ "compareBoundaryPoints(),"
+ "createContextualFragment(),deleteContents(),detach(),END_TO_END,END_TO_START,endContainer,"
+ "endOffset,extractContents(),getBoundingClientRect(),getClientRects(),insertNode(),selectNode(),"
+ "selectNodeContents(),setEnd(),setEndAfter(),setEndBefore(),setStart(),setStartAfter(),"
+ "setStartBefore(),START_TO_END,START_TO_START,startContainer,startOffset,surroundContents()",
FF = "cloneContents(),cloneRange(),collapse(),collapsed,commonAncestorContainer,compareBoundaryPoints(),"
+ "createContextualFragment(),deleteContents(),detach(),END_TO_END,END_TO_START,endContainer,"
+ "endOffset,extractContents(),getBoundingClientRect(),getClientRects(),insertNode(),selectNode(),"
+ "selectNodeContents(),setEnd(),setEndAfter(),setEndBefore(),setStart(),setStartAfter(),"
+ "setStartBefore(),START_TO_END,START_TO_START,startContainer,startOffset,surroundContents()")
public void range() throws Exception {
testString("", "document.createRange(), window.performance");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "append(),appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childElementCount,childNodes,"
+ "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,"
+ "ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,firstElementChild,getElementById(),"
+ "getRootNode(),hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode(),"
+ "isSameNode(),lastChild,lastElementChild,lookupNamespaceURI(),lookupPrefix(),nextSibling,nodeName,"
+ "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,parentElement,parentNode,prepend(),"
+ "previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),querySelectorAll(),removeChild(),"
+ "replaceChild(),replaceChildren(),TEXT_NODE,textContent",
EDGE = "append(),appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childElementCount,childNodes,"
+ "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,"
+ "ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,firstElementChild,getElementById(),"
+ "getRootNode(),hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode(),"
+ "isSameNode(),lastChild,lastElementChild,lookupNamespaceURI(),lookupPrefix(),nextSibling,nodeName,"
+ "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,parentElement,parentNode,prepend(),"
+ "previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),querySelectorAll(),removeChild(),"
+ "replaceChild(),replaceChildren(),TEXT_NODE,textContent",
FF = "append(),appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childElementCount,childNodes,"
+ "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,"
+ "ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,firstElementChild,getElementById(),"
+ "getRootNode(),hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode(),"
+ "isSameNode(),lastChild,lastElementChild,lookupNamespaceURI(),lookupPrefix(),nextSibling,nodeName,"
+ "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,parentElement,parentNode,prepend(),"
+ "previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),querySelectorAll(),removeChild(),"
+ "replaceChild(),replaceChildren(),TEXT_NODE,textContent",
FF_ESR = "append(),appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childElementCount,childNodes,"
+ "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,"
+ "ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,firstElementChild,getElementById(),"
+ "getRootNode(),hasChildNodes(),insertBefore(),isConnected,isDefaultNamespace(),isEqualNode(),"
+ "isSameNode(),lastChild,lastElementChild,lookupNamespaceURI(),lookupPrefix(),nextSibling,nodeName,"
+ "nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,parentElement,parentNode,prepend(),"
+ "previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),querySelectorAll(),removeChild(),"
+ "replaceChild(),replaceChildren(),TEXT_NODE,textContent",
IE = "addEventListener(),appendChild(),ATTRIBUTE_NODE,attributes,CDATA_SECTION_NODE,childNodes,cloneNode(),"
+ "COMMENT_NODE,compareDocumentPosition(),dispatchEvent(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,hasAttributes(),"
+ "hasChildNodes(),insertBefore(),isDefaultNamespace(),isEqualNode(),isSameNode(),isSupported(),"
+ "lastChild,localName,lookupNamespaceURI(),lookupPrefix(),namespaceURI,nextSibling,nodeName,nodeType,"
+ "nodeValue,normalize(),NOTATION_NODE,ownerDocument,parentNode,prefix,previousSibling,"
+ "PROCESSING_INSTRUCTION_NODE,querySelector(),querySelectorAll(),removeChild(),removeEventListener(),"
+ "removeNode(),replaceChild(),replaceNode(),swapNode(),TEXT_NODE,textContent")
@HtmlUnitNYI(CHROME = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childElementCount,childNodes,"
+ "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,"
+ "DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,"
+ "firstChild,firstElementChild,getElementById(),getRootNode(),"
+ "hasChildNodes(),insertBefore(),isSameNode(),lastChild,"
+ "lastElementChild,nextSibling,nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,"
+ "parentElement,parentNode,previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),"
+ "querySelectorAll(),removeChild(),replaceChild(),TEXT_NODE,textContent",
EDGE = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childElementCount,childNodes,"
+ "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,"
+ "DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,"
+ "firstChild,firstElementChild,getElementById(),getRootNode(),"
+ "hasChildNodes(),insertBefore(),isSameNode(),lastChild,"
+ "lastElementChild,nextSibling,nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,"
+ "parentElement,parentNode,previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),"
+ "querySelectorAll(),removeChild(),replaceChild(),TEXT_NODE,textContent",
FF_ESR = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childElementCount,childNodes,"
+ "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,"
+ "DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,"
+ "firstChild,firstElementChild,getElementById(),getRootNode(),"
+ "hasChildNodes(),insertBefore(),isSameNode(),lastChild,"
+ "lastElementChild,nextSibling,nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,"
+ "parentElement,parentNode,previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),"
+ "querySelectorAll(),removeChild(),replaceChild(),TEXT_NODE,textContent",
FF = "appendChild(),ATTRIBUTE_NODE,baseURI,CDATA_SECTION_NODE,childElementCount,childNodes,"
+ "children,cloneNode(),COMMENT_NODE,compareDocumentPosition(),contains(),DOCUMENT_FRAGMENT_NODE,"
+ "DOCUMENT_NODE,DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,"
+ "DOCUMENT_POSITION_DISCONNECTED,DOCUMENT_POSITION_FOLLOWING,"
+ "DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,"
+ "DOCUMENT_POSITION_PRECEDING,DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,"
+ "firstChild,firstElementChild,getElementById(),getRootNode(),"
+ "hasChildNodes(),insertBefore(),isSameNode(),lastChild,"
+ "lastElementChild,nextSibling,nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,"
+ "parentElement,parentNode,previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),"
+ "querySelectorAll(),removeChild(),replaceChild(),TEXT_NODE,textContent",
IE = "addEventListener(),appendChild(),ATTRIBUTE_NODE,attributes,CDATA_SECTION_NODE,childNodes,cloneNode(),"
+ "COMMENT_NODE,compareDocumentPosition(),dispatchEvent(),DOCUMENT_FRAGMENT_NODE,DOCUMENT_NODE,"
+ "DOCUMENT_POSITION_CONTAINED_BY,DOCUMENT_POSITION_CONTAINS,DOCUMENT_POSITION_DISCONNECTED,"
+ "DOCUMENT_POSITION_FOLLOWING,DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC,DOCUMENT_POSITION_PRECEDING,"
+ "DOCUMENT_TYPE_NODE,ELEMENT_NODE,ENTITY_NODE,ENTITY_REFERENCE_NODE,firstChild,hasAttributes(),"
+ "hasChildNodes(),insertBefore(),isSameNode(),lastChild,localName,namespaceURI,nextSibling,"
+ "nodeName,nodeType,nodeValue,normalize(),NOTATION_NODE,ownerDocument,parentNode,prefix,"
+ "previousSibling,PROCESSING_INSTRUCTION_NODE,querySelector(),querySelectorAll(),removeChild(),"
+ "removeEventListener(),replaceChild(),TEXT_NODE,textContent")
public void documentFragment() throws Exception {
testString("", "document.createDocumentFragment(), window.performance");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "addEventListener(),audioWorklet,baseLatency,close(),createAnalyser(),createBiquadFilter(),"
+ "createBuffer(),createBufferSource(),createChannelMerger(),createChannelSplitter(),"
+ "createConstantSource(),createConvolver(),createDelay(),createDynamicsCompressor(),createGain(),"
+ "createIIRFilter(),createMediaElementSource(),createMediaStreamDestination(),"
+ "createMediaStreamSource(),createOscillator(),createPanner(),createPeriodicWave(),"
+ "createScriptProcessor(),createStereoPanner(),createWaveShaper(),currentTime,"
+ "decodeAudioData(),destination,dispatchEvent(),getOutputTimestamp(),listener,"
+ "onstatechange,removeEventListener(),resume(),sampleRate,state,suspend()",
EDGE = "addEventListener(),audioWorklet,baseLatency,close(),createAnalyser(),createBiquadFilter(),"
+ "createBuffer(),createBufferSource(),createChannelMerger(),createChannelSplitter(),"
+ "createConstantSource(),createConvolver(),createDelay(),createDynamicsCompressor(),createGain(),"
+ "createIIRFilter(),createMediaElementSource(),createMediaStreamDestination(),"
+ "createMediaStreamSource(),createOscillator(),createPanner(),createPeriodicWave(),"
+ "createScriptProcessor(),createStereoPanner(),createWaveShaper(),currentTime,"
+ "decodeAudioData(),destination,dispatchEvent(),getOutputTimestamp(),listener,"
+ "onstatechange,removeEventListener(),resume(),sampleRate,state,suspend()",
FF = "addEventListener(),audioWorklet,baseLatency,close(),createAnalyser(),createBiquadFilter(),"
+ "createBuffer(),createBufferSource(),createChannelMerger(),createChannelSplitter(),"
+ "createConstantSource(),createConvolver(),createDelay(),createDynamicsCompressor(),createGain(),"
+ "createIIRFilter(),createMediaElementSource(),createMediaStreamDestination(),"
+ "createMediaStreamSource(),createMediaStreamTrackSource(),createOscillator(),createPanner(),"
+ "createPeriodicWave(),createScriptProcessor(),createStereoPanner(),createWaveShaper(),"
+ "currentTime,decodeAudioData(),destination,dispatchEvent(),getOutputTimestamp(),listener,"
+ "onstatechange,outputLatency,removeEventListener(),resume(),sampleRate,state,suspend()",
FF_ESR = "addEventListener(),audioWorklet,baseLatency,close(),createAnalyser(),createBiquadFilter(),"
+ "createBuffer(),createBufferSource(),createChannelMerger(),createChannelSplitter(),"
+ "createConstantSource(),createConvolver(),createDelay(),createDynamicsCompressor(),createGain(),"
+ "createIIRFilter(),createMediaElementSource(),createMediaStreamDestination(),"
+ "createMediaStreamSource(),createMediaStreamTrackSource(),createOscillator(),createPanner(),"
+ "createPeriodicWave(),createScriptProcessor(),createStereoPanner(),createWaveShaper(),"
+ "currentTime,decodeAudioData(),destination,dispatchEvent(),getOutputTimestamp(),listener,"
+ "onstatechange,outputLatency,removeEventListener(),resume(),sampleRate,state,suspend()",
IE = "exception")
@HtmlUnitNYI(CHROME = "addEventListener(),createBuffer(),createBufferSource(),createGain(),decodeAudioData(),"
+ "dispatchEvent(),removeEventListener()",
EDGE = "addEventListener(),createBuffer(),createBufferSource(),createGain(),decodeAudioData(),"
+ "dispatchEvent(),removeEventListener()",
FF_ESR = "addEventListener(),createBuffer(),createBufferSource(),createGain(),decodeAudioData(),"
+ "dispatchEvent(),removeEventListener()",
FF = "addEventListener(),createBuffer(),createBufferSource(),createGain(),decodeAudioData(),"
+ "dispatchEvent(),removeEventListener()")
public void audioContext() throws Exception {
testString("", "new AudioContext()");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "automationRate,cancelAndHoldAtTime(),cancelScheduledValues(),"
+ "defaultValue,exponentialRampToValueAtTime(),linearRampToValueAtTime(),maxValue,minValue,"
+ "setTargetAtTime(),setValueAtTime(),setValueCurveAtTime(),value",
EDGE = "automationRate,cancelAndHoldAtTime(),cancelScheduledValues(),"
+ "defaultValue,exponentialRampToValueAtTime(),linearRampToValueAtTime(),maxValue,minValue,"
+ "setTargetAtTime(),setValueAtTime(),setValueCurveAtTime(),value",
FF = "cancelScheduledValues(),defaultValue,exponentialRampToValueAtTime(),"
+ "linearRampToValueAtTime(),maxValue,minValue,setTargetAtTime(),setValueAtTime(),"
+ "setValueCurveAtTime(),value",
FF_ESR = "cancelScheduledValues(),defaultValue,exponentialRampToValueAtTime(),"
+ "linearRampToValueAtTime(),maxValue,minValue,setTargetAtTime(),setValueAtTime(),"
+ "setValueCurveAtTime(),value",
IE = "exception")
@HtmlUnitNYI(CHROME = "defaultValue,maxValue,minValue,value",
EDGE = "defaultValue,maxValue,minValue,value",
FF_ESR = "defaultValue,maxValue,minValue,value",
FF = "defaultValue,maxValue,minValue,value")
public void audioParam() throws Exception {
testString("var audioCtx = new AudioContext(); var gainNode = new GainNode(audioCtx);", "gainNode.gain");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "addEventListener(),channelCount,channelCountMode,channelInterpretation,connect(),"
+ "context,disconnect(),dispatchEvent(),gain,numberOfInputs,numberOfOutputs,removeEventListener()",
EDGE = "addEventListener(),channelCount,channelCountMode,channelInterpretation,connect(),"
+ "context,disconnect(),dispatchEvent(),gain,numberOfInputs,numberOfOutputs,removeEventListener()",
FF = "addEventListener(),channelCount,channelCountMode,channelInterpretation,connect(),"
+ "context,disconnect(),dispatchEvent(),gain,numberOfInputs,numberOfOutputs,removeEventListener()",
FF_ESR = "addEventListener(),channelCount,channelCountMode,channelInterpretation,connect(),"
+ "context,disconnect(),dispatchEvent(),gain,numberOfInputs,numberOfOutputs,removeEventListener()",
IE = "exception")
@HtmlUnitNYI(CHROME = "addEventListener(),connect(),dispatchEvent(),gain,removeEventListener()",
EDGE = "addEventListener(),connect(),dispatchEvent(),gain,removeEventListener()",
FF_ESR = "addEventListener(),connect(),dispatchEvent(),gain,removeEventListener()",
FF = "addEventListener(),connect(),dispatchEvent(),gain,removeEventListener()")
public void gainNode() throws Exception {
testString("var audioCtx = new AudioContext();", "new GainNode(audioCtx)");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "NONE,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "NONE,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "initEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "initEvent(),META_MASK,NONE,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type")
public void beforeUnloadEvent() throws Exception {
testString("", "document.createEvent('BeforeUnloadEvent')");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,code,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),reason,returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,wasClean",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,code,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),reason,returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,wasClean",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,code,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,preventDefault(),"
+ "reason,returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,wasClean",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,code,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,preventDefault(),"
+ "reason,returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,wasClean",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,code,"
+ "composed,currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "NONE,preventDefault(),reason,returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,wasClean",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,code,"
+ "composed,currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "NONE,preventDefault(),reason,returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type,wasClean",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,code,"
+ "composed,CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "initEvent(),META_MASK,NONE,preventDefault(),"
+ "reason,returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,wasClean",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,code,"
+ "composed,CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "initEvent(),META_MASK,NONE,preventDefault(),"
+ "reason,returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type,wasClean")
public void closeEvent() throws Exception {
testString("", "new CloseEvent('type-close')");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,data,defaultPrevented,eventPhase,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timecode,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,data,defaultPrevented,eventPhase,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timecode,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,data,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,data,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,"
+ "currentTarget,data,defaultPrevented,eventPhase,initEvent(),"
+ "NONE,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,"
+ "currentTarget,data,defaultPrevented,eventPhase,initEvent(),"
+ "NONE,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,"
+ "CONTROL_MASK,currentTarget,data,defaultPrevented,eventPhase,"
+ "initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,"
+ "CONTROL_MASK,currentTarget,data,defaultPrevented,eventPhase,"
+ "initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type")
public void blobEvent() throws Exception {
testString("var debug = {hello: 'world'};"
+ "var blob = new Blob([JSON.stringify(debug, null, 2)], {type : 'application/json'});",
"new BlobEvent('blob', { 'data': blob })");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "acceleration,accelerationIncludingGravity,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,"
+ "cancelBubble,CAPTURING_PHASE,composed,composedPath(),currentTarget,defaultPrevented,"
+ "eventPhase,initEvent(),interval,isTrusted,NONE,path,preventDefault(),returnValue,"
+ "rotationRate,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "acceleration,accelerationIncludingGravity,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,"
+ "cancelBubble,CAPTURING_PHASE,composed,composedPath(),currentTarget,defaultPrevented,"
+ "eventPhase,initEvent(),interval,isTrusted,NONE,path,preventDefault(),returnValue,"
+ "rotationRate,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF = "acceleration,accelerationIncludingGravity,ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,"
+ "cancelable,cancelBubble,CAPTURING_PHASE,composed,composedPath(),CONTROL_MASK,currentTarget,"
+ "defaultPrevented,eventPhase,explicitOriginalTarget,initDeviceMotionEvent(),initEvent(),"
+ "interval,isTrusted,META_MASK,NONE,originalTarget,preventDefault(),returnValue,rotationRate,"
+ "SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF_ESR = "acceleration,accelerationIncludingGravity,ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,"
+ "cancelable,cancelBubble,CAPTURING_PHASE,composed,composedPath(),CONTROL_MASK,currentTarget,"
+ "defaultPrevented,eventPhase,explicitOriginalTarget,initDeviceMotionEvent(),initEvent(),"
+ "interval,isTrusted,META_MASK,NONE,originalTarget,preventDefault(),returnValue,rotationRate,"
+ "SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type")
public void deviceMotionEvent() throws Exception {
testString("", "new DeviceMotionEvent('motion')");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,colno,"
+ "composed,composedPath(),currentTarget,defaultPrevented,error,eventPhase,filename,initEvent(),"
+ "isTrusted,lineno,message,NONE,path,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,colno,"
+ "composed,composedPath(),currentTarget,defaultPrevented,error,eventPhase,filename,initEvent(),"
+ "isTrusted,lineno,message,NONE,path,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,colno,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,error,eventPhase,"
+ "explicitOriginalTarget,filename,initEvent(),isTrusted,lineno,message,META_MASK,NONE,"
+ "originalTarget,preventDefault(),returnValue,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,colno,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,error,eventPhase,"
+ "explicitOriginalTarget,filename,initEvent(),isTrusted,lineno,message,META_MASK,NONE,"
+ "originalTarget,preventDefault(),returnValue,SHIFT_MASK,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type")
public void errorEvent() throws Exception {
testString("", "new ErrorEvent('error')");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,gamepad,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),currentTarget,defaultPrevented,eventPhase,gamepad,initEvent(),"
+ "isTrusted,NONE,path,preventDefault(),returnValue,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,gamepad,initEvent(),isTrusted,META_MASK,NONE,originalTarget,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,gamepad,initEvent(),isTrusted,META_MASK,NONE,originalTarget,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type")
public void gamepadEvent() throws Exception {
testString("", "new GamepadEvent('gamepad')");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "ADDITION,AT_TARGET,attrChange,attrName,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "initMutationEvent(),isTrusted,MODIFICATION,newValue,NONE,path,preventDefault(),prevValue,"
+ "relatedNode,REMOVAL,returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
EDGE = "ADDITION,AT_TARGET,attrChange,attrName,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,composedPath(),currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "initMutationEvent(),isTrusted,MODIFICATION,newValue,NONE,path,preventDefault(),prevValue,"
+ "relatedNode,REMOVAL,returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF = "ADDITION,ALT_MASK,AT_TARGET,attrChange,attrName,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),initMutationEvent(),isTrusted,META_MASK,MODIFICATION,newValue,"
+ "NONE,originalTarget,preventDefault(),prevValue,relatedNode,REMOVAL,returnValue,SHIFT_MASK,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF_ESR = "ADDITION,ALT_MASK,AT_TARGET,attrChange,attrName,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),initMutationEvent(),isTrusted,META_MASK,MODIFICATION,newValue,"
+ "NONE,originalTarget,preventDefault(),prevValue,relatedNode,REMOVAL,returnValue,SHIFT_MASK,"
+ "srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
IE = "ADDITION,AT_TARGET,attrChange,attrName,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,currentTarget,defaultPrevented,eventPhase,initEvent(),initMutationEvent(),isTrusted,"
+ "MODIFICATION,newValue,preventDefault(),prevValue,relatedNode,REMOVAL,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type")
@HtmlUnitNYI(CHROME = "ADDITION,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "MODIFICATION,NONE,preventDefault(),REMOVAL,"
+ "returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "ADDITION,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,currentTarget,defaultPrevented,eventPhase,initEvent(),"
+ "MODIFICATION,NONE,preventDefault(),REMOVAL,"
+ "returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF = "ADDITION,ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,CONTROL_MASK,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),META_MASK,MODIFICATION,NONE,"
+ "preventDefault(),REMOVAL,returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF_ESR = "ADDITION,ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,CONTROL_MASK,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),META_MASK,MODIFICATION,NONE,"
+ "preventDefault(),REMOVAL,returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
IE = "ADDITION,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),MODIFICATION,preventDefault(),REMOVAL,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type")
public void mutationEvent() throws Exception {
testString("", "document.createEvent('MutationEvent')");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts("exception")
public void offlineAudioCompletionEvent() throws Exception {
testString("", "document.createEvent('OfflineAudioCompletionEvent')");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,composedPath(),"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),isTrusted,NONE,path,persisted,"
+ "preventDefault(),returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,"
+ "timeStamp,"
+ "type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,composed,composedPath(),"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),isTrusted,NONE,path,persisted,"
+ "preventDefault(),returnValue,srcElement,stopImmediatePropagation(),stopPropagation(),target,"
+ "timeStamp,"
+ "type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,persisted,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,CAPTURING_PHASE,"
+ "composed,composedPath(),CONTROL_MASK,currentTarget,defaultPrevented,eventPhase,"
+ "explicitOriginalTarget,initEvent(),isTrusted,META_MASK,NONE,originalTarget,persisted,"
+ "preventDefault(),returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),"
+ "stopPropagation(),target,timeStamp,type",
IE = "exception")
@HtmlUnitNYI(CHROME = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
EDGE = "AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,currentTarget,"
+ "defaultPrevented,eventPhase,initEvent(),NONE,preventDefault(),returnValue,srcElement,"
+ "stopImmediatePropagation(),stopPropagation(),target,timeStamp,type",
FF = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type",
FF_ESR = "ALT_MASK,AT_TARGET,bubbles,BUBBLING_PHASE,cancelable,cancelBubble,"
+ "CAPTURING_PHASE,composed,CONTROL_MASK,"
+ "currentTarget,defaultPrevented,eventPhase,initEvent(),META_MASK,NONE,preventDefault(),"
+ "returnValue,SHIFT_MASK,srcElement,stopImmediatePropagation(),stopPropagation(),"
+ "target,timeStamp,type")
public void pageTransitionEvent() throws Exception {
testString("", "new PageTransitionEvent('transition')");
}
/**
* Test {@link com.gargoylesoftware.htmlunit.javascript.host.media.SourceBufferList}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "addEventListener(),dispatchEvent(),length,onaddsourcebuffer,"
+ "onremovesourcebuffer,removeEventListener()",
EDGE = "addEventListener(),dispatchEvent(),length,onaddsourcebuffer,"
+ "onremovesourcebuffer,removeEventListener()",
FF = "addEventListener(),dispatchEvent(),length,onaddsourcebuffer,"
+ "onremovesourcebuffer,removeEventListener()",
FF_ESR = "addEventListener(),dispatchEvent(),length,onaddsourcebuffer,"
+ "onremovesourcebuffer,removeEventListener()",
IE = "addEventListener(),dispatchEvent(),item(),length,removeEventListener()")
@HtmlUnitNYI(CHROME = "-",
EDGE = "-",
FF = "-",
FF_ESR = "-",
IE = "-")
public void sourceBufferList() throws Exception {
testString("var mediaSource = new MediaSource;", "mediaSource.sourceBuffers");
}
/**
* Test {@link HTMLCollection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "entries(),forEach(),item(),keys(),length,values()",
EDGE = "entries(),forEach(),item(),keys(),length,values()",
FF = "entries(),forEach(),item(),keys(),length,values()",
FF_ESR = "entries(),forEach(),item(),keys(),length,values()",
IE = "item(),length,namedItem()")
@HtmlUnitNYI(CHROME = "item(),length,namedItem()",
EDGE = "item(),length,namedItem()",
FF = "item(),length,namedItem()",
FF_ESR = "item(),length,namedItem()",
IE = "item(),length,namedItem(),tags()")
public void htmlCollection() throws Exception {
testString("", "document.getElementsByName('myLog')");
}
/**
* Test {@link HTMLCollection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "item(),length,namedItem()",
EDGE = "item(),length,namedItem()",
FF = "item(),length,namedItem()",
FF_ESR = "item(),length,namedItem()",
IE = "item(),length,namedItem()")
@HtmlUnitNYI(IE = "item(),length,namedItem(),tags()")
public void htmlCollectionDocumentAnchors() throws Exception {
testString("", "document.anchors");
}
/**
* Test {@link HTMLCollection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "item(),length,namedItem()",
EDGE = "item(),length,namedItem()",
FF = "item(),length,namedItem()",
FF_ESR = "item(),length,namedItem()",
IE = "item(),length,namedItem()")
@HtmlUnitNYI(IE = "item(),length,namedItem(),tags()")
public void htmlCollectionDocumentApplets() throws Exception {
testString("", "document.applets");
}
/**
* Test {@link HTMLCollection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "item(),length,namedItem()",
EDGE = "item(),length,namedItem()",
FF = "item(),length,namedItem()",
FF_ESR = "item(),length,namedItem()",
IE = "item(),length,namedItem()")
@HtmlUnitNYI(IE = "item(),length,namedItem(),tags()")
public void htmlCollectionDocumentEmbeds() throws Exception {
testString("", "document.embeds");
}
/**
* Test {@link HTMLCollection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "item(),length,namedItem()",
EDGE = "item(),length,namedItem()",
FF = "item(),length,namedItem()",
FF_ESR = "item(),length,namedItem()",
IE = "item(),length,namedItem()")
@HtmlUnitNYI(IE = "item(),length,namedItem(),tags()")
public void htmlCollectionDocumentForms() throws Exception {
testString("", "document.forms");
}
/**
* Test {@link HTMLCollection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "item(),length,namedItem()",
EDGE = "item(),length,namedItem()",
FF = "item(),length,namedItem()",
FF_ESR = "item(),length,namedItem()",
IE = "item(),length,namedItem()")
@HtmlUnitNYI(IE = "item(),length,namedItem(),tags()")
public void htmlCollectionDocumentImages() throws Exception {
testString("", "document.images");
}
/**
* Test {@link HTMLCollection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "item(),length,namedItem()",
EDGE = "item(),length,namedItem()",
FF = "item(),length,namedItem()",
FF_ESR = "item(),length,namedItem()",
IE = "item(),length,namedItem()")
@HtmlUnitNYI(IE = "item(),length,namedItem(),tags()")
public void htmlCollectionDocumentLinks() throws Exception {
testString("", "document.links");
}
/**
* Test {@link HTMLCollection}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "0,item(),length,namedItem()",
EDGE = "0,item(),length,namedItem()",
FF = "0,item(),length,namedItem()",
FF_ESR = "0,item(),length,namedItem()",
IE = "0,item(),length,namedItem()")
@HtmlUnitNYI(IE = "0,item(),length,namedItem(),tags()")
public void htmlCollectionDocumentScripts() throws Exception {
testString("", "document.scripts");
}
/**
* Test {@link NodeList}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "entries(),forEach(),item(),keys(),length,values()",
EDGE = "entries(),forEach(),item(),keys(),length,values()",
FF = "entries(),forEach(),item(),keys(),length,values()",
FF_ESR = "entries(),forEach(),item(),keys(),length,values()",
IE = "item(),length")
public void nodeList() throws Exception {
testString("", "document.getElementById('myLog').childNodes");
}
/**
* Test {@link NodeList}.
*
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "entries(),forEach(),item(),keys(),length,values()",
EDGE = "entries(),forEach(),item(),keys(),length,values()",
FF = "entries(),forEach(),item(),keys(),length,values()",
FF_ESR = "entries(),forEach(),item(),keys(),length,values()",
IE = "-")
public void nodeListButtonLabels() throws Exception {
testString("var button = document.createElement('button');", "button.labels");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "0,1,10,100,101,102,103,104,105,106,107,108,109,11,110,111,112,113,114,115,116,117,118,119,12,120,"
+ "121,122,123,124,125,126,127,128,129,13,130,131,132,133,134,135,136,137,138,139,14,140,141,142,"
+ "143,144,145,146,147,148,149,15,150,151,152,153,154,155,156,157,158,159,16,160,161,162,163,164,"
+ "165,166,167,168,169,17,170,171,172,173,174,175,176,177,178,179,18,180,181,182,183,184,185,186,"
+ "187,188,189,19,190,191,192,193,194,195,196,197,198,199,2,20,200,201,202,203,204,205,206,207,208,"
+ "209,21,210,211,212,213,214,215,216,217,218,219,22,220,221,222,223,224,225,226,227,228,229,23,230,"
+ "231,232,233,234,235,236,237,238,239,24,240,241,242,243,244,245,246,247,248,249,25,250,251,252,"
+ "253,254,255,256,257,258,259,26,260,261,262,263,264,265,266,267,268,269,27,270,271,272,273,274,"
+ "275,276,277,278,279,28,280,281,282,283,284,285,286,287,288,289,29,290,291,292,293,294,295,296,"
+ "297,298,299,3,30,300,301,302,303,304,305,306,307,308,309,31,310,311,312,313,314,315,316,317,318,"
+ "319,32,320,321,322,323,324,325,326,327,328,329,33,330,331,332,333,334,335,34,35,36,37,38,39,4,40,"
+ "41,42,43,44,45,46,47,48,49,5,50,51,52,53,54,55,56,57,58,59,6,60,61,62,63,64,65,66,67,68,69,7,70,"
+ "71,72,73,74,75,76,77,78,79,8,80,81,82,83,84,85,86,87,88,89,9,90,91,92,93,94,95,96,97,98,99,"
+ "accentColor,additiveSymbols,alignContent,alignItems,alignmentBaseline,alignSelf,all,animation,"
+ "animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,"
+ "animationName,animationPlayState,animationTimingFunction,appearance,appRegion,ascentOverride,"
+ "aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,"
+ "backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,"
+ "backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundRepeatX,"
+ "backgroundRepeatY,backgroundSize,baselineShift,basePalette,blockSize,border,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "boxShadow,boxSizing,breakAfter,breakBefore,breakInside,bufferedRendering,captionSide,caretColor,"
+ "clear,clip,clipPath,clipRule,color,colorInterpolation,colorInterpolationFilters,colorRendering,"
+ "colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,"
+ "columnRuleWidth,columns,columnSpan,columnWidth,contain,containIntrinsicBlockSize,"
+ "containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,"
+ "content,contentVisibility,counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,"
+ "d,descentOverride,direction,display,dominantBaseline,emptyCells,fallback,fill,fillOpacity,"
+ "fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,"
+ "floodColor,floodOpacity,font,fontDisplay,fontFamily,fontFeatureSettings,fontKerning,"
+ "fontOpticalSizing,fontPalette,fontSize,fontStretch,fontStyle,fontSynthesis,"
+ "fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariationSettings,fontWeight,"
+ "forcedColorAdjust,gap,getPropertyPriority(),getPropertyValue(),grid,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,imageOrientation,imageRendering,inherits,initialValue,inlineSize,"
+ "inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,"
+ "isolation,item(),justifyContent,justifyItems,justifySelf,left,length,letterSpacing,lightingColor,"
+ "lineBreak,lineGapOverride,lineHeight,listStyle,listStyleImage,listStylePosition,listStyleType,"
+ "margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,"
+ "maskType,maxBlockSize,maxHeight,maxInlineSize,maxWidth,maxZoom,minBlockSize,minHeight,"
+ "minInlineSize,minWidth,minZoom,mixBlendMode,negative,objectFit,objectPosition,offset,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,orientation,orphans,outline,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowClipMargin,overflowWrap,"
+ "overflowX,overflowY,overrideColors,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,pad,padding,paddingBlock,"
+ "paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,"
+ "pageBreakInside,pageOrientation,paintOrder,parentRule,perspective,perspectiveOrigin,placeContent,"
+ "placeItems,placeSelf,pointerEvents,position,prefix,quotes,r,range,removeProperty(),resize,right,"
+ "rowGap,rubyPosition,rx,ry,scrollbarGutter,scrollBehavior,scrollMargin,scrollMarginBlock,"
+ "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,"
+ "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,"
+ "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,"
+ "scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,"
+ "scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop,"
+ "scrollSnapType,setProperty(),shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size,"
+ "sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,"
+ "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax,"
+ "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright,textDecoration,"
+ "textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle,"
+ "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,"
+ "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,"
+ "textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,"
+ "transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,"
+ "transitionTimingFunction,unicodeBidi,unicodeRange,userSelect,userZoom,vectorEffect,verticalAlign,"
+ "visibility,webkitAlignContent,webkitAlignItems,webkitAlignSelf,webkitAnimation,"
+ "webkitAnimationDelay,webkitAnimationDirection,webkitAnimationDuration,webkitAnimationFillMode,"
+ "webkitAnimationIterationCount,webkitAnimationName,webkitAnimationPlayState,"
+ "webkitAnimationTimingFunction,webkitAppearance,webkitAppRegion,webkitBackfaceVisibility,"
+ "webkitBackgroundClip,webkitBackgroundOrigin,webkitBackgroundSize,webkitBorderAfter,"
+ "webkitBorderAfterColor,webkitBorderAfterStyle,webkitBorderAfterWidth,webkitBorderBefore,"
+ "webkitBorderBeforeColor,webkitBorderBeforeStyle,webkitBorderBeforeWidth,"
+ "webkitBorderBottomLeftRadius,webkitBorderBottomRightRadius,webkitBorderEnd,webkitBorderEndColor,"
+ "webkitBorderEndStyle,webkitBorderEndWidth,webkitBorderHorizontalSpacing,webkitBorderImage,"
+ "webkitBorderRadius,webkitBorderStart,webkitBorderStartColor,webkitBorderStartStyle,"
+ "webkitBorderStartWidth,webkitBorderTopLeftRadius,webkitBorderTopRightRadius,"
+ "webkitBorderVerticalSpacing,webkitBoxAlign,webkitBoxDecorationBreak,webkitBoxDirection,"
+ "webkitBoxFlex,webkitBoxOrdinalGroup,webkitBoxOrient,webkitBoxPack,webkitBoxReflect,"
+ "webkitBoxShadow,webkitBoxSizing,webkitClipPath,webkitColumnBreakAfter,webkitColumnBreakBefore,"
+ "webkitColumnBreakInside,webkitColumnCount,webkitColumnGap,webkitColumnRule,webkitColumnRuleColor,"
+ "webkitColumnRuleStyle,webkitColumnRuleWidth,webkitColumns,webkitColumnSpan,webkitColumnWidth,"
+ "webkitFilter,webkitFlex,webkitFlexBasis,webkitFlexDirection,webkitFlexFlow,webkitFlexGrow,"
+ "webkitFlexShrink,webkitFlexWrap,webkitFontFeatureSettings,webkitFontSmoothing,webkitHighlight,"
+ "webkitHyphenateCharacter,webkitJustifyContent,webkitLineBreak,webkitLineClamp,webkitLocale,"
+ "webkitLogicalHeight,webkitLogicalWidth,webkitMarginAfter,webkitMarginBefore,webkitMarginEnd,"
+ "webkitMarginStart,webkitMask,webkitMaskBoxImage,webkitMaskBoxImageOutset,"
+ "webkitMaskBoxImageRepeat,webkitMaskBoxImageSlice,webkitMaskBoxImageSource,"
+ "webkitMaskBoxImageWidth,webkitMaskClip,webkitMaskComposite,webkitMaskImage,webkitMaskOrigin,"
+ "webkitMaskPosition,webkitMaskPositionX,webkitMaskPositionY,webkitMaskRepeat,webkitMaskRepeatX,"
+ "webkitMaskRepeatY,webkitMaskSize,webkitMaxLogicalHeight,webkitMaxLogicalWidth,"
+ "webkitMinLogicalHeight,webkitMinLogicalWidth,webkitOpacity,webkitOrder,webkitPaddingAfter,"
+ "webkitPaddingBefore,webkitPaddingEnd,webkitPaddingStart,webkitPerspective,"
+ "webkitPerspectiveOrigin,webkitPerspectiveOriginX,webkitPerspectiveOriginY,webkitPrintColorAdjust,"
+ "webkitRtlOrdering,webkitRubyPosition,webkitShapeImageThreshold,webkitShapeMargin,"
+ "webkitShapeOutside,webkitTapHighlightColor,webkitTextCombine,webkitTextDecorationsInEffect,"
+ "webkitTextEmphasis,webkitTextEmphasisColor,webkitTextEmphasisPosition,webkitTextEmphasisStyle,"
+ "webkitTextFillColor,webkitTextOrientation,webkitTextSecurity,webkitTextSizeAdjust,"
+ "webkitTextStroke,webkitTextStrokeColor,webkitTextStrokeWidth,webkitTransform,"
+ "webkitTransformOrigin,webkitTransformOriginX,webkitTransformOriginY,webkitTransformOriginZ,"
+ "webkitTransformStyle,webkitTransition,webkitTransitionDelay,webkitTransitionDuration,"
+ "webkitTransitionProperty,webkitTransitionTimingFunction,webkitUserDrag,webkitUserModify,"
+ "webkitUserSelect,webkitWritingMode,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,"
+ "wordWrap,writingMode,x,y,zIndex,"
+ "zoom",
EDGE = "0,1,10,100,101,102,103,104,105,106,107,108,109,11,110,111,112,113,114,115,116,117,118,119,12,120,"
+ "121,122,123,124,125,126,127,128,129,13,130,131,132,133,134,135,136,137,138,139,14,140,141,142,"
+ "143,144,145,146,147,148,149,15,150,151,152,153,154,155,156,157,158,159,16,160,161,162,163,164,"
+ "165,166,167,168,169,17,170,171,172,173,174,175,176,177,178,179,18,180,181,182,183,184,185,186,"
+ "187,188,189,19,190,191,192,193,194,195,196,197,198,199,2,20,200,201,202,203,204,205,206,207,208,"
+ "209,21,210,211,212,213,214,215,216,217,218,219,22,220,221,222,223,224,225,226,227,228,229,23,230,"
+ "231,232,233,234,235,236,237,238,239,24,240,241,242,243,244,245,246,247,248,249,25,250,251,252,"
+ "253,254,255,256,257,258,259,26,260,261,262,263,264,265,266,267,268,269,27,270,271,272,273,274,"
+ "275,276,277,278,279,28,280,281,282,283,284,285,286,287,288,289,29,290,291,292,293,294,295,296,"
+ "297,298,299,3,30,300,301,302,303,304,305,306,307,308,309,31,310,311,312,313,314,315,316,317,318,"
+ "319,32,320,321,322,323,324,325,326,327,328,329,33,330,331,332,333,334,335,34,35,36,37,38,39,4,40,"
+ "41,42,43,44,45,46,47,48,49,5,50,51,52,53,54,55,56,57,58,59,6,60,61,62,63,64,65,66,67,68,69,7,70,"
+ "71,72,73,74,75,76,77,78,79,8,80,81,82,83,84,85,86,87,88,89,9,90,91,92,93,94,95,96,97,98,99,"
+ "accentColor,additiveSymbols,alignContent,alignItems,alignmentBaseline,alignSelf,all,animation,"
+ "animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,"
+ "animationName,animationPlayState,animationTimingFunction,appearance,appRegion,ascentOverride,"
+ "aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,"
+ "backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,"
+ "backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundRepeatX,"
+ "backgroundRepeatY,backgroundSize,baselineShift,basePalette,blockSize,border,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "boxShadow,boxSizing,breakAfter,breakBefore,breakInside,bufferedRendering,captionSide,caretColor,"
+ "clear,clip,clipPath,clipRule,color,colorInterpolation,colorInterpolationFilters,colorRendering,"
+ "colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,"
+ "columnRuleWidth,columns,columnSpan,columnWidth,contain,containIntrinsicBlockSize,"
+ "containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,"
+ "content,contentVisibility,counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,"
+ "d,descentOverride,direction,display,dominantBaseline,emptyCells,fallback,fill,fillOpacity,"
+ "fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,"
+ "floodColor,floodOpacity,font,fontDisplay,fontFamily,fontFeatureSettings,fontKerning,"
+ "fontOpticalSizing,fontPalette,fontSize,fontStretch,fontStyle,fontSynthesis,"
+ "fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariationSettings,fontWeight,"
+ "forcedColorAdjust,gap,getPropertyPriority(),getPropertyValue(),grid,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,imageOrientation,imageRendering,inherits,initialValue,inlineSize,"
+ "inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,"
+ "isolation,item(),justifyContent,justifyItems,justifySelf,left,length,letterSpacing,lightingColor,"
+ "lineBreak,lineGapOverride,lineHeight,listStyle,listStyleImage,listStylePosition,listStyleType,"
+ "margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,"
+ "maskType,maxBlockSize,maxHeight,maxInlineSize,maxWidth,maxZoom,minBlockSize,minHeight,"
+ "minInlineSize,minWidth,minZoom,mixBlendMode,negative,objectFit,objectPosition,offset,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,orientation,orphans,outline,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowClipMargin,overflowWrap,"
+ "overflowX,overflowY,overrideColors,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,pad,padding,paddingBlock,"
+ "paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,"
+ "pageBreakInside,pageOrientation,paintOrder,parentRule,perspective,perspectiveOrigin,placeContent,"
+ "placeItems,placeSelf,pointerEvents,position,prefix,quotes,r,range,removeProperty(),resize,right,"
+ "rowGap,rubyPosition,rx,ry,scrollbarGutter,scrollBehavior,scrollMargin,scrollMarginBlock,"
+ "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,"
+ "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,"
+ "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,"
+ "scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,"
+ "scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop,"
+ "scrollSnapType,setProperty(),shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size,"
+ "sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,"
+ "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax,"
+ "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright,textDecoration,"
+ "textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle,"
+ "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,"
+ "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,"
+ "textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,"
+ "transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,"
+ "transitionTimingFunction,unicodeBidi,unicodeRange,userSelect,userZoom,vectorEffect,verticalAlign,"
+ "visibility,webkitAlignContent,webkitAlignItems,webkitAlignSelf,webkitAnimation,"
+ "webkitAnimationDelay,webkitAnimationDirection,webkitAnimationDuration,webkitAnimationFillMode,"
+ "webkitAnimationIterationCount,webkitAnimationName,webkitAnimationPlayState,"
+ "webkitAnimationTimingFunction,webkitAppearance,webkitAppRegion,webkitBackfaceVisibility,"
+ "webkitBackgroundClip,webkitBackgroundOrigin,webkitBackgroundSize,webkitBorderAfter,"
+ "webkitBorderAfterColor,webkitBorderAfterStyle,webkitBorderAfterWidth,webkitBorderBefore,"
+ "webkitBorderBeforeColor,webkitBorderBeforeStyle,webkitBorderBeforeWidth,"
+ "webkitBorderBottomLeftRadius,webkitBorderBottomRightRadius,webkitBorderEnd,webkitBorderEndColor,"
+ "webkitBorderEndStyle,webkitBorderEndWidth,webkitBorderHorizontalSpacing,webkitBorderImage,"
+ "webkitBorderRadius,webkitBorderStart,webkitBorderStartColor,webkitBorderStartStyle,"
+ "webkitBorderStartWidth,webkitBorderTopLeftRadius,webkitBorderTopRightRadius,"
+ "webkitBorderVerticalSpacing,webkitBoxAlign,webkitBoxDecorationBreak,webkitBoxDirection,"
+ "webkitBoxFlex,webkitBoxOrdinalGroup,webkitBoxOrient,webkitBoxPack,webkitBoxReflect,"
+ "webkitBoxShadow,webkitBoxSizing,webkitClipPath,webkitColumnBreakAfter,webkitColumnBreakBefore,"
+ "webkitColumnBreakInside,webkitColumnCount,webkitColumnGap,webkitColumnRule,webkitColumnRuleColor,"
+ "webkitColumnRuleStyle,webkitColumnRuleWidth,webkitColumns,webkitColumnSpan,webkitColumnWidth,"
+ "webkitFilter,webkitFlex,webkitFlexBasis,webkitFlexDirection,webkitFlexFlow,webkitFlexGrow,"
+ "webkitFlexShrink,webkitFlexWrap,webkitFontFeatureSettings,webkitFontSmoothing,webkitHighlight,"
+ "webkitHyphenateCharacter,webkitJustifyContent,webkitLineBreak,webkitLineClamp,webkitLocale,"
+ "webkitLogicalHeight,webkitLogicalWidth,webkitMarginAfter,webkitMarginBefore,webkitMarginEnd,"
+ "webkitMarginStart,webkitMask,webkitMaskBoxImage,webkitMaskBoxImageOutset,"
+ "webkitMaskBoxImageRepeat,webkitMaskBoxImageSlice,webkitMaskBoxImageSource,"
+ "webkitMaskBoxImageWidth,webkitMaskClip,webkitMaskComposite,webkitMaskImage,webkitMaskOrigin,"
+ "webkitMaskPosition,webkitMaskPositionX,webkitMaskPositionY,webkitMaskRepeat,webkitMaskRepeatX,"
+ "webkitMaskRepeatY,webkitMaskSize,webkitMaxLogicalHeight,webkitMaxLogicalWidth,"
+ "webkitMinLogicalHeight,webkitMinLogicalWidth,webkitOpacity,webkitOrder,webkitPaddingAfter,"
+ "webkitPaddingBefore,webkitPaddingEnd,webkitPaddingStart,webkitPerspective,"
+ "webkitPerspectiveOrigin,webkitPerspectiveOriginX,webkitPerspectiveOriginY,webkitPrintColorAdjust,"
+ "webkitRtlOrdering,webkitRubyPosition,webkitShapeImageThreshold,webkitShapeMargin,"
+ "webkitShapeOutside,webkitTapHighlightColor,webkitTextCombine,webkitTextDecorationsInEffect,"
+ "webkitTextEmphasis,webkitTextEmphasisColor,webkitTextEmphasisPosition,webkitTextEmphasisStyle,"
+ "webkitTextFillColor,webkitTextOrientation,webkitTextSecurity,webkitTextSizeAdjust,"
+ "webkitTextStroke,webkitTextStrokeColor,webkitTextStrokeWidth,webkitTransform,"
+ "webkitTransformOrigin,webkitTransformOriginX,webkitTransformOriginY,webkitTransformOriginZ,"
+ "webkitTransformStyle,webkitTransition,webkitTransitionDelay,webkitTransitionDuration,"
+ "webkitTransitionProperty,webkitTransitionTimingFunction,webkitUserDrag,webkitUserModify,"
+ "webkitUserSelect,webkitWritingMode,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,"
+ "wordWrap,writingMode,x,y,zIndex,"
+ "zoom",
FF = "-moz-animation,-moz-animation-delay,-moz-animation-direction,-moz-animation-duration,"
+ "-moz-animation-fill-mode,-moz-animation-iteration-count,-moz-animation-name,"
+ "-moz-animation-play-state,-moz-animation-timing-function,-moz-appearance,"
+ "-moz-backface-visibility,-moz-border-end,-moz-border-end-color,-moz-border-end-style,"
+ "-moz-border-end-width,-moz-border-image,-moz-border-start,-moz-border-start-color,"
+ "-moz-border-start-style,-moz-border-start-width,-moz-box-align,-moz-box-direction,-moz-box-flex,"
+ "-moz-box-ordinal-group,-moz-box-orient,-moz-box-pack,-moz-box-sizing,-moz-float-edge,"
+ "-moz-font-feature-settings,-moz-font-language-override,-moz-force-broken-image-icon,-moz-hyphens,"
+ "-moz-image-region,-moz-margin-end,-moz-margin-start,-moz-orient,-moz-padding-end,"
+ "-moz-padding-start,-moz-perspective,-moz-perspective-origin,-moz-tab-size,-moz-text-size-adjust,"
+ "-moz-transform,-moz-transform-origin,-moz-transform-style,-moz-transition,-moz-transition-delay,"
+ "-moz-transition-duration,-moz-transition-property,-moz-transition-timing-function,"
+ "-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,-moz-window-dragging,"
+ "-webkit-align-content,-webkit-align-items,-webkit-align-self,-webkit-animation,"
+ "-webkit-animation-delay,-webkit-animation-direction,-webkit-animation-duration,"
+ "-webkit-animation-fill-mode,-webkit-animation-iteration-count,-webkit-animation-name,"
+ "-webkit-animation-play-state,-webkit-animation-timing-function,-webkit-appearance,"
+ "-webkit-backface-visibility,-webkit-background-clip,-webkit-background-origin,"
+ "-webkit-background-size,-webkit-border-bottom-left-radius,-webkit-border-bottom-right-radius,"
+ "-webkit-border-image,-webkit-border-radius,-webkit-border-top-left-radius,"
+ "-webkit-border-top-right-radius,-webkit-box-align,-webkit-box-direction,-webkit-box-flex,"
+ "-webkit-box-ordinal-group,-webkit-box-orient,-webkit-box-pack,-webkit-box-shadow,"
+ "-webkit-box-sizing,-webkit-filter,-webkit-flex,-webkit-flex-basis,-webkit-flex-direction,"
+ "-webkit-flex-flow,-webkit-flex-grow,-webkit-flex-shrink,-webkit-flex-wrap,"
+ "-webkit-justify-content,-webkit-line-clamp,-webkit-mask,-webkit-mask-clip,-webkit-mask-composite,"
+ "-webkit-mask-image,-webkit-mask-origin,-webkit-mask-position,-webkit-mask-position-x,"
+ "-webkit-mask-position-y,-webkit-mask-repeat,-webkit-mask-size,-webkit-order,-webkit-perspective,"
+ "-webkit-perspective-origin,-webkit-text-fill-color,-webkit-text-size-adjust,-webkit-text-stroke,"
+ "-webkit-text-stroke-color,-webkit-text-stroke-width,-webkit-transform,-webkit-transform-origin,"
+ "-webkit-transform-style,-webkit-transition,-webkit-transition-delay,-webkit-transition-duration,"
+ "-webkit-transition-property,-webkit-transition-timing-function,-webkit-user-select,0,1,10,100,"
+ "101,102,103,104,105,106,107,108,109,11,110,111,112,113,114,115,116,117,118,119,12,120,121,122,"
+ "123,124,125,126,127,128,129,13,130,131,132,133,134,135,136,137,138,139,14,140,141,142,143,144,"
+ "145,146,147,148,149,15,150,151,152,153,154,155,156,157,158,159,16,160,161,162,163,164,165,166,"
+ "167,168,169,17,170,171,172,173,174,175,176,177,178,179,18,180,181,182,183,184,185,186,187,188,"
+ "189,19,190,191,192,193,194,195,196,197,198,199,2,20,200,201,202,203,204,205,206,207,208,209,21,"
+ "210,211,212,213,214,215,216,217,218,219,22,220,221,222,223,224,225,226,227,228,229,23,230,231,"
+ "232,233,234,235,236,237,238,239,24,240,241,242,243,244,245,246,247,248,249,25,250,251,252,253,"
+ "254,255,256,257,258,259,26,260,261,262,263,264,265,266,267,268,269,27,270,271,272,273,274,275,"
+ "276,277,278,279,28,280,281,282,283,284,285,286,287,288,289,29,290,291,292,293,294,295,296,297,"
+ "298,299,3,30,300,301,302,303,304,305,306,307,308,309,31,310,311,312,313,314,315,316,317,318,319,"
+ "32,320,321,322,323,324,325,326,327,328,329,33,330,331,332,333,334,335,336,337,338,339,34,340,341,"
+ "342,343,344,345,35,36,37,38,39,4,40,41,42,43,44,45,46,47,48,49,5,50,51,52,53,54,55,56,57,58,59,6,"
+ "60,61,62,63,64,65,66,67,68,69,7,70,71,72,73,74,75,76,77,78,79,8,80,81,82,83,84,85,86,87,88,89,9,"
+ "90,91,92,93,94,95,96,97,98,99,accent-color,accentColor,align-content,align-items,align-self,"
+ "alignContent,alignItems,alignSelf,all,animation,animation-delay,animation-direction,"
+ "animation-duration,animation-fill-mode,animation-iteration-count,animation-name,"
+ "animation-play-state,animation-timing-function,animationDelay,animationDirection,"
+ "animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,"
+ "animationTimingFunction,appearance,aspect-ratio,aspectRatio,backface-visibility,"
+ "backfaceVisibility,background,background-attachment,background-blend-mode,background-clip,"
+ "background-color,background-image,background-origin,background-position,background-position-x,"
+ "background-position-y,background-repeat,background-size,backgroundAttachment,backgroundBlendMode,"
+ "backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,"
+ "backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,block-size,blockSize,"
+ "border,border-block,border-block-color,border-block-end,border-block-end-color,"
+ "border-block-end-style,border-block-end-width,border-block-start,border-block-start-color,"
+ "border-block-start-style,border-block-start-width,border-block-style,border-block-width,"
+ "border-bottom,border-bottom-color,border-bottom-left-radius,border-bottom-right-radius,"
+ "border-bottom-style,border-bottom-width,border-collapse,border-color,border-end-end-radius,"
+ "border-end-start-radius,border-image,border-image-outset,border-image-repeat,border-image-slice,"
+ "border-image-source,border-image-width,border-inline,border-inline-color,border-inline-end,"
+ "border-inline-end-color,border-inline-end-style,border-inline-end-width,border-inline-start,"
+ "border-inline-start-color,border-inline-start-style,border-inline-start-width,"
+ "border-inline-style,border-inline-width,border-left,border-left-color,border-left-style,"
+ "border-left-width,border-radius,border-right,border-right-color,border-right-style,"
+ "border-right-width,border-spacing,border-start-end-radius,border-start-start-radius,border-style,"
+ "border-top,border-top-color,border-top-left-radius,border-top-right-radius,border-top-style,"
+ "border-top-width,border-width,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,"
+ "borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,"
+ "borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,"
+ "borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,"
+ "borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,"
+ "borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,"
+ "borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,"
+ "borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,"
+ "borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,"
+ "borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,"
+ "borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,"
+ "borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,"
+ "borderWidth,bottom,box-decoration-break,box-shadow,box-sizing,boxDecorationBreak,boxShadow,"
+ "boxSizing,break-after,break-before,break-inside,breakAfter,breakBefore,breakInside,caption-side,"
+ "captionSide,caret-color,caretColor,clear,clip,clip-path,clip-rule,clipPath,clipRule,color,"
+ "color-adjust,color-interpolation,color-interpolation-filters,color-scheme,colorAdjust,"
+ "colorInterpolation,colorInterpolationFilters,colorScheme,column-count,column-fill,column-gap,"
+ "column-rule,column-rule-color,column-rule-style,column-rule-width,column-span,column-width,"
+ "columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,"
+ "columns,columnSpan,columnWidth,contain,content,counter-increment,counter-reset,counter-set,"
+ "counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,d,direction,display,"
+ "dominant-baseline,dominantBaseline,empty-cells,emptyCells,fill,fill-opacity,fill-rule,"
+ "fillOpacity,fillRule,filter,flex,flex-basis,flex-direction,flex-flow,flex-grow,flex-shrink,"
+ "flex-wrap,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,flood-color,"
+ "flood-opacity,floodColor,floodOpacity,font,font-family,font-feature-settings,font-kerning,"
+ "font-language-override,font-optical-sizing,font-size,font-size-adjust,font-stretch,font-style,"
+ "font-synthesis,font-variant,font-variant-alternates,font-variant-caps,font-variant-east-asian,"
+ "font-variant-ligatures,font-variant-numeric,font-variant-position,font-variation-settings,"
+ "font-weight,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,"
+ "fontSize,fontSizeAdjust,fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,"
+ "fontVariantCaps,fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,"
+ "fontVariationSettings,fontWeight,gap,getPropertyPriority(),getPropertyValue(),grid,grid-area,"
+ "grid-auto-columns,grid-auto-flow,grid-auto-rows,grid-column,grid-column-end,grid-column-gap,"
+ "grid-column-start,grid-gap,grid-row,grid-row-end,grid-row-gap,grid-row-start,grid-template,"
+ "grid-template-areas,grid-template-columns,grid-template-rows,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphenate-character,hyphenateCharacter,hyphens,image-orientation,"
+ "image-rendering,imageOrientation,imageRendering,ime-mode,imeMode,inline-size,inlineSize,inset,"
+ "inset-block,inset-block-end,inset-block-start,inset-inline,inset-inline-end,inset-inline-start,"
+ "insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,"
+ "item(),justify-content,justify-items,justify-self,justifyContent,justifyItems,justifySelf,left,"
+ "length,letter-spacing,letterSpacing,lighting-color,lightingColor,line-break,line-height,"
+ "lineBreak,lineHeight,list-style,list-style-image,list-style-position,list-style-type,listStyle,"
+ "listStyleImage,listStylePosition,listStyleType,margin,margin-block,margin-block-end,"
+ "margin-block-start,margin-bottom,margin-inline,margin-inline-end,margin-inline-start,margin-left,"
+ "margin-right,margin-top,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,"
+ "marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marker,marker-end,marker-mid,"
+ "marker-start,markerEnd,markerMid,markerStart,mask,mask-clip,mask-composite,mask-image,mask-mode,"
+ "mask-origin,mask-position,mask-position-x,mask-position-y,mask-repeat,mask-size,mask-type,"
+ "maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskPositionX,maskPositionY,"
+ "maskRepeat,maskSize,maskType,max-block-size,max-height,max-inline-size,max-width,maxBlockSize,"
+ "maxHeight,maxInlineSize,maxWidth,min-block-size,min-height,min-inline-size,min-width,"
+ "minBlockSize,minHeight,minInlineSize,minWidth,mix-blend-mode,mixBlendMode,MozAnimation,"
+ "MozAnimationDelay,MozAnimationDirection,MozAnimationDuration,MozAnimationFillMode,"
+ "MozAnimationIterationCount,MozAnimationName,MozAnimationPlayState,MozAnimationTimingFunction,"
+ "MozAppearance,MozBackfaceVisibility,MozBorderEnd,MozBorderEndColor,MozBorderEndStyle,"
+ "MozBorderEndWidth,MozBorderImage,MozBorderStart,MozBorderStartColor,MozBorderStartStyle,"
+ "MozBorderStartWidth,MozBoxAlign,MozBoxDirection,MozBoxFlex,MozBoxOrdinalGroup,MozBoxOrient,"
+ "MozBoxPack,MozBoxSizing,MozFloatEdge,MozFontFeatureSettings,MozFontLanguageOverride,"
+ "MozForceBrokenImageIcon,MozHyphens,MozImageRegion,MozMarginEnd,MozMarginStart,MozOrient,"
+ "MozPaddingEnd,MozPaddingStart,MozPerspective,MozPerspectiveOrigin,MozTabSize,MozTextSizeAdjust,"
+ "MozTransform,MozTransformOrigin,MozTransformStyle,MozTransition,MozTransitionDelay,"
+ "MozTransitionDuration,MozTransitionProperty,MozTransitionTimingFunction,MozUserFocus,"
+ "MozUserInput,MozUserModify,MozUserSelect,MozWindowDragging,object-fit,object-position,objectFit,"
+ "objectPosition,offset,offset-anchor,offset-distance,offset-path,offset-rotate,offsetAnchor,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,outline,outline-color,outline-offset,"
+ "outline-style,outline-width,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,"
+ "overflow-anchor,overflow-block,overflow-inline,overflow-wrap,overflow-x,overflow-y,"
+ "overflowAnchor,overflowBlock,overflowInline,overflowWrap,overflowX,overflowY,overscroll-behavior,"
+ "overscroll-behavior-block,overscroll-behavior-inline,overscroll-behavior-x,overscroll-behavior-y,"
+ "overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,"
+ "overscrollBehaviorY,padding,padding-block,padding-block-end,padding-block-start,padding-bottom,"
+ "padding-inline,padding-inline-end,padding-inline-start,padding-left,padding-right,padding-top,"
+ "paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page-break-after,page-break-before,"
+ "page-break-inside,pageBreakAfter,pageBreakBefore,pageBreakInside,paint-order,paintOrder,"
+ "parentRule,perspective,perspective-origin,perspectiveOrigin,place-content,place-items,place-self,"
+ "placeContent,placeItems,placeSelf,pointer-events,pointerEvents,position,print-color-adjust,"
+ "printColorAdjust,quotes,r,removeProperty(),resize,right,rotate,row-gap,rowGap,ruby-align,"
+ "ruby-position,rubyAlign,rubyPosition,rx,ry,scale,scroll-behavior,scroll-margin,"
+ "scroll-margin-block,scroll-margin-block-end,scroll-margin-block-start,scroll-margin-bottom,"
+ "scroll-margin-inline,scroll-margin-inline-end,scroll-margin-inline-start,scroll-margin-left,"
+ "scroll-margin-right,scroll-margin-top,scroll-padding,scroll-padding-block,"
+ "scroll-padding-block-end,scroll-padding-block-start,scroll-padding-bottom,scroll-padding-inline,"
+ "scroll-padding-inline-end,scroll-padding-inline-start,scroll-padding-left,scroll-padding-right,"
+ "scroll-padding-top,scroll-snap-align,scroll-snap-type,scrollbar-color,scrollbar-gutter,"
+ "scrollbar-width,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,"
+ "scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,"
+ "scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,"
+ "scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,"
+ "scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,"
+ "scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,"
+ "scrollSnapType,setProperty(),shape-image-threshold,shape-margin,shape-outside,shape-rendering,"
+ "shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stop-color,stop-opacity,stopColor,"
+ "stopOpacity,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,"
+ "stroke-miterlimit,stroke-opacity,stroke-width,strokeDasharray,strokeDashoffset,strokeLinecap,"
+ "strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tab-size,table-layout,tableLayout,"
+ "tabSize,text-align,text-align-last,text-anchor,text-combine-upright,text-decoration,"
+ "text-decoration-color,text-decoration-line,text-decoration-skip-ink,text-decoration-style,"
+ "text-decoration-thickness,text-emphasis,text-emphasis-color,text-emphasis-position,"
+ "text-emphasis-style,text-indent,text-justify,text-orientation,text-overflow,text-rendering,"
+ "text-shadow,text-transform,text-underline-offset,text-underline-position,textAlign,textAlignLast,"
+ "textAnchor,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,"
+ "textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,"
+ "textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,"
+ "textRendering,textShadow,textTransform,textUnderlineOffset,textUnderlinePosition,top,"
+ "touch-action,touchAction,transform,transform-box,transform-origin,transform-style,transformBox,"
+ "transformOrigin,transformStyle,transition,transition-delay,transition-duration,"
+ "transition-property,transition-timing-function,transitionDelay,transitionDuration,"
+ "transitionProperty,transitionTimingFunction,translate,unicode-bidi,unicodeBidi,user-select,"
+ "userSelect,vector-effect,vectorEffect,vertical-align,verticalAlign,visibility,WebkitAlignContent,"
+ "webkitAlignContent,WebkitAlignItems,webkitAlignItems,WebkitAlignSelf,webkitAlignSelf,"
+ "WebkitAnimation,webkitAnimation,WebkitAnimationDelay,webkitAnimationDelay,"
+ "WebkitAnimationDirection,webkitAnimationDirection,WebkitAnimationDuration,"
+ "webkitAnimationDuration,WebkitAnimationFillMode,webkitAnimationFillMode,"
+ "WebkitAnimationIterationCount,webkitAnimationIterationCount,WebkitAnimationName,"
+ "webkitAnimationName,WebkitAnimationPlayState,webkitAnimationPlayState,"
+ "WebkitAnimationTimingFunction,webkitAnimationTimingFunction,WebkitAppearance,webkitAppearance,"
+ "WebkitBackfaceVisibility,webkitBackfaceVisibility,WebkitBackgroundClip,webkitBackgroundClip,"
+ "WebkitBackgroundOrigin,webkitBackgroundOrigin,WebkitBackgroundSize,webkitBackgroundSize,"
+ "WebkitBorderBottomLeftRadius,webkitBorderBottomLeftRadius,WebkitBorderBottomRightRadius,"
+ "webkitBorderBottomRightRadius,WebkitBorderImage,webkitBorderImage,WebkitBorderRadius,"
+ "webkitBorderRadius,WebkitBorderTopLeftRadius,webkitBorderTopLeftRadius,"
+ "WebkitBorderTopRightRadius,webkitBorderTopRightRadius,WebkitBoxAlign,webkitBoxAlign,"
+ "WebkitBoxDirection,webkitBoxDirection,WebkitBoxFlex,webkitBoxFlex,WebkitBoxOrdinalGroup,"
+ "webkitBoxOrdinalGroup,WebkitBoxOrient,webkitBoxOrient,WebkitBoxPack,webkitBoxPack,"
+ "WebkitBoxShadow,webkitBoxShadow,WebkitBoxSizing,webkitBoxSizing,WebkitFilter,webkitFilter,"
+ "WebkitFlex,webkitFlex,WebkitFlexBasis,webkitFlexBasis,WebkitFlexDirection,webkitFlexDirection,"
+ "WebkitFlexFlow,webkitFlexFlow,WebkitFlexGrow,webkitFlexGrow,WebkitFlexShrink,webkitFlexShrink,"
+ "WebkitFlexWrap,webkitFlexWrap,WebkitJustifyContent,webkitJustifyContent,WebkitLineClamp,"
+ "webkitLineClamp,WebkitMask,webkitMask,WebkitMaskClip,webkitMaskClip,WebkitMaskComposite,"
+ "webkitMaskComposite,WebkitMaskImage,webkitMaskImage,WebkitMaskOrigin,webkitMaskOrigin,"
+ "WebkitMaskPosition,webkitMaskPosition,WebkitMaskPositionX,webkitMaskPositionX,"
+ "WebkitMaskPositionY,webkitMaskPositionY,WebkitMaskRepeat,webkitMaskRepeat,WebkitMaskSize,"
+ "webkitMaskSize,WebkitOrder,webkitOrder,WebkitPerspective,webkitPerspective,"
+ "WebkitPerspectiveOrigin,webkitPerspectiveOrigin,WebkitTextFillColor,webkitTextFillColor,"
+ "WebkitTextSizeAdjust,webkitTextSizeAdjust,WebkitTextStroke,webkitTextStroke,"
+ "WebkitTextStrokeColor,webkitTextStrokeColor,WebkitTextStrokeWidth,webkitTextStrokeWidth,"
+ "WebkitTransform,webkitTransform,WebkitTransformOrigin,webkitTransformOrigin,WebkitTransformStyle,"
+ "webkitTransformStyle,WebkitTransition,webkitTransition,WebkitTransitionDelay,"
+ "webkitTransitionDelay,WebkitTransitionDuration,webkitTransitionDuration,WebkitTransitionProperty,"
+ "webkitTransitionProperty,WebkitTransitionTimingFunction,webkitTransitionTimingFunction,"
+ "WebkitUserSelect,webkitUserSelect,white-space,whiteSpace,width,will-change,willChange,word-break,"
+ "word-spacing,word-wrap,wordBreak,wordSpacing,wordWrap,writing-mode,writingMode,x,y,z-index,"
+ "zIndex",
FF_ESR = "-moz-animation,-moz-animation-delay,-moz-animation-direction,-moz-animation-duration,"
+ "-moz-animation-fill-mode,-moz-animation-iteration-count,-moz-animation-name,"
+ "-moz-animation-play-state,-moz-animation-timing-function,-moz-appearance,"
+ "-moz-backface-visibility,-moz-border-end,-moz-border-end-color,-moz-border-end-style,"
+ "-moz-border-end-width,-moz-border-image,-moz-border-start,-moz-border-start-color,"
+ "-moz-border-start-style,-moz-border-start-width,-moz-box-align,-moz-box-direction,-moz-box-flex,"
+ "-moz-box-ordinal-group,-moz-box-orient,-moz-box-pack,-moz-box-sizing,-moz-float-edge,"
+ "-moz-font-feature-settings,-moz-font-language-override,-moz-force-broken-image-icon,-moz-hyphens,"
+ "-moz-image-region,-moz-margin-end,-moz-margin-start,-moz-orient,-moz-padding-end,"
+ "-moz-padding-start,-moz-perspective,-moz-perspective-origin,-moz-tab-size,-moz-text-size-adjust,"
+ "-moz-transform,-moz-transform-origin,-moz-transform-style,-moz-transition,-moz-transition-delay,"
+ "-moz-transition-duration,-moz-transition-property,-moz-transition-timing-function,"
+ "-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,-moz-window-dragging,"
+ "-webkit-align-content,-webkit-align-items,-webkit-align-self,-webkit-animation,"
+ "-webkit-animation-delay,-webkit-animation-direction,-webkit-animation-duration,"
+ "-webkit-animation-fill-mode,-webkit-animation-iteration-count,-webkit-animation-name,"
+ "-webkit-animation-play-state,-webkit-animation-timing-function,-webkit-appearance,"
+ "-webkit-backface-visibility,-webkit-background-clip,-webkit-background-origin,"
+ "-webkit-background-size,-webkit-border-bottom-left-radius,-webkit-border-bottom-right-radius,"
+ "-webkit-border-image,-webkit-border-radius,-webkit-border-top-left-radius,"
+ "-webkit-border-top-right-radius,-webkit-box-align,-webkit-box-direction,-webkit-box-flex,"
+ "-webkit-box-ordinal-group,-webkit-box-orient,-webkit-box-pack,-webkit-box-shadow,"
+ "-webkit-box-sizing,-webkit-filter,-webkit-flex,-webkit-flex-basis,-webkit-flex-direction,"
+ "-webkit-flex-flow,-webkit-flex-grow,-webkit-flex-shrink,-webkit-flex-wrap,"
+ "-webkit-justify-content,-webkit-line-clamp,-webkit-mask,-webkit-mask-clip,-webkit-mask-composite,"
+ "-webkit-mask-image,-webkit-mask-origin,-webkit-mask-position,-webkit-mask-position-x,"
+ "-webkit-mask-position-y,-webkit-mask-repeat,-webkit-mask-size,-webkit-order,-webkit-perspective,"
+ "-webkit-perspective-origin,-webkit-text-fill-color,-webkit-text-size-adjust,-webkit-text-stroke,"
+ "-webkit-text-stroke-color,-webkit-text-stroke-width,-webkit-transform,-webkit-transform-origin,"
+ "-webkit-transform-style,-webkit-transition,-webkit-transition-delay,-webkit-transition-duration,"
+ "-webkit-transition-property,-webkit-transition-timing-function,-webkit-user-select,0,1,10,100,"
+ "101,102,103,104,105,106,107,108,109,11,110,111,112,113,114,115,116,117,118,119,12,120,121,122,"
+ "123,124,125,126,127,128,129,13,130,131,132,133,134,135,136,137,138,139,14,140,141,142,143,144,"
+ "145,146,147,148,149,15,150,151,152,153,154,155,156,157,158,159,16,160,161,162,163,164,165,166,"
+ "167,168,169,17,170,171,172,173,174,175,176,177,178,179,18,180,181,182,183,184,185,186,187,188,"
+ "189,19,190,191,192,193,194,195,196,197,198,199,2,20,200,201,202,203,204,205,206,207,208,209,21,"
+ "210,211,212,213,214,215,216,217,218,219,22,220,221,222,223,224,225,226,227,228,229,23,230,231,"
+ "232,233,234,235,236,237,238,239,24,240,241,242,243,244,245,246,247,248,249,25,250,251,252,253,"
+ "254,255,256,257,258,259,26,260,261,262,263,264,265,266,267,268,269,27,270,271,272,273,274,275,"
+ "276,277,278,279,28,280,281,282,283,284,285,286,287,288,289,29,290,291,292,293,294,295,296,297,"
+ "298,299,3,30,300,301,302,303,304,305,306,307,308,309,31,310,311,312,313,314,315,316,317,318,319,"
+ "32,320,321,322,323,324,325,326,327,328,329,33,330,331,332,333,334,335,336,337,338,339,34,340,341,"
+ "342,343,344,345,346,347,348,35,36,37,38,39,4,40,41,42,43,44,45,46,47,48,49,5,50,51,52,53,54,55,"
+ "56,57,58,59,6,60,61,62,63,64,65,66,67,68,69,7,70,71,72,73,74,75,76,77,78,79,8,80,81,82,83,84,85,"
+ "86,87,88,89,9,90,91,92,93,94,95,96,97,98,99,align-content,align-items,align-self,alignContent,"
+ "alignItems,alignSelf,all,animation,animation-delay,animation-direction,animation-duration,"
+ "animation-fill-mode,animation-iteration-count,animation-name,animation-play-state,"
+ "animation-timing-function,animationDelay,animationDirection,animationDuration,animationFillMode,"
+ "animationIterationCount,animationName,animationPlayState,animationTimingFunction,appearance,"
+ "aspect-ratio,aspectRatio,backface-visibility,backfaceVisibility,background,background-attachment,"
+ "background-blend-mode,background-clip,background-color,background-image,background-origin,"
+ "background-position,background-position-x,background-position-y,background-repeat,"
+ "background-size,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,"
+ "backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,"
+ "backgroundRepeat,backgroundSize,block-size,blockSize,border,border-block,border-block-color,"
+ "border-block-end,border-block-end-color,border-block-end-style,border-block-end-width,"
+ "border-block-start,border-block-start-color,border-block-start-style,border-block-start-width,"
+ "border-block-style,border-block-width,border-bottom,border-bottom-color,"
+ "border-bottom-left-radius,border-bottom-right-radius,border-bottom-style,border-bottom-width,"
+ "border-collapse,border-color,border-end-end-radius,border-end-start-radius,border-image,"
+ "border-image-outset,border-image-repeat,border-image-slice,border-image-source,"
+ "border-image-width,border-inline,border-inline-color,border-inline-end,border-inline-end-color,"
+ "border-inline-end-style,border-inline-end-width,border-inline-start,border-inline-start-color,"
+ "border-inline-start-style,border-inline-start-width,border-inline-style,border-inline-width,"
+ "border-left,border-left-color,border-left-style,border-left-width,border-radius,border-right,"
+ "border-right-color,border-right-style,border-right-width,border-spacing,border-start-end-radius,"
+ "border-start-start-radius,border-style,border-top,border-top-color,border-top-left-radius,"
+ "border-top-right-radius,border-top-style,border-top-width,border-width,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "box-decoration-break,box-shadow,box-sizing,boxDecorationBreak,boxShadow,boxSizing,break-after,"
+ "break-before,break-inside,breakAfter,breakBefore,breakInside,caption-side,captionSide,"
+ "caret-color,caretColor,clear,clip,clip-path,clip-rule,clipPath,clipRule,color,color-adjust,"
+ "color-interpolation,color-interpolation-filters,colorAdjust,colorInterpolation,"
+ "colorInterpolationFilters,column-count,column-fill,column-gap,column-rule,column-rule-color,"
+ "column-rule-style,column-rule-width,column-span,column-width,columnCount,columnFill,columnGap,"
+ "columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columns,columnSpan,columnWidth,"
+ "contain,content,counter-increment,counter-reset,counter-set,counterIncrement,counterReset,"
+ "counterSet,cssFloat,cssText,cursor,cx,cy,direction,display,dominant-baseline,dominantBaseline,"
+ "empty-cells,emptyCells,fill,fill-opacity,fill-rule,fillOpacity,fillRule,filter,flex,flex-basis,"
+ "flex-direction,flex-flow,flex-grow,flex-shrink,flex-wrap,flexBasis,flexDirection,flexFlow,"
+ "flexGrow,flexShrink,flexWrap,float,flood-color,flood-opacity,floodColor,floodOpacity,font,"
+ "font-family,font-feature-settings,font-kerning,font-language-override,font-optical-sizing,"
+ "font-size,font-size-adjust,font-stretch,font-style,font-synthesis,font-variant,"
+ "font-variant-alternates,font-variant-caps,font-variant-east-asian,font-variant-ligatures,"
+ "font-variant-numeric,font-variant-position,font-variation-settings,font-weight,fontFamily,"
+ "fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontSize,fontSizeAdjust,"
+ "fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,"
+ "fontVariationSettings,fontWeight,gap,getPropertyPriority(),getPropertyValue(),grid,grid-area,"
+ "grid-auto-columns,grid-auto-flow,grid-auto-rows,grid-column,grid-column-end,grid-column-gap,"
+ "grid-column-start,grid-gap,grid-row,grid-row-end,grid-row-gap,grid-row-start,grid-template,"
+ "grid-template-areas,grid-template-columns,grid-template-rows,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,image-orientation,image-rendering,imageOrientation,"
+ "imageRendering,ime-mode,imeMode,inline-size,inlineSize,inset,inset-block,inset-block-end,"
+ "inset-block-start,inset-inline,inset-inline-end,inset-inline-start,insetBlock,insetBlockEnd,"
+ "insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,item(),justify-content,"
+ "justify-items,justify-self,justifyContent,justifyItems,justifySelf,left,length,letter-spacing,"
+ "letterSpacing,lighting-color,lightingColor,line-break,line-height,lineBreak,lineHeight,"
+ "list-style,list-style-image,list-style-position,list-style-type,listStyle,listStyleImage,"
+ "listStylePosition,listStyleType,margin,margin-block,margin-block-end,margin-block-start,"
+ "margin-bottom,margin-inline,margin-inline-end,margin-inline-start,margin-left,margin-right,"
+ "margin-top,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,marker-end,marker-mid,marker-start,"
+ "markerEnd,markerMid,markerStart,mask,mask-clip,mask-composite,mask-image,mask-mode,mask-origin,"
+ "mask-position,mask-position-x,mask-position-y,mask-repeat,mask-size,mask-type,maskClip,"
+ "maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskPositionX,maskPositionY,maskRepeat,"
+ "maskSize,maskType,max-block-size,max-height,max-inline-size,max-width,maxBlockSize,maxHeight,"
+ "maxInlineSize,maxWidth,min-block-size,min-height,min-inline-size,min-width,minBlockSize,"
+ "minHeight,minInlineSize,minWidth,mix-blend-mode,mixBlendMode,MozAnimation,MozAnimationDelay,"
+ "MozAnimationDirection,MozAnimationDuration,MozAnimationFillMode,MozAnimationIterationCount,"
+ "MozAnimationName,MozAnimationPlayState,MozAnimationTimingFunction,MozAppearance,"
+ "MozBackfaceVisibility,MozBorderEnd,MozBorderEndColor,MozBorderEndStyle,MozBorderEndWidth,"
+ "MozBorderImage,MozBorderStart,MozBorderStartColor,MozBorderStartStyle,MozBorderStartWidth,"
+ "MozBoxAlign,MozBoxDirection,MozBoxFlex,MozBoxOrdinalGroup,MozBoxOrient,MozBoxPack,MozBoxSizing,"
+ "MozFloatEdge,MozFontFeatureSettings,MozFontLanguageOverride,MozForceBrokenImageIcon,MozHyphens,"
+ "MozImageRegion,MozMarginEnd,MozMarginStart,MozOrient,MozPaddingEnd,MozPaddingStart,"
+ "MozPerspective,MozPerspectiveOrigin,MozTabSize,MozTextSizeAdjust,MozTransform,MozTransformOrigin,"
+ "MozTransformStyle,MozTransition,MozTransitionDelay,MozTransitionDuration,MozTransitionProperty,"
+ "MozTransitionTimingFunction,MozUserFocus,MozUserInput,MozUserModify,MozUserSelect,"
+ "MozWindowDragging,object-fit,object-position,objectFit,objectPosition,offset,offset-anchor,"
+ "offset-distance,offset-path,offset-rotate,offsetAnchor,offsetDistance,offsetPath,offsetRotate,"
+ "opacity,order,outline,outline-color,outline-offset,outline-style,outline-width,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflow-anchor,overflow-block,overflow-inline,"
+ "overflow-wrap,overflow-x,overflow-y,overflowAnchor,overflowBlock,overflowInline,overflowWrap,"
+ "overflowX,overflowY,overscroll-behavior,overscroll-behavior-block,overscroll-behavior-inline,"
+ "overscroll-behavior-x,overscroll-behavior-y,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,padding-block,"
+ "padding-block-end,padding-block-start,padding-bottom,padding-inline,padding-inline-end,"
+ "padding-inline-start,padding-left,padding-right,padding-top,paddingBlock,paddingBlockEnd,"
+ "paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,"
+ "paddingRight,paddingTop,page-break-after,page-break-before,page-break-inside,pageBreakAfter,"
+ "pageBreakBefore,pageBreakInside,paint-order,paintOrder,parentRule,perspective,perspective-origin,"
+ "perspectiveOrigin,place-content,place-items,place-self,placeContent,placeItems,placeSelf,"
+ "pointer-events,pointerEvents,position,quotes,r,removeProperty(),resize,right,rotate,row-gap,"
+ "rowGap,ruby-align,ruby-position,rubyAlign,rubyPosition,rx,ry,scale,scroll-behavior,scroll-margin,"
+ "scroll-margin-block,scroll-margin-block-end,scroll-margin-block-start,scroll-margin-bottom,"
+ "scroll-margin-inline,scroll-margin-inline-end,scroll-margin-inline-start,scroll-margin-left,"
+ "scroll-margin-right,scroll-margin-top,scroll-padding,scroll-padding-block,"
+ "scroll-padding-block-end,scroll-padding-block-start,scroll-padding-bottom,scroll-padding-inline,"
+ "scroll-padding-inline-end,scroll-padding-inline-start,scroll-padding-left,scroll-padding-right,"
+ "scroll-padding-top,scroll-snap-align,scroll-snap-type,scrollbar-color,scrollbar-width,"
+ "scrollbarColor,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,"
+ "scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,"
+ "scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,"
+ "scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,"
+ "scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,"
+ "scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapType,setProperty(),"
+ "shape-image-threshold,shape-margin,shape-outside,shape-rendering,shapeImageThreshold,shapeMargin,"
+ "shapeOutside,shapeRendering,stop-color,stop-opacity,stopColor,stopOpacity,stroke,"
+ "stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,"
+ "stroke-opacity,stroke-width,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,"
+ "strokeMiterlimit,strokeOpacity,strokeWidth,tab-size,table-layout,tableLayout,tabSize,text-align,"
+ "text-align-last,text-anchor,text-combine-upright,text-decoration,text-decoration-color,"
+ "text-decoration-line,text-decoration-skip-ink,text-decoration-style,text-decoration-thickness,"
+ "text-emphasis,text-emphasis-color,text-emphasis-position,text-emphasis-style,text-indent,"
+ "text-justify,text-orientation,text-overflow,text-rendering,text-shadow,text-transform,"
+ "text-underline-offset,text-underline-position,textAlign,textAlignLast,textAnchor,"
+ "textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkipInk,"
+ "textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,"
+ "textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,"
+ "textTransform,textUnderlineOffset,textUnderlinePosition,top,touch-action,touchAction,transform,"
+ "transform-box,transform-origin,transform-style,transformBox,transformOrigin,transformStyle,"
+ "transition,transition-delay,transition-duration,transition-property,transition-timing-function,"
+ "transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,"
+ "unicode-bidi,unicodeBidi,user-select,userSelect,vector-effect,vectorEffect,vertical-align,"
+ "verticalAlign,visibility,WebkitAlignContent,webkitAlignContent,WebkitAlignItems,webkitAlignItems,"
+ "WebkitAlignSelf,webkitAlignSelf,WebkitAnimation,webkitAnimation,WebkitAnimationDelay,"
+ "webkitAnimationDelay,WebkitAnimationDirection,webkitAnimationDirection,WebkitAnimationDuration,"
+ "webkitAnimationDuration,WebkitAnimationFillMode,webkitAnimationFillMode,"
+ "WebkitAnimationIterationCount,webkitAnimationIterationCount,WebkitAnimationName,"
+ "webkitAnimationName,WebkitAnimationPlayState,webkitAnimationPlayState,"
+ "WebkitAnimationTimingFunction,webkitAnimationTimingFunction,WebkitAppearance,webkitAppearance,"
+ "WebkitBackfaceVisibility,webkitBackfaceVisibility,WebkitBackgroundClip,webkitBackgroundClip,"
+ "WebkitBackgroundOrigin,webkitBackgroundOrigin,WebkitBackgroundSize,webkitBackgroundSize,"
+ "WebkitBorderBottomLeftRadius,webkitBorderBottomLeftRadius,WebkitBorderBottomRightRadius,"
+ "webkitBorderBottomRightRadius,WebkitBorderImage,webkitBorderImage,WebkitBorderRadius,"
+ "webkitBorderRadius,WebkitBorderTopLeftRadius,webkitBorderTopLeftRadius,"
+ "WebkitBorderTopRightRadius,webkitBorderTopRightRadius,WebkitBoxAlign,webkitBoxAlign,"
+ "WebkitBoxDirection,webkitBoxDirection,WebkitBoxFlex,webkitBoxFlex,WebkitBoxOrdinalGroup,"
+ "webkitBoxOrdinalGroup,WebkitBoxOrient,webkitBoxOrient,WebkitBoxPack,webkitBoxPack,"
+ "WebkitBoxShadow,webkitBoxShadow,WebkitBoxSizing,webkitBoxSizing,WebkitFilter,webkitFilter,"
+ "WebkitFlex,webkitFlex,WebkitFlexBasis,webkitFlexBasis,WebkitFlexDirection,webkitFlexDirection,"
+ "WebkitFlexFlow,webkitFlexFlow,WebkitFlexGrow,webkitFlexGrow,WebkitFlexShrink,webkitFlexShrink,"
+ "WebkitFlexWrap,webkitFlexWrap,WebkitJustifyContent,webkitJustifyContent,WebkitLineClamp,"
+ "webkitLineClamp,WebkitMask,webkitMask,WebkitMaskClip,webkitMaskClip,WebkitMaskComposite,"
+ "webkitMaskComposite,WebkitMaskImage,webkitMaskImage,WebkitMaskOrigin,webkitMaskOrigin,"
+ "WebkitMaskPosition,webkitMaskPosition,WebkitMaskPositionX,webkitMaskPositionX,"
+ "WebkitMaskPositionY,webkitMaskPositionY,WebkitMaskRepeat,webkitMaskRepeat,WebkitMaskSize,"
+ "webkitMaskSize,WebkitOrder,webkitOrder,WebkitPerspective,webkitPerspective,"
+ "WebkitPerspectiveOrigin,webkitPerspectiveOrigin,WebkitTextFillColor,webkitTextFillColor,"
+ "WebkitTextSizeAdjust,webkitTextSizeAdjust,WebkitTextStroke,webkitTextStroke,"
+ "WebkitTextStrokeColor,webkitTextStrokeColor,WebkitTextStrokeWidth,webkitTextStrokeWidth,"
+ "WebkitTransform,webkitTransform,WebkitTransformOrigin,webkitTransformOrigin,WebkitTransformStyle,"
+ "webkitTransformStyle,WebkitTransition,webkitTransition,WebkitTransitionDelay,"
+ "webkitTransitionDelay,WebkitTransitionDuration,webkitTransitionDuration,WebkitTransitionProperty,"
+ "webkitTransitionProperty,WebkitTransitionTimingFunction,webkitTransitionTimingFunction,"
+ "WebkitUserSelect,webkitUserSelect,white-space,whiteSpace,width,will-change,willChange,word-break,"
+ "word-spacing,word-wrap,wordBreak,wordSpacing,wordWrap,writing-mode,writingMode,x,y,z-index,"
+ "zIndex",
IE = "alignContent,alignItems,alignmentBaseline,alignSelf,animation,animationDelay,animationDirection,"
+ "animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,"
+ "animationTimingFunction,backfaceVisibility,background,backgroundAttachment,backgroundClip,"
+ "backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,backgroundRepeat,"
+ "backgroundSize,baselineShift,border,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,"
+ "borderImageWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStyle,"
+ "borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,"
+ "borderWidth,bottom,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,clear,clip,"
+ "clipPath,clipRule,color,colorInterpolationFilters,columnCount,columnFill,columnGap,columnRule,"
+ "columnRuleColor,columnRuleStyle,columnRuleWidth,columns,columnSpan,columnWidth,content,"
+ "counterIncrement,counterReset,cssFloat,cssText,cursor,direction,display,dominantBaseline,"
+ "emptyCells,enableBackground,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,"
+ "flexFlow,flexGrow,flexShrink,flexWrap,floodColor,floodOpacity,font,fontFamily,"
+ "fontFeatureSettings,fontSize,fontSizeAdjust,fontStretch,fontStyle,fontVariant,fontWeight,"
+ "getPropertyPriority(),getPropertyValue(),glyphOrientationHorizontal,glyphOrientationVertical,"
+ "height,item(),justifyContent,kerning,left,length,letterSpacing,lightingColor,lineHeight,"
+ "listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBottom,marginLeft,"
+ "marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,maxHeight,maxWidth,minHeight,"
+ "minWidth,msAnimation,msAnimationDelay,msAnimationDirection,msAnimationDuration,"
+ "msAnimationFillMode,msAnimationIterationCount,msAnimationName,msAnimationPlayState,"
+ "msAnimationTimingFunction,msBackfaceVisibility,msContentZoomChaining,msContentZooming,"
+ "msContentZoomLimit,msContentZoomLimitMax,msContentZoomLimitMin,msContentZoomSnap,"
+ "msContentZoomSnapPoints,msContentZoomSnapType,msFlex,msFlexAlign,msFlexDirection,msFlexFlow,"
+ "msFlexItemAlign,msFlexLinePack,msFlexNegative,msFlexOrder,msFlexPack,msFlexPositive,"
+ "msFlexPreferredSize,msFlexWrap,msFlowFrom,msFlowInto,msFontFeatureSettings,msGridColumn,"
+ "msGridColumnAlign,msGridColumns,msGridColumnSpan,msGridRow,msGridRowAlign,msGridRows,"
+ "msGridRowSpan,msHighContrastAdjust,msHyphenateLimitChars,msHyphenateLimitLines,"
+ "msHyphenateLimitZone,msHyphens,msImeAlign,msOverflowStyle,msPerspective,msPerspectiveOrigin,"
+ "msScrollChaining,msScrollLimit,msScrollLimitXMax,msScrollLimitXMin,msScrollLimitYMax,"
+ "msScrollLimitYMin,msScrollRails,msScrollSnapPointsX,msScrollSnapPointsY,msScrollSnapType,"
+ "msScrollSnapX,msScrollSnapY,msScrollTranslation,msTextCombineHorizontal,msTextSizeAdjust,"
+ "msTouchAction,msTouchSelect,msTransform,msTransformOrigin,msTransformStyle,msTransition,"
+ "msTransitionDelay,msTransitionDuration,msTransitionProperty,msTransitionTimingFunction,"
+ "msUserSelect,msWrapFlow,msWrapMargin,msWrapThrough,opacity,order,orphans,outline,outlineColor,"
+ "outlineStyle,outlineWidth,overflow,overflowX,overflowY,padding,paddingBottom,paddingLeft,"
+ "paddingRight,paddingTop,pageBreakAfter,pageBreakBefore,pageBreakInside,parentRule,perspective,"
+ "perspectiveOrigin,pointerEvents,position,quotes,removeProperty(),right,rubyAlign,rubyOverhang,"
+ "rubyPosition,setProperty(),stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,"
+ "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tableLayout,textAlign,"
+ "textAlignLast,textAnchor,textDecoration,textIndent,textJustify,textOverflow,textShadow,"
+ "textTransform,textUnderlinePosition,top,touchAction,transform,transformOrigin,transformStyle,"
+ "transition,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,"
+ "unicodeBidi,verticalAlign,visibility,whiteSpace,widows,width,wordBreak,wordSpacing,wordWrap,"
+ "zIndex")
@HtmlUnitNYI(CHROME = "accentColor,additiveSymbols,alignContent,alignItems,alignmentBaseline,"
+ "alignSelf,all,animation,"
+ "animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,"
+ "animationName,animationPlayState,animationTimingFunction,appearance,appRegion,ascentOverride,"
+ "aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,"
+ "backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,"
+ "backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundRepeatX,"
+ "backgroundRepeatY,backgroundSize,baselineShift,basePalette,blockSize,border,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "boxShadow,boxSizing,breakAfter,breakBefore,breakInside,bufferedRendering,captionSide,caretColor,"
+ "clear,clip,clipPath,clipRule,color,colorInterpolation,colorInterpolationFilters,colorRendering,"
+ "colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,"
+ "columnRuleWidth,columns,columnSpan,columnWidth,contain,containIntrinsicBlockSize,"
+ "containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,"
+ "content,contentVisibility,counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,"
+ "d,descentOverride,direction,display,dominantBaseline,emptyCells,fallback,fill,fillOpacity,"
+ "fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,"
+ "floodColor,floodOpacity,font,fontDisplay,fontFamily,fontFeatureSettings,fontKerning,"
+ "fontOpticalSizing,fontPalette,fontSize,fontStretch,fontStyle,fontSynthesis,"
+ "fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariationSettings,fontWeight,"
+ "forcedColorAdjust,gap,getPropertyPriority(),getPropertyValue(),grid,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,imageOrientation,imageRendering,inherits,initialValue,inlineSize,"
+ "inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,"
+ "isolation,item(),justifyContent,justifyItems,justifySelf,left,length,letterSpacing,lightingColor,"
+ "lineBreak,lineGapOverride,lineHeight,listStyle,listStyleImage,listStylePosition,listStyleType,"
+ "margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,"
+ "maskType,maxBlockSize,maxHeight,maxInlineSize,maxWidth,maxZoom,minBlockSize,minHeight,"
+ "minInlineSize,minWidth,minZoom,mixBlendMode,negative,objectFit,objectPosition,offset,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,orientation,orphans,outline,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowClipMargin,overflowWrap,"
+ "overflowX,overflowY,overrideColors,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,pad,padding,paddingBlock,"
+ "paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,"
+ "pageBreakInside,pageOrientation,paintOrder,parentRule,perspective,perspectiveOrigin,placeContent,"
+ "placeItems,placeSelf,pointerEvents,position,prefix,quotes,r,range,removeProperty(),resize,right,"
+ "rowGap,rubyPosition,rx,ry,scrollbarGutter,scrollBehavior,scrollMargin,scrollMarginBlock,"
+ "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,"
+ "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,"
+ "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,"
+ "scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,"
+ "scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop,"
+ "scrollSnapType,setProperty(),shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size,"
+ "sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,"
+ "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax,"
+ "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright,textDecoration,"
+ "textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle,"
+ "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,"
+ "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,"
+ "textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,"
+ "transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,"
+ "transitionTimingFunction,unicodeBidi,unicodeRange,userSelect,userZoom,vectorEffect,verticalAlign,"
+ "visibility,webkitAlignContent,webkitAlignItems,webkitAlignSelf,webkitAnimation,"
+ "webkitAnimationDelay,webkitAnimationDirection,webkitAnimationDuration,webkitAnimationFillMode,"
+ "webkitAnimationIterationCount,webkitAnimationName,webkitAnimationPlayState,"
+ "webkitAnimationTimingFunction,webkitAppearance,webkitAppRegion,webkitBackfaceVisibility,"
+ "webkitBackgroundClip,webkitBackgroundOrigin,webkitBackgroundSize,webkitBorderAfter,"
+ "webkitBorderAfterColor,webkitBorderAfterStyle,webkitBorderAfterWidth,webkitBorderBefore,"
+ "webkitBorderBeforeColor,webkitBorderBeforeStyle,webkitBorderBeforeWidth,"
+ "webkitBorderBottomLeftRadius,webkitBorderBottomRightRadius,webkitBorderEnd,webkitBorderEndColor,"
+ "webkitBorderEndStyle,webkitBorderEndWidth,webkitBorderHorizontalSpacing,webkitBorderImage,"
+ "webkitBorderRadius,webkitBorderStart,webkitBorderStartColor,webkitBorderStartStyle,"
+ "webkitBorderStartWidth,webkitBorderTopLeftRadius,webkitBorderTopRightRadius,"
+ "webkitBorderVerticalSpacing,webkitBoxAlign,webkitBoxDecorationBreak,webkitBoxDirection,"
+ "webkitBoxFlex,webkitBoxOrdinalGroup,webkitBoxOrient,webkitBoxPack,webkitBoxReflect,"
+ "webkitBoxShadow,webkitBoxSizing,webkitClipPath,webkitColumnBreakAfter,webkitColumnBreakBefore,"
+ "webkitColumnBreakInside,webkitColumnCount,webkitColumnGap,webkitColumnRule,webkitColumnRuleColor,"
+ "webkitColumnRuleStyle,webkitColumnRuleWidth,webkitColumns,webkitColumnSpan,webkitColumnWidth,"
+ "webkitFilter,webkitFlex,webkitFlexBasis,webkitFlexDirection,webkitFlexFlow,webkitFlexGrow,"
+ "webkitFlexShrink,webkitFlexWrap,webkitFontFeatureSettings,webkitFontSmoothing,webkitHighlight,"
+ "webkitHyphenateCharacter,webkitJustifyContent,webkitLineBreak,webkitLineClamp,webkitLocale,"
+ "webkitLogicalHeight,webkitLogicalWidth,webkitMarginAfter,webkitMarginBefore,webkitMarginEnd,"
+ "webkitMarginStart,webkitMask,webkitMaskBoxImage,webkitMaskBoxImageOutset,"
+ "webkitMaskBoxImageRepeat,webkitMaskBoxImageSlice,webkitMaskBoxImageSource,"
+ "webkitMaskBoxImageWidth,webkitMaskClip,webkitMaskComposite,webkitMaskImage,webkitMaskOrigin,"
+ "webkitMaskPosition,webkitMaskPositionX,webkitMaskPositionY,webkitMaskRepeat,webkitMaskRepeatX,"
+ "webkitMaskRepeatY,webkitMaskSize,webkitMaxLogicalHeight,webkitMaxLogicalWidth,"
+ "webkitMinLogicalHeight,webkitMinLogicalWidth,webkitOpacity,webkitOrder,webkitPaddingAfter,"
+ "webkitPaddingBefore,webkitPaddingEnd,webkitPaddingStart,webkitPerspective,"
+ "webkitPerspectiveOrigin,webkitPerspectiveOriginX,webkitPerspectiveOriginY,webkitPrintColorAdjust,"
+ "webkitRtlOrdering,webkitRubyPosition,webkitShapeImageThreshold,webkitShapeMargin,"
+ "webkitShapeOutside,webkitTapHighlightColor,webkitTextCombine,webkitTextDecorationsInEffect,"
+ "webkitTextEmphasis,webkitTextEmphasisColor,webkitTextEmphasisPosition,webkitTextEmphasisStyle,"
+ "webkitTextFillColor,webkitTextOrientation,webkitTextSecurity,webkitTextSizeAdjust,"
+ "webkitTextStroke,webkitTextStrokeColor,webkitTextStrokeWidth,webkitTransform,"
+ "webkitTransformOrigin,webkitTransformOriginX,webkitTransformOriginY,webkitTransformOriginZ,"
+ "webkitTransformStyle,webkitTransition,webkitTransitionDelay,webkitTransitionDuration,"
+ "webkitTransitionProperty,webkitTransitionTimingFunction,webkitUserDrag,webkitUserModify,"
+ "webkitUserSelect,webkitWritingMode,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,"
+ "wordWrap,writingMode,x,y,zIndex,"
+ "zoom",
EDGE = "accentColor,additiveSymbols,alignContent,alignItems,alignmentBaseline,alignSelf,all,animation,"
+ "animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,"
+ "animationName,animationPlayState,animationTimingFunction,appearance,appRegion,ascentOverride,"
+ "aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,"
+ "backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,"
+ "backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundRepeatX,"
+ "backgroundRepeatY,backgroundSize,baselineShift,basePalette,blockSize,border,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "boxShadow,boxSizing,breakAfter,breakBefore,breakInside,bufferedRendering,captionSide,caretColor,"
+ "clear,clip,clipPath,clipRule,color,colorInterpolation,colorInterpolationFilters,colorRendering,"
+ "colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,"
+ "columnRuleWidth,columns,columnSpan,columnWidth,contain,containIntrinsicBlockSize,"
+ "containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,"
+ "content,contentVisibility,counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,"
+ "d,descentOverride,direction,display,dominantBaseline,emptyCells,fallback,fill,fillOpacity,"
+ "fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,"
+ "floodColor,floodOpacity,font,fontDisplay,fontFamily,fontFeatureSettings,fontKerning,"
+ "fontOpticalSizing,fontPalette,fontSize,fontStretch,fontStyle,fontSynthesis,"
+ "fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariationSettings,fontWeight,"
+ "forcedColorAdjust,gap,getPropertyPriority(),getPropertyValue(),grid,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,imageOrientation,imageRendering,inherits,initialValue,inlineSize,"
+ "inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,"
+ "isolation,item(),justifyContent,justifyItems,justifySelf,left,length,letterSpacing,lightingColor,"
+ "lineBreak,lineGapOverride,lineHeight,listStyle,listStyleImage,listStylePosition,listStyleType,"
+ "margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,"
+ "maskType,maxBlockSize,maxHeight,maxInlineSize,maxWidth,maxZoom,minBlockSize,minHeight,"
+ "minInlineSize,minWidth,minZoom,mixBlendMode,negative,objectFit,objectPosition,offset,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,orientation,orphans,outline,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowClipMargin,overflowWrap,"
+ "overflowX,overflowY,overrideColors,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,pad,padding,paddingBlock,"
+ "paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,"
+ "pageBreakInside,pageOrientation,paintOrder,parentRule,perspective,perspectiveOrigin,placeContent,"
+ "placeItems,placeSelf,pointerEvents,position,prefix,quotes,r,range,removeProperty(),resize,right,"
+ "rowGap,rubyPosition,rx,ry,scrollbarGutter,scrollBehavior,scrollMargin,scrollMarginBlock,"
+ "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,"
+ "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,"
+ "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,"
+ "scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,"
+ "scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop,"
+ "scrollSnapType,setProperty(),shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size,"
+ "sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,"
+ "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax,"
+ "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright,textDecoration,"
+ "textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle,"
+ "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,"
+ "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,"
+ "textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,"
+ "transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,"
+ "transitionTimingFunction,unicodeBidi,unicodeRange,userSelect,userZoom,vectorEffect,verticalAlign,"
+ "visibility,webkitAlignContent,webkitAlignItems,webkitAlignSelf,webkitAnimation,"
+ "webkitAnimationDelay,webkitAnimationDirection,webkitAnimationDuration,webkitAnimationFillMode,"
+ "webkitAnimationIterationCount,webkitAnimationName,webkitAnimationPlayState,"
+ "webkitAnimationTimingFunction,webkitAppearance,webkitAppRegion,webkitBackfaceVisibility,"
+ "webkitBackgroundClip,webkitBackgroundOrigin,webkitBackgroundSize,webkitBorderAfter,"
+ "webkitBorderAfterColor,webkitBorderAfterStyle,webkitBorderAfterWidth,webkitBorderBefore,"
+ "webkitBorderBeforeColor,webkitBorderBeforeStyle,webkitBorderBeforeWidth,"
+ "webkitBorderBottomLeftRadius,webkitBorderBottomRightRadius,webkitBorderEnd,webkitBorderEndColor,"
+ "webkitBorderEndStyle,webkitBorderEndWidth,webkitBorderHorizontalSpacing,webkitBorderImage,"
+ "webkitBorderRadius,webkitBorderStart,webkitBorderStartColor,webkitBorderStartStyle,"
+ "webkitBorderStartWidth,webkitBorderTopLeftRadius,webkitBorderTopRightRadius,"
+ "webkitBorderVerticalSpacing,webkitBoxAlign,webkitBoxDecorationBreak,webkitBoxDirection,"
+ "webkitBoxFlex,webkitBoxOrdinalGroup,webkitBoxOrient,webkitBoxPack,webkitBoxReflect,"
+ "webkitBoxShadow,webkitBoxSizing,webkitClipPath,webkitColumnBreakAfter,webkitColumnBreakBefore,"
+ "webkitColumnBreakInside,webkitColumnCount,webkitColumnGap,webkitColumnRule,webkitColumnRuleColor,"
+ "webkitColumnRuleStyle,webkitColumnRuleWidth,webkitColumns,webkitColumnSpan,webkitColumnWidth,"
+ "webkitFilter,webkitFlex,webkitFlexBasis,webkitFlexDirection,webkitFlexFlow,webkitFlexGrow,"
+ "webkitFlexShrink,webkitFlexWrap,webkitFontFeatureSettings,webkitFontSmoothing,webkitHighlight,"
+ "webkitHyphenateCharacter,webkitJustifyContent,webkitLineBreak,webkitLineClamp,webkitLocale,"
+ "webkitLogicalHeight,webkitLogicalWidth,webkitMarginAfter,webkitMarginBefore,webkitMarginEnd,"
+ "webkitMarginStart,webkitMask,webkitMaskBoxImage,webkitMaskBoxImageOutset,"
+ "webkitMaskBoxImageRepeat,webkitMaskBoxImageSlice,webkitMaskBoxImageSource,"
+ "webkitMaskBoxImageWidth,webkitMaskClip,webkitMaskComposite,webkitMaskImage,webkitMaskOrigin,"
+ "webkitMaskPosition,webkitMaskPositionX,webkitMaskPositionY,webkitMaskRepeat,webkitMaskRepeatX,"
+ "webkitMaskRepeatY,webkitMaskSize,webkitMaxLogicalHeight,webkitMaxLogicalWidth,"
+ "webkitMinLogicalHeight,webkitMinLogicalWidth,webkitOpacity,webkitOrder,webkitPaddingAfter,"
+ "webkitPaddingBefore,webkitPaddingEnd,webkitPaddingStart,webkitPerspective,"
+ "webkitPerspectiveOrigin,webkitPerspectiveOriginX,webkitPerspectiveOriginY,webkitPrintColorAdjust,"
+ "webkitRtlOrdering,webkitRubyPosition,webkitShapeImageThreshold,webkitShapeMargin,"
+ "webkitShapeOutside,webkitTapHighlightColor,webkitTextCombine,webkitTextDecorationsInEffect,"
+ "webkitTextEmphasis,webkitTextEmphasisColor,webkitTextEmphasisPosition,webkitTextEmphasisStyle,"
+ "webkitTextFillColor,webkitTextOrientation,webkitTextSecurity,webkitTextSizeAdjust,"
+ "webkitTextStroke,webkitTextStrokeColor,webkitTextStrokeWidth,webkitTransform,"
+ "webkitTransformOrigin,webkitTransformOriginX,webkitTransformOriginY,webkitTransformOriginZ,"
+ "webkitTransformStyle,webkitTransition,webkitTransitionDelay,webkitTransitionDuration,"
+ "webkitTransitionProperty,webkitTransitionTimingFunction,webkitUserDrag,webkitUserModify,"
+ "webkitUserSelect,webkitWritingMode,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,"
+ "wordWrap,writingMode,x,y,zIndex,"
+ "zoom",
FF = "-moz-animation,-moz-animation-delay,-moz-animation-direction,-moz-animation-duration,"
+ "-moz-animation-fill-mode,-moz-animation-iteration-count,-moz-animation-name,"
+ "-moz-animation-play-state,-moz-animation-timing-function,-moz-appearance,"
+ "-moz-backface-visibility,-moz-border-end,-moz-border-end-color,-moz-border-end-style,"
+ "-moz-border-end-width,-moz-border-image,-moz-border-start,-moz-border-start-color,"
+ "-moz-border-start-style,-moz-border-start-width,-moz-box-align,-moz-box-direction,-moz-box-flex,"
+ "-moz-box-ordinal-group,-moz-box-orient,-moz-box-pack,-moz-box-sizing,-moz-float-edge,"
+ "-moz-font-feature-settings,-moz-font-language-override,-moz-force-broken-image-icon,-moz-hyphens,"
+ "-moz-image-region,-moz-margin-end,-moz-margin-start,-moz-orient,-moz-padding-end,"
+ "-moz-padding-start,-moz-perspective,-moz-perspective-origin,-moz-tab-size,-moz-text-size-adjust,"
+ "-moz-transform,-moz-transform-origin,-moz-transform-style,-moz-transition,-moz-transition-delay,"
+ "-moz-transition-duration,-moz-transition-property,-moz-transition-timing-function,"
+ "-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,-moz-window-dragging,"
+ "-webkit-align-content,-webkit-align-items,-webkit-align-self,-webkit-animation,"
+ "-webkit-animation-delay,-webkit-animation-direction,-webkit-animation-duration,"
+ "-webkit-animation-fill-mode,-webkit-animation-iteration-count,-webkit-animation-name,"
+ "-webkit-animation-play-state,-webkit-animation-timing-function,-webkit-appearance,"
+ "-webkit-backface-visibility,-webkit-background-clip,-webkit-background-origin,"
+ "-webkit-background-size,-webkit-border-bottom-left-radius,-webkit-border-bottom-right-radius,"
+ "-webkit-border-image,-webkit-border-radius,-webkit-border-top-left-radius,"
+ "-webkit-border-top-right-radius,-webkit-box-align,-webkit-box-direction,-webkit-box-flex,"
+ "-webkit-box-ordinal-group,-webkit-box-orient,-webkit-box-pack,-webkit-box-shadow,"
+ "-webkit-box-sizing,-webkit-filter,-webkit-flex,-webkit-flex-basis,-webkit-flex-direction,"
+ "-webkit-flex-flow,-webkit-flex-grow,-webkit-flex-shrink,-webkit-flex-wrap,"
+ "-webkit-justify-content,-webkit-line-clamp,-webkit-mask,-webkit-mask-clip,-webkit-mask-composite,"
+ "-webkit-mask-image,-webkit-mask-origin,-webkit-mask-position,-webkit-mask-position-x,"
+ "-webkit-mask-position-y,-webkit-mask-repeat,-webkit-mask-size,-webkit-order,-webkit-perspective,"
+ "-webkit-perspective-origin,-webkit-text-fill-color,-webkit-text-size-adjust,-webkit-text-stroke,"
+ "-webkit-text-stroke-color,-webkit-text-stroke-width,-webkit-transform,-webkit-transform-origin,"
+ "-webkit-transform-style,-webkit-transition,-webkit-transition-delay,-webkit-transition-duration,"
+ "-webkit-transition-property,-webkit-transition-timing-function,-webkit-user-select,"
+ "accent-color,accentColor,align-content,align-items,align-self,"
+ "alignContent,alignItems,alignSelf,all,animation,animation-delay,animation-direction,"
+ "animation-duration,animation-fill-mode,animation-iteration-count,animation-name,"
+ "animation-play-state,animation-timing-function,animationDelay,animationDirection,"
+ "animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,"
+ "animationTimingFunction,appearance,aspect-ratio,aspectRatio,backface-visibility,"
+ "backfaceVisibility,background,background-attachment,background-blend-mode,background-clip,"
+ "background-color,background-image,background-origin,background-position,background-position-x,"
+ "background-position-y,background-repeat,background-size,backgroundAttachment,backgroundBlendMode,"
+ "backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,"
+ "backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,block-size,blockSize,"
+ "border,border-block,border-block-color,border-block-end,border-block-end-color,"
+ "border-block-end-style,border-block-end-width,border-block-start,border-block-start-color,"
+ "border-block-start-style,border-block-start-width,border-block-style,border-block-width,"
+ "border-bottom,border-bottom-color,border-bottom-left-radius,border-bottom-right-radius,"
+ "border-bottom-style,border-bottom-width,border-collapse,border-color,border-end-end-radius,"
+ "border-end-start-radius,border-image,border-image-outset,border-image-repeat,border-image-slice,"
+ "border-image-source,border-image-width,border-inline,border-inline-color,border-inline-end,"
+ "border-inline-end-color,border-inline-end-style,border-inline-end-width,border-inline-start,"
+ "border-inline-start-color,border-inline-start-style,border-inline-start-width,"
+ "border-inline-style,border-inline-width,border-left,border-left-color,border-left-style,"
+ "border-left-width,border-radius,border-right,border-right-color,border-right-style,"
+ "border-right-width,border-spacing,border-start-end-radius,border-start-start-radius,border-style,"
+ "border-top,border-top-color,border-top-left-radius,border-top-right-radius,border-top-style,"
+ "border-top-width,border-width,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,"
+ "borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,"
+ "borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,"
+ "borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,"
+ "borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,"
+ "borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,"
+ "borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,"
+ "borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,"
+ "borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,"
+ "borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,"
+ "borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,"
+ "borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,"
+ "borderWidth,bottom,box-decoration-break,box-shadow,box-sizing,boxDecorationBreak,boxShadow,"
+ "boxSizing,break-after,break-before,break-inside,breakAfter,breakBefore,breakInside,caption-side,"
+ "captionSide,caret-color,caretColor,clear,clip,clip-path,clip-rule,clipPath,clipRule,color,"
+ "color-adjust,color-interpolation,color-interpolation-filters,color-scheme,colorAdjust,"
+ "colorInterpolation,colorInterpolationFilters,colorScheme,column-count,column-fill,column-gap,"
+ "column-rule,column-rule-color,column-rule-style,column-rule-width,column-span,column-width,"
+ "columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,"
+ "columns,columnSpan,columnWidth,contain,content,counter-increment,counter-reset,counter-set,"
+ "counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,d,direction,display,"
+ "dominant-baseline,dominantBaseline,empty-cells,emptyCells,fill,fill-opacity,fill-rule,"
+ "fillOpacity,fillRule,filter,flex,flex-basis,flex-direction,flex-flow,flex-grow,flex-shrink,"
+ "flex-wrap,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,flood-color,"
+ "flood-opacity,floodColor,floodOpacity,font,font-family,font-feature-settings,font-kerning,"
+ "font-language-override,font-optical-sizing,font-size,font-size-adjust,font-stretch,font-style,"
+ "font-synthesis,font-variant,font-variant-alternates,font-variant-caps,font-variant-east-asian,"
+ "font-variant-ligatures,font-variant-numeric,font-variant-position,font-variation-settings,"
+ "font-weight,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,"
+ "fontSize,fontSizeAdjust,fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,"
+ "fontVariantCaps,fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,"
+ "fontVariationSettings,fontWeight,gap,getPropertyPriority(),getPropertyValue(),grid,grid-area,"
+ "grid-auto-columns,grid-auto-flow,grid-auto-rows,grid-column,grid-column-end,grid-column-gap,"
+ "grid-column-start,grid-gap,grid-row,grid-row-end,grid-row-gap,grid-row-start,grid-template,"
+ "grid-template-areas,grid-template-columns,grid-template-rows,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphenate-character,hyphenateCharacter,hyphens,image-orientation,"
+ "image-rendering,imageOrientation,imageRendering,ime-mode,imeMode,inline-size,inlineSize,inset,"
+ "inset-block,inset-block-end,inset-block-start,inset-inline,inset-inline-end,inset-inline-start,"
+ "insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,"
+ "item(),justify-content,justify-items,justify-self,justifyContent,justifyItems,justifySelf,left,"
+ "length,letter-spacing,letterSpacing,lighting-color,lightingColor,line-break,line-height,"
+ "lineBreak,lineHeight,list-style,list-style-image,list-style-position,list-style-type,listStyle,"
+ "listStyleImage,listStylePosition,listStyleType,margin,margin-block,margin-block-end,"
+ "margin-block-start,margin-bottom,margin-inline,margin-inline-end,margin-inline-start,margin-left,"
+ "margin-right,margin-top,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,"
+ "marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marker,marker-end,marker-mid,"
+ "marker-start,markerEnd,markerMid,markerStart,mask,mask-clip,mask-composite,mask-image,mask-mode,"
+ "mask-origin,mask-position,mask-position-x,mask-position-y,mask-repeat,mask-size,mask-type,"
+ "maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskPositionX,maskPositionY,"
+ "maskRepeat,maskSize,maskType,max-block-size,max-height,max-inline-size,max-width,maxBlockSize,"
+ "maxHeight,maxInlineSize,maxWidth,min-block-size,min-height,min-inline-size,min-width,"
+ "minBlockSize,minHeight,minInlineSize,minWidth,mix-blend-mode,mixBlendMode,MozAnimation,"
+ "MozAnimationDelay,MozAnimationDirection,MozAnimationDuration,MozAnimationFillMode,"
+ "MozAnimationIterationCount,MozAnimationName,MozAnimationPlayState,MozAnimationTimingFunction,"
+ "MozAppearance,MozBackfaceVisibility,MozBorderEnd,MozBorderEndColor,MozBorderEndStyle,"
+ "MozBorderEndWidth,MozBorderImage,MozBorderStart,MozBorderStartColor,MozBorderStartStyle,"
+ "MozBorderStartWidth,MozBoxAlign,MozBoxDirection,MozBoxFlex,MozBoxOrdinalGroup,MozBoxOrient,"
+ "MozBoxPack,MozBoxSizing,MozFloatEdge,MozFontFeatureSettings,MozFontLanguageOverride,"
+ "MozForceBrokenImageIcon,MozHyphens,MozImageRegion,MozMarginEnd,MozMarginStart,MozOrient,"
+ "MozPaddingEnd,MozPaddingStart,MozPerspective,MozPerspectiveOrigin,MozTabSize,MozTextSizeAdjust,"
+ "MozTransform,MozTransformOrigin,MozTransformStyle,MozTransition,MozTransitionDelay,"
+ "MozTransitionDuration,MozTransitionProperty,MozTransitionTimingFunction,MozUserFocus,"
+ "MozUserInput,MozUserModify,MozUserSelect,MozWindowDragging,object-fit,object-position,objectFit,"
+ "objectPosition,offset,offset-anchor,offset-distance,offset-path,offset-rotate,offsetAnchor,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,outline,outline-color,outline-offset,"
+ "outline-style,outline-width,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,"
+ "overflow-anchor,overflow-block,overflow-inline,overflow-wrap,overflow-x,overflow-y,"
+ "overflowAnchor,overflowBlock,overflowInline,overflowWrap,overflowX,overflowY,overscroll-behavior,"
+ "overscroll-behavior-block,overscroll-behavior-inline,overscroll-behavior-x,overscroll-behavior-y,"
+ "overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,"
+ "overscrollBehaviorY,padding,padding-block,padding-block-end,padding-block-start,padding-bottom,"
+ "padding-inline,padding-inline-end,padding-inline-start,padding-left,padding-right,padding-top,"
+ "paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page-break-after,page-break-before,"
+ "page-break-inside,pageBreakAfter,pageBreakBefore,pageBreakInside,paint-order,paintOrder,"
+ "parentRule,perspective,perspective-origin,perspectiveOrigin,place-content,place-items,place-self,"
+ "placeContent,placeItems,placeSelf,pointer-events,pointerEvents,position,print-color-adjust,"
+ "printColorAdjust,quotes,r,removeProperty(),resize,right,rotate,row-gap,rowGap,ruby-align,"
+ "ruby-position,rubyAlign,rubyPosition,rx,ry,scale,scroll-behavior,scroll-margin,"
+ "scroll-margin-block,scroll-margin-block-end,scroll-margin-block-start,scroll-margin-bottom,"
+ "scroll-margin-inline,scroll-margin-inline-end,scroll-margin-inline-start,scroll-margin-left,"
+ "scroll-margin-right,scroll-margin-top,scroll-padding,scroll-padding-block,"
+ "scroll-padding-block-end,scroll-padding-block-start,scroll-padding-bottom,scroll-padding-inline,"
+ "scroll-padding-inline-end,scroll-padding-inline-start,scroll-padding-left,scroll-padding-right,"
+ "scroll-padding-top,scroll-snap-align,scroll-snap-type,scrollbar-color,scrollbar-gutter,"
+ "scrollbar-width,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,"
+ "scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,"
+ "scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,"
+ "scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,"
+ "scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,"
+ "scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,"
+ "scrollSnapType,setProperty(),shape-image-threshold,shape-margin,shape-outside,shape-rendering,"
+ "shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stop-color,stop-opacity,stopColor,"
+ "stopOpacity,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,"
+ "stroke-miterlimit,stroke-opacity,stroke-width,strokeDasharray,strokeDashoffset,strokeLinecap,"
+ "strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tab-size,table-layout,tableLayout,"
+ "tabSize,text-align,text-align-last,text-anchor,text-combine-upright,text-decoration,"
+ "text-decoration-color,text-decoration-line,text-decoration-skip-ink,text-decoration-style,"
+ "text-decoration-thickness,text-emphasis,text-emphasis-color,text-emphasis-position,"
+ "text-emphasis-style,text-indent,text-justify,text-orientation,text-overflow,text-rendering,"
+ "text-shadow,text-transform,text-underline-offset,text-underline-position,textAlign,textAlignLast,"
+ "textAnchor,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,"
+ "textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,"
+ "textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,"
+ "textRendering,textShadow,textTransform,textUnderlineOffset,textUnderlinePosition,top,"
+ "touch-action,touchAction,transform,transform-box,transform-origin,transform-style,transformBox,"
+ "transformOrigin,transformStyle,transition,transition-delay,transition-duration,"
+ "transition-property,transition-timing-function,transitionDelay,transitionDuration,"
+ "transitionProperty,transitionTimingFunction,translate,unicode-bidi,unicodeBidi,user-select,"
+ "userSelect,vector-effect,vectorEffect,vertical-align,verticalAlign,visibility,WebkitAlignContent,"
+ "webkitAlignContent,WebkitAlignItems,webkitAlignItems,WebkitAlignSelf,webkitAlignSelf,"
+ "WebkitAnimation,webkitAnimation,WebkitAnimationDelay,webkitAnimationDelay,"
+ "WebkitAnimationDirection,webkitAnimationDirection,WebkitAnimationDuration,"
+ "webkitAnimationDuration,WebkitAnimationFillMode,webkitAnimationFillMode,"
+ "WebkitAnimationIterationCount,webkitAnimationIterationCount,WebkitAnimationName,"
+ "webkitAnimationName,WebkitAnimationPlayState,webkitAnimationPlayState,"
+ "WebkitAnimationTimingFunction,webkitAnimationTimingFunction,WebkitAppearance,webkitAppearance,"
+ "WebkitBackfaceVisibility,webkitBackfaceVisibility,WebkitBackgroundClip,webkitBackgroundClip,"
+ "WebkitBackgroundOrigin,webkitBackgroundOrigin,WebkitBackgroundSize,webkitBackgroundSize,"
+ "WebkitBorderBottomLeftRadius,webkitBorderBottomLeftRadius,WebkitBorderBottomRightRadius,"
+ "webkitBorderBottomRightRadius,WebkitBorderImage,webkitBorderImage,WebkitBorderRadius,"
+ "webkitBorderRadius,WebkitBorderTopLeftRadius,webkitBorderTopLeftRadius,"
+ "WebkitBorderTopRightRadius,webkitBorderTopRightRadius,WebkitBoxAlign,webkitBoxAlign,"
+ "WebkitBoxDirection,webkitBoxDirection,WebkitBoxFlex,webkitBoxFlex,WebkitBoxOrdinalGroup,"
+ "webkitBoxOrdinalGroup,WebkitBoxOrient,webkitBoxOrient,WebkitBoxPack,webkitBoxPack,"
+ "WebkitBoxShadow,webkitBoxShadow,WebkitBoxSizing,webkitBoxSizing,WebkitFilter,webkitFilter,"
+ "WebkitFlex,webkitFlex,WebkitFlexBasis,webkitFlexBasis,WebkitFlexDirection,webkitFlexDirection,"
+ "WebkitFlexFlow,webkitFlexFlow,WebkitFlexGrow,webkitFlexGrow,WebkitFlexShrink,webkitFlexShrink,"
+ "WebkitFlexWrap,webkitFlexWrap,WebkitJustifyContent,webkitJustifyContent,WebkitLineClamp,"
+ "webkitLineClamp,WebkitMask,webkitMask,WebkitMaskClip,webkitMaskClip,WebkitMaskComposite,"
+ "webkitMaskComposite,WebkitMaskImage,webkitMaskImage,WebkitMaskOrigin,webkitMaskOrigin,"
+ "WebkitMaskPosition,webkitMaskPosition,WebkitMaskPositionX,webkitMaskPositionX,"
+ "WebkitMaskPositionY,webkitMaskPositionY,WebkitMaskRepeat,webkitMaskRepeat,WebkitMaskSize,"
+ "webkitMaskSize,WebkitOrder,webkitOrder,WebkitPerspective,webkitPerspective,"
+ "WebkitPerspectiveOrigin,webkitPerspectiveOrigin,WebkitTextFillColor,webkitTextFillColor,"
+ "WebkitTextSizeAdjust,webkitTextSizeAdjust,WebkitTextStroke,webkitTextStroke,"
+ "WebkitTextStrokeColor,webkitTextStrokeColor,WebkitTextStrokeWidth,webkitTextStrokeWidth,"
+ "WebkitTransform,webkitTransform,WebkitTransformOrigin,webkitTransformOrigin,WebkitTransformStyle,"
+ "webkitTransformStyle,WebkitTransition,webkitTransition,WebkitTransitionDelay,"
+ "webkitTransitionDelay,WebkitTransitionDuration,webkitTransitionDuration,WebkitTransitionProperty,"
+ "webkitTransitionProperty,WebkitTransitionTimingFunction,webkitTransitionTimingFunction,"
+ "WebkitUserSelect,webkitUserSelect,white-space,whiteSpace,width,will-change,willChange,word-break,"
+ "word-spacing,word-wrap,wordBreak,wordSpacing,wordWrap,writing-mode,writingMode,x,y,z-index,"
+ "zIndex",
FF_ESR = "-moz-animation,-moz-animation-delay,-moz-animation-direction,-moz-animation-duration,"
+ "-moz-animation-fill-mode,-moz-animation-iteration-count,-moz-animation-name,"
+ "-moz-animation-play-state,-moz-animation-timing-function,-moz-appearance,"
+ "-moz-backface-visibility,-moz-border-end,-moz-border-end-color,-moz-border-end-style,"
+ "-moz-border-end-width,-moz-border-image,-moz-border-start,-moz-border-start-color,"
+ "-moz-border-start-style,-moz-border-start-width,-moz-box-align,-moz-box-direction,-moz-box-flex,"
+ "-moz-box-ordinal-group,-moz-box-orient,-moz-box-pack,-moz-box-sizing,-moz-float-edge,"
+ "-moz-font-feature-settings,-moz-font-language-override,-moz-force-broken-image-icon,-moz-hyphens,"
+ "-moz-image-region,-moz-margin-end,-moz-margin-start,-moz-orient,-moz-padding-end,"
+ "-moz-padding-start,-moz-perspective,-moz-perspective-origin,-moz-tab-size,-moz-text-size-adjust,"
+ "-moz-transform,-moz-transform-origin,-moz-transform-style,-moz-transition,-moz-transition-delay,"
+ "-moz-transition-duration,-moz-transition-property,-moz-transition-timing-function,"
+ "-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,-moz-window-dragging,"
+ "-webkit-align-content,-webkit-align-items,-webkit-align-self,-webkit-animation,"
+ "-webkit-animation-delay,-webkit-animation-direction,-webkit-animation-duration,"
+ "-webkit-animation-fill-mode,-webkit-animation-iteration-count,-webkit-animation-name,"
+ "-webkit-animation-play-state,-webkit-animation-timing-function,-webkit-appearance,"
+ "-webkit-backface-visibility,-webkit-background-clip,-webkit-background-origin,"
+ "-webkit-background-size,-webkit-border-bottom-left-radius,-webkit-border-bottom-right-radius,"
+ "-webkit-border-image,-webkit-border-radius,-webkit-border-top-left-radius,"
+ "-webkit-border-top-right-radius,-webkit-box-align,-webkit-box-direction,-webkit-box-flex,"
+ "-webkit-box-ordinal-group,-webkit-box-orient,-webkit-box-pack,-webkit-box-shadow,"
+ "-webkit-box-sizing,-webkit-filter,-webkit-flex,-webkit-flex-basis,-webkit-flex-direction,"
+ "-webkit-flex-flow,-webkit-flex-grow,-webkit-flex-shrink,-webkit-flex-wrap,"
+ "-webkit-justify-content,-webkit-line-clamp,-webkit-mask,-webkit-mask-clip,-webkit-mask-composite,"
+ "-webkit-mask-image,-webkit-mask-origin,-webkit-mask-position,-webkit-mask-position-x,"
+ "-webkit-mask-position-y,-webkit-mask-repeat,-webkit-mask-size,-webkit-order,-webkit-perspective,"
+ "-webkit-perspective-origin,-webkit-text-fill-color,-webkit-text-size-adjust,-webkit-text-stroke,"
+ "-webkit-text-stroke-color,-webkit-text-stroke-width,-webkit-transform,-webkit-transform-origin,"
+ "-webkit-transform-style,-webkit-transition,-webkit-transition-delay,-webkit-transition-duration,"
+ "-webkit-transition-property,-webkit-transition-timing-function,-webkit-user-select,"
+ "align-content,align-items,align-self,alignContent,"
+ "alignItems,alignSelf,all,animation,animation-delay,animation-direction,animation-duration,"
+ "animation-fill-mode,animation-iteration-count,animation-name,animation-play-state,"
+ "animation-timing-function,animationDelay,animationDirection,animationDuration,animationFillMode,"
+ "animationIterationCount,animationName,animationPlayState,animationTimingFunction,appearance,"
+ "aspect-ratio,aspectRatio,backface-visibility,backfaceVisibility,background,background-attachment,"
+ "background-blend-mode,background-clip,background-color,background-image,background-origin,"
+ "background-position,background-position-x,background-position-y,background-repeat,"
+ "background-size,backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,"
+ "backgroundImage,backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,"
+ "backgroundRepeat,backgroundSize,block-size,blockSize,border,border-block,border-block-color,"
+ "border-block-end,border-block-end-color,border-block-end-style,border-block-end-width,"
+ "border-block-start,border-block-start-color,border-block-start-style,border-block-start-width,"
+ "border-block-style,border-block-width,border-bottom,border-bottom-color,"
+ "border-bottom-left-radius,border-bottom-right-radius,border-bottom-style,border-bottom-width,"
+ "border-collapse,border-color,border-end-end-radius,border-end-start-radius,border-image,"
+ "border-image-outset,border-image-repeat,border-image-slice,border-image-source,"
+ "border-image-width,border-inline,border-inline-color,border-inline-end,border-inline-end-color,"
+ "border-inline-end-style,border-inline-end-width,border-inline-start,border-inline-start-color,"
+ "border-inline-start-style,border-inline-start-width,border-inline-style,border-inline-width,"
+ "border-left,border-left-color,border-left-style,border-left-width,border-radius,border-right,"
+ "border-right-color,border-right-style,border-right-width,border-spacing,border-start-end-radius,"
+ "border-start-start-radius,border-style,border-top,border-top-color,border-top-left-radius,"
+ "border-top-right-radius,border-top-style,border-top-width,border-width,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "box-decoration-break,box-shadow,box-sizing,boxDecorationBreak,boxShadow,boxSizing,break-after,"
+ "break-before,break-inside,breakAfter,breakBefore,breakInside,caption-side,captionSide,"
+ "caret-color,caretColor,clear,clip,clip-path,clip-rule,clipPath,clipRule,color,color-adjust,"
+ "color-interpolation,color-interpolation-filters,colorAdjust,colorInterpolation,"
+ "colorInterpolationFilters,column-count,column-fill,column-gap,column-rule,column-rule-color,"
+ "column-rule-style,column-rule-width,column-span,column-width,columnCount,columnFill,columnGap,"
+ "columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columns,columnSpan,columnWidth,"
+ "contain,content,counter-increment,counter-reset,counter-set,counterIncrement,counterReset,"
+ "counterSet,cssFloat,cssText,cursor,cx,cy,direction,display,dominant-baseline,dominantBaseline,"
+ "empty-cells,emptyCells,fill,fill-opacity,fill-rule,fillOpacity,fillRule,filter,flex,flex-basis,"
+ "flex-direction,flex-flow,flex-grow,flex-shrink,flex-wrap,flexBasis,flexDirection,flexFlow,"
+ "flexGrow,flexShrink,flexWrap,float,flood-color,flood-opacity,floodColor,floodOpacity,font,"
+ "font-family,font-feature-settings,font-kerning,font-language-override,font-optical-sizing,"
+ "font-size,font-size-adjust,font-stretch,font-style,font-synthesis,font-variant,"
+ "font-variant-alternates,font-variant-caps,font-variant-east-asian,font-variant-ligatures,"
+ "font-variant-numeric,font-variant-position,font-variation-settings,font-weight,fontFamily,"
+ "fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontSize,fontSizeAdjust,"
+ "fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,"
+ "fontVariationSettings,fontWeight,gap,getPropertyPriority(),getPropertyValue(),grid,grid-area,"
+ "grid-auto-columns,grid-auto-flow,grid-auto-rows,grid-column,grid-column-end,grid-column-gap,"
+ "grid-column-start,grid-gap,grid-row,grid-row-end,grid-row-gap,grid-row-start,grid-template,"
+ "grid-template-areas,grid-template-columns,grid-template-rows,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,image-orientation,image-rendering,imageOrientation,"
+ "imageRendering,ime-mode,imeMode,inline-size,inlineSize,inset,inset-block,inset-block-end,"
+ "inset-block-start,inset-inline,inset-inline-end,inset-inline-start,insetBlock,insetBlockEnd,"
+ "insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,item(),justify-content,"
+ "justify-items,justify-self,justifyContent,justifyItems,justifySelf,left,length,letter-spacing,"
+ "letterSpacing,lighting-color,lightingColor,line-break,line-height,lineBreak,lineHeight,"
+ "list-style,list-style-image,list-style-position,list-style-type,listStyle,listStyleImage,"
+ "listStylePosition,listStyleType,margin,margin-block,margin-block-end,margin-block-start,"
+ "margin-bottom,margin-inline,margin-inline-end,margin-inline-start,margin-left,margin-right,"
+ "margin-top,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,marker-end,marker-mid,marker-start,"
+ "markerEnd,markerMid,markerStart,mask,mask-clip,mask-composite,mask-image,mask-mode,mask-origin,"
+ "mask-position,mask-position-x,mask-position-y,mask-repeat,mask-size,mask-type,maskClip,"
+ "maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskPositionX,maskPositionY,maskRepeat,"
+ "maskSize,maskType,max-block-size,max-height,max-inline-size,max-width,maxBlockSize,maxHeight,"
+ "maxInlineSize,maxWidth,min-block-size,min-height,min-inline-size,min-width,minBlockSize,"
+ "minHeight,minInlineSize,minWidth,mix-blend-mode,mixBlendMode,MozAnimation,MozAnimationDelay,"
+ "MozAnimationDirection,MozAnimationDuration,MozAnimationFillMode,MozAnimationIterationCount,"
+ "MozAnimationName,MozAnimationPlayState,MozAnimationTimingFunction,MozAppearance,"
+ "MozBackfaceVisibility,MozBorderEnd,MozBorderEndColor,MozBorderEndStyle,MozBorderEndWidth,"
+ "MozBorderImage,MozBorderStart,MozBorderStartColor,MozBorderStartStyle,MozBorderStartWidth,"
+ "MozBoxAlign,MozBoxDirection,MozBoxFlex,MozBoxOrdinalGroup,MozBoxOrient,MozBoxPack,MozBoxSizing,"
+ "MozFloatEdge,MozFontFeatureSettings,MozFontLanguageOverride,MozForceBrokenImageIcon,MozHyphens,"
+ "MozImageRegion,MozMarginEnd,MozMarginStart,MozOrient,MozPaddingEnd,MozPaddingStart,"
+ "MozPerspective,MozPerspectiveOrigin,MozTabSize,MozTextSizeAdjust,MozTransform,MozTransformOrigin,"
+ "MozTransformStyle,MozTransition,MozTransitionDelay,MozTransitionDuration,MozTransitionProperty,"
+ "MozTransitionTimingFunction,MozUserFocus,MozUserInput,MozUserModify,MozUserSelect,"
+ "MozWindowDragging,object-fit,object-position,objectFit,objectPosition,offset,offset-anchor,"
+ "offset-distance,offset-path,offset-rotate,offsetAnchor,offsetDistance,offsetPath,offsetRotate,"
+ "opacity,order,outline,outline-color,outline-offset,outline-style,outline-width,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflow-anchor,overflow-block,overflow-inline,"
+ "overflow-wrap,overflow-x,overflow-y,overflowAnchor,overflowBlock,overflowInline,overflowWrap,"
+ "overflowX,overflowY,overscroll-behavior,overscroll-behavior-block,overscroll-behavior-inline,"
+ "overscroll-behavior-x,overscroll-behavior-y,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,padding-block,"
+ "padding-block-end,padding-block-start,padding-bottom,padding-inline,padding-inline-end,"
+ "padding-inline-start,padding-left,padding-right,padding-top,paddingBlock,paddingBlockEnd,"
+ "paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,"
+ "paddingRight,paddingTop,page-break-after,page-break-before,page-break-inside,pageBreakAfter,"
+ "pageBreakBefore,pageBreakInside,paint-order,paintOrder,parentRule,perspective,perspective-origin,"
+ "perspectiveOrigin,place-content,place-items,place-self,placeContent,placeItems,placeSelf,"
+ "pointer-events,pointerEvents,position,quotes,r,removeProperty(),resize,right,rotate,row-gap,"
+ "rowGap,ruby-align,ruby-position,rubyAlign,rubyPosition,rx,ry,scale,scroll-behavior,scroll-margin,"
+ "scroll-margin-block,scroll-margin-block-end,scroll-margin-block-start,scroll-margin-bottom,"
+ "scroll-margin-inline,scroll-margin-inline-end,scroll-margin-inline-start,scroll-margin-left,"
+ "scroll-margin-right,scroll-margin-top,scroll-padding,scroll-padding-block,"
+ "scroll-padding-block-end,scroll-padding-block-start,scroll-padding-bottom,scroll-padding-inline,"
+ "scroll-padding-inline-end,scroll-padding-inline-start,scroll-padding-left,scroll-padding-right,"
+ "scroll-padding-top,scroll-snap-align,scroll-snap-type,scrollbar-color,scrollbar-width,"
+ "scrollbarColor,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,"
+ "scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,"
+ "scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,"
+ "scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,"
+ "scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,"
+ "scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapType,setProperty(),"
+ "shape-image-threshold,shape-margin,shape-outside,shape-rendering,shapeImageThreshold,shapeMargin,"
+ "shapeOutside,shapeRendering,stop-color,stop-opacity,stopColor,stopOpacity,stroke,"
+ "stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,"
+ "stroke-opacity,stroke-width,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,"
+ "strokeMiterlimit,strokeOpacity,strokeWidth,tab-size,table-layout,tableLayout,tabSize,text-align,"
+ "text-align-last,text-anchor,text-combine-upright,text-decoration,text-decoration-color,"
+ "text-decoration-line,text-decoration-skip-ink,text-decoration-style,text-decoration-thickness,"
+ "text-emphasis,text-emphasis-color,text-emphasis-position,text-emphasis-style,text-indent,"
+ "text-justify,text-orientation,text-overflow,text-rendering,text-shadow,text-transform,"
+ "text-underline-offset,text-underline-position,textAlign,textAlignLast,textAnchor,"
+ "textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkipInk,"
+ "textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,"
+ "textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,"
+ "textTransform,textUnderlineOffset,textUnderlinePosition,top,touch-action,touchAction,transform,"
+ "transform-box,transform-origin,transform-style,transformBox,transformOrigin,transformStyle,"
+ "transition,transition-delay,transition-duration,transition-property,transition-timing-function,"
+ "transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,"
+ "unicode-bidi,unicodeBidi,user-select,userSelect,vector-effect,vectorEffect,vertical-align,"
+ "verticalAlign,visibility,WebkitAlignContent,webkitAlignContent,WebkitAlignItems,webkitAlignItems,"
+ "WebkitAlignSelf,webkitAlignSelf,WebkitAnimation,webkitAnimation,WebkitAnimationDelay,"
+ "webkitAnimationDelay,WebkitAnimationDirection,webkitAnimationDirection,WebkitAnimationDuration,"
+ "webkitAnimationDuration,WebkitAnimationFillMode,webkitAnimationFillMode,"
+ "WebkitAnimationIterationCount,webkitAnimationIterationCount,WebkitAnimationName,"
+ "webkitAnimationName,WebkitAnimationPlayState,webkitAnimationPlayState,"
+ "WebkitAnimationTimingFunction,webkitAnimationTimingFunction,WebkitAppearance,webkitAppearance,"
+ "WebkitBackfaceVisibility,webkitBackfaceVisibility,WebkitBackgroundClip,webkitBackgroundClip,"
+ "WebkitBackgroundOrigin,webkitBackgroundOrigin,WebkitBackgroundSize,webkitBackgroundSize,"
+ "WebkitBorderBottomLeftRadius,webkitBorderBottomLeftRadius,WebkitBorderBottomRightRadius,"
+ "webkitBorderBottomRightRadius,WebkitBorderImage,webkitBorderImage,WebkitBorderRadius,"
+ "webkitBorderRadius,WebkitBorderTopLeftRadius,webkitBorderTopLeftRadius,"
+ "WebkitBorderTopRightRadius,webkitBorderTopRightRadius,WebkitBoxAlign,webkitBoxAlign,"
+ "WebkitBoxDirection,webkitBoxDirection,WebkitBoxFlex,webkitBoxFlex,WebkitBoxOrdinalGroup,"
+ "webkitBoxOrdinalGroup,WebkitBoxOrient,webkitBoxOrient,WebkitBoxPack,webkitBoxPack,"
+ "WebkitBoxShadow,webkitBoxShadow,WebkitBoxSizing,webkitBoxSizing,WebkitFilter,webkitFilter,"
+ "WebkitFlex,webkitFlex,WebkitFlexBasis,webkitFlexBasis,WebkitFlexDirection,webkitFlexDirection,"
+ "WebkitFlexFlow,webkitFlexFlow,WebkitFlexGrow,webkitFlexGrow,WebkitFlexShrink,webkitFlexShrink,"
+ "WebkitFlexWrap,webkitFlexWrap,WebkitJustifyContent,webkitJustifyContent,WebkitLineClamp,"
+ "webkitLineClamp,WebkitMask,webkitMask,WebkitMaskClip,webkitMaskClip,WebkitMaskComposite,"
+ "webkitMaskComposite,WebkitMaskImage,webkitMaskImage,WebkitMaskOrigin,webkitMaskOrigin,"
+ "WebkitMaskPosition,webkitMaskPosition,WebkitMaskPositionX,webkitMaskPositionX,"
+ "WebkitMaskPositionY,webkitMaskPositionY,WebkitMaskRepeat,webkitMaskRepeat,WebkitMaskSize,"
+ "webkitMaskSize,WebkitOrder,webkitOrder,WebkitPerspective,webkitPerspective,"
+ "WebkitPerspectiveOrigin,webkitPerspectiveOrigin,WebkitTextFillColor,webkitTextFillColor,"
+ "WebkitTextSizeAdjust,webkitTextSizeAdjust,WebkitTextStroke,webkitTextStroke,"
+ "WebkitTextStrokeColor,webkitTextStrokeColor,WebkitTextStrokeWidth,webkitTextStrokeWidth,"
+ "WebkitTransform,webkitTransform,WebkitTransformOrigin,webkitTransformOrigin,WebkitTransformStyle,"
+ "webkitTransformStyle,WebkitTransition,webkitTransition,WebkitTransitionDelay,"
+ "webkitTransitionDelay,WebkitTransitionDuration,webkitTransitionDuration,WebkitTransitionProperty,"
+ "webkitTransitionProperty,WebkitTransitionTimingFunction,webkitTransitionTimingFunction,"
+ "WebkitUserSelect,webkitUserSelect,white-space,whiteSpace,width,will-change,willChange,word-break,"
+ "word-spacing,word-wrap,wordBreak,wordSpacing,wordWrap,writing-mode,writingMode,x,y,z-index,"
+ "zIndex",
IE = "accelerator,"
+ "alignContent,alignItems,alignmentBaseline,alignSelf,animation,animationDelay,animationDirection,"
+ "animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,"
+ "animationTimingFunction,backfaceVisibility,background,backgroundAttachment,backgroundClip,"
+ "backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,"
+ "backgroundPositionX,backgroundPositionY,backgroundRepeat,"
+ "backgroundSize,baselineShift,border,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderImage,borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,"
+ "borderImageWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,borderStyle,"
+ "borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,"
+ "borderWidth,bottom,boxShadow,boxSizing,breakAfter,breakBefore,breakInside,captionSide,clear,clip,"
+ "clipPath,clipRule,color,colorInterpolationFilters,columnCount,columnFill,columnGap,columnRule,"
+ "columnRuleColor,columnRuleStyle,columnRuleWidth,columns,columnSpan,columnWidth,content,"
+ "counterIncrement,counterReset,cssFloat,cssText,cursor,direction,display,dominantBaseline,"
+ "emptyCells,enableBackground,fill,fillOpacity,fillRule,filter,flex,flexBasis,flexDirection,"
+ "flexFlow,flexGrow,flexShrink,flexWrap,floodColor,floodOpacity,font,fontFamily,"
+ "fontFeatureSettings,fontSize,fontSizeAdjust,fontStretch,fontStyle,fontVariant,fontWeight,"
+ "getAttribute(),"
+ "getPropertyPriority(),getPropertyValue(),glyphOrientationHorizontal,glyphOrientationVertical,"
+ "height,imeMode,item(),justifyContent,kerning,"
+ "layoutFlow,layoutGrid,layoutGridChar,layoutGridLine,layoutGridMode,layoutGridType,"
+ "left,length,letterSpacing,lightingColor,lineBreak,lineHeight,"
+ "listStyle,listStyleImage,listStylePosition,listStyleType,margin,marginBottom,marginLeft,"
+ "marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,maxHeight,maxWidth,minHeight,"
+ "minWidth,msAnimation,msAnimationDelay,msAnimationDirection,msAnimationDuration,"
+ "msAnimationFillMode,msAnimationIterationCount,msAnimationName,msAnimationPlayState,"
+ "msAnimationTimingFunction,msBackfaceVisibility,msBlockProgression,"
+ "msContentZoomChaining,msContentZooming,"
+ "msContentZoomLimit,msContentZoomLimitMax,msContentZoomLimitMin,msContentZoomSnap,"
+ "msContentZoomSnapPoints,msContentZoomSnapType,msFlex,msFlexAlign,msFlexDirection,msFlexFlow,"
+ "msFlexItemAlign,msFlexLinePack,msFlexNegative,msFlexOrder,msFlexPack,msFlexPositive,"
+ "msFlexPreferredSize,msFlexWrap,msFlowFrom,msFlowInto,msFontFeatureSettings,msGridColumn,"
+ "msGridColumnAlign,msGridColumns,msGridColumnSpan,msGridRow,msGridRowAlign,msGridRows,"
+ "msGridRowSpan,msHighContrastAdjust,msHyphenateLimitChars,msHyphenateLimitLines,"
+ "msHyphenateLimitZone,msHyphens,msImeAlign,msInterpolationMode,"
+ "msOverflowStyle,msPerspective,msPerspectiveOrigin,"
+ "msScrollChaining,msScrollLimit,msScrollLimitXMax,msScrollLimitXMin,msScrollLimitYMax,"
+ "msScrollLimitYMin,msScrollRails,msScrollSnapPointsX,msScrollSnapPointsY,msScrollSnapType,"
+ "msScrollSnapX,msScrollSnapY,msScrollTranslation,msTextCombineHorizontal,msTextSizeAdjust,"
+ "msTouchAction,msTouchSelect,msTransform,msTransformOrigin,msTransformStyle,msTransition,"
+ "msTransitionDelay,msTransitionDuration,msTransitionProperty,msTransitionTimingFunction,"
+ "msUserSelect,msWrapFlow,msWrapMargin,msWrapThrough,opacity,order,orphans,outline,outlineColor,"
+ "outlineStyle,outlineWidth,overflow,overflowX,overflowY,padding,paddingBottom,paddingLeft,"
+ "paddingRight,paddingTop,pageBreakAfter,pageBreakBefore,pageBreakInside,parentRule,perspective,"
+ "perspectiveOrigin,"
+ "pixelBottom,pixelHeight,pixelLeft,pixelRight,pixelTop,pixelWidth,"
+ "pointerEvents,posBottom,posHeight,"
+ "position,posLeft,posRight,posTop,posWidth,quotes,"
+ "removeAttribute(),removeProperty(),right,rubyAlign,rubyOverhang,"
+ "rubyPosition,scrollbar3dLightColor,scrollbarArrowColor,scrollbarBaseColor,"
+ "scrollbarDarkShadowColor,scrollbarFaceColor,scrollbarHighlightColor,scrollbarShadowColor,"
+ "scrollbarTrackColor,setAttribute(),"
+ "setProperty(),stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,"
+ "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,styleFloat,"
+ "tableLayout,textAlign,"
+ "textAlignLast,textAnchor,textAutospace,textDecoration,"
+ "textDecorationBlink,textDecorationLineThrough,textDecorationNone,textDecorationOverline,"
+ "textDecorationUnderline,textIndent,textJustify,textJustifyTrim,textKashida,textKashidaSpace,"
+ "textOverflow,textShadow,"
+ "textTransform,textUnderlinePosition,top,touchAction,transform,transformOrigin,transformStyle,"
+ "transition,transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,"
+ "unicodeBidi,verticalAlign,visibility,whiteSpace,widows,width,wordBreak,wordSpacing,wordWrap,"
+ "writingMode,zIndex,zoom")
public void computedStyle() throws Exception {
testString("", "window.getComputedStyle(document.body)");
}
/**
* @throws Exception if the test fails
*/
@Test
@Alerts(CHROME = "accentColor,additiveSymbols,alignContent,alignItems,alignmentBaseline,alignSelf,all,animation,"
+ "animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,"
+ "animationName,animationPlayState,animationTimingFunction,appearance,appRegion,ascentOverride,"
+ "aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,"
+ "backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,"
+ "backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundRepeatX,"
+ "backgroundRepeatY,backgroundSize,baselineShift,basePalette,blockSize,border,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "boxShadow,boxSizing,breakAfter,breakBefore,breakInside,bufferedRendering,captionSide,caretColor,"
+ "clear,clip,clipPath,clipRule,color,colorInterpolation,colorInterpolationFilters,colorRendering,"
+ "colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,"
+ "columnRuleWidth,columns,columnSpan,columnWidth,contain,containIntrinsicBlockSize,"
+ "containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,"
+ "content,contentVisibility,counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,"
+ "d,descentOverride,direction,display,dominantBaseline,emptyCells,fallback,fill,fillOpacity,"
+ "fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,"
+ "floodColor,floodOpacity,font,fontDisplay,fontFamily,fontFeatureSettings,fontKerning,"
+ "fontOpticalSizing,fontPalette,fontSize,fontStretch,fontStyle,fontSynthesis,"
+ "fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariationSettings,fontWeight,"
+ "forcedColorAdjust,gap,getPropertyPriority(),getPropertyValue(),grid,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,imageOrientation,imageRendering,inherits,initialValue,inlineSize,"
+ "inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,"
+ "isolation,item(),justifyContent,justifyItems,justifySelf,left,length,letterSpacing,lightingColor,"
+ "lineBreak,lineGapOverride,lineHeight,listStyle,listStyleImage,listStylePosition,listStyleType,"
+ "margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,"
+ "maskType,maxBlockSize,maxHeight,maxInlineSize,maxWidth,maxZoom,minBlockSize,minHeight,"
+ "minInlineSize,minWidth,minZoom,mixBlendMode,negative,objectFit,objectPosition,offset,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,orientation,orphans,outline,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowClipMargin,overflowWrap,"
+ "overflowX,overflowY,overrideColors,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,pad,padding,paddingBlock,"
+ "paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,"
+ "pageBreakInside,pageOrientation,paintOrder,parentRule,perspective,perspectiveOrigin,placeContent,"
+ "placeItems,placeSelf,pointerEvents,position,prefix,quotes,r,range,removeProperty(),resize,right,"
+ "rowGap,rubyPosition,rx,ry,scrollbarGutter,scrollBehavior,scrollMargin,scrollMarginBlock,"
+ "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,"
+ "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,"
+ "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,"
+ "scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,"
+ "scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop,"
+ "scrollSnapType,setProperty(),shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size,"
+ "sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,"
+ "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax,"
+ "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright,textDecoration,"
+ "textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle,"
+ "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,"
+ "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,"
+ "textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,"
+ "transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,"
+ "transitionTimingFunction,unicodeBidi,unicodeRange,userSelect,userZoom,vectorEffect,verticalAlign,"
+ "visibility,webkitAlignContent,webkitAlignItems,webkitAlignSelf,webkitAnimation,"
+ "webkitAnimationDelay,webkitAnimationDirection,webkitAnimationDuration,webkitAnimationFillMode,"
+ "webkitAnimationIterationCount,webkitAnimationName,webkitAnimationPlayState,"
+ "webkitAnimationTimingFunction,webkitAppearance,webkitAppRegion,webkitBackfaceVisibility,"
+ "webkitBackgroundClip,webkitBackgroundOrigin,webkitBackgroundSize,webkitBorderAfter,"
+ "webkitBorderAfterColor,webkitBorderAfterStyle,webkitBorderAfterWidth,webkitBorderBefore,"
+ "webkitBorderBeforeColor,webkitBorderBeforeStyle,webkitBorderBeforeWidth,"
+ "webkitBorderBottomLeftRadius,webkitBorderBottomRightRadius,webkitBorderEnd,webkitBorderEndColor,"
+ "webkitBorderEndStyle,webkitBorderEndWidth,webkitBorderHorizontalSpacing,webkitBorderImage,"
+ "webkitBorderRadius,webkitBorderStart,webkitBorderStartColor,webkitBorderStartStyle,"
+ "webkitBorderStartWidth,webkitBorderTopLeftRadius,webkitBorderTopRightRadius,"
+ "webkitBorderVerticalSpacing,webkitBoxAlign,webkitBoxDecorationBreak,webkitBoxDirection,"
+ "webkitBoxFlex,webkitBoxOrdinalGroup,webkitBoxOrient,webkitBoxPack,webkitBoxReflect,"
+ "webkitBoxShadow,webkitBoxSizing,webkitClipPath,webkitColumnBreakAfter,webkitColumnBreakBefore,"
+ "webkitColumnBreakInside,webkitColumnCount,webkitColumnGap,webkitColumnRule,webkitColumnRuleColor,"
+ "webkitColumnRuleStyle,webkitColumnRuleWidth,webkitColumns,webkitColumnSpan,webkitColumnWidth,"
+ "webkitFilter,webkitFlex,webkitFlexBasis,webkitFlexDirection,webkitFlexFlow,webkitFlexGrow,"
+ "webkitFlexShrink,webkitFlexWrap,webkitFontFeatureSettings,webkitFontSmoothing,webkitHighlight,"
+ "webkitHyphenateCharacter,webkitJustifyContent,webkitLineBreak,webkitLineClamp,webkitLocale,"
+ "webkitLogicalHeight,webkitLogicalWidth,webkitMarginAfter,webkitMarginBefore,webkitMarginEnd,"
+ "webkitMarginStart,webkitMask,webkitMaskBoxImage,webkitMaskBoxImageOutset,"
+ "webkitMaskBoxImageRepeat,webkitMaskBoxImageSlice,webkitMaskBoxImageSource,"
+ "webkitMaskBoxImageWidth,webkitMaskClip,webkitMaskComposite,webkitMaskImage,webkitMaskOrigin,"
+ "webkitMaskPosition,webkitMaskPositionX,webkitMaskPositionY,webkitMaskRepeat,webkitMaskRepeatX,"
+ "webkitMaskRepeatY,webkitMaskSize,webkitMaxLogicalHeight,webkitMaxLogicalWidth,"
+ "webkitMinLogicalHeight,webkitMinLogicalWidth,webkitOpacity,webkitOrder,webkitPaddingAfter,"
+ "webkitPaddingBefore,webkitPaddingEnd,webkitPaddingStart,webkitPerspective,"
+ "webkitPerspectiveOrigin,webkitPerspectiveOriginX,webkitPerspectiveOriginY,webkitPrintColorAdjust,"
+ "webkitRtlOrdering,webkitRubyPosition,webkitShapeImageThreshold,webkitShapeMargin,"
+ "webkitShapeOutside,webkitTapHighlightColor,webkitTextCombine,webkitTextDecorationsInEffect,"
+ "webkitTextEmphasis,webkitTextEmphasisColor,webkitTextEmphasisPosition,webkitTextEmphasisStyle,"
+ "webkitTextFillColor,webkitTextOrientation,webkitTextSecurity,webkitTextSizeAdjust,"
+ "webkitTextStroke,webkitTextStrokeColor,webkitTextStrokeWidth,webkitTransform,"
+ "webkitTransformOrigin,webkitTransformOriginX,webkitTransformOriginY,webkitTransformOriginZ,"
+ "webkitTransformStyle,webkitTransition,webkitTransitionDelay,webkitTransitionDuration,"
+ "webkitTransitionProperty,webkitTransitionTimingFunction,webkitUserDrag,webkitUserModify,"
+ "webkitUserSelect,webkitWritingMode,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,"
+ "wordWrap,writingMode,x,y,zIndex,"
+ "zoom",
EDGE = "accentColor,additiveSymbols,alignContent,alignItems,alignmentBaseline,alignSelf,all,animation,"
+ "animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,"
+ "animationName,animationPlayState,animationTimingFunction,appearance,appRegion,ascentOverride,"
+ "aspectRatio,backdropFilter,backfaceVisibility,background,backgroundAttachment,"
+ "backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,"
+ "backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundRepeatX,"
+ "backgroundRepeatY,backgroundSize,baselineShift,basePalette,blockSize,border,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "boxShadow,boxSizing,breakAfter,breakBefore,breakInside,bufferedRendering,captionSide,caretColor,"
+ "clear,clip,clipPath,clipRule,color,colorInterpolation,colorInterpolationFilters,colorRendering,"
+ "colorScheme,columnCount,columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,"
+ "columnRuleWidth,columns,columnSpan,columnWidth,contain,containIntrinsicBlockSize,"
+ "containIntrinsicHeight,containIntrinsicInlineSize,containIntrinsicSize,containIntrinsicWidth,"
+ "content,contentVisibility,counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,"
+ "d,descentOverride,direction,display,dominantBaseline,emptyCells,fallback,fill,fillOpacity,"
+ "fillRule,filter,flex,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,"
+ "floodColor,floodOpacity,font,fontDisplay,fontFamily,fontFeatureSettings,fontKerning,"
+ "fontOpticalSizing,fontPalette,fontSize,fontStretch,fontStyle,fontSynthesis,"
+ "fontSynthesisSmallCaps,fontSynthesisStyle,fontSynthesisWeight,fontVariant,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariationSettings,fontWeight,"
+ "forcedColorAdjust,gap,getPropertyPriority(),getPropertyValue(),grid,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,imageOrientation,imageRendering,inherits,initialValue,inlineSize,"
+ "inset,insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,"
+ "isolation,item(),justifyContent,justifyItems,justifySelf,left,length,letterSpacing,lightingColor,"
+ "lineBreak,lineGapOverride,lineHeight,listStyle,listStyleImage,listStylePosition,listStyleType,"
+ "margin,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,"
+ "maskType,maxBlockSize,maxHeight,maxInlineSize,maxWidth,maxZoom,minBlockSize,minHeight,"
+ "minInlineSize,minWidth,minZoom,mixBlendMode,negative,objectFit,objectPosition,offset,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,orientation,orphans,outline,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflowAnchor,overflowClipMargin,overflowWrap,"
+ "overflowX,overflowY,overrideColors,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,pad,padding,paddingBlock,"
+ "paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page,pageBreakAfter,pageBreakBefore,"
+ "pageBreakInside,pageOrientation,paintOrder,parentRule,perspective,perspectiveOrigin,placeContent,"
+ "placeItems,placeSelf,pointerEvents,position,prefix,quotes,r,range,removeProperty(),resize,right,"
+ "rowGap,rubyPosition,rx,ry,scrollbarGutter,scrollBehavior,scrollMargin,scrollMarginBlock,"
+ "scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,"
+ "scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,"
+ "scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,"
+ "scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,"
+ "scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapStop,"
+ "scrollSnapType,setProperty(),shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,size,"
+ "sizeAdjust,speak,speakAs,src,stopColor,stopOpacity,stroke,strokeDasharray,strokeDashoffset,"
+ "strokeLinecap,strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,suffix,symbols,syntax,"
+ "system,tableLayout,tabSize,textAlign,textAlignLast,textAnchor,textCombineUpright,textDecoration,"
+ "textDecorationColor,textDecorationLine,textDecorationSkipInk,textDecorationStyle,"
+ "textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,textEmphasisStyle,"
+ "textIndent,textOrientation,textOverflow,textRendering,textShadow,textSizeAdjust,textTransform,"
+ "textUnderlineOffset,textUnderlinePosition,top,touchAction,transform,transformBox,transformOrigin,"
+ "transformStyle,transition,transitionDelay,transitionDuration,transitionProperty,"
+ "transitionTimingFunction,unicodeBidi,unicodeRange,userSelect,userZoom,vectorEffect,verticalAlign,"
+ "visibility,webkitAlignContent,webkitAlignItems,webkitAlignSelf,webkitAnimation,"
+ "webkitAnimationDelay,webkitAnimationDirection,webkitAnimationDuration,webkitAnimationFillMode,"
+ "webkitAnimationIterationCount,webkitAnimationName,webkitAnimationPlayState,"
+ "webkitAnimationTimingFunction,webkitAppearance,webkitAppRegion,webkitBackfaceVisibility,"
+ "webkitBackgroundClip,webkitBackgroundOrigin,webkitBackgroundSize,webkitBorderAfter,"
+ "webkitBorderAfterColor,webkitBorderAfterStyle,webkitBorderAfterWidth,webkitBorderBefore,"
+ "webkitBorderBeforeColor,webkitBorderBeforeStyle,webkitBorderBeforeWidth,"
+ "webkitBorderBottomLeftRadius,webkitBorderBottomRightRadius,webkitBorderEnd,webkitBorderEndColor,"
+ "webkitBorderEndStyle,webkitBorderEndWidth,webkitBorderHorizontalSpacing,webkitBorderImage,"
+ "webkitBorderRadius,webkitBorderStart,webkitBorderStartColor,webkitBorderStartStyle,"
+ "webkitBorderStartWidth,webkitBorderTopLeftRadius,webkitBorderTopRightRadius,"
+ "webkitBorderVerticalSpacing,webkitBoxAlign,webkitBoxDecorationBreak,webkitBoxDirection,"
+ "webkitBoxFlex,webkitBoxOrdinalGroup,webkitBoxOrient,webkitBoxPack,webkitBoxReflect,"
+ "webkitBoxShadow,webkitBoxSizing,webkitClipPath,webkitColumnBreakAfter,webkitColumnBreakBefore,"
+ "webkitColumnBreakInside,webkitColumnCount,webkitColumnGap,webkitColumnRule,webkitColumnRuleColor,"
+ "webkitColumnRuleStyle,webkitColumnRuleWidth,webkitColumns,webkitColumnSpan,webkitColumnWidth,"
+ "webkitFilter,webkitFlex,webkitFlexBasis,webkitFlexDirection,webkitFlexFlow,webkitFlexGrow,"
+ "webkitFlexShrink,webkitFlexWrap,webkitFontFeatureSettings,webkitFontSmoothing,webkitHighlight,"
+ "webkitHyphenateCharacter,webkitJustifyContent,webkitLineBreak,webkitLineClamp,webkitLocale,"
+ "webkitLogicalHeight,webkitLogicalWidth,webkitMarginAfter,webkitMarginBefore,webkitMarginEnd,"
+ "webkitMarginStart,webkitMask,webkitMaskBoxImage,webkitMaskBoxImageOutset,"
+ "webkitMaskBoxImageRepeat,webkitMaskBoxImageSlice,webkitMaskBoxImageSource,"
+ "webkitMaskBoxImageWidth,webkitMaskClip,webkitMaskComposite,webkitMaskImage,webkitMaskOrigin,"
+ "webkitMaskPosition,webkitMaskPositionX,webkitMaskPositionY,webkitMaskRepeat,webkitMaskRepeatX,"
+ "webkitMaskRepeatY,webkitMaskSize,webkitMaxLogicalHeight,webkitMaxLogicalWidth,"
+ "webkitMinLogicalHeight,webkitMinLogicalWidth,webkitOpacity,webkitOrder,webkitPaddingAfter,"
+ "webkitPaddingBefore,webkitPaddingEnd,webkitPaddingStart,webkitPerspective,"
+ "webkitPerspectiveOrigin,webkitPerspectiveOriginX,webkitPerspectiveOriginY,webkitPrintColorAdjust,"
+ "webkitRtlOrdering,webkitRubyPosition,webkitShapeImageThreshold,webkitShapeMargin,"
+ "webkitShapeOutside,webkitTapHighlightColor,webkitTextCombine,webkitTextDecorationsInEffect,"
+ "webkitTextEmphasis,webkitTextEmphasisColor,webkitTextEmphasisPosition,webkitTextEmphasisStyle,"
+ "webkitTextFillColor,webkitTextOrientation,webkitTextSecurity,webkitTextSizeAdjust,"
+ "webkitTextStroke,webkitTextStrokeColor,webkitTextStrokeWidth,webkitTransform,"
+ "webkitTransformOrigin,webkitTransformOriginX,webkitTransformOriginY,webkitTransformOriginZ,"
+ "webkitTransformStyle,webkitTransition,webkitTransitionDelay,webkitTransitionDuration,"
+ "webkitTransitionProperty,webkitTransitionTimingFunction,webkitUserDrag,webkitUserModify,"
+ "webkitUserSelect,webkitWritingMode,whiteSpace,widows,width,willChange,wordBreak,wordSpacing,"
+ "wordWrap,writingMode,x,y,zIndex,"
+ "zoom",
FF = "-moz-animation,-moz-animation-delay,-moz-animation-direction,-moz-animation-duration,"
+ "-moz-animation-fill-mode,-moz-animation-iteration-count,-moz-animation-name,"
+ "-moz-animation-play-state,-moz-animation-timing-function,-moz-appearance,"
+ "-moz-backface-visibility,-moz-border-end,-moz-border-end-color,-moz-border-end-style,"
+ "-moz-border-end-width,-moz-border-image,-moz-border-start,-moz-border-start-color,"
+ "-moz-border-start-style,-moz-border-start-width,-moz-box-align,-moz-box-direction,-moz-box-flex,"
+ "-moz-box-ordinal-group,-moz-box-orient,-moz-box-pack,-moz-box-sizing,-moz-float-edge,"
+ "-moz-font-feature-settings,-moz-font-language-override,-moz-force-broken-image-icon,-moz-hyphens,"
+ "-moz-image-region,-moz-margin-end,-moz-margin-start,-moz-orient,-moz-padding-end,"
+ "-moz-padding-start,-moz-perspective,-moz-perspective-origin,-moz-tab-size,-moz-text-size-adjust,"
+ "-moz-transform,-moz-transform-origin,-moz-transform-style,-moz-transition,-moz-transition-delay,"
+ "-moz-transition-duration,-moz-transition-property,-moz-transition-timing-function,"
+ "-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,-moz-window-dragging,"
+ "-webkit-align-content,-webkit-align-items,-webkit-align-self,-webkit-animation,"
+ "-webkit-animation-delay,-webkit-animation-direction,-webkit-animation-duration,"
+ "-webkit-animation-fill-mode,-webkit-animation-iteration-count,-webkit-animation-name,"
+ "-webkit-animation-play-state,-webkit-animation-timing-function,-webkit-appearance,"
+ "-webkit-backface-visibility,-webkit-background-clip,-webkit-background-origin,"
+ "-webkit-background-size,-webkit-border-bottom-left-radius,-webkit-border-bottom-right-radius,"
+ "-webkit-border-image,-webkit-border-radius,-webkit-border-top-left-radius,"
+ "-webkit-border-top-right-radius,-webkit-box-align,-webkit-box-direction,-webkit-box-flex,"
+ "-webkit-box-ordinal-group,-webkit-box-orient,-webkit-box-pack,-webkit-box-shadow,"
+ "-webkit-box-sizing,-webkit-filter,-webkit-flex,-webkit-flex-basis,-webkit-flex-direction,"
+ "-webkit-flex-flow,-webkit-flex-grow,-webkit-flex-shrink,-webkit-flex-wrap,"
+ "-webkit-justify-content,-webkit-line-clamp,-webkit-mask,-webkit-mask-clip,-webkit-mask-composite,"
+ "-webkit-mask-image,-webkit-mask-origin,-webkit-mask-position,-webkit-mask-position-x,"
+ "-webkit-mask-position-y,-webkit-mask-repeat,-webkit-mask-size,-webkit-order,-webkit-perspective,"
+ "-webkit-perspective-origin,-webkit-text-fill-color,-webkit-text-size-adjust,-webkit-text-stroke,"
+ "-webkit-text-stroke-color,-webkit-text-stroke-width,-webkit-transform,-webkit-transform-origin,"
+ "-webkit-transform-style,-webkit-transition,-webkit-transition-delay,-webkit-transition-duration,"
+ "-webkit-transition-property,-webkit-transition-timing-function,-webkit-user-select,accent-color,"
+ "accentColor,align-content,align-items,align-self,alignContent,alignItems,alignSelf,all,animation,"
+ "animation-delay,animation-direction,animation-duration,animation-fill-mode,"
+ "animation-iteration-count,animation-name,animation-play-state,animation-timing-function,"
+ "animationDelay,animationDirection,animationDuration,animationFillMode,animationIterationCount,"
+ "animationName,animationPlayState,animationTimingFunction,appearance,aspect-ratio,aspectRatio,"
+ "backface-visibility,backfaceVisibility,background,background-attachment,background-blend-mode,"
+ "background-clip,background-color,background-image,background-origin,background-position,"
+ "background-position-x,background-position-y,background-repeat,background-size,"
+ "backgroundAttachment,backgroundBlendMode,backgroundClip,backgroundColor,backgroundImage,"
+ "backgroundOrigin,backgroundPosition,backgroundPositionX,backgroundPositionY,backgroundRepeat,"
+ "backgroundSize,block-size,blockSize,border,border-block,border-block-color,border-block-end,"
+ "border-block-end-color,border-block-end-style,border-block-end-width,border-block-start,"
+ "border-block-start-color,border-block-start-style,border-block-start-width,border-block-style,"
+ "border-block-width,border-bottom,border-bottom-color,border-bottom-left-radius,"
+ "border-bottom-right-radius,border-bottom-style,border-bottom-width,border-collapse,border-color,"
+ "border-end-end-radius,border-end-start-radius,border-image,border-image-outset,"
+ "border-image-repeat,border-image-slice,border-image-source,border-image-width,border-inline,"
+ "border-inline-color,border-inline-end,border-inline-end-color,border-inline-end-style,"
+ "border-inline-end-width,border-inline-start,border-inline-start-color,border-inline-start-style,"
+ "border-inline-start-width,border-inline-style,border-inline-width,border-left,border-left-color,"
+ "border-left-style,border-left-width,border-radius,border-right,border-right-color,"
+ "border-right-style,border-right-width,border-spacing,border-start-end-radius,"
+ "border-start-start-radius,border-style,border-top,border-top-color,border-top-left-radius,"
+ "border-top-right-radius,border-top-style,border-top-width,border-width,borderBlock,"
+ "borderBlockColor,borderBlockEnd,borderBlockEndColor,borderBlockEndStyle,borderBlockEndWidth,"
+ "borderBlockStart,borderBlockStartColor,borderBlockStartStyle,borderBlockStartWidth,"
+ "borderBlockStyle,borderBlockWidth,borderBottom,borderBottomColor,borderBottomLeftRadius,"
+ "borderBottomRightRadius,borderBottomStyle,borderBottomWidth,borderCollapse,borderColor,"
+ "borderEndEndRadius,borderEndStartRadius,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderInline,borderInlineColor,"
+ "borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,borderInlineEndWidth,borderInlineStart,"
+ "borderInlineStartColor,borderInlineStartStyle,borderInlineStartWidth,borderInlineStyle,"
+ "borderInlineWidth,borderLeft,borderLeftColor,borderLeftStyle,borderLeftWidth,borderRadius,"
+ "borderRight,borderRightColor,borderRightStyle,borderRightWidth,borderSpacing,"
+ "borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,borderTopColor,"
+ "borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,borderWidth,bottom,"
+ "box-decoration-break,box-shadow,box-sizing,boxDecorationBreak,boxShadow,boxSizing,break-after,"
+ "break-before,break-inside,breakAfter,breakBefore,breakInside,caption-side,captionSide,"
+ "caret-color,caretColor,clear,clip,clip-path,clip-rule,clipPath,clipRule,color,color-adjust,"
+ "color-interpolation,color-interpolation-filters,color-scheme,colorAdjust,colorInterpolation,"
+ "colorInterpolationFilters,colorScheme,column-count,column-fill,column-gap,column-rule,"
+ "column-rule-color,column-rule-style,column-rule-width,column-span,column-width,columnCount,"
+ "columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columns,"
+ "columnSpan,columnWidth,contain,content,counter-increment,counter-reset,counter-set,"
+ "counterIncrement,counterReset,counterSet,cssFloat,cssText,cursor,cx,cy,d,direction,display,"
+ "dominant-baseline,dominantBaseline,empty-cells,emptyCells,fill,fill-opacity,fill-rule,"
+ "fillOpacity,fillRule,filter,flex,flex-basis,flex-direction,flex-flow,flex-grow,flex-shrink,"
+ "flex-wrap,flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,float,flood-color,"
+ "flood-opacity,floodColor,floodOpacity,font,font-family,font-feature-settings,font-kerning,"
+ "font-language-override,font-optical-sizing,font-size,font-size-adjust,font-stretch,font-style,"
+ "font-synthesis,font-variant,font-variant-alternates,font-variant-caps,font-variant-east-asian,"
+ "font-variant-ligatures,font-variant-numeric,font-variant-position,font-variation-settings,"
+ "font-weight,fontFamily,fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,"
+ "fontSize,fontSizeAdjust,fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,"
+ "fontVariantCaps,fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,"
+ "fontVariationSettings,fontWeight,gap,getPropertyPriority(),getPropertyValue(),grid,grid-area,"
+ "grid-auto-columns,grid-auto-flow,grid-auto-rows,grid-column,grid-column-end,grid-column-gap,"
+ "grid-column-start,grid-gap,grid-row,grid-row-end,grid-row-gap,grid-row-start,grid-template,"
+ "grid-template-areas,grid-template-columns,grid-template-rows,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphenate-character,hyphenateCharacter,hyphens,image-orientation,"
+ "image-rendering,imageOrientation,imageRendering,ime-mode,imeMode,inline-size,inlineSize,inset,"
+ "inset-block,inset-block-end,inset-block-start,inset-inline,inset-inline-end,inset-inline-start,"
+ "insetBlock,insetBlockEnd,insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,"
+ "item(),justify-content,justify-items,justify-self,justifyContent,justifyItems,justifySelf,left,"
+ "length,letter-spacing,letterSpacing,lighting-color,lightingColor,line-break,line-height,"
+ "lineBreak,lineHeight,list-style,list-style-image,list-style-position,list-style-type,listStyle,"
+ "listStyleImage,listStylePosition,listStyleType,margin,margin-block,margin-block-end,"
+ "margin-block-start,margin-bottom,margin-inline,margin-inline-end,margin-inline-start,margin-left,"
+ "margin-right,margin-top,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,"
+ "marginInlineEnd,marginInlineStart,marginLeft,marginRight,marginTop,marker,marker-end,marker-mid,"
+ "marker-start,markerEnd,markerMid,markerStart,mask,mask-clip,mask-composite,mask-image,mask-mode,"
+ "mask-origin,mask-position,mask-position-x,mask-position-y,mask-repeat,mask-size,mask-type,"
+ "maskClip,maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskPositionX,maskPositionY,"
+ "maskRepeat,maskSize,maskType,max-block-size,max-height,max-inline-size,max-width,maxBlockSize,"
+ "maxHeight,maxInlineSize,maxWidth,min-block-size,min-height,min-inline-size,min-width,"
+ "minBlockSize,minHeight,minInlineSize,minWidth,mix-blend-mode,mixBlendMode,MozAnimation,"
+ "MozAnimationDelay,MozAnimationDirection,MozAnimationDuration,MozAnimationFillMode,"
+ "MozAnimationIterationCount,MozAnimationName,MozAnimationPlayState,MozAnimationTimingFunction,"
+ "MozAppearance,MozBackfaceVisibility,MozBorderEnd,MozBorderEndColor,MozBorderEndStyle,"
+ "MozBorderEndWidth,MozBorderImage,MozBorderStart,MozBorderStartColor,MozBorderStartStyle,"
+ "MozBorderStartWidth,MozBoxAlign,MozBoxDirection,MozBoxFlex,MozBoxOrdinalGroup,MozBoxOrient,"
+ "MozBoxPack,MozBoxSizing,MozFloatEdge,MozFontFeatureSettings,MozFontLanguageOverride,"
+ "MozForceBrokenImageIcon,MozHyphens,MozImageRegion,MozMarginEnd,MozMarginStart,MozOrient,"
+ "MozPaddingEnd,MozPaddingStart,MozPerspective,MozPerspectiveOrigin,MozTabSize,MozTextSizeAdjust,"
+ "MozTransform,MozTransformOrigin,MozTransformStyle,MozTransition,MozTransitionDelay,"
+ "MozTransitionDuration,MozTransitionProperty,MozTransitionTimingFunction,MozUserFocus,"
+ "MozUserInput,MozUserModify,MozUserSelect,MozWindowDragging,object-fit,object-position,objectFit,"
+ "objectPosition,offset,offset-anchor,offset-distance,offset-path,offset-rotate,offsetAnchor,"
+ "offsetDistance,offsetPath,offsetRotate,opacity,order,outline,outline-color,outline-offset,"
+ "outline-style,outline-width,outlineColor,outlineOffset,outlineStyle,outlineWidth,overflow,"
+ "overflow-anchor,overflow-block,overflow-inline,overflow-wrap,overflow-x,overflow-y,"
+ "overflowAnchor,overflowBlock,overflowInline,overflowWrap,overflowX,overflowY,overscroll-behavior,"
+ "overscroll-behavior-block,overscroll-behavior-inline,overscroll-behavior-x,overscroll-behavior-y,"
+ "overscrollBehavior,overscrollBehaviorBlock,overscrollBehaviorInline,overscrollBehaviorX,"
+ "overscrollBehaviorY,padding,padding-block,padding-block-end,padding-block-start,padding-bottom,"
+ "padding-inline,padding-inline-end,padding-inline-start,padding-left,padding-right,padding-top,"
+ "paddingBlock,paddingBlockEnd,paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,"
+ "paddingInlineStart,paddingLeft,paddingRight,paddingTop,page-break-after,page-break-before,"
+ "page-break-inside,pageBreakAfter,pageBreakBefore,pageBreakInside,paint-order,paintOrder,"
+ "parentRule,perspective,perspective-origin,perspectiveOrigin,place-content,place-items,place-self,"
+ "placeContent,placeItems,placeSelf,pointer-events,pointerEvents,position,print-color-adjust,"
+ "printColorAdjust,quotes,r,removeProperty(),resize,right,rotate,row-gap,rowGap,ruby-align,"
+ "ruby-position,rubyAlign,rubyPosition,rx,ry,scale,scroll-behavior,scroll-margin,"
+ "scroll-margin-block,scroll-margin-block-end,scroll-margin-block-start,scroll-margin-bottom,"
+ "scroll-margin-inline,scroll-margin-inline-end,scroll-margin-inline-start,scroll-margin-left,"
+ "scroll-margin-right,scroll-margin-top,scroll-padding,scroll-padding-block,"
+ "scroll-padding-block-end,scroll-padding-block-start,scroll-padding-bottom,scroll-padding-inline,"
+ "scroll-padding-inline-end,scroll-padding-inline-start,scroll-padding-left,scroll-padding-right,"
+ "scroll-padding-top,scroll-snap-align,scroll-snap-type,scrollbar-color,scrollbar-gutter,"
+ "scrollbar-width,scrollbarColor,scrollbarGutter,scrollbarWidth,scrollBehavior,scrollMargin,"
+ "scrollMarginBlock,scrollMarginBlockEnd,scrollMarginBlockStart,scrollMarginBottom,"
+ "scrollMarginInline,scrollMarginInlineEnd,scrollMarginInlineStart,scrollMarginLeft,"
+ "scrollMarginRight,scrollMarginTop,scrollPadding,scrollPaddingBlock,scrollPaddingBlockEnd,"
+ "scrollPaddingBlockStart,scrollPaddingBottom,scrollPaddingInline,scrollPaddingInlineEnd,"
+ "scrollPaddingInlineStart,scrollPaddingLeft,scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,"
+ "scrollSnapType,setProperty(),shape-image-threshold,shape-margin,shape-outside,shape-rendering,"
+ "shapeImageThreshold,shapeMargin,shapeOutside,shapeRendering,stop-color,stop-opacity,stopColor,"
+ "stopOpacity,stroke,stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,"
+ "stroke-miterlimit,stroke-opacity,stroke-width,strokeDasharray,strokeDashoffset,strokeLinecap,"
+ "strokeLinejoin,strokeMiterlimit,strokeOpacity,strokeWidth,tab-size,table-layout,tableLayout,"
+ "tabSize,text-align,text-align-last,text-anchor,text-combine-upright,text-decoration,"
+ "text-decoration-color,text-decoration-line,text-decoration-skip-ink,text-decoration-style,"
+ "text-decoration-thickness,text-emphasis,text-emphasis-color,text-emphasis-position,"
+ "text-emphasis-style,text-indent,text-justify,text-orientation,text-overflow,text-rendering,"
+ "text-shadow,text-transform,text-underline-offset,text-underline-position,textAlign,textAlignLast,"
+ "textAnchor,textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,"
+ "textDecorationSkipInk,textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,"
+ "textEmphasisPosition,textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,"
+ "textRendering,textShadow,textTransform,textUnderlineOffset,textUnderlinePosition,top,"
+ "touch-action,touchAction,transform,transform-box,transform-origin,transform-style,transformBox,"
+ "transformOrigin,transformStyle,transition,transition-delay,transition-duration,"
+ "transition-property,transition-timing-function,transitionDelay,transitionDuration,"
+ "transitionProperty,transitionTimingFunction,translate,unicode-bidi,unicodeBidi,user-select,"
+ "userSelect,vector-effect,vectorEffect,vertical-align,verticalAlign,visibility,WebkitAlignContent,"
+ "webkitAlignContent,WebkitAlignItems,webkitAlignItems,WebkitAlignSelf,webkitAlignSelf,"
+ "WebkitAnimation,webkitAnimation,WebkitAnimationDelay,webkitAnimationDelay,"
+ "WebkitAnimationDirection,webkitAnimationDirection,WebkitAnimationDuration,"
+ "webkitAnimationDuration,WebkitAnimationFillMode,webkitAnimationFillMode,"
+ "WebkitAnimationIterationCount,webkitAnimationIterationCount,WebkitAnimationName,"
+ "webkitAnimationName,WebkitAnimationPlayState,webkitAnimationPlayState,"
+ "WebkitAnimationTimingFunction,webkitAnimationTimingFunction,WebkitAppearance,webkitAppearance,"
+ "WebkitBackfaceVisibility,webkitBackfaceVisibility,WebkitBackgroundClip,webkitBackgroundClip,"
+ "WebkitBackgroundOrigin,webkitBackgroundOrigin,WebkitBackgroundSize,webkitBackgroundSize,"
+ "WebkitBorderBottomLeftRadius,webkitBorderBottomLeftRadius,WebkitBorderBottomRightRadius,"
+ "webkitBorderBottomRightRadius,WebkitBorderImage,webkitBorderImage,WebkitBorderRadius,"
+ "webkitBorderRadius,WebkitBorderTopLeftRadius,webkitBorderTopLeftRadius,"
+ "WebkitBorderTopRightRadius,webkitBorderTopRightRadius,WebkitBoxAlign,webkitBoxAlign,"
+ "WebkitBoxDirection,webkitBoxDirection,WebkitBoxFlex,webkitBoxFlex,WebkitBoxOrdinalGroup,"
+ "webkitBoxOrdinalGroup,WebkitBoxOrient,webkitBoxOrient,WebkitBoxPack,webkitBoxPack,"
+ "WebkitBoxShadow,webkitBoxShadow,WebkitBoxSizing,webkitBoxSizing,WebkitFilter,webkitFilter,"
+ "WebkitFlex,webkitFlex,WebkitFlexBasis,webkitFlexBasis,WebkitFlexDirection,webkitFlexDirection,"
+ "WebkitFlexFlow,webkitFlexFlow,WebkitFlexGrow,webkitFlexGrow,WebkitFlexShrink,webkitFlexShrink,"
+ "WebkitFlexWrap,webkitFlexWrap,WebkitJustifyContent,webkitJustifyContent,WebkitLineClamp,"
+ "webkitLineClamp,WebkitMask,webkitMask,WebkitMaskClip,webkitMaskClip,WebkitMaskComposite,"
+ "webkitMaskComposite,WebkitMaskImage,webkitMaskImage,WebkitMaskOrigin,webkitMaskOrigin,"
+ "WebkitMaskPosition,webkitMaskPosition,WebkitMaskPositionX,webkitMaskPositionX,"
+ "WebkitMaskPositionY,webkitMaskPositionY,WebkitMaskRepeat,webkitMaskRepeat,WebkitMaskSize,"
+ "webkitMaskSize,WebkitOrder,webkitOrder,WebkitPerspective,webkitPerspective,"
+ "WebkitPerspectiveOrigin,webkitPerspectiveOrigin,WebkitTextFillColor,webkitTextFillColor,"
+ "WebkitTextSizeAdjust,webkitTextSizeAdjust,WebkitTextStroke,webkitTextStroke,"
+ "WebkitTextStrokeColor,webkitTextStrokeColor,WebkitTextStrokeWidth,webkitTextStrokeWidth,"
+ "WebkitTransform,webkitTransform,WebkitTransformOrigin,webkitTransformOrigin,WebkitTransformStyle,"
+ "webkitTransformStyle,WebkitTransition,webkitTransition,WebkitTransitionDelay,"
+ "webkitTransitionDelay,WebkitTransitionDuration,webkitTransitionDuration,WebkitTransitionProperty,"
+ "webkitTransitionProperty,WebkitTransitionTimingFunction,webkitTransitionTimingFunction,"
+ "WebkitUserSelect,webkitUserSelect,white-space,whiteSpace,width,will-change,willChange,word-break,"
+ "word-spacing,word-wrap,wordBreak,wordSpacing,wordWrap,writing-mode,writingMode,x,y,z-index,"
+ "zIndex",
FF_ESR = "-moz-animation,-moz-animation-delay,-moz-animation-direction,-moz-animation-duration,"
+ "-moz-animation-fill-mode,-moz-animation-iteration-count,-moz-animation-name,"
+ "-moz-animation-play-state,-moz-animation-timing-function,-moz-appearance,"
+ "-moz-backface-visibility,-moz-border-end,-moz-border-end-color,-moz-border-end-style,"
+ "-moz-border-end-width,-moz-border-image,-moz-border-start,-moz-border-start-color,"
+ "-moz-border-start-style,-moz-border-start-width,-moz-box-align,-moz-box-direction,-moz-box-flex,"
+ "-moz-box-ordinal-group,-moz-box-orient,-moz-box-pack,-moz-box-sizing,-moz-float-edge,"
+ "-moz-font-feature-settings,-moz-font-language-override,-moz-force-broken-image-icon,-moz-hyphens,"
+ "-moz-image-region,-moz-margin-end,-moz-margin-start,-moz-orient,-moz-padding-end,"
+ "-moz-padding-start,-moz-perspective,-moz-perspective-origin,-moz-tab-size,-moz-text-size-adjust,"
+ "-moz-transform,-moz-transform-origin,-moz-transform-style,-moz-transition,-moz-transition-delay,"
+ "-moz-transition-duration,-moz-transition-property,-moz-transition-timing-function,"
+ "-moz-user-focus,-moz-user-input,-moz-user-modify,-moz-user-select,-moz-window-dragging,"
+ "-webkit-align-content,-webkit-align-items,-webkit-align-self,-webkit-animation,"
+ "-webkit-animation-delay,-webkit-animation-direction,-webkit-animation-duration,"
+ "-webkit-animation-fill-mode,-webkit-animation-iteration-count,-webkit-animation-name,"
+ "-webkit-animation-play-state,-webkit-animation-timing-function,-webkit-appearance,"
+ "-webkit-backface-visibility,-webkit-background-clip,-webkit-background-origin,"
+ "-webkit-background-size,-webkit-border-bottom-left-radius,-webkit-border-bottom-right-radius,"
+ "-webkit-border-image,-webkit-border-radius,-webkit-border-top-left-radius,"
+ "-webkit-border-top-right-radius,-webkit-box-align,-webkit-box-direction,-webkit-box-flex,"
+ "-webkit-box-ordinal-group,-webkit-box-orient,-webkit-box-pack,-webkit-box-shadow,"
+ "-webkit-box-sizing,-webkit-filter,-webkit-flex,-webkit-flex-basis,-webkit-flex-direction,"
+ "-webkit-flex-flow,-webkit-flex-grow,-webkit-flex-shrink,-webkit-flex-wrap,"
+ "-webkit-justify-content,-webkit-line-clamp,-webkit-mask,-webkit-mask-clip,-webkit-mask-composite,"
+ "-webkit-mask-image,-webkit-mask-origin,-webkit-mask-position,-webkit-mask-position-x,"
+ "-webkit-mask-position-y,-webkit-mask-repeat,-webkit-mask-size,-webkit-order,-webkit-perspective,"
+ "-webkit-perspective-origin,-webkit-text-fill-color,-webkit-text-size-adjust,-webkit-text-stroke,"
+ "-webkit-text-stroke-color,-webkit-text-stroke-width,-webkit-transform,-webkit-transform-origin,"
+ "-webkit-transform-style,-webkit-transition,-webkit-transition-delay,-webkit-transition-duration,"
+ "-webkit-transition-property,-webkit-transition-timing-function,-webkit-user-select,align-content,"
+ "align-items,align-self,alignContent,alignItems,alignSelf,all,animation,animation-delay,"
+ "animation-direction,animation-duration,animation-fill-mode,animation-iteration-count,"
+ "animation-name,animation-play-state,animation-timing-function,animationDelay,animationDirection,"
+ "animationDuration,animationFillMode,animationIterationCount,animationName,animationPlayState,"
+ "animationTimingFunction,appearance,aspect-ratio,aspectRatio,backface-visibility,"
+ "backfaceVisibility,background,background-attachment,background-blend-mode,background-clip,"
+ "background-color,background-image,background-origin,background-position,background-position-x,"
+ "background-position-y,background-repeat,background-size,backgroundAttachment,backgroundBlendMode,"
+ "backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,"
+ "backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,block-size,blockSize,"
+ "border,border-block,border-block-color,border-block-end,border-block-end-color,"
+ "border-block-end-style,border-block-end-width,border-block-start,border-block-start-color,"
+ "border-block-start-style,border-block-start-width,border-block-style,border-block-width,"
+ "border-bottom,border-bottom-color,border-bottom-left-radius,border-bottom-right-radius,"
+ "border-bottom-style,border-bottom-width,border-collapse,border-color,border-end-end-radius,"
+ "border-end-start-radius,border-image,border-image-outset,border-image-repeat,border-image-slice,"
+ "border-image-source,border-image-width,border-inline,border-inline-color,border-inline-end,"
+ "border-inline-end-color,border-inline-end-style,border-inline-end-width,border-inline-start,"
+ "border-inline-start-color,border-inline-start-style,border-inline-start-width,"
+ "border-inline-style,border-inline-width,border-left,border-left-color,border-left-style,"
+ "border-left-width,border-radius,border-right,border-right-color,border-right-style,"
+ "border-right-width,border-spacing,border-start-end-radius,border-start-start-radius,border-style,"
+ "border-top,border-top-color,border-top-left-radius,border-top-right-radius,border-top-style,"
+ "border-top-width,border-width,borderBlock,borderBlockColor,borderBlockEnd,borderBlockEndColor,"
+ "borderBlockEndStyle,borderBlockEndWidth,borderBlockStart,borderBlockStartColor,"
+ "borderBlockStartStyle,borderBlockStartWidth,borderBlockStyle,borderBlockWidth,borderBottom,"
+ "borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,"
+ "borderBottomWidth,borderCollapse,borderColor,borderEndEndRadius,borderEndStartRadius,borderImage,"
+ "borderImageOutset,borderImageRepeat,borderImageSlice,borderImageSource,borderImageWidth,"
+ "borderInline,borderInlineColor,borderInlineEnd,borderInlineEndColor,borderInlineEndStyle,"
+ "borderInlineEndWidth,borderInlineStart,borderInlineStartColor,borderInlineStartStyle,"
+ "borderInlineStartWidth,borderInlineStyle,borderInlineWidth,borderLeft,borderLeftColor,"
+ "borderLeftStyle,borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,"
+ "borderRightWidth,borderSpacing,borderStartEndRadius,borderStartStartRadius,borderStyle,borderTop,"
+ "borderTopColor,borderTopLeftRadius,borderTopRightRadius,borderTopStyle,borderTopWidth,"
+ "borderWidth,bottom,box-decoration-break,box-shadow,box-sizing,boxDecorationBreak,boxShadow,"
+ "boxSizing,break-after,break-before,break-inside,breakAfter,breakBefore,breakInside,caption-side,"
+ "captionSide,caret-color,caretColor,clear,clip,clip-path,clip-rule,clipPath,clipRule,color,"
+ "color-adjust,color-interpolation,color-interpolation-filters,colorAdjust,colorInterpolation,"
+ "colorInterpolationFilters,column-count,column-fill,column-gap,column-rule,column-rule-color,"
+ "column-rule-style,column-rule-width,column-span,column-width,columnCount,columnFill,columnGap,"
+ "columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columns,columnSpan,columnWidth,"
+ "contain,content,counter-increment,counter-reset,counter-set,counterIncrement,counterReset,"
+ "counterSet,cssFloat,cssText,cursor,cx,cy,direction,display,dominant-baseline,dominantBaseline,"
+ "empty-cells,emptyCells,fill,fill-opacity,fill-rule,fillOpacity,fillRule,filter,flex,flex-basis,"
+ "flex-direction,flex-flow,flex-grow,flex-shrink,flex-wrap,flexBasis,flexDirection,flexFlow,"
+ "flexGrow,flexShrink,flexWrap,float,flood-color,flood-opacity,floodColor,floodOpacity,font,"
+ "font-family,font-feature-settings,font-kerning,font-language-override,font-optical-sizing,"
+ "font-size,font-size-adjust,font-stretch,font-style,font-synthesis,font-variant,"
+ "font-variant-alternates,font-variant-caps,font-variant-east-asian,font-variant-ligatures,"
+ "font-variant-numeric,font-variant-position,font-variation-settings,font-weight,fontFamily,"
+ "fontFeatureSettings,fontKerning,fontLanguageOverride,fontOpticalSizing,fontSize,fontSizeAdjust,"
+ "fontStretch,fontStyle,fontSynthesis,fontVariant,fontVariantAlternates,fontVariantCaps,"
+ "fontVariantEastAsian,fontVariantLigatures,fontVariantNumeric,fontVariantPosition,"
+ "fontVariationSettings,fontWeight,gap,getPropertyPriority(),getPropertyValue(),grid,grid-area,"
+ "grid-auto-columns,grid-auto-flow,grid-auto-rows,grid-column,grid-column-end,grid-column-gap,"
+ "grid-column-start,grid-gap,grid-row,grid-row-end,grid-row-gap,grid-row-start,grid-template,"
+ "grid-template-areas,grid-template-columns,grid-template-rows,gridArea,gridAutoColumns,"
+ "gridAutoFlow,gridAutoRows,gridColumn,gridColumnEnd,gridColumnGap,gridColumnStart,gridGap,gridRow,"
+ "gridRowEnd,gridRowGap,gridRowStart,gridTemplate,gridTemplateAreas,gridTemplateColumns,"
+ "gridTemplateRows,height,hyphens,image-orientation,image-rendering,imageOrientation,"
+ "imageRendering,ime-mode,imeMode,inline-size,inlineSize,inset,inset-block,inset-block-end,"
+ "inset-block-start,inset-inline,inset-inline-end,inset-inline-start,insetBlock,insetBlockEnd,"
+ "insetBlockStart,insetInline,insetInlineEnd,insetInlineStart,isolation,item(),justify-content,"
+ "justify-items,justify-self,justifyContent,justifyItems,justifySelf,left,length,letter-spacing,"
+ "letterSpacing,lighting-color,lightingColor,line-break,line-height,lineBreak,lineHeight,"
+ "list-style,list-style-image,list-style-position,list-style-type,listStyle,listStyleImage,"
+ "listStylePosition,listStyleType,margin,margin-block,margin-block-end,margin-block-start,"
+ "margin-bottom,margin-inline,margin-inline-end,margin-inline-start,margin-left,margin-right,"
+ "margin-top,marginBlock,marginBlockEnd,marginBlockStart,marginBottom,marginInline,marginInlineEnd,"
+ "marginInlineStart,marginLeft,marginRight,marginTop,marker,marker-end,marker-mid,marker-start,"
+ "markerEnd,markerMid,markerStart,mask,mask-clip,mask-composite,mask-image,mask-mode,mask-origin,"
+ "mask-position,mask-position-x,mask-position-y,mask-repeat,mask-size,mask-type,maskClip,"
+ "maskComposite,maskImage,maskMode,maskOrigin,maskPosition,maskPositionX,maskPositionY,maskRepeat,"
+ "maskSize,maskType,max-block-size,max-height,max-inline-size,max-width,maxBlockSize,maxHeight,"
+ "maxInlineSize,maxWidth,min-block-size,min-height,min-inline-size,min-width,minBlockSize,"
+ "minHeight,minInlineSize,minWidth,mix-blend-mode,mixBlendMode,MozAnimation,MozAnimationDelay,"
+ "MozAnimationDirection,MozAnimationDuration,MozAnimationFillMode,MozAnimationIterationCount,"
+ "MozAnimationName,MozAnimationPlayState,MozAnimationTimingFunction,MozAppearance,"
+ "MozBackfaceVisibility,MozBorderEnd,MozBorderEndColor,MozBorderEndStyle,MozBorderEndWidth,"
+ "MozBorderImage,MozBorderStart,MozBorderStartColor,MozBorderStartStyle,MozBorderStartWidth,"
+ "MozBoxAlign,MozBoxDirection,MozBoxFlex,MozBoxOrdinalGroup,MozBoxOrient,MozBoxPack,MozBoxSizing,"
+ "MozFloatEdge,MozFontFeatureSettings,MozFontLanguageOverride,MozForceBrokenImageIcon,MozHyphens,"
+ "MozImageRegion,MozMarginEnd,MozMarginStart,MozOrient,MozPaddingEnd,MozPaddingStart,"
+ "MozPerspective,MozPerspectiveOrigin,MozTabSize,MozTextSizeAdjust,MozTransform,MozTransformOrigin,"
+ "MozTransformStyle,MozTransition,MozTransitionDelay,MozTransitionDuration,MozTransitionProperty,"
+ "MozTransitionTimingFunction,MozUserFocus,MozUserInput,MozUserModify,MozUserSelect,"
+ "MozWindowDragging,object-fit,object-position,objectFit,objectPosition,offset,offset-anchor,"
+ "offset-distance,offset-path,offset-rotate,offsetAnchor,offsetDistance,offsetPath,offsetRotate,"
+ "opacity,order,outline,outline-color,outline-offset,outline-style,outline-width,outlineColor,"
+ "outlineOffset,outlineStyle,outlineWidth,overflow,overflow-anchor,overflow-block,overflow-inline,"
+ "overflow-wrap,overflow-x,overflow-y,overflowAnchor,overflowBlock,overflowInline,overflowWrap,"
+ "overflowX,overflowY,overscroll-behavior,overscroll-behavior-block,overscroll-behavior-inline,"
+ "overscroll-behavior-x,overscroll-behavior-y,overscrollBehavior,overscrollBehaviorBlock,"
+ "overscrollBehaviorInline,overscrollBehaviorX,overscrollBehaviorY,padding,padding-block,"
+ "padding-block-end,padding-block-start,padding-bottom,padding-inline,padding-inline-end,"
+ "padding-inline-start,padding-left,padding-right,padding-top,paddingBlock,paddingBlockEnd,"
+ "paddingBlockStart,paddingBottom,paddingInline,paddingInlineEnd,paddingInlineStart,paddingLeft,"
+ "paddingRight,paddingTop,page-break-after,page-break-before,page-break-inside,pageBreakAfter,"
+ "pageBreakBefore,pageBreakInside,paint-order,paintOrder,parentRule,perspective,perspective-origin,"
+ "perspectiveOrigin,place-content,place-items,place-self,placeContent,placeItems,placeSelf,"
+ "pointer-events,pointerEvents,position,quotes,r,removeProperty(),resize,right,rotate,row-gap,"
+ "rowGap,ruby-align,ruby-position,rubyAlign,rubyPosition,rx,ry,scale,scroll-behavior,scroll-margin,"
+ "scroll-margin-block,scroll-margin-block-end,scroll-margin-block-start,scroll-margin-bottom,"
+ "scroll-margin-inline,scroll-margin-inline-end,scroll-margin-inline-start,scroll-margin-left,"
+ "scroll-margin-right,scroll-margin-top,scroll-padding,scroll-padding-block,"
+ "scroll-padding-block-end,scroll-padding-block-start,scroll-padding-bottom,scroll-padding-inline,"
+ "scroll-padding-inline-end,scroll-padding-inline-start,scroll-padding-left,scroll-padding-right,"
+ "scroll-padding-top,scroll-snap-align,scroll-snap-type,scrollbar-color,scrollbar-width,"
+ "scrollbarColor,scrollbarWidth,scrollBehavior,scrollMargin,scrollMarginBlock,scrollMarginBlockEnd,"
+ "scrollMarginBlockStart,scrollMarginBottom,scrollMarginInline,scrollMarginInlineEnd,"
+ "scrollMarginInlineStart,scrollMarginLeft,scrollMarginRight,scrollMarginTop,scrollPadding,"
+ "scrollPaddingBlock,scrollPaddingBlockEnd,scrollPaddingBlockStart,scrollPaddingBottom,"
+ "scrollPaddingInline,scrollPaddingInlineEnd,scrollPaddingInlineStart,scrollPaddingLeft,"
+ "scrollPaddingRight,scrollPaddingTop,scrollSnapAlign,scrollSnapType,setProperty(),"
+ "shape-image-threshold,shape-margin,shape-outside,shape-rendering,shapeImageThreshold,shapeMargin,"
+ "shapeOutside,shapeRendering,stop-color,stop-opacity,stopColor,stopOpacity,stroke,"
+ "stroke-dasharray,stroke-dashoffset,stroke-linecap,stroke-linejoin,stroke-miterlimit,"
+ "stroke-opacity,stroke-width,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,"
+ "strokeMiterlimit,strokeOpacity,strokeWidth,tab-size,table-layout,tableLayout,tabSize,text-align,"
+ "text-align-last,text-anchor,text-combine-upright,text-decoration,text-decoration-color,"
+ "text-decoration-line,text-decoration-skip-ink,text-decoration-style,text-decoration-thickness,"
+ "text-emphasis,text-emphasis-color,text-emphasis-position,text-emphasis-style,text-indent,"
+ "text-justify,text-orientation,text-overflow,text-rendering,text-shadow,text-transform,"
+ "text-underline-offset,text-underline-position,textAlign,textAlignLast,textAnchor,"
+ "textCombineUpright,textDecoration,textDecorationColor,textDecorationLine,textDecorationSkipInk,"
+ "textDecorationStyle,textDecorationThickness,textEmphasis,textEmphasisColor,textEmphasisPosition,"
+ "textEmphasisStyle,textIndent,textJustify,textOrientation,textOverflow,textRendering,textShadow,"
+ "textTransform,textUnderlineOffset,textUnderlinePosition,top,touch-action,touchAction,transform,"
+ "transform-box,transform-origin,transform-style,transformBox,transformOrigin,transformStyle,"
+ "transition,transition-delay,transition-duration,transition-property,transition-timing-function,"
+ "transitionDelay,transitionDuration,transitionProperty,transitionTimingFunction,translate,"
+ "unicode-bidi,unicodeBidi,user-select,userSelect,vector-effect,vectorEffect,vertical-align,"
+ "verticalAlign,visibility,WebkitAlignContent,webkitAlignContent,WebkitAlignItems,webkitAlignItems,"
+ "WebkitAlignSelf,webkitAlignSelf,WebkitAnimation,webkitAnimation,WebkitAnimationDelay,"
+ "webkitAnimationDelay,WebkitAnimationDirection,webkitAnimationDirection,WebkitAnimationDuration,"
+ "webkitAnimationDuration,WebkitAnimationFillMode,webkitAnimationFillMode,"
+ "WebkitAnimationIterationCount,webkitAnimationIterationCount,WebkitAnimationName,"
+ "webkitAnimationName,WebkitAnimationPlayState,webkitAnimationPlayState,"
+ "WebkitAnimationTimingFunction,webkitAnimationTimingFunction,WebkitAppearance,webkitAppearance,"
+ "WebkitBackfaceVisibility,webkitBackfaceVisibility,WebkitBackgroundClip,webkitBackgroundClip,"
+ "WebkitBackgroundOrigin,webkitBackgroundOrigin,WebkitBackgroundSize,webkitBackgroundSize,"
+ "WebkitBorderBottomLeftRadius,webkitBorderBottomLeftRadius,WebkitBorderBottomRightRadius,"
+ "webkitBorderBottomRightRadius,WebkitBorderImage,webkitBorderImage,WebkitBorderRadius,"
+ "webkitBorderRadius,WebkitBorderTopLeftRadius,webkitBorderTopLeftRadius,"
+ "WebkitBorderTopRightRadius,webkitBorderTopRightRadius,WebkitBoxAlign,webkitBoxAlign,"
+ "WebkitBoxDirection,webkitBoxDirection,WebkitBoxFlex,webkitBoxFlex,WebkitBoxOrdinalGroup,"
+ "webkitBoxOrdinalGroup,WebkitBoxOrient,webkitBoxOrient,WebkitBoxPack,webkitBoxPack,"
+ "WebkitBoxShadow,webkitBoxShadow,WebkitBoxSizing,webkitBoxSizing,WebkitFilter,webkitFilter,"
+ "WebkitFlex,webkitFlex,WebkitFlexBasis,webkitFlexBasis,WebkitFlexDirection,webkitFlexDirection,"
+ "WebkitFlexFlow,webkitFlexFlow,WebkitFlexGrow,webkitFlexGrow,WebkitFlexShrink,webkitFlexShrink,"
+ "WebkitFlexWrap,webkitFlexWrap,WebkitJustifyContent,webkitJustifyContent,WebkitLineClamp,"
+ "webkitLineClamp,WebkitMask,webkitMask,WebkitMaskClip,webkitMaskClip,WebkitMaskComposite,"
+ "webkitMaskComposite,WebkitMaskImage,webkitMaskImage,WebkitMaskOrigin,webkitMaskOrigin,"
+ "WebkitMaskPosition,webkitMaskPosition,WebkitMaskPositionX,webkitMaskPositionX,"
+ "WebkitMaskPositionY,webkitMaskPositionY,WebkitMaskRepeat,webkitMaskRepeat,WebkitMaskSize,"
+ "webkitMaskSize,WebkitOrder,webkitOrder,WebkitPerspective,webkitPerspective,"
+ "WebkitPerspectiveOrigin,webkitPerspectiveOrigin,WebkitTextFillColor,webkitTextFillColor,"
+ "WebkitTextSizeAdjust,webkitTextSizeAdjust,WebkitTextStroke,webkitTextStroke,"
+ "WebkitTextStrokeColor,webkitTextStrokeColor,WebkitTextStrokeWidth,webkitTextStrokeWidth,"
+ "WebkitTransform,webkitTransform,WebkitTransformOrigin,webkitTransformOrigin,WebkitTransformStyle,"
+ "webkitTransformStyle,WebkitTransition,webkitTransition,WebkitTransitionDelay,"
+ "webkitTransitionDelay,WebkitTransitionDuration,webkitTransitionDuration,WebkitTransitionProperty,"
+ "webkitTransitionProperty,WebkitTransitionTimingFunction,webkitTransitionTimingFunction,"
+ "WebkitUserSelect,webkitUserSelect,white-space,whiteSpace,width,will-change,willChange,word-break,"
+ "word-spacing,word-wrap,wordBreak,wordSpacing,wordWrap,writing-mode,writingMode,x,y,z-index,"
+ "zIndex",
IE = "accelerator,alignContent,alignItems,alignmentBaseline,alignSelf,animation,animationDelay,"
+ "animationDirection,animationDuration,animationFillMode,animationIterationCount,animationName,"
+ "animationPlayState,animationTimingFunction,backfaceVisibility,background,backgroundAttachment,"
+ "backgroundClip,backgroundColor,backgroundImage,backgroundOrigin,backgroundPosition,"
+ "backgroundPositionX,backgroundPositionY,backgroundRepeat,backgroundSize,baselineShift,border,"
+ "borderBottom,borderBottomColor,borderBottomLeftRadius,borderBottomRightRadius,borderBottomStyle,"
+ "borderBottomWidth,borderCollapse,borderColor,borderImage,borderImageOutset,borderImageRepeat,"
+ "borderImageSlice,borderImageSource,borderImageWidth,borderLeft,borderLeftColor,borderLeftStyle,"
+ "borderLeftWidth,borderRadius,borderRight,borderRightColor,borderRightStyle,borderRightWidth,"
+ "borderSpacing,borderStyle,borderTop,borderTopColor,borderTopLeftRadius,borderTopRightRadius,"
+ "borderTopStyle,borderTopWidth,borderWidth,bottom,boxShadow,boxSizing,breakAfter,breakBefore,"
+ "breakInside,captionSide,clear,clip,clipPath,clipRule,color,colorInterpolationFilters,columnCount,"
+ "columnFill,columnGap,columnRule,columnRuleColor,columnRuleStyle,columnRuleWidth,columns,"
+ "columnSpan,columnWidth,content,counterIncrement,counterReset,cssFloat,cssText,cursor,direction,"
+ "display,dominantBaseline,emptyCells,enableBackground,fill,fillOpacity,fillRule,filter,flex,"
+ "flexBasis,flexDirection,flexFlow,flexGrow,flexShrink,flexWrap,floodColor,floodOpacity,font,"
+ "fontFamily,fontFeatureSettings,fontSize,fontSizeAdjust,fontStretch,fontStyle,fontVariant,"
+ "fontWeight,getAttribute(),getPropertyPriority(),getPropertyValue(),glyphOrientationHorizontal,"
+ "glyphOrientationVertical,height,imeMode,item(),justifyContent,kerning,layoutFlow,layoutGrid,"
+ "layoutGridChar,layoutGridLine,layoutGridMode,layoutGridType,left,length,letterSpacing,"
+ "lightingColor,lineBreak,lineHeight,listStyle,listStyleImage,listStylePosition,listStyleType,"
+ "margin,marginBottom,marginLeft,marginRight,marginTop,marker,markerEnd,markerMid,markerStart,mask,"
+ "maxHeight,maxWidth,minHeight,minWidth,msAnimation,msAnimationDelay,msAnimationDirection,"
+ "msAnimationDuration,msAnimationFillMode,msAnimationIterationCount,msAnimationName,"
+ "msAnimationPlayState,msAnimationTimingFunction,msBackfaceVisibility,msBlockProgression,"
+ "msContentZoomChaining,msContentZooming,msContentZoomLimit,msContentZoomLimitMax,"
+ "msContentZoomLimitMin,msContentZoomSnap,msContentZoomSnapPoints,msContentZoomSnapType,msFlex,"
+ "msFlexAlign,msFlexDirection,msFlexFlow,msFlexItemAlign,msFlexLinePack,msFlexNegative,msFlexOrder,"
+ "msFlexPack,msFlexPositive,msFlexPreferredSize,msFlexWrap,msFlowFrom,msFlowInto,"
+ "msFontFeatureSettings,msGridColumn,msGridColumnAlign,msGridColumns,msGridColumnSpan,msGridRow,"
+ "msGridRowAlign,msGridRows,msGridRowSpan,msHighContrastAdjust,msHyphenateLimitChars,"
+ "msHyphenateLimitLines,msHyphenateLimitZone,msHyphens,msImeAlign,msInterpolationMode,"
+ "msOverflowStyle,msPerspective,msPerspectiveOrigin,msScrollChaining,msScrollLimit,"
+ "msScrollLimitXMax,msScrollLimitXMin,msScrollLimitYMax,msScrollLimitYMin,msScrollRails,"
+ "msScrollSnapPointsX,msScrollSnapPointsY,msScrollSnapType,msScrollSnapX,msScrollSnapY,"
+ "msScrollTranslation,msTextCombineHorizontal,msTextSizeAdjust,msTouchAction,msTouchSelect,"
+ "msTransform,msTransformOrigin,msTransformStyle,msTransition,msTransitionDelay,"
+ "msTransitionDuration,msTransitionProperty,msTransitionTimingFunction,msUserSelect,msWrapFlow,"
+ "msWrapMargin,msWrapThrough,opacity,order,orphans,outline,outlineColor,outlineStyle,outlineWidth,"
+ "overflow,overflowX,overflowY,padding,paddingBottom,paddingLeft,paddingRight,paddingTop,"
+ "pageBreakAfter,pageBreakBefore,pageBreakInside,parentRule,perspective,perspectiveOrigin,"
+ "pixelBottom,pixelHeight,pixelLeft,pixelRight,pixelTop,pixelWidth,pointerEvents,posBottom,"
+ "posHeight,position,posLeft,posRight,posTop,posWidth,quotes,removeAttribute(),removeProperty(),"
+ "right,rubyAlign,rubyOverhang,rubyPosition,scrollbar3dLightColor,scrollbarArrowColor,"
+ "scrollbarBaseColor,scrollbarDarkShadowColor,scrollbarFaceColor,scrollbarHighlightColor,"
+ "scrollbarShadowColor,scrollbarTrackColor,setAttribute(),setProperty(),stopColor,stopOpacity,"
+ "stroke,strokeDasharray,strokeDashoffset,strokeLinecap,strokeLinejoin,strokeMiterlimit,"
+ "strokeOpacity,strokeWidth,styleFloat,tableLayout,textAlign,textAlignLast,textAnchor,"
+ "textAutospace,textDecoration,textDecorationBlink,textDecorationLineThrough,textDecorationNone,"
+ "textDecorationOverline,textDecorationUnderline,textIndent,textJustify,textJustifyTrim,"
+ "textKashida,textKashidaSpace,textOverflow,textShadow,textTransform,textUnderlinePosition,top,"
+ "touchAction,transform,transformOrigin,transformStyle,transition,transitionDelay,"
+ "transitionDuration,transitionProperty,transitionTimingFunction,unicodeBidi,verticalAlign,"
+ "visibility,whiteSpace,widows,width,wordBreak,wordSpacing,wordWrap,writingMode,zIndex,"
+ "zoom")
public void cssStyleDeclaration() throws Exception {
testString("", "document.body.style");
}
}
| 75.373276 | 120 | 0.690088 |
a82e7a357deb0812ddee188954e324d3ee730ab7 | 8,741 | /* GraphicsEnvironment.java -- information about the graphics environment
Copyright (C) 2002, 2004, 2005 Free Software Foundation, Inc.
This file is part of GNU Classpath.
GNU Classpath is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation; either version 2, or (at your option)
any later version.
GNU Classpath is distributed in the hope that it will be useful, but
WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
General Public License for more details.
You should have received a copy of the GNU General Public License
along with GNU Classpath; see the file COPYING. If not, write to the
Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA
02110-1301 USA.
Linking this library statically or dynamically with other modules is
making a combined work based on this library. Thus, the terms and
conditions of the GNU General Public License cover the whole
combination.
As a special exception, the copyright holders of this library give you
permission to link this library with independent modules to produce an
executable, regardless of the license terms of these independent
modules, and to copy and distribute the resulting executable under
terms of your choice, provided that you also meet, for each linked
independent module, the terms and conditions of the license of that
module. An independent module is a module which is not derived from
or based on this library. If you modify this library, you may extend
this exception to your version of the library, but you are not
obligated to do so. If you do not wish to do so, delete this
exception statement from your version. */
package java.awt;
import gnu.java.awt.ClasspathToolkit;
import gnu.classpath.SystemProperties;
import java.awt.image.BufferedImage;
import java.util.Locale;
/**
* This descibes the collection of GraphicsDevice and Font objects available
* on a given platform. The resources might be local or remote, and specify
* the valid configurations for displaying graphics.
*
* @author Eric Blake ([email protected])
* @see GraphicsDevice
* @see GraphicsConfiguration
* @since 1.4
* @status updated to 1.4
*/
public abstract class GraphicsEnvironment
{
private static GraphicsEnvironment localGraphicsEnvironment;
/**
* The environment must be obtained from a factory or query method, hence
* this constructor is protected.
*/
protected GraphicsEnvironment()
{
}
/**
* Returns the local graphics environment. If the java.awt.graphicsenv
* system property is set, it instantiates the specified class,
* otherwise it assume that the awt toolkit is a ClasspathToolkit
* and delegates to it to create the instance.
*
* @return the local environment
*/
public static GraphicsEnvironment getLocalGraphicsEnvironment()
{
if (localGraphicsEnvironment != null)
return localGraphicsEnvironment;
String graphicsenv = SystemProperties.getProperty("java.awt.graphicsenv",
null);
if (graphicsenv != null)
{
try
{
// We intentionally use the bootstrap class loader.
localGraphicsEnvironment = (GraphicsEnvironment)
Class.forName(graphicsenv).newInstance();
return localGraphicsEnvironment;
}
catch (Exception x)
{
throw (InternalError)
new InternalError("Unable to instantiate java.awt.graphicsenv")
.initCause(x);
}
}
else
{
ClasspathToolkit tk;
tk = ((ClasspathToolkit) Toolkit.getDefaultToolkit());
localGraphicsEnvironment = tk.getLocalGraphicsEnvironment();
return localGraphicsEnvironment;
}
}
/**
* Check if the local environment is headless, meaning that it does not
* support a display, keyboard, or mouse. Many methods in the Abstract
* Windows Toolkit (java.awt) throw a {@link HeadlessException} if this
* returns true.
*
* This method returns true if the java.awt.headless property is set
* to "true".
*
* @return true if the environment is headless, meaning that graphics are
* unsupported
* @since 1.4
*/
public static boolean isHeadless()
{
String headless = SystemProperties.getProperty("java.awt.headless", null);
return "true".equalsIgnoreCase(headless);
}
/**
* Check if the given environment is headless, meaning that it does not
* support a display, keyboard, or mouse. Many methods in the Abstract
* Windows Toolkit (java.awt) throw a {@link HeadlessException} if this
* returns true. This default implementation returns isHeadless(), so
* subclasses need only override it if they differ.
*
* @return true if the environment is headless, meaning that graphics are
* unsupported
* @since 1.4
*/
public boolean isHeadlessInstance()
{
return isHeadless();
}
/**
* Get an array of all the GraphicsDevice objects.
*
* @return the available graphics devices, may be 0 length
* @throws HeadlessException if the environment is headless
*/
public abstract GraphicsDevice[] getScreenDevices();
/**
* Get the default screen GraphicsDevice object.
*
* @return the default screen device
* @throws HeadlessException if the environment is headless
*/
public abstract GraphicsDevice getDefaultScreenDevice();
/**
* Return a Graphics2D object which will render into the specified image.
*
* @param image the image to render into
* @return the object that renders into the image
*/
public abstract Graphics2D createGraphics(BufferedImage image);
/**
* Returns an array of the one-point size fonts available in this
* environment. From there, the user can select the font and derive the
* correct one of proper size and attributes, using <code>deriveFont</code>.
* Only one master version of each font appears in this array; if a font
* can be derived from another, it must be created in that way.
*
* @return the array of available fonts
* @see #getAvailableFontFamilyNames()
* @see Font#deriveFont(int, float)
* @since 1.2
*/
public abstract Font[] getAllFonts();
/**
* Returns an array of the font family names available in this environment.
* This allows flexibility in choosing the style of font, while still letting
* the Font class decide its best match.
*
* @return the array of available font families
* @see #getAllFonts()
* @see Font#getFamily()
* @since 1.2
*/
public abstract String[] getAvailableFontFamilyNames();
/**
* Returns an array of the font family names available in this environment,
* localized to the current Locale if l is non-null. This allows
* flexibility in choosing the style of font, while still letting the Font
* class decide its best match.
*
* @param l the locale to use
* @return the array of available font families, localized
* @see #getAllFonts()
* @see Font#getFamily()
* @since 1.2
*/
public abstract String[] getAvailableFontFamilyNames(Locale l);
/**
* Returns the point where a window should be centered. You should probably
* also check that the window fits within the screen bounds. The default
* simply returns the center of the maximum window bounds; subclasses should
* override this if native objects (like scrollbars) make that off-centered.
*
* @return the centering point
* @throws HeadlessException if the environment is headless
* @see #getMaximumWindowBounds()
* @since 1.4
*/
public Point getCenterPoint()
{
Rectangle r = getMaximumWindowBounds();
return new Point(r.x + r.width / 2, r.y + r.height / 2);
}
/**
* Returns the maximum bounds for a centered window object. The default
* implementation simply returns the bounds of the default configuration
* of the default screen; subclasses should override this to if native
* objects (like scrollbars) reduce what is truly available. Also,
* subclasses should override this if the window should be centered across
* a multi-screen display.
*
* @return the maximum window bounds
* @throws HeadlessException if the environment is headless
* @see #getCenterPoint()
* @see GraphicsConfiguration#getBounds()
* @see Toolkit#getScreenInsets(GraphicsConfiguration)
* @since 1.4
*/
public Rectangle getMaximumWindowBounds()
{
return getDefaultScreenDevice().getDefaultConfiguration().getBounds();
}
} // class GraphicsEnvironment
| 35.677551 | 79 | 0.71342 |
985c061b393e9ec28534638eb05834a7a761825e | 2,127 | package org.firstinspires.ftc.teamcode.hardware;
import org.firstinspires.ftc.robotcore.external.hardware.camera.WebcamName;
import org.opencv.core.Core;
import org.opencv.core.Mat;
import org.opencv.core.Point;
import org.opencv.core.Rect;
import org.opencv.core.Scalar;
import org.opencv.imgproc.Imgproc;
import org.openftc.easyopencv.OpenCvCamera;
import org.openftc.easyopencv.OpenCvCameraFactory;
import org.openftc.easyopencv.OpenCvCameraRotation;
import org.openftc.easyopencv.OpenCvPipeline;
import org.openftc.easyopencv.OpenCvWebcam;
import static org.firstinspires.ftc.robotcore.external.BlocksOpModeCompanion.hardwareMap;
import static org.firstinspires.ftc.robotcore.external.BlocksOpModeCompanion.telemetry;
public class OpenCv {
public static OpenCvWebcam initWebcam(OpenCvPipeline pipeline) {
int cameraMonitorViewId = hardwareMap.appContext.getResources().getIdentifier("cameraMonitorViewId", "id", hardwareMap.appContext.getPackageName());
OpenCvWebcam webcam = OpenCvCameraFactory.getInstance().createWebcam(hardwareMap.get(WebcamName.class, "Webcam 1"), cameraMonitorViewId);
webcam.setPipeline(pipeline);
webcam.setMillisecondsPermissionTimeout(2500);
webcam.openCameraDeviceAsync(new OpenCvCamera.AsyncCameraOpenListener() {
@Override
public void onOpened() {
webcam.startStreaming(320, 240, OpenCvCameraRotation.UPRIGHT);
}
@Override
public void onError(int errorCode) {
}
});
return webcam;
}
public static void OpenCvTelemetry(OpenCvWebcam webcam) {
telemetry.addData("Frame Count", webcam.getFrameCount());
telemetry.addData("FPS", String.format("%.2f", webcam.getFps()));
telemetry.addData("Total frame time ms", webcam.getTotalFrameTimeMs());
telemetry.addData("Pipeline time ms", webcam.getPipelineTimeMs());
telemetry.addData("Overhead time ms", webcam.getOverheadTimeMs());
telemetry.addData("Theoretical max FPS", webcam.getCurrentPipelineMaxFps());
telemetry.update();
}
}
| 44.3125 | 156 | 0.738599 |
886ce84227e889ab6fc1c6428b282ffba48b966f | 543 | package org.geektimes.configuration.microprofile.config.configsource;
import java.util.Map;
/**
* Java系统属性配置源
* <p>
* Java 系统属性最好通过本地变量保存,使用 Map 保存,尽可能运行期不去调整 ,-Dapplication.name=user-web
*
* @author ajin
*/
public class JavaSystemPropertiesConfigSource extends MapBasedConfigSource {
public JavaSystemPropertiesConfigSource() {
super("Java System Properties", 400);
}
@Override
protected void prepareConfigData(Map configData) throws Throwable {
configData.putAll(System.getProperties());
}
}
| 21.72 | 76 | 0.729282 |
6b84fb0be37eae54434c22ec74f7fff0451cf59e | 2,546 | package gov.ca.cwds;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import gov.ca.cwds.rest.api.domain.PerryException;
import gov.ca.cwds.rest.api.domain.auth.UserAuthorization;
import gov.ca.cwds.util.UniversalUserTokenDeserializer;
import java.io.IOException;
import java.io.Serializable;
import java.util.HashMap;
import java.util.LinkedHashSet;
import java.util.Map;
import java.util.Set;
import org.codehaus.jackson.annotate.JsonProperty;
import org.codehaus.jackson.map.ObjectMapper;
import org.codehaus.jackson.map.annotate.JsonDeserialize;
/**
* Created by dmitry.rudenko on 7/28/2017.
*/
@SuppressWarnings("squid:S1948")
@SuppressFBWarnings("SE_BAD_FIELD")
@JsonDeserialize(using = UniversalUserTokenDeserializer.class)
public class UniversalUserToken implements RolesHolder, Serializable {
@JsonProperty("user")
private String userId;
private Set<String> roles = new LinkedHashSet<>();
private Set<String> permissions = new LinkedHashSet<>();
private String token;
private Map<String, Object> parameters = new HashMap<>();
private UserAuthorization authorization;
public Object getParameter(String parameterName) {
return parameters.get(parameterName);
}
public Object setParameter(String parameterName, Object parameter) {
return parameters.put(parameterName, parameter);
}
public Map<String, Object> getParameters() {
return parameters;
}
public void setParameters(Map<String, Object> parameters) {
this.parameters = parameters;
}
public String getUserId() {
return userId;
}
public void setUserId(String userId) {
this.userId = userId;
}
@Override
public Set<String> getRoles() {
return roles;
}
public void setRoles(Set<String> roles) {
this.roles = roles;
}
public String toString() {
return userId;
}
public UserAuthorization getAuthorization() {
return authorization;
}
public void setAuthorization(UserAuthorization authorization) {
this.authorization = authorization;
}
public String getToken() {
return token;
}
public void setToken(String token) {
this.token = token;
}
public Set<String> getPermissions() {
return permissions;
}
public void setPermissions(Set<String> permissions) {
this.permissions = permissions;
}
public static UniversalUserToken fromJson(String json) {
try {
return new ObjectMapper().readValue(json, UniversalUserToken.class);
} catch (IOException e) {
throw new PerryException(e.getMessage(), e);
}
}
}
| 24.960784 | 74 | 0.736057 |
d9414648acde18f4d3d3d323f8d135d3a1c6ebf3 | 6,368 | package jetbrains.buildServer.serverSide.oauth.aws.controllers;
import com.fasterxml.jackson.databind.ObjectMapper;
import com.google.common.base.Charsets;
import com.google.common.base.Function;
import com.intellij.openapi.util.Pair;
import java.io.IOException;
import java.io.PrintWriter;
import java.util.List;
import java.util.stream.Collectors;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import jetbrains.buildServer.clouds.amazon.connector.errors.AwsConnectorException;
import jetbrains.buildServer.controllers.*;
import jetbrains.buildServer.log.Loggers;
import jetbrains.buildServer.serverSide.ProjectManager;
import jetbrains.buildServer.serverSide.SBuildServer;
import jetbrains.buildServer.serverSide.SProject;
import jetbrains.buildServer.serverSide.TeamCityProperties;
import jetbrains.buildServer.serverSide.auth.AccessDeniedException;
import jetbrains.buildServer.serverSide.oauth.OAuthConnectionDescriptor;
import jetbrains.buildServer.serverSide.oauth.OAuthConnectionsManager;
import jetbrains.buildServer.serverSide.oauth.aws.AwsConnectionProvider;
import jetbrains.buildServer.util.StringUtil;
import jetbrains.buildServer.web.openapi.PluginDescriptor;
import jetbrains.buildServer.web.openapi.WebControllerManager;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
import org.springframework.web.servlet.ModelAndView;
import static jetbrains.buildServer.clouds.amazon.connector.utils.parameters.AwsCloudConnectorConstants.*;
public class AvailableAwsConnsController extends BaseAwsConnectionController {
public static final String PATH = AVAIL_AWS_CONNECTIONS_CONTROLLER_URL;
private final String availableAwsConnsBeanName = "awsConnections";
private final OAuthConnectionsManager myConnectionsManager;
private final ProjectManager myProjectManager;
private final PluginDescriptor myDescriptor;
public AvailableAwsConnsController(@NotNull final SBuildServer server,
@NotNull final WebControllerManager webControllerManager,
@NotNull final OAuthConnectionsManager oAuthConnectionsManager,
@NotNull final ProjectManager projectManager,
@NotNull final AuthorizationInterceptor authInterceptor,
@NotNull final PluginDescriptor descriptor) {
super(server);
myConnectionsManager = oAuthConnectionsManager;
myProjectManager = projectManager;
myDescriptor = descriptor;
if (TeamCityProperties.getBoolean(FEATURE_PROPERTY_NAME)) {
final RequestPermissionsChecker projectAccessChecker = (RequestPermissionsCheckerEx)(securityContext, request) -> {
String projectId = request.getParameter("projectId");
SProject curProject = myProjectManager.findProjectByExternalId(projectId);
if (curProject == null) {
throw new AccessDeniedException(securityContext.getAuthorityHolder(), "Project with id " + request.getParameter("projectId") + " does not exist");
}
securityContext.getAccessChecker().checkCanEditProject(curProject);
};
webControllerManager.registerController(PATH, this);
authInterceptor.addPathBasedPermissionsChecker(PATH, projectAccessChecker);
}
}
@Nullable
@Override
protected ModelAndView doHandle(@NotNull HttpServletRequest request, @NotNull HttpServletResponse response) throws Exception {
Loggers.CLOUD.debug("Available AWS Connections have been requested for the project with id: " + request.getParameter("projectId"));
final ActionErrors errors = new ActionErrors();
try {
final String projectId = request.getParameter("projectId");
if (projectId == null) {
throw new AwsConnectorException("The ID of the project where to find Available AWS Connections is null");
}
SProject project = myProjectManager.findProjectByExternalId(projectId);
if (project == null) {
throw new AwsConnectorException("Could not find the project with id: " + projectId);
}
String resourceName = request.getParameter("resource");
if (resourceName == null) {
ModelAndView mv = new ModelAndView(myDescriptor.getPluginResourcesPath(AwsConnectionProvider.EDIT_PARAMS_URL));
mv.getModel().put("projectId", project.getProjectId());
final List<OAuthConnectionDescriptor> connections = myConnectionsManager.getAvailableConnectionsOfType(project, AwsConnectionProvider.TYPE);
mv.getModel().put(availableAwsConnsBeanName, asPairs(connections, OAuthConnectionDescriptor::getId, OAuthConnectionDescriptor::getConnectionDisplayName));
return mv;
} else if (resourceName.equals(AVAIL_AWS_CONNECTIONS_REST_RESOURCE_NAME)) {
List<OAuthConnectionDescriptor> awsConnections = myConnectionsManager.getAvailableConnectionsOfType(project, AwsConnectionProvider.TYPE);
writeAsJson(
asPairs(processAvailableAwsConnections(awsConnections, request), OAuthConnectionDescriptor::getId, OAuthConnectionDescriptor::getConnectionDisplayName),
response
);
} else {
throw new AwsConnectorException("Resource " + resourceName + " is not supported. Only " + AVAIL_AWS_CONNECTIONS_REST_RESOURCE_NAME + " is supported.");
}
} catch (AwsConnectorException e) {
errors.addError("error_" + AVAIL_AWS_CONNECTIONS_SELECT_ID, e.getMessage());
writeAsJson(errors, response);
}
return null;
}
private List<OAuthConnectionDescriptor> processAvailableAwsConnections(List<OAuthConnectionDescriptor> awsConnections, HttpServletRequest request) {
String principalAwsConnId = request.getParameter(PRINCIPAL_AWS_CONNECTION_ID);
if(StringUtil.nullIfEmpty(principalAwsConnId) != null){
return awsConnections.stream().filter(connectionDescriptor -> {
return !connectionDescriptor.getId().equals(principalAwsConnId);
}).collect(Collectors.toList());
}
return awsConnections;
}
@NotNull
public <T> List<Pair<String, String>> asPairs(@NotNull List<T> values, @NotNull Function<T, String> getValue, @NotNull Function<T, String> getLabel) {
return values.stream().map(c -> new Pair<>(getValue.apply(c), getLabel.apply(c))).collect(Collectors.toList());
}
}
| 49.364341 | 162 | 0.762877 |
641ccf958f0af4c9a686a9646ed97c5f8d3765b6 | 7,916 | /*
* Copyright The Original Author or Authors
* SPDX-License-Identifier: Apache-2.0
*/
package io.jenkins.plugins.opentelemetry;
import com.google.common.annotations.VisibleForTesting;
import com.google.common.base.Strings;
import edu.umd.cs.findbugs.annotations.SuppressFBWarnings;
import hudson.Extension;
import io.grpc.ManagedChannel;
import io.grpc.ManagedChannelBuilder;
import io.grpc.Metadata;
import io.grpc.stub.MetadataUtils;
import io.jenkins.plugins.opentelemetry.opentelemetry.resource.JenkinsResource;
import io.jenkins.plugins.opentelemetry.opentelemetry.trace.TracerDelegate;
import io.opentelemetry.api.GlobalOpenTelemetry;
import io.opentelemetry.api.metrics.GlobalMetricsProvider;
import io.opentelemetry.api.metrics.Meter;
import io.opentelemetry.api.trace.Tracer;
import io.opentelemetry.api.trace.propagation.W3CTraceContextPropagator;
import io.opentelemetry.context.propagation.ContextPropagators;
import io.opentelemetry.exporter.otlp.metrics.OtlpGrpcMetricExporter;
import io.opentelemetry.exporter.otlp.trace.OtlpGrpcSpanExporter;
import io.opentelemetry.sdk.OpenTelemetrySdk;
import io.opentelemetry.sdk.metrics.SdkMeterProvider;
import io.opentelemetry.sdk.metrics.export.IntervalMetricReader;
import io.opentelemetry.sdk.metrics.export.MetricExporter;
import io.opentelemetry.sdk.resources.Resource;
import io.opentelemetry.sdk.trace.SdkTracerProvider;
import io.opentelemetry.sdk.trace.export.SimpleSpanProcessor;
import io.opentelemetry.sdk.trace.export.SpanExporter;
import jenkins.model.Jenkins;
import javax.annotation.Nonnull;
import javax.annotation.Nullable;
import javax.annotation.PostConstruct;
import javax.annotation.PreDestroy;
import java.util.Collections;
import java.util.Objects;
import java.util.logging.Level;
import java.util.logging.Logger;
import java.util.stream.Collectors;
import static com.google.common.base.Preconditions.checkNotNull;
import static io.grpc.Metadata.ASCII_STRING_MARSHALLER;
@Extension
public class OpenTelemetrySdkProvider {
@SuppressFBWarnings
protected static boolean TESTING_INMEMORY_MODE = false;
@SuppressFBWarnings
protected static MetricExporter TESTING_METRICS_EXPORTER;
@SuppressFBWarnings
protected static SpanExporter TESTING_SPAN_EXPORTER;
private static Logger LOGGER = Logger.getLogger(OpenTelemetrySdkProvider.class.getName());
protected transient OpenTelemetrySdk openTelemetry;
protected transient TracerDelegate tracer;
protected transient SdkMeterProvider sdkMeterProvider;
protected transient Meter meter;
protected transient IntervalMetricReader intervalMetricReader;
public OpenTelemetrySdkProvider() {
}
@PostConstruct
@VisibleForTesting
public void postConstruct() {
this.tracer = new TracerDelegate(Tracer.getDefault());
Resource resource = buildResource();
this.sdkMeterProvider = SdkMeterProvider.builder().setResource(resource).buildAndRegisterGlobal();
this.meter = GlobalMetricsProvider.getMeter("jenkins");
}
public void initializeForTesting() {
LOGGER.log(Level.FINE, "initializeForTesting");
preDestroy();
initializeOpenTelemetrySdk(TESTING_METRICS_EXPORTER, TESTING_SPAN_EXPORTER, 500);
LOGGER.log(Level.INFO, "OpenTelemetry initialized for TESTING");
}
public void initializeNoOp() {
LOGGER.log(Level.FINE, "initializeNoOp");
preDestroy();
this.intervalMetricReader = null;
// TRACES
Resource resource = buildResource();
SdkTracerProvider sdkTracerProvider = SdkTracerProvider.builder().setResource(resource).build();
this.openTelemetry = OpenTelemetrySdk.builder()
.setTracerProvider(sdkTracerProvider)
.setPropagators(ContextPropagators.create(W3CTraceContextPropagator.getInstance()))
.buildAndRegisterGlobal();
this.tracer.setDelegate(Tracer.getDefault());
LOGGER.log(Level.FINE, "OpenTelemetry initialized as NoOp");
}
public void initializeForGrpc(@Nonnull String endpoint, boolean useTls, @Nullable String authenticationTokenHeaderName, @Nullable String authenticationTokenHeaderValue) {
LOGGER.log(Level.FINE, "initializeForGrpc");
preDestroy();
// GRPC CHANNEL
ManagedChannelBuilder<?> managedChannelBuilder = ManagedChannelBuilder.forTarget(endpoint);
if (useTls) {
managedChannelBuilder.useTransportSecurity();
} else {
managedChannelBuilder.usePlaintext();
}
Metadata metadata = new Metadata();
if (!Strings.isNullOrEmpty(authenticationTokenHeaderName)) {
checkNotNull(authenticationTokenHeaderValue, "Null value not supported for authentication header '" + authenticationTokenHeaderName + "'");
metadata.put(Metadata.Key.of(authenticationTokenHeaderName, ASCII_STRING_MARSHALLER), authenticationTokenHeaderValue);
}
if (!metadata.keys().isEmpty()) {
managedChannelBuilder.intercept(MetadataUtils.newAttachHeadersInterceptor(metadata));
}
ManagedChannel grpcChannel = managedChannelBuilder.build();
MetricExporter metricExporter = OtlpGrpcMetricExporter.builder().setChannel(grpcChannel).build();
SpanExporter spanExporter = OtlpGrpcSpanExporter.builder().setChannel(grpcChannel).build();
initializeOpenTelemetrySdk(metricExporter, spanExporter, 30_000);
LOGGER.log(Level.INFO, () -> "OpenTelemetry initialized with GRPC endpoint " + endpoint + ", tls: " + useTls + ", authenticationHeader: " + Objects.toString(authenticationTokenHeaderName, ""));
}
protected void initializeOpenTelemetrySdk(MetricExporter metricExporter, SpanExporter spanExporter, int exportIntervalMillis) {
// METRICS
// See https://github.com/open-telemetry/opentelemetry-java/blob/v0.14.1/examples/otlp/src/main/java/io/opentelemetry/example/otlp/OtlpExporterExample.java
this.intervalMetricReader =
IntervalMetricReader.builder()
.setMetricExporter(metricExporter)
.setMetricProducers(Collections.singleton(sdkMeterProvider))
.setExportIntervalMillis(exportIntervalMillis)
.build();
// TRACES
Resource resource = buildResource();
LOGGER.log(Level.FINE, () ->"OpenTelemetry SDK resources: " + resource.getAttributes().asMap().entrySet().stream().map( e -> e.getKey() + ": " + e.getValue()).collect(Collectors.joining(", ")));
SdkTracerProvider sdkTracerProvider = SdkTracerProvider.builder().setResource(resource).addSpanProcessor(SimpleSpanProcessor.create(spanExporter)).build();
this.openTelemetry = OpenTelemetrySdk.builder()
.setTracerProvider(sdkTracerProvider)
.setPropagators(ContextPropagators.create(W3CTraceContextPropagator.getInstance()))
.buildAndRegisterGlobal();
this.tracer.setDelegate(openTelemetry.getTracer("jenkins"));
}
/**
* TODO refresh {@link JenkinsResource} when {@link Jenkins#getRootUrl()} changes
*/
private Resource buildResource() {
return Resource.getDefault().merge(new JenkinsResource().create());
}
@Nonnull
public Tracer getTracer() {
return tracer;
}
@Nonnull
public Meter getMeter() {
return meter;
}
@VisibleForTesting
@Nonnull
protected OpenTelemetrySdk getOpenTelemetrySdk() {
return openTelemetry;
}
@PreDestroy
public void preDestroy() {
if (this.openTelemetry != null) {
this.openTelemetry.getSdkTracerProvider().shutdown();
}
if (this.intervalMetricReader != null) {
this.intervalMetricReader.shutdown();
}
GlobalOpenTelemetry.resetForTest();
}
}
| 40.387755 | 202 | 0.731809 |
94cab5dff4f4e03d68fdbf86aa2b8689f09eddcf | 509 | package src.challenges.hritvikmohan;
public class FizzBuzz {
public static void main(String args[]){
for (int i=1;i<=100;i++){
if (i%3 == 0 && i%5 ==0){
System.out.println("FizzBuzz");
}
else if (i%3 == 0){
System.out.println("Fizz");
}
else if (i%5 == 0){
System.out.println("Buzz");
}
else{
System.out.println(i);
}
}
}
}
| 24.238095 | 47 | 0.40275 |
c633c87312d0bcc7581a5b58a31e4b44ff0ba48e | 106 | public interface Skill {
public void Attack();
public void qSkill();
public void wSkill();
}
| 15.142857 | 25 | 0.641509 |
9bbf4e4c381d1177c3acc7e18a32f1628fbaaff8 | 1,333 | package heroes.backend;
import org.springframework.web.bind.annotation.DeleteMapping;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;
/**
* HeroController
*/
@RestController
@RequestMapping("/api/heroes")
public class HeroController {
private final HeroService heroService;
public HeroController(HeroService heroService) {
this.heroService = heroService;
}
@GetMapping
public Iterable<Hero> listHeroes() {
return heroService.listHeroes();
}
@GetMapping("/{id}")
public Hero get(@PathVariable("id") Integer id) {
return heroService.getHero(id);
}
@PostMapping
public Hero create(@RequestBody Hero hero) {
return heroService.save(hero);
}
@PutMapping("/{id}")
public Hero change(@PathVariable("id") Integer id, @RequestBody Hero hero) {
return heroService.save(hero);
}
@DeleteMapping("/{id}")
public Hero delete(@PathVariable("id") Integer id) {
return heroService.deleteHero(id);
}
}
| 26.137255 | 78 | 0.756939 |
1ec210a9b8379da1f0085929f5459eb1e5c6ef5d | 1,298 | package net;
import com.viaversion.viaversion.api.protocol.remapper.PacketRemapper;
import com.viaversion.viaversion.api.type.Type;
import com.viaversion.viaversion.protocol.packet.PacketWrapperImpl;
import java.util.ArrayList;
import net.EN;
import net.Zv;
import net.aSG;
import net.agc;
import net.aq3;
import net.g4;
import net.y4;
class ao5 extends PacketRemapper {
final aq3 c;
ao5(aq3 var1) {
this.c = var1;
}
public void registerMap() {
this.a(Type.VAR_INT);
this.a(Type.UUID);
this.a(Type.VAR_INT);
this.a(Type.m);
this.a(Type.m);
this.a(Type.m);
this.a(Type.k);
this.a(Type.k);
this.a(Type.k);
this.a(Type.SHORT);
this.a(Type.SHORT);
this.a(Type.SHORT);
this.a(ao5::lambda$registerMap$0);
this.a(this::lambda$registerMap$1);
}
private void lambda$registerMap$1(PacketWrapperImpl var1) throws Exception {
int var2 = ((Integer)var1.b(Type.VAR_INT, 1)).intValue();
g4 var3 = agc.a(var2);
aq3.a(this.c, var1, ((Integer)var1.b(Type.VAR_INT, 0)).intValue(), var3);
var1.a(Type.VAR_INT, 1, Integer.valueOf(y4.a(var2)));
}
private static void lambda$registerMap$0(PacketWrapperImpl var0) throws Exception {
var0.a(aSG.c, new ArrayList());
}
}
| 25.96 | 86 | 0.654854 |
9f64d7aea998c118d4704daf2f20e3ba1349fe09 | 1,759 | package com.abin.lee.march.svr.common;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.core.type.TypeReference;
import com.fasterxml.jackson.databind.DeserializationFeature;
import com.fasterxml.jackson.databind.ObjectMapper;
import java.io.StringWriter;
import java.io.Writer;
import java.text.SimpleDateFormat;
/**
* Json序列化工具
* @author abin
* @date
*/
public class JsonUtil {
private static ObjectMapper objectMapper = new ObjectMapper();
static {
objectMapper = new ObjectMapper();
//序列化时候统一日期格式
objectMapper.setDateFormat(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"));
//设置null时候不序列化(只针对对象属性)
objectMapper.setSerializationInclusion(JsonInclude.Include.NON_NULL);
//反序列化时,属性不存在的兼容处理
objectMapper.getDeserializationConfig().withoutFeatures(DeserializationFeature.FAIL_ON_UNKNOWN_PROPERTIES);
//单引号处理
objectMapper.configure(com.fasterxml.jackson.core.JsonParser.Feature.ALLOW_SINGLE_QUOTES, true);
}
/**
* 将对象序列化为JSON字符串
*
* @param object
* @return JSON字符串
*/
public static String toJson(Object object) {
Writer write = new StringWriter();
try {
objectMapper.writeValue(write, object);
} catch (Exception e) {
e.printStackTrace();
}
return write.toString();
}
/**
* 将JSON字符串反序列化为对象
* @param json
* @param typeRef
* @param <T>
* @return
*/
public static <T> T decodeJson(String json, TypeReference<T> typeRef) {
try {
return (T) objectMapper.readValue(json, typeRef);
} catch (Exception e) {
e.printStackTrace();
}
return null;
}
} | 27.484375 | 115 | 0.652644 |
96c56f9f2328fb689c5c1a366ca7ed40cf8978f4 | 6,731 | /*
Copyright 2005 Strategic Gains, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applicable law or agreed to in writing, software
distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License.
*/
package com.strategicgains.jbel.builder;
import java.util.Arrays;
import java.util.List;
import com.strategicgains.jbel.expression.AccessorExpression;
import com.strategicgains.jbel.expression.Expression;
import com.strategicgains.jbel.expression.LiteralExpression;
import com.strategicgains.jbel.expression.ToLowerExpression;
import com.strategicgains.jbel.expression.ToUpperExpression;
import com.strategicgains.jbel.predicate.AndPredicate;
import com.strategicgains.jbel.predicate.BetweenPredicate;
import com.strategicgains.jbel.predicate.EqualityPredicate;
import com.strategicgains.jbel.predicate.GreaterThanOrEqualPredicate;
import com.strategicgains.jbel.predicate.GreaterThanPredicate;
import com.strategicgains.jbel.predicate.IsInPredicate;
import com.strategicgains.jbel.predicate.LessThanOrEqualPredicate;
import com.strategicgains.jbel.predicate.LessThanPredicate;
import com.strategicgains.jbel.predicate.OrPredicate;
/**
* SelectExpressionBuilder is used to construct expressions usable in Expressions.select() in in-fix notation.
*
* @author Todd Fredrich
* @since Aug 26, 2005
* @version $Revision: 1.17 $
*/
public class SelectExpressionBuilder
extends AbstractExpressionBuilder
{
public SelectExpressionBuilder()
{
super();
}
// BUILDER METHODS
public SelectExpressionBuilder field(String name)
{
SelectExpressionBuilder result = this;
if (build() != null)
{
if (build() instanceof AccessorExpression)
{
((AccessorExpression) result.build()).attribute(name);
}
else
{
result = new SelectExpressionBuilder();
result.setExpression(new AccessorExpression(name));
}
}
else
{
result.setExpression(new AccessorExpression(name));
}
return result;
}
public SelectExpressionBuilder fields(String... names)
{
return this;
}
public SelectExpressionBuilder index(int index)
{
return this;
}
public SelectExpressionBuilder between(int low, int high)
{
return between(new LiteralExpression(low), new LiteralExpression(high));
}
public SelectExpressionBuilder between(double low, double high)
{
return between(new LiteralExpression(low), new LiteralExpression(high));
}
public SelectExpressionBuilder between(long low, long high)
{
return between(new LiteralExpression(low), new LiteralExpression(high));
}
public SelectExpressionBuilder between(Object low, Object high)
{
return between(new LiteralExpression(low), new LiteralExpression(high));
}
public SelectExpressionBuilder between(Expression low, Expression high)
{
setExpression(new BetweenPredicate(build(), low, high));
return this;
}
public SelectExpressionBuilder equalTo(int value)
{
return equalTo(new LiteralExpression(value));
}
public SelectExpressionBuilder equalTo(double value)
{
return equalTo(new LiteralExpression(value));
}
public SelectExpressionBuilder equalTo(long value)
{
return equalTo(new LiteralExpression(value));
}
public SelectExpressionBuilder equalTo(Object value)
{
return equalTo(new LiteralExpression(value));
}
public SelectExpressionBuilder equalTo(Expression value)
{
setExpression(new EqualityPredicate(build(), value));
return this;
}
public SelectExpressionBuilder lessThan(int value)
{
return lessThan(new LiteralExpression(value));
}
public SelectExpressionBuilder lessThan(double value)
{
return lessThan(new LiteralExpression(value));
}
public SelectExpressionBuilder lessThan(long value)
{
return lessThan(new LiteralExpression(value));
}
public SelectExpressionBuilder lessThan(Expression value)
{
setExpression(new LessThanPredicate(build(), value));
return this;
}
public SelectExpressionBuilder lessThanOrEqual(int value)
{
return lessThanOrEqual(new LiteralExpression(value));
}
public SelectExpressionBuilder lessThanOrEqual(double value)
{
return lessThanOrEqual(new LiteralExpression(value));
}
public SelectExpressionBuilder lessThanOrEqual(long value)
{
return lessThanOrEqual(new LiteralExpression(value));
}
public SelectExpressionBuilder lessThanOrEqual(Expression value)
{
setExpression(new LessThanOrEqualPredicate(build(), value));
return this;
}
public SelectExpressionBuilder greaterThan(int value)
{
return greaterThan(new LiteralExpression(value));
}
public SelectExpressionBuilder greaterThan(double value)
{
return greaterThan(new LiteralExpression(value));
}
public SelectExpressionBuilder greaterThan(long value)
{
return greaterThan(new LiteralExpression(value));
}
public SelectExpressionBuilder greaterThan(Expression value)
{
setExpression(new GreaterThanPredicate(build(), value));
return this;
}
public SelectExpressionBuilder greaterThanOrEqual(int value)
{
return greaterThanOrEqual(new LiteralExpression(value));
}
public SelectExpressionBuilder greaterThanOrEqual(double value)
{
return greaterThanOrEqual(new LiteralExpression(value));
}
public SelectExpressionBuilder greaterThanOrEqual(long value)
{
return greaterThanOrEqual(new LiteralExpression(value));
}
public SelectExpressionBuilder greaterThanOrEqual(Expression value)
{
setExpression(new GreaterThanOrEqualPredicate(build(), value));
return this;
}
public SelectExpressionBuilder isIn(Object[] values)
{
return isIn(Arrays.asList(values));
}
public SelectExpressionBuilder isIn(List<?> values)
{
setExpression(new IsInPredicate(build(), new LiteralExpression(values)));
return this;
}
public SelectExpressionBuilder toUpper(SelectExpressionBuilder builder)
{
setExpression(new ToUpperExpression(builder.build()));
return this;
}
public SelectExpressionBuilder toLower(SelectExpressionBuilder builder)
{
setExpression(new ToLowerExpression(builder.build()));
return this;
}
// LOGICALS
public SelectExpressionBuilder and(SelectExpressionBuilder subExpressionBuilder)
{
setExpression(new AndPredicate(build(), subExpressionBuilder.build()));
return this;
}
public SelectExpressionBuilder or(SelectExpressionBuilder subExpressionBuilder)
{
setExpression(new OrPredicate(build(), subExpressionBuilder.build()));
return this;
}
}
| 25.888462 | 110 | 0.781756 |
0b6c774298c3dd81ec6165c13b793e48940d84d9 | 1,250 | package visualization;
import javafx.scene.control.ToggleGroup;
import simulation.State;
import java.util.ArrayList;
import java.util.List;
import java.util.Map;
/**
* Helper Object for the SimPane which helps generate the toggle buttons to be created for new cell state selection
*/
public class SetCell {
private final ToggleGroup group = new ToggleGroup();
private List<CustomToggle> myList;
/**
* SetCell constructor, to create a group of ToggleButtonos for cell state selection
* @param myMap of all possible state values the cell can contain
*/
public SetCell(Map<Double, State> myMap) {
createToggle(myMap);
}
private void createToggle(Map<Double, State> myMap) {
myList = new ArrayList<CustomToggle>();
State s;
for (double d: myMap.keySet()) {
s = myMap.get(d);
myList.add(new CustomToggle(s.getString(), group, s.getColor(), d));
}
}
/**
* Called by Visualization to populate the HBox that shows toggle options for new cell states
* @return list of all ToggleButtons, to be populated in the Hbox that shows toggle options
*/
public List<CustomToggle> getList() {
return this.myList;
}
}
| 27.777778 | 115 | 0.6696 |
80d9fc2b70486db39d42288787e583d5a9c95864 | 340 | package ru.starksoft.commons;
import androidx.annotation.ColorInt;
import androidx.annotation.NonNull;
public final class ColorUtils {
private ColorUtils() {
throw new UnsupportedOperationException();
}
@NonNull
public static String hexColorFromInt(@ColorInt int color) {
return String.format("#%06X", (0xFFFFFF & color));
}
}
| 20 | 60 | 0.758824 |
d9c8e7e840594d074495f29f91aa6e0637f91375 | 1,708 | package com.neu.zhang.servlet;
import java.io.IOException;
import java.util.List;
import java.util.Map;
import javax.servlet.ServletException;
import javax.servlet.annotation.WebServlet;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import javax.servlet.http.HttpSession;
import com.neu.zhang.dao.Select_course_info;
/**
* Servlet implementation class TeaToStuRequest
*/
@WebServlet("/TeaToStuRequest")
public class TeaToStuRequest extends HttpServlet {
private static final long serialVersionUID = 1L;
/**
* @see HttpServlet#HttpServlet()
*/
public TeaToStuRequest() {
super();
// TODO Auto-generated constructor stub
}
/**
* @see HttpServlet#doGet(HttpServletRequest request, HttpServletResponse response)
*/
protected void doGet(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
this.doPost(request, response);
}
/**
* @see HttpServlet#doPost(HttpServletRequest request, HttpServletResponse response)
*/
protected void doPost(HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
Select_course_info dao = new Select_course_info();
HttpSession session=request.getSession();
Map<String, String> tea=(Map<String, String>) session.getAttribute("login_tea");
String tea_name=tea.get("tea_name");
List<Map<String,String>> list = dao.stu_findAll(tea_name);
session.setAttribute("stu_request", list);
response.sendRedirect("/Essay_Student/Essay/teacher/stu_request.jsp");
}
}
| 31.054545 | 119 | 0.764637 |
07c5012a4fea841901f364f89478516461d5b948 | 1,121 | package com.subbu.todoapp.command;
import com.subbu.todoapp.model.Todo;
import com.subbu.todoapp.model.TodoService;
import org.apache.karaf.shell.api.action.Action;
import org.apache.karaf.shell.api.action.Argument;
import org.apache.karaf.shell.api.action.Command;
import org.osgi.service.component.annotations.Reference;
/**
* Created by subbu on 22/03/17.
*/
@Command(scope="todo", name="add", description = "Add a todo item")
public class TodoAddCommand implements Action {
@Argument(index = 0, name = "id", required = false, description = "Id of the Todo object", multiValued = false)
String id;
@Argument(index = 0, name = "title", required = false, description = "Title of the Todo object", multiValued = false)
String title;
@Argument(index = 0, name = "dueDate", required = false, description = "Due Date of the Todo object", multiValued = false)
String dueDate;
@Reference
TodoService todoService;
@Override
public Object execute() throws Exception {
Todo todo = new Todo(id, title, dueDate);
todoService.add(todo);
return null;
}
}
| 31.138889 | 126 | 0.70116 |
7f7f01202e5e384eb3171e30bcaab2cf3a05c336 | 3,896 | package com.xyoye.player.danmaku.danmaku.model.android;
import android.graphics.Canvas;
import android.graphics.Paint;
import android.text.Layout;
import android.text.Spanned;
import android.text.StaticLayout;
import android.text.TextPaint;
import com.xyoye.player.danmaku.danmaku.model.BaseDanmaku;
import java.lang.ref.SoftReference;
/**
* Created by ch on 15-7-16.
*/
public class SpannedCacheStuffer extends SimpleTextCacheStuffer {
@Override
public void measure(BaseDanmaku danmaku, TextPaint paint, boolean fromWorkerThread) {
if (danmaku.text instanceof Spanned) {
CharSequence text = danmaku.text;
if (text != null) {
StaticLayout staticLayout = new StaticLayout(text, paint, (int) Math.ceil(StaticLayout.getDesiredWidth(danmaku.text, paint)), Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, true);
danmaku.paintWidth = staticLayout.getWidth();
danmaku.paintHeight = staticLayout.getHeight();
danmaku.obj = new SoftReference<>(staticLayout);
return;
}
}
super.measure(danmaku, paint, fromWorkerThread);
}
@Override
public void drawStroke(BaseDanmaku danmaku, String lineText, Canvas canvas, float left, float top, Paint paint) {
if (danmaku.obj == null) {
super.drawStroke(danmaku, lineText, canvas, left, top, paint);
}
}
@Override
public void drawText(BaseDanmaku danmaku, String lineText, Canvas canvas, float left, float top, TextPaint paint, boolean fromWorkerThread) {
if (danmaku.obj == null) {
super.drawText(danmaku, lineText, canvas, left, top, paint, fromWorkerThread);
return;
}
SoftReference<StaticLayout> reference = (SoftReference<StaticLayout>) danmaku.obj;
StaticLayout staticLayout = reference.get();
boolean requestRemeasure = 0 != (danmaku.requestFlags & BaseDanmaku.FLAG_REQUEST_REMEASURE);
boolean requestInvalidate = 0 != (danmaku.requestFlags & BaseDanmaku.FLAG_REQUEST_INVALIDATE);
if (requestInvalidate || staticLayout == null) {
if (requestInvalidate) {
danmaku.requestFlags &= ~BaseDanmaku.FLAG_REQUEST_INVALIDATE;
}
CharSequence text = danmaku.text;
if (text != null) {
if (requestRemeasure) {
staticLayout = new StaticLayout(text, paint, (int) Math.ceil(StaticLayout.getDesiredWidth(danmaku.text, paint)), Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, true);
danmaku.paintWidth = staticLayout.getWidth();
danmaku.paintHeight = staticLayout.getHeight();
danmaku.requestFlags &= ~BaseDanmaku.FLAG_REQUEST_REMEASURE;
} else {
staticLayout = new StaticLayout(text, paint, (int) danmaku.paintWidth, Layout.Alignment.ALIGN_NORMAL, 1.0f, 0.0f, true);
}
danmaku.obj = new SoftReference<>(staticLayout);
} else {
return;
}
}
boolean needRestore = false;
if (left != 0 && top != 0) {
canvas.save();
canvas.translate(left, top + paint.ascent());
needRestore = true;
}
staticLayout.draw(canvas);
if (needRestore) {
canvas.restore();
}
}
@Override
public void clearCaches() {
super.clearCaches();
System.gc();
}
@Override
public void clearCache(BaseDanmaku danmaku) {
super.clearCache(danmaku);
if (danmaku.obj instanceof SoftReference<?>) {
((SoftReference<?>) danmaku.obj).clear();
}
}
@Override
public void releaseResource(BaseDanmaku danmaku) {
clearCache(danmaku);
super.releaseResource(danmaku);
}
}
| 37.825243 | 191 | 0.620123 |
61f8e0184b78396d0252e21ae3a9fe9fa922e474 | 475 | package com.example.observable_value_ref;
import arez.ObservableValue;
import arez.annotations.ArezComponent;
import arez.annotations.Observable;
import arez.annotations.ObservableValueRef;
import javax.annotation.Nonnull;
@ArezComponent
abstract class BasicObservableValueRefModel
{
@Observable
public abstract long getTime();
public abstract void setTime( long time );
@Nonnull
@ObservableValueRef
abstract ObservableValue<Long> getTimeObservableValue();
}
| 22.619048 | 58 | 0.821053 |
582faba961a6ccaf69445be77868771e3cc194b8 | 3,498 | package DataStructure.Array_String;
/*
Given a string S, and two numbers N, M - arrange the characters of string in between the indexes N and M (both inclusive) in descending order. (Indexing starts from 0).
Input Format:
First line contains T - number of test cases.
Next T lines contains a string(S) and two numbers(N, M) separated by spaces.
Output Format:
Print the modified string for each test case in new line.
SAMPLE INPUT
3
hlleo 1 3
ooneefspd 0 8
effort 1 4
SAMPLE OUTPUT
hlleo
spoonfeed
erofft
*/
import java.util.Arrays;
import java.util.Scanner;
public class Sort_the_Substring {
public static void main(String[] args) {
Scanner s = new Scanner(System.in);
int test_case = s.nextInt(); // testcase
//looping for num of test case
for (int i = 0; i < test_case; i++) {
String str = s.next(); // string STDIN
int N = s.nextInt(); // index of N (starting of sorting index)
int M = s.nextInt(); // index of M (end of sorting index)
char[] chr = str.toCharArray(); // converting string into char[] array
char[] index_char = new char[(M - N) + 1]; // getting char to be sorted
int count = 0;
for (int j = N; j <= M; j++) {
index_char[count] = chr[j];
count++;
}
String res = reverse_dec(index_char).trim(); // function call reverse in descending order which return sorted char as string
char[] chr_bef_sort = new char[N + 1]; // getting char before sorted index N
for (int k = 0; k < N; k++) {
chr_bef_sort[k] = chr[k];
}
String str_bef_sort = new String(chr_bef_sort).trim(); // converting char before sorted index N into string
char[] chr_aft_sort = new char[chr.length]; // getting char after sorted index M
int cnt = 0;
for (int l = M + 1; l < chr.length; l++) {
chr_aft_sort[cnt] = chr[l];
cnt++;
}
String str_aft_sort = new String(chr_aft_sort).trim(); // converting char after sorted index M into string
System.out.println(str_bef_sort + res + str_aft_sort); // concat the string before and sorted and after
}
}
// function for reversing the sorted char[] array into descending order
public static String reverse_dec(char[] chr) {
Arrays.sort(chr); // sorting char[]
char[] res_chr = new char[chr.length];
Stack stack = new Stack(chr.length);
//using stack pushing sorted element into stack
for (int i = 0; i < chr.length; i++) {
stack.push(chr[i]);
}
// pop element from stack in descending order and storing in new char[] array
for (int i = 0; i < chr.length; i++) {
res_chr[i] = stack.pop();
}
return new String(res_chr); // returning sorted String to main method
}
}
// stack class
class Stack {
char[] stack;
int top = -1;
int size;
public Stack(int size) {
this.size = size;
stack = new char[size];
top = -1;
}
public void push(char ele) {
if (!isFull()) {
top++;
stack[top] = ele;
}
}
public char pop() {
return stack[top--];
}
public boolean isFull() {
if (stack.length - 1 == top) {
return true;
}
return false;
}
}
| 28.909091 | 168 | 0.567181 |
9b6762587fccf58e07830745d63ca180d5eeadfa | 1,112 | package validation.constraints.validator;
import java.util.regex.Pattern;
import javax.validation.ConstraintValidator;
import javax.validation.ConstraintValidatorContext;
import message.MessageResource;
import validation.constraints.Email;
/**
* Verify to match the element value to email pattern.
* @author hironobu-igawa
*/
public class EmailValidator implements ConstraintValidator<Email, String> {
private Email email;
@Override
public void initialize(Email email) {
this.email = email;
}
@Override
public boolean isValid(String value, ConstraintValidatorContext context) {
context.disableDefaultConstraintViolation();
if (value == null || value.trim().isEmpty()) {
return true;
}
if (Pattern.matches("^\\s*?(.+)@(.+?)\\s*$", value)) {
return true;
}
String label = MessageResource.get(email.label());
String message = MessageResource.get(email.message(), label);
context.buildConstraintViolationWithTemplate(message).addConstraintViolation();
return false;
}
}
| 25.860465 | 87 | 0.680755 |
813ed72b5e0ce313604201d73e607bf682f133d5 | 331 | package fr.univnantes.termsuite.ui.handlers;
import org.eclipse.e4.core.di.annotations.Execute;
import org.eclipse.e4.ui.workbench.IWorkbench;
public class ExitHandler {
public static final String ID = "fr.univnantes.termsuite.ui.handler.Exit";
@Execute
public void execute(IWorkbench workbench) {
workbench.close();
}
}
| 23.642857 | 75 | 0.776435 |
ad11c5e6634130230df742cacefe91c589308e66 | 243 | package com.how2java.tmall.service;
import com.how2java.tmall.pojo.User;
import java.util.List;
public interface UserService {
void add(User c);
void delete(int id);
void update(User c);
User get(int id);
List list();
}
| 17.357143 | 36 | 0.683128 |
3765ded921bb96dd15042532efde15622b59d277 | 2,600 | package com.uc_mobileapps.tests.sqlite.bo.schema;
import android.content.ContentValues;
import android.database.Cursor;
import com.uc_mobileapps.tests.sqlite.bo.Version1;
import java.util.ArrayList;
import java.util.List;
import android.content.Context;
import android.os.Parcel;
import android.os.Parcelable;
public class Version1Schema {
//[begin seife autogenerated@
/**
* Table name of the Version1 table
*/
public static String TBL_VERSION1 = "version1";
public static String COL_ID = "id";
public static String COL_ADDED_IN_V2 = "addedInV2";
/** Fully qualified column name of {@link #COL_ID */
public static String COL_ID_FQN = "version1.id";
/** Fully qualified column name of {@link #COL_ADDED_IN_V2 */
public static String COL_ADDED_IN_V2_FQN = "version1.addedInV2";
/**
* All columns
*/
public static String[] COLUMNS = new String[] { COL_ID, COL_ADDED_IN_V2 };
/**
* Table creation script
*/
public static final String SQL_CREATE_TABLE_VERSION1 =
"create table " + TBL_VERSION1 + " (" +
COL_ID + " integer primary key autoincrement," +
COL_ADDED_IN_V2 + " text" +
")";
private static Version1Schema schema = new Version1Schema();
public static Version1Schema instance() {
return schema;
}
/**
* Checks for mandatory constraints defined on fields
*/
public boolean checkConstraints(ContentValues contentValues) {
return true;
}
/**
* Gets all attribute values of the bo as key value pairs
* @param bo may not be null
* @return new instance of {@link ContentValues}
*/
public ContentValues getContentValues(Version1 bo) {
ContentValues contentValues = new ContentValues();
if (bo.getId() != null) {
contentValues.put(COL_ID, bo.getId());
}
contentValues.put(COL_ADDED_IN_V2, bo.getAddedInV2());
return contentValues;
}
/**
* Sets all attributes from the cursor
* @param cursorFrom the cursor to read from
* @param bo may be null
* @return the bo passed as a parameter or a new instance
*/
public Version1 readFromCursor(Cursor cursorFrom, Version1 bo)
{
if (bo == null) {
bo = new Version1();
}
final Cursor c = cursorFrom;
bo.setId(c.isNull(c.getColumnIndex(COL_ID)) ? null : c.getLong(c.getColumnIndex(COL_ID)));
bo.setAddedInV2(c.getString(c.getColumnIndex(COL_ADDED_IN_V2)));
return bo;
}
/**
* @return hard-coded table creation and index scripts
*/
public List<String> getTableScripts() {
List<String> result = new ArrayList<String>();
result.add(SQL_CREATE_TABLE_VERSION1);
return result;
}
//@end seife autogenerated]
}
| 23.423423 | 92 | 0.709615 |
e6ae943554f8012bcae8e7df9042e4a61d94efe3 | 1,755 | package com.alekseyzhelo.evilislands.mobplugin.mob.psi;
import com.alekseyzhelo.evilislands.mobplugin.mob.EIMobLanguage;
import com.intellij.lang.ASTNode;
import com.intellij.lang.Language;
import com.intellij.openapi.project.Project;
import com.intellij.openapi.util.TextRange;
import com.intellij.psi.PsiElement;
import com.intellij.psi.impl.PsiElementBase;
import org.jetbrains.annotations.NotNull;
import org.jetbrains.annotations.Nullable;
public abstract class PsiMobElement extends PsiElementBase {
private final Project project;
private final PsiElement parent;
public PsiMobElement(PsiElement parent) {
this.parent = parent;
project = parent.getProject();
}
@Override
public PsiElement getParent() {
return parent;
}
@NotNull
@Override
public Project getProject() {
return project;
}
@NotNull
@Override
public PsiElement[] getChildren() {
return PsiElement.EMPTY_ARRAY;
}
@NotNull
@Override
public Language getLanguage() {
return EIMobLanguage.INSTANCE;
}
@Override
public TextRange getTextRange() {
return null;
}
@Override
public int getStartOffsetInParent() {
return 0;
}
@Override
public int getTextLength() {
return 0;
}
@Nullable
@Override
public PsiElement findElementAt(int offset) {
return null;
}
@Override
public int getTextOffset() {
return 0;
}
@Override
public String getText() {
return null;
}
@NotNull
@Override
public char[] textToCharArray() {
return new char[0];
}
@Override
public ASTNode getNode() {
return null;
}
}
| 19.943182 | 64 | 0.654701 |
9b9347d7d14bd7fa89bfc5c93ea4c1444594c875 | 1,247 | package com.zhaoguhong.baymax.mail;
import java.util.Map;
/**
* 邮件发送
*
*/
public interface MailService {
/**
* 发送邮件
*
* @param mailModel 邮件相关配置
*/
void sendMail(MailModel mailModel);
/**
* 发送简单的邮件
*
* @param to 发送到的邮箱地址
* @param subject 邮件标题
* @param content 邮件内容
*/
void sendSimleMail(String to, String subject, String content);
/**
* 发送html格式的邮件
*
* @param to 发送到的邮箱地址
* @param subject 邮件标题
* @param content 邮件内容(html格式)
*/
void sendHtmlMail(String to, String subject, String content);
/**
* 发送带附件的邮件
*
* @param to 发送到的邮箱地址
* @param subject 邮件标题
* @param content 邮件内容
* @param content 附件路径
*/
void sendAttachmentMail(String to, String subject, String content, String path);
/**
* 发送带附件的html格式邮件
*
* @param to 发送到的邮箱地址
* @param subject 邮件标题
* @param content 邮件内容(html格式)
* @param content 附件路径
*/
void sendAttachmentHtmlMail(String to, String subject, String content, String path);
/**
* 根据模版发送简单邮件
* @param to 收件邮箱地址
* @param subject 邮件标题
* @param templateName 模版名称
* @param params 参数
*/
void sendMailByTemplate(String to, String subject, String templateName,
Map<String, Object> params);
}
| 18.338235 | 86 | 0.63753 |
5b2cd265e5955a874272df50ab684cf0d275897f | 292 | package top.geminix.circle.service;
import top.geminix.circle.domain.BadWordInfo;
import java.util.List;
public interface IBadWordInfoService {
List<BadWordInfo> getAllBadWord();
boolean addBadWordInfo(String badWordContent);
boolean removeBadWordInfo(Integer badWordId);
}
| 19.466667 | 50 | 0.787671 |
96d613d5a3a572a459b671b9122735f1311462e8 | 107 | package org.stjs.generator.writer.inheritance;
public class Inheritance1 implements MyInterface {
}
| 17.833333 | 51 | 0.785047 |
18130858c863b6dce0853154b931c55c779a0fc1 | 926 | package com.mapswithme.maps;
import java.util.Timer;
import java.util.TimerTask;
public class VideoTimer
{
private static final String TAG = "VideoTimer";
Timer m_timer;
private native void nativeInit();
private native void nativeRun();
public class VideoTimerTask extends TimerTask
{
@Override
public void run()
{
nativeRun();
}
}
VideoTimerTask m_timerTask;
int m_interval;
public VideoTimer()
{
m_interval = 1000 / 60;
nativeInit();
}
void start()
{
m_timerTask = new VideoTimerTask();
m_timer = new Timer("VideoTimer");
m_timer.scheduleAtFixedRate(m_timerTask, 0, m_interval);
}
void resume()
{
m_timerTask = new VideoTimerTask();
m_timer = new Timer("VideoTimer");
m_timer.scheduleAtFixedRate(m_timerTask, 0, m_interval);
}
void pause()
{
m_timer.cancel();
}
void stop()
{
m_timer.cancel();
}
}
| 14.935484 | 60 | 0.652268 |
5d3e6467aabfe9907c57969b8025eb68a45bca46 | 367 | package com.zjb.ruleengine.core.utils;
import java.io.Serializable;
/**
* @author 赵静波
* @date 2020-07-13 10:11:01
*/
@FunctionalInterface
public interface SFunction<T, R> extends Serializable {
/**
* Applies this function to the given argument.
*
* @param t the function argument
* @return the function result
*/
R apply(T t);
} | 19.315789 | 55 | 0.653951 |
99b33d215ae93c974e7e4fc521a469b399c36d5d | 1,707 | /*
* Hibernate Validator, declare and validate application constraints
*
* License: Apache License, Version 2.0
* See the license.txt file in the root directory or <http://www.apache.org/licenses/LICENSE-2.0>.
*/
package org.hibernate.validator.ap.internal.checks;
import java.util.Collections;
import java.util.Set;
import javax.lang.model.element.AnnotationMirror;
import javax.lang.model.element.Element;
import javax.lang.model.element.ExecutableElement;
import javax.lang.model.element.VariableElement;
import javax.lang.model.type.TypeMirror;
import org.hibernate.validator.ap.internal.util.CollectionHelper;
/**
* Validates that the given element is not of a primitive type. Applies to
* fields and methods (the return type is evaluated).
*
* @author Gunnar Morling
*/
public class PrimitiveCheck extends AbstractConstraintCheck {
@Override
public Set<ConstraintCheckIssue> checkField(VariableElement element,
AnnotationMirror annotation) {
return checkInternal( element, annotation, element.asType(), "ATVALID_NOT_ALLOWED_AT_PRIMITIVE_FIELD" );
}
@Override
public Set<ConstraintCheckIssue> checkMethod(ExecutableElement element,
AnnotationMirror annotation) {
return checkInternal(
element, annotation, element.getReturnType(), "ATVALID_NOT_ALLOWED_AT_METHOD_RETURNING_PRIMITIVE_TYPE"
);
}
private Set<ConstraintCheckIssue> checkInternal(Element element,
AnnotationMirror annotation, TypeMirror type, String messageKey) {
if ( type.getKind().isPrimitive() ) {
return CollectionHelper.asSet(
ConstraintCheckIssue.error(
element, annotation, messageKey
)
);
}
return Collections.emptySet();
}
}
| 29.431034 | 106 | 0.763327 |
917607ea6a29c59f6329ae454d548ae811f147da | 729 | package fr.cesi.goodfood.domain;
import static org.assertj.core.api.Assertions.assertThat;
import fr.cesi.goodfood.web.rest.TestUtil;
import org.junit.jupiter.api.Test;
class IngredientTest {
@Test
void equalsVerifier() throws Exception {
TestUtil.equalsVerifier(Ingredient.class);
Ingredient ingredient1 = new Ingredient();
ingredient1.setId(1L);
Ingredient ingredient2 = new Ingredient();
ingredient2.setId(ingredient1.getId());
assertThat(ingredient1).isEqualTo(ingredient2);
ingredient2.setId(2L);
assertThat(ingredient1).isNotEqualTo(ingredient2);
ingredient1.setId(null);
assertThat(ingredient1).isNotEqualTo(ingredient2);
}
}
| 30.375 | 58 | 0.709191 |
2bd2501c2d78dcbfd541e2b8df8f8ee4909c2e05 | 1,654 | package com.hmg.json2java.utils.tests;
import static org.junit.Assert.assertTrue;
import java.io.IOException;
import java.net.URISyntaxException;
import org.json.JSONException;
import org.junit.FixMethodOrder;
import org.junit.Test;
import org.junit.runners.MethodSorters;
import com.fasterxml.jackson.core.JsonParseException;
import com.fasterxml.jackson.databind.JsonMappingException;
import com.hmg.json2java.utils.JsonToJava;
import com.hmg.json2java.utils.ObjectFileWriter;
@FixMethodOrder(MethodSorters.NAME_ASCENDING)
public class JsonToJavaObjectTest {
private final String DYNAMIC_CLASS_NAME="a.b.c.DynaClass";
@Test
public void JSON2JAVA()
throws JsonParseException, JsonMappingException, ClassNotFoundException, IllegalAccessException,
InstantiationException, NoSuchFieldException, IOException, URISyntaxException, JSONException {
String json = "{\r\n" +
" \"type\":\"object\",\r\n" +
" \"className\":\""+DYNAMIC_CLASS_NAME+"\",\r\n" +
" \"properties\": {\r\n" +
" \"className\":\"a.b.c.NestedClass\",\r\n" +
" \"foo\": {\r\n" +
" \"className\":\"a.b.c.NestedClassFoo\",\r\n" +
" \"var1\": \"string\"\r\n" +
" },\r\n" +
" \"bar\": {\r\n" +
" \"className\":\"a.b.c.NestedClassBar\",\r\n" +
" \"var2\": \"integer\"\r\n" +
" },\r\n" +
" \"baz\": {\r\n" +
" \"className\":\"a.b.c.NestedClassBaz\",\r\n" +
" \"var3\": \"boolean\"\r\n" +
" }\r\n" +
" }\r\n" +
"}";
Object o = JsonToJava.jsonToJavaObject(json);
assertTrue(o.getClass().getName().equals(DYNAMIC_CLASS_NAME));
}
}
| 30.072727 | 99 | 0.630593 |
9b313bd0ec0e575cbc0c2fad62a76f0ce18fb8c9 | 25,184 | package net.minecraft.client.gui;
import com.ibm.icu.text.ArabicShaping;
import com.ibm.icu.text.ArabicShapingException;
import com.ibm.icu.text.Bidi;
import java.awt.image.BufferedImage;
import java.io.Closeable;
import java.io.IOException;
import java.util.Arrays;
import java.util.List;
import java.util.Locale;
import java.util.Properties;
import java.util.Random;
import net.minecraft.client.Minecraft;
import net.minecraft.client.renderer.BufferBuilder;
import net.minecraft.client.renderer.GlStateManager;
import net.minecraft.client.renderer.Tessellator;
import net.minecraft.client.renderer.texture.TextureManager;
import net.minecraft.client.renderer.texture.TextureUtil;
import net.minecraft.client.renderer.vertex.DefaultVertexFormats;
import net.minecraft.client.resources.IResource;
import net.minecraft.client.resources.IResourceManager;
import net.minecraft.client.resources.IResourceManagerReloadListener;
import net.minecraft.client.settings.GameSettings;
import net.minecraft.util.ResourceLocation;
import optifine.Config;
import optifine.CustomColors;
import optifine.FontUtils;
import optifine.GlBlendState;
import org.apache.commons.io.IOUtils;
import org.seltak.anubis.Anubis;
import org.seltak.anubis.module.Module;
public class FontRenderer implements IResourceManagerReloadListener {
private static final ResourceLocation[] UNICODE_PAGE_LOCATIONS = new ResourceLocation[256];
private final int[] charWidth = new int[256];
public int FONT_HEIGHT = 9;
public Random fontRandom = new Random();
private final byte[] glyphWidth = new byte[65536];
private final int[] colorCode = new int[32];
private ResourceLocation locationFontTexture;
private final TextureManager renderEngine;
private float posX;
private float posY;
private boolean unicodeFlag;
private boolean bidiFlag;
private float red;
private float blue;
private float green;
private float alpha;
private int textColor;
private boolean randomStyle;
private boolean boldStyle;
private boolean italicStyle;
private boolean underlineStyle;
private boolean strikethroughStyle;
public GameSettings gameSettings;
public ResourceLocation locationFontTextureBase;
public boolean enabled = true;
public float offsetBold = 1.0F;
private float[] charWidthFloat = new float[256];
private boolean blend = false;
private GlBlendState oldBlendState = new GlBlendState();
public FontRenderer(GameSettings gameSettingsIn, ResourceLocation location, TextureManager textureManagerIn, boolean unicode) {
this.gameSettings = gameSettingsIn;
this.locationFontTextureBase = location;
this.locationFontTexture = location;
this.renderEngine = textureManagerIn;
this.unicodeFlag = unicode;
this.locationFontTexture = FontUtils.getHdFontLocation(this.locationFontTextureBase);
bindTexture(this.locationFontTexture);
for (int i = 0; i < 32; i++) {
int j = (i >> 3 & 0x1) * 85;
int k = (i >> 2 & 0x1) * 170 + j;
int l = (i >> 1 & 0x1) * 170 + j;
int i1 = (i >> 0 & 0x1) * 170 + j;
if (i == 6)
k += 85;
if (gameSettingsIn.anaglyph) {
int j1 = (k * 30 + l * 59 + i1 * 11) / 100;
int k1 = (k * 30 + l * 70) / 100;
int l1 = (k * 30 + i1 * 70) / 100;
k = j1;
l = k1;
i1 = l1;
}
if (i >= 16) {
k /= 4;
l /= 4;
i1 /= 4;
}
this.colorCode[i] = (k & 0xFF) << 16 | (l & 0xFF) << 8 | i1 & 0xFF;
}
readGlyphSizes();
}
public void onResourceManagerReload(IResourceManager resourceManager) {
this.locationFontTexture = FontUtils.getHdFontLocation(this.locationFontTextureBase);
for (int i = 0; i < UNICODE_PAGE_LOCATIONS.length; i++)
UNICODE_PAGE_LOCATIONS[i] = null;
readFontTexture();
readGlyphSizes();
}
private void readFontTexture() {
BufferedImage bufferedimage;
IResource iresource = null;
try {
iresource = getResource(this.locationFontTexture);
bufferedimage = TextureUtil.readBufferedImage(iresource.getInputStream());
} catch (IOException ioexception) {
throw new RuntimeException(ioexception);
} finally {
IOUtils.closeQuietly((Closeable)iresource);
}
Properties props = FontUtils.readFontProperties(this.locationFontTexture);
this.blend = FontUtils.readBoolean(props, "blend", false);
int imgWidth = bufferedimage.getWidth();
int imgHeight = bufferedimage.getHeight();
int charW = imgWidth / 16;
int charH = imgHeight / 16;
float kx = imgWidth / 128.0F;
float boldScaleFactor = Config.limit(kx, 1.0F, 2.0F);
this.offsetBold = 1.0F / boldScaleFactor;
float offsetBoldConfig = FontUtils.readFloat(props, "offsetBold", -1.0F);
if (offsetBoldConfig >= 0.0F)
this.offsetBold = offsetBoldConfig;
int[] aint = new int[imgWidth * imgHeight];
bufferedimage.getRGB(0, 0, imgWidth, imgHeight, aint, 0, imgWidth);
for (int i1 = 0; i1 < 256; i1++) {
int j1 = i1 % 16;
int k1 = i1 / 16;
int l1 = 0;
for (l1 = charW - 1; l1 >= 0; l1--) {
int i2 = j1 * charW + l1;
boolean flag = true;
for (int j2 = 0; j2 < charH && flag; j2++) {
int k2 = (k1 * charH + j2) * imgWidth;
int l2 = aint[i2 + k2];
int i3 = l2 >> 24 & 0xFF;
if (i3 > 16)
flag = false;
}
if (!flag)
break;
}
if (i1 == 65)
i1 = i1;
if (i1 == 32)
if (charW <= 8) {
l1 = (int)(2.0F * kx);
} else {
l1 = (int)(1.5F * kx);
}
this.charWidthFloat[i1] = (l1 + 1) / kx + 1.0F;
}
FontUtils.readCustomCharWidths(props, this.charWidthFloat);
for (int j3 = 0; j3 < this.charWidth.length; j3++)
this.charWidth[j3] = Math.round(this.charWidthFloat[j3]);
}
private void readGlyphSizes() {
IResource iresource = null;
try {
iresource = getResource(new ResourceLocation("font/glyph_sizes.bin"));
iresource.getInputStream().read(this.glyphWidth);
} catch (IOException ioexception) {
throw new RuntimeException(ioexception);
} finally {
IOUtils.closeQuietly((Closeable)iresource);
}
}
private float renderChar(char ch, boolean italic) {
if (ch != ' ' && ch != ' ') {
int i = "ÀÁÂÈÊËÍÓÔÕÚßãõğİıŒœŞşŴŵžȇ\000\000\000\000\000\000\000 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\000ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αβΓπΣσμτΦΘΩδ∞∅∈∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\000".indexOf(ch);
return (i != -1 && !this.unicodeFlag) ? renderDefaultChar(i, italic) : renderUnicodeChar(ch, italic);
}
return !this.unicodeFlag ? this.charWidthFloat[ch] : 4.0F;
}
private float renderDefaultChar(int ch, boolean italic) {
int i = ch % 16 * 8;
int j = ch / 16 * 8;
int k = italic ? 1 : 0;
bindTexture(this.locationFontTexture);
float f = this.charWidthFloat[ch];
float f1 = 7.99F;
GlStateManager.glBegin(5);
GlStateManager.glTexCoord2f(i / 128.0F, j / 128.0F);
GlStateManager.glVertex3f(this.posX + k, this.posY, 0.0F);
GlStateManager.glTexCoord2f(i / 128.0F, (j + 7.99F) / 128.0F);
GlStateManager.glVertex3f(this.posX - k, this.posY + 7.99F, 0.0F);
GlStateManager.glTexCoord2f((i + f1 - 1.0F) / 128.0F, j / 128.0F);
GlStateManager.glVertex3f(this.posX + f1 - 1.0F + k, this.posY, 0.0F);
GlStateManager.glTexCoord2f((i + f1 - 1.0F) / 128.0F, (j + 7.99F) / 128.0F);
GlStateManager.glVertex3f(this.posX + f1 - 1.0F - k, this.posY + 7.99F, 0.0F);
GlStateManager.glEnd();
return f;
}
private ResourceLocation getUnicodePageLocation(int page) {
if (UNICODE_PAGE_LOCATIONS[page] == null) {
UNICODE_PAGE_LOCATIONS[page] = new ResourceLocation(String.format("textures/font/unicode_page_%02x.png", new Object[] { Integer.valueOf(page) }));
UNICODE_PAGE_LOCATIONS[page] = FontUtils.getHdFontLocation(UNICODE_PAGE_LOCATIONS[page]);
}
return UNICODE_PAGE_LOCATIONS[page];
}
private void loadGlyphTexture(int page) {
bindTexture(getUnicodePageLocation(page));
}
private float renderUnicodeChar(char ch, boolean italic) {
int i = this.glyphWidth[ch] & 0xFF;
if (i == 0)
return 0.0F;
int j = ch / 256;
loadGlyphTexture(j);
int k = i >>> 4;
int l = i & 0xF;
float f = k;
float f1 = (l + 1);
float f2 = (ch % 16 * 16) + f;
float f3 = ((ch & 0xFF) / 16 * 16);
float f4 = f1 - f - 0.02F;
float f5 = italic ? 1.0F : 0.0F;
GlStateManager.glBegin(5);
GlStateManager.glTexCoord2f(f2 / 256.0F, f3 / 256.0F);
GlStateManager.glVertex3f(this.posX + f5, this.posY, 0.0F);
GlStateManager.glTexCoord2f(f2 / 256.0F, (f3 + 15.98F) / 256.0F);
GlStateManager.glVertex3f(this.posX - f5, this.posY + 7.99F, 0.0F);
GlStateManager.glTexCoord2f((f2 + f4) / 256.0F, f3 / 256.0F);
GlStateManager.glVertex3f(this.posX + f4 / 2.0F + f5, this.posY, 0.0F);
GlStateManager.glTexCoord2f((f2 + f4) / 256.0F, (f3 + 15.98F) / 256.0F);
GlStateManager.glVertex3f(this.posX + f4 / 2.0F - f5, this.posY + 7.99F, 0.0F);
GlStateManager.glEnd();
return (f1 - f) / 2.0F + 1.0F;
}
public int drawStringWithShadow(String text, float x, float y, int color) {
return drawString(text, x, y, color, true);
}
public int drawString(String text, int x, int y, int color) {
return !this.enabled ? 0 : drawString(text, x, y, color, false);
}
public int drawString(String text, float x, float y, int color, boolean dropShadow) {
int i;
enableAlpha();
if (this.blend) {
GlStateManager.getBlendState(this.oldBlendState);
GlStateManager.enableBlend();
GlStateManager.blendFunc(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA);
}
resetStyles();
if (dropShadow) {
i = renderString(text, x + 1.0F, y + 1.0F, color, true);
i = Math.max(i, renderString(text, x, y, color, false));
} else {
i = renderString(text, x, y, color, false);
}
if (this.blend)
GlStateManager.setBlendState(this.oldBlendState);
return i;
}
private String bidiReorder(String text) {
try {
Bidi bidi = new Bidi((new ArabicShaping(8)).shape(text), 127);
bidi.setReorderingMode(0);
return bidi.writeReordered(2);
} catch (ArabicShapingException var31) {
return text;
}
}
private void resetStyles() {
this.randomStyle = false;
this.boldStyle = false;
this.italicStyle = false;
this.underlineStyle = false;
this.strikethroughStyle = false;
}
private void renderStringAtPos(String text, boolean shadow) {
for (int i = 0; i < text.length(); i++) {
char c0 = text.charAt(i);
if (c0 == '§' && i + 1 < text.length()) {
int l = "0123456789abcdefklmnor".indexOf(String.valueOf(text.charAt(i + 1)).toLowerCase(Locale.ROOT).charAt(0));
if (l < 16) {
this.randomStyle = false;
this.boldStyle = false;
this.strikethroughStyle = false;
this.underlineStyle = false;
this.italicStyle = false;
if (l < 0 || l > 15)
l = 15;
if (shadow)
l += 16;
int i1 = this.colorCode[l];
if (Config.isCustomColors())
i1 = CustomColors.getTextColor(l, i1);
this.textColor = i1;
setColor((i1 >> 16) / 255.0F, (i1 >> 8 & 0xFF) / 255.0F, (i1 & 0xFF) / 255.0F, this.alpha);
} else if (l == 16) {
this.randomStyle = true;
} else if (l == 17) {
this.boldStyle = true;
} else if (l == 18) {
this.strikethroughStyle = true;
} else if (l == 19) {
this.underlineStyle = true;
} else if (l == 20) {
this.italicStyle = true;
} else if (l == 21) {
this.randomStyle = false;
this.boldStyle = false;
this.strikethroughStyle = false;
this.underlineStyle = false;
this.italicStyle = false;
setColor(this.red, this.blue, this.green, this.alpha);
}
i++;
} else {
int j = "ÀÁÂÈÊËÍÓÔÕÚßãõğİıŒœŞşŴŵžȇ\000\000\000\000\000\000\000 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\000ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αβΓπΣσμτΦΘΩδ∞∅∈∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\000".indexOf(c0);
if (this.randomStyle && j != -1) {
char c1;
int k = getCharWidth(c0);
do {
j = this.fontRandom.nextInt("ÀÁÂÈÊËÍÓÔÕÚßãõğİıŒœŞşŴŵžȇ\000\000\000\000\000\000\000 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\000ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αβΓπΣσμτΦΘΩδ∞∅∈∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\000".length());
c1 = "ÀÁÂÈÊËÍÓÔÕÚßãõğİıŒœŞşŴŵžȇ\000\000\000\000\000\000\000 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\000ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αβΓπΣσμτΦΘΩδ∞∅∈∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\000".charAt(j);
} while (k != getCharWidth(c1));
c0 = c1;
}
float f1 = (j != -1 && !this.unicodeFlag) ? this.offsetBold : 0.5F;
boolean flag = ((c0 == '\000' || j == -1 || this.unicodeFlag) && shadow);
if (flag) {
this.posX -= f1;
this.posY -= f1;
}
float f = renderChar(c0, this.italicStyle);
if (flag) {
this.posX += f1;
this.posY += f1;
}
if (this.boldStyle) {
this.posX += f1;
if (flag) {
this.posX -= f1;
this.posY -= f1;
}
renderChar(c0, this.italicStyle);
this.posX -= f1;
if (flag) {
this.posX += f1;
this.posY += f1;
}
f += f1;
}
doDraw(f);
}
}
}
protected void doDraw(float p_doDraw_1_) {
if (this.strikethroughStyle) {
Tessellator tessellator = Tessellator.getInstance();
BufferBuilder bufferbuilder = tessellator.getBuffer();
GlStateManager.disableTexture2D();
bufferbuilder.begin(7, DefaultVertexFormats.POSITION);
bufferbuilder.pos(this.posX, (this.posY + (this.FONT_HEIGHT / 2)), 0.0D).endVertex();
bufferbuilder.pos((this.posX + p_doDraw_1_), (this.posY + (this.FONT_HEIGHT / 2)), 0.0D).endVertex();
bufferbuilder.pos((this.posX + p_doDraw_1_), (this.posY + (this.FONT_HEIGHT / 2) - 1.0F), 0.0D).endVertex();
bufferbuilder.pos(this.posX, (this.posY + (this.FONT_HEIGHT / 2) - 1.0F), 0.0D).endVertex();
tessellator.draw();
GlStateManager.enableTexture2D();
}
if (this.underlineStyle) {
Tessellator tessellator1 = Tessellator.getInstance();
BufferBuilder bufferbuilder1 = tessellator1.getBuffer();
GlStateManager.disableTexture2D();
bufferbuilder1.begin(7, DefaultVertexFormats.POSITION);
int i = this.underlineStyle ? -1 : 0;
bufferbuilder1.pos((this.posX + i), (this.posY + this.FONT_HEIGHT), 0.0D).endVertex();
bufferbuilder1.pos((this.posX + p_doDraw_1_), (this.posY + this.FONT_HEIGHT), 0.0D).endVertex();
bufferbuilder1.pos((this.posX + p_doDraw_1_), (this.posY + this.FONT_HEIGHT - 1.0F), 0.0D).endVertex();
bufferbuilder1.pos((this.posX + i), (this.posY + this.FONT_HEIGHT - 1.0F), 0.0D).endVertex();
tessellator1.draw();
GlStateManager.enableTexture2D();
}
this.posX += p_doDraw_1_;
}
private int renderStringAligned(String text, int x, int y, int width, int color, boolean dropShadow) {
if (this.bidiFlag) {
int i = getStringWidth(bidiReorder(text));
x = x + width - i;
}
return renderString(text, x, y, color, dropShadow);
}
private int renderString(String text, float x, float y, int color, boolean dropShadow) {
try {
for (Module module : Anubis.moduleManager.getEnabledModules()) {
if (module.getName().equalsIgnoreCase("FakeName") &&
text.contains((Minecraft.getMinecraft()).player.getName()))
text = text.replace((Minecraft.getMinecraft()).player.getName(), "Anubis");
}
} catch (NullPointerException nullPointerException) {}
if (text == null)
return 0;
if (this.bidiFlag)
text = bidiReorder(text);
if ((color & 0xFC000000) == 0)
color |= 0xFF000000;
if (dropShadow)
color = (color & 0xFCFCFC) >> 2 | color & 0xFF000000;
this.red = (color >> 16 & 0xFF) / 255.0F;
this.blue = (color >> 8 & 0xFF) / 255.0F;
this.green = (color & 0xFF) / 255.0F;
this.alpha = (color >> 24 & 0xFF) / 255.0F;
setColor(this.red, this.blue, this.green, this.alpha);
this.posX = x;
this.posY = y;
renderStringAtPos(text, dropShadow);
return (int)this.posX;
}
public int getStringWidth(String text) {
if (text == null)
return 0;
float f = 0.0F;
boolean flag = false;
for (int i = 0; i < text.length(); i++) {
char c0 = text.charAt(i);
float f1 = getCharWidthFloat(c0);
if (f1 < 0.0F && i < text.length() - 1) {
i++;
c0 = text.charAt(i);
if (c0 != 'l' && c0 != 'L') {
if (c0 == 'r' || c0 == 'R')
flag = false;
} else {
flag = true;
}
f1 = 0.0F;
}
f += f1;
if (flag && f1 > 0.0F)
f += this.unicodeFlag ? 1.0F : this.offsetBold;
}
return Math.round(f);
}
public int getCharWidth(char character) {
return Math.round(getCharWidthFloat(character));
}
private float getCharWidthFloat(char p_getCharWidthFloat_1_) {
if (p_getCharWidthFloat_1_ == '§')
return -1.0F;
if (p_getCharWidthFloat_1_ != ' ' && p_getCharWidthFloat_1_ != ' ') {
int i = "ÀÁÂÈÊËÍÓÔÕÚßãõğİıŒœŞşŴŵžȇ\000\000\000\000\000\000\000 !\"#$%&'()*+,-./0123456789:;<=>?@ABCDEFGHIJKLMNOPQRSTUVWXYZ[\\]^_`abcdefghijklmnopqrstuvwxyz{|}~\000ÇüéâäàåçêëèïîìÄÅÉæÆôöòûùÿÖÜø£Ø×ƒáíóúñѪº¿®¬½¼¡«»░▒▓│┤╡╢╖╕╣║╗╝╜╛┐└┴┬├─┼╞╟╚╔╩╦╠═╬╧╨╤╥╙╘╒╓╫╪┘┌█▄▌▐▀αβΓπΣσμτΦΘΩδ∞∅∈∩≡±≥≤⌠⌡÷≈°∙·√ⁿ²■\000".indexOf(p_getCharWidthFloat_1_);
if (p_getCharWidthFloat_1_ > '\000' && i != -1 && !this.unicodeFlag)
return this.charWidthFloat[i];
if (this.glyphWidth[p_getCharWidthFloat_1_] != 0) {
int j = this.glyphWidth[p_getCharWidthFloat_1_] & 0xFF;
int k = j >>> 4;
int l = j & 0xF;
l++;
return ((l - k) / 2 + 1);
}
return 0.0F;
}
return this.charWidthFloat[32];
}
public String trimStringToWidth(String text, int width) {
return trimStringToWidth(text, width, false);
}
public String trimStringToWidth(String text, int width, boolean reverse) {
StringBuilder stringbuilder = new StringBuilder();
float f = 0.0F;
int i = reverse ? (text.length() - 1) : 0;
int j = reverse ? -1 : 1;
boolean flag = false;
boolean flag1 = false;
for (int k = i; k >= 0 && k < text.length() && f < width; k += j) {
char c0 = text.charAt(k);
float f1 = getCharWidthFloat(c0);
if (flag) {
flag = false;
if (c0 != 'l' && c0 != 'L') {
if (c0 == 'r' || c0 == 'R')
flag1 = false;
} else {
flag1 = true;
}
} else if (f1 < 0.0F) {
flag = true;
} else {
f += f1;
if (flag1)
f++;
}
if (f > width)
break;
if (reverse) {
stringbuilder.insert(0, c0);
} else {
stringbuilder.append(c0);
}
}
return stringbuilder.toString();
}
private String trimStringNewline(String text) {
while (text != null && text.endsWith("\n"))
text = text.substring(0, text.length() - 1);
return text;
}
public void drawSplitString(String str, int x, int y, int wrapWidth, int textColor) {
if (this.blend) {
GlStateManager.getBlendState(this.oldBlendState);
GlStateManager.enableBlend();
GlStateManager.blendFunc(GlStateManager.SourceFactor.SRC_ALPHA, GlStateManager.DestFactor.ONE_MINUS_SRC_ALPHA);
}
resetStyles();
this.textColor = textColor;
str = trimStringNewline(str);
renderSplitString(str, x, y, wrapWidth, false);
if (this.blend)
GlStateManager.setBlendState(this.oldBlendState);
}
private void renderSplitString(String str, int x, int y, int wrapWidth, boolean addShadow) {
for (String s : listFormattedStringToWidth(str, wrapWidth)) {
renderStringAligned(s, x, y, wrapWidth, this.textColor, addShadow);
y += this.FONT_HEIGHT;
}
}
public int splitStringWidth(String str, int maxLength) {
return this.FONT_HEIGHT * listFormattedStringToWidth(str, maxLength).size();
}
public void setUnicodeFlag(boolean unicodeFlagIn) {
this.unicodeFlag = unicodeFlagIn;
}
public boolean getUnicodeFlag() {
return this.unicodeFlag;
}
public void setBidiFlag(boolean bidiFlagIn) {
this.bidiFlag = bidiFlagIn;
}
public List<String> listFormattedStringToWidth(String str, int wrapWidth) {
return Arrays.asList(wrapFormattedStringToWidth(str, wrapWidth).split("\n"));
}
String wrapFormattedStringToWidth(String str, int wrapWidth) {
if (str.length() <= 1)
return str;
int i = sizeStringToWidth(str, wrapWidth);
if (str.length() <= i)
return str;
String s = str.substring(0, i);
char c0 = str.charAt(i);
boolean flag = !(c0 != ' ' && c0 != '\n');
String s1 = String.valueOf(getFormatFromString(s)) + str.substring(i + (flag ? 1 : 0));
return String.valueOf(s) + "\n" + wrapFormattedStringToWidth(s1, wrapWidth);
}
private int sizeStringToWidth(String str, int wrapWidth) {
int i = str.length();
float f = 0.0F;
int j = 0;
int k = -1;
for (boolean flag = false; j < i; j++) {
char c0 = str.charAt(j);
switch (c0) {
case '\n':
j--;
break;
case ' ':
k = j;
default:
f += getCharWidthFloat(c0);
if (flag)
f++;
break;
case '§':
if (j < i - 1) {
j++;
char c1 = str.charAt(j);
if (c1 != 'l' && c1 != 'L') {
if (c1 == 'r' || c1 == 'R' || isFormatColor(c1))
flag = false;
break;
}
flag = true;
}
break;
}
if (c0 == '\n') {
k = ++j;
break;
}
if (Math.round(f) > wrapWidth)
break;
}
return (j != i && k != -1 && k < j) ? k : j;
}
private static boolean isFormatColor(char colorChar) {
return !((colorChar < '0' || colorChar > '9') && (colorChar < 'a' || colorChar > 'f') && (colorChar < 'A' || colorChar > 'F'));
}
private static boolean isFormatSpecial(char formatChar) {
return !((formatChar < 'k' || formatChar > 'o') && (formatChar < 'K' || formatChar > 'O') && formatChar != 'r' && formatChar != 'R');
}
public static String getFormatFromString(String text) {
String s = "";
int i = -1;
int j = text.length();
while ((i = text.indexOf('§', i + 1)) != -1) {
if (i < j - 1) {
char c0 = text.charAt(i + 1);
if (isFormatColor(c0)) {
s = "§" + c0;
continue;
}
if (isFormatSpecial(c0))
s = String.valueOf(s) + "§" + c0;
}
}
return s;
}
public boolean getBidiFlag() {
return this.bidiFlag;
}
public int getColorCode(char character) {
int i = "0123456789abcdef".indexOf(character);
if (i >= 0 && i < this.colorCode.length) {
int j = this.colorCode[i];
if (Config.isCustomColors())
j = CustomColors.getTextColor(i, j);
return j;
}
return 16777215;
}
protected void setColor(float p_setColor_1_, float p_setColor_2_, float p_setColor_3_, float p_setColor_4_) {
GlStateManager.color(p_setColor_1_, p_setColor_2_, p_setColor_3_, p_setColor_4_);
}
protected void enableAlpha() {
GlStateManager.enableAlpha();
}
protected void bindTexture(ResourceLocation p_bindTexture_1_) {
this.renderEngine.bindTexture(p_bindTexture_1_);
}
protected IResource getResource(ResourceLocation p_getResource_1_) throws IOException {
return Minecraft.getMinecraft().getResourceManager().getResource(p_getResource_1_);
}
public int drawString(String text, double x, double y, int color) {
return !this.enabled ? 0 : drawString(text, (float)x, (float)y, color, false);
}
}
/* Location: C:\Users\BSV\AppData\Local\Temp\Rar$DRa6216.20396\Preview\Preview.jar!\net\minecraft\client\gui\FontRenderer.class
* Java compiler version: 8 (52.0)
* JD-Core Version: 1.1.3
*/ | 35.173184 | 338 | 0.600183 |
f6ba9e5c63fc9204758c91919d535448c9711a3c | 250 | package com.torrenal.craftingGadget.dataModel.value;
public class ValueSeals extends ValueAbstractToken
{
public ValueSeals(double tokens)
{
super(tokens);
}
@Override
public ValueType getType()
{
return ValueType.CM_TOKENS;
}
}
| 13.888889 | 52 | 0.74 |
0c6d01a05640c1611e74ed79ad3ec2f3cc8679e5 | 896 | //
// Decompiled by Procyon v0.5.36
//
package ch.ethz.ssh2.packets;
public class PacketSessionExecCommand
{
byte[] payload;
public int recipientChannelID;
public boolean wantReply;
public String command;
public PacketSessionExecCommand(final int recipientChannelID, final boolean wantReply, final String command) {
this.recipientChannelID = recipientChannelID;
this.wantReply = wantReply;
this.command = command;
}
public byte[] getPayload() {
if (this.payload == null) {
final TypesWriter tw = new TypesWriter();
tw.writeByte(98);
tw.writeUINT32(this.recipientChannelID);
tw.writeString("exec");
tw.writeBoolean(this.wantReply);
tw.writeString(this.command);
this.payload = tw.getBytes();
}
return this.payload;
}
}
| 27.151515 | 114 | 0.625 |
849a95f9286321d3d6c2553c632edbfb4adbd03e | 8,357 | package com.cyphercove.gdxtween.desktop.examples;
import com.badlogic.gdx.Gdx;
import com.badlogic.gdx.Input;
import com.badlogic.gdx.InputAdapter;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.SpriteBatch;
import com.badlogic.gdx.graphics.glutils.ShaderProgram;
import com.badlogic.gdx.math.Matrix3;
import com.badlogic.gdx.math.Vector2;
import com.badlogic.gdx.scenes.scene2d.Actor;
import com.badlogic.gdx.scenes.scene2d.Stage;
import com.badlogic.gdx.scenes.scene2d.ui.Table;
import com.badlogic.gdx.scenes.scene2d.ui.TextButton;
import com.badlogic.gdx.scenes.scene2d.utils.ChangeListener;
import com.badlogic.gdx.utils.viewport.FitViewport;
import com.badlogic.gdx.utils.viewport.Viewport;
import com.cyphercove.gdxtween.Ease;
import com.cyphercove.gdxtween.TweenInterruptionListener;
import com.cyphercove.gdxtween.TweenRunner;
import com.cyphercove.gdxtween.Tweens;
import com.cyphercove.gdxtween.desktop.ExampleScreen;
import com.cyphercove.gdxtween.desktop.ExamplesParent;
import com.cyphercove.gdxtween.desktop.SharedAssets;
import com.cyphercove.gdxtween.targettweens.Vector2Tween;
public class SequenceScene extends ExampleScreen {
private Stage stage;
private final TweenRunner tweenRunner = new TweenRunner();
private final Vector2 sunPosition = new Vector2(400f, 260f);
private final Vector2 cloudPosition = new Vector2();
private final Color hillsTintColor = new Color(Color.FOREST);
private final Color skyTopColor = new Color(Color.BLUE);
private final Color skyBottomColor = new Color(Color.SKY);
private final Color sunColor = new Color(Color.YELLOW);
private final Color cloudTintColor = new Color(Color.PINK);
private final Viewport sceneViewport = new FitViewport(800f, 480f);
private ShaderProgram verticalGradientShader;
private static final Matrix3 RGB_TO_LMS = new Matrix3();
private static final Matrix3 LMS_TO_RGB = new Matrix3();
static {
float[] values = {0.313921f, 0.639468f, 0.046597f,
0.151693f, 0.748209f, 0.1000044f,
0.017753f, 0.109468f, 0.872969f};
RGB_TO_LMS.set(values);
LMS_TO_RGB.set(values).inv();
}
public SequenceScene(SharedAssets sharedAssets, ExamplesParent examplesParent) {
super(sharedAssets, examplesParent);
}
@Override
protected String getName() {
return "Sequence scene";
}
@Override
public void show() {
if (stage == null) {
stage = sharedAssets.generateStage();
setupUI();
}
setScreenInputProcessors(stage, inputAdapter);
loadShader();
animateScene();
}
private void loadShader() {
if (verticalGradientShader != null)
verticalGradientShader.dispose();
verticalGradientShader = new ShaderProgram(Gdx.files.internal("verticalGradient.vert").readString(),
Gdx.files.internal("verticalGradient.frag").readString());
Gdx.app.log("verticalGradientShader log", verticalGradientShader.getLog());
}
private void setupUI() {
TextButton button = new TextButton("Restart", sharedAssets.getSkin());
button.addListener(new ChangeListener() {
@Override
public void changed(ChangeEvent event, Actor actor) {
animateScene();
}
});
Table table = new Table();
table.setFillParent(true);
table.bottom().left();
table.add(button).pad(10f);
stage.addActor(table);
}
private int runNumber = 0;
private void animateScene() {
Gdx.app.log("animateScene", "Starting tween no. " + runNumber);
Tweens.inSequence().name("Top level " + runNumber)
.inParallel()
.using(runNumber == 0 ? 0f : 0.3f, Ease.quintic())
.run(Tweens.to(sunPosition, 360f, 300f).name("sun position return " + runNumber).interruptionListener(logNameOnInterrupt))
.run(Tweens.toRgb(sunColor, 1f, 240f/255f, 142/255f))
.run(Tweens.toAlpha(sunColor, 1f))
.run(Tweens.to(cloudPosition, -sharedAssets.getCloud().getWidth(), 320f))
.run(Tweens.toRgb(cloudTintColor, 194f/255f,237f/255f, 1f))
.run(Tweens.toRgb(hillsTintColor, 69f/255f, 187f/255f, 8f/255f))
.run(Tweens.toRgb(skyTopColor, 16f/255f, 55f/255f,214/255f))
.run(Tweens.toRgb(skyBottomColor, 58f/255f, 162f/255f, 242f/255f))
.then()
.inParallel()
.run(Tweens.to(sunPosition, 320f, -sharedAssets.getSun().getHeight()).duration(7f).name("sun position down " + runNumber).interruptionListener(logNameOnInterrupt))
.run(Tweens.inSequence()
.delay(1f)
.run(Tweens.toRgb(sunColor, 1f, 103/255f, 16f/255f).duration(3f))
.run(Tweens.toAlpha(sunColor, 0.3f).duration(1f))
)
.run(Tweens.inSequence()
.delay(1f)
.inParallel()
.duration(3f)
.run(Tweens.toRgb(skyTopColor, 102f/255f,16f/255f,214f/255f))
.run(Tweens.toRgb(skyBottomColor, 238f/255f, 119f/255f, 5f/255f))
.run(Tweens.toRgb(cloudTintColor, 218f/255f,155f/255f,221f/255f))
.then()
.inParallel()
.duration(3f)
.run(Tweens.toRgb(skyTopColor, 0f, 0f, 0f))
.run(Tweens.toRgb(skyBottomColor, 21f/255f,17f/255f,59f/255f))
.run(Tweens.toRgb(cloudTintColor, 104f/255f,65f/255f,130f/255f))
.run(Tweens.toRgb(hillsTintColor, 0.15f, 0.15f, 0.15f))
)
.run(Tweens.to(cloudPosition, 800f, 320f).duration(7f).ease(Ease.linear))
.then()
.start(tweenRunner);
runNumber++;
}
private final TweenInterruptionListener<Vector2Tween> logNameOnInterrupt =
interruptedTween -> Gdx.app.log("Interrupted", interruptedTween.getName());
@Override
public void resize(int width, int height) {
sceneViewport.update(width, height, true);
}
@Override
public void render(float delta) {
super.render(delta);
tweenRunner.step(delta);
stage.act();
sceneViewport.apply();
SpriteBatch batch = sharedAssets.getSpriteBatch();
batch.enableBlending();
batch.setProjectionMatrix(sceneViewport.getCamera().combined);
batch.begin();
batch.setShader(verticalGradientShader);
verticalGradientShader.setUniformMatrix("u_rgbToLms", RGB_TO_LMS);
verticalGradientShader.setUniformMatrix("u_lmsToRgb", LMS_TO_RGB);
verticalGradientShader.setUniformf("u_topColor", skyTopColor);
verticalGradientShader.setUniformf("u_bottomColor", skyBottomColor);
batch.draw(sharedAssets.getWhite(), 0f, 0f, 800f, 480f);
batch.setShader(null);
batch.setColor(sunColor);
batch.draw(sharedAssets.getSun(), sunPosition.x, sunPosition.y);
batch.setColor(Color.WHITE);
batch.draw(sharedAssets.getSunFace(), sunPosition.x, sunPosition.y);
batch.setColor(cloudTintColor);
batch.draw(sharedAssets.getCloud(), cloudPosition.x, cloudPosition.y);
batch.setColor(hillsTintColor);
batch.draw(sharedAssets.getHills(), 0f, 0f);
batch.end();
stage.getViewport().apply();
stage.draw();
}
private final InputAdapter inputAdapter = new InputAdapter(){
@Override
public boolean keyDown(int keycode) {
switch (keycode) {
case Input.Keys.R:
loadShader();
break;
}
return true;
}
};
@Override
public void dispose() {
super.dispose();
if (verticalGradientShader != null) {
verticalGradientShader.dispose();
verticalGradientShader = null;
}
}
}
| 41.371287 | 183 | 0.618284 |
23252ff18d29868f5fb834ec766e459c8306a403 | 12,321 | //
// Diese Datei wurde mit der JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.3.2 generiert
// Siehe <a href="https://javaee.github.io/jaxb-v2/">https://javaee.github.io/jaxb-v2/</a>
// Änderungen an dieser Datei gehen bei einer Neukompilierung des Quellschemas verloren.
// Generiert: 2021.07.19 um 12:09:30 PM CEST
//
package org.opcfoundation.ua._2008._02.types;
import java.util.HashMap;
import java.util.Map;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import com.kscs.util.jaxb.Buildable;
import com.kscs.util.jaxb.PropertyTree;
import com.kscs.util.jaxb.PropertyTreeUse;
/**
* <p>Java-Klasse für TimeZoneDataType complex type.
*
* <p>Das folgende Schemafragment gibt den erwarteten Content an, der in dieser Klasse enthalten ist.
*
* <pre>
* <complexType name="TimeZoneDataType">
* <complexContent>
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* <sequence>
* <element name="Offset" type="{http://www.w3.org/2001/XMLSchema}short" minOccurs="0"/>
* <element name="DaylightSavingInOffset" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
* </sequence>
* </restriction>
* </complexContent>
* </complexType>
* </pre>
*
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "TimeZoneDataType", propOrder = {
"offset",
"daylightSavingInOffset"
})
public class TimeZoneDataType {
@XmlElement(name = "Offset")
protected Short offset;
@XmlElement(name = "DaylightSavingInOffset")
protected Boolean daylightSavingInOffset;
/**
* Ruft den Wert der offset-Eigenschaft ab.
*
* @return
* possible object is
* {@link Short }
*
*/
public Short getOffset() {
return offset;
}
/**
* Legt den Wert der offset-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Short }
*
*/
public void setOffset(Short value) {
this.offset = value;
}
/**
* Ruft den Wert der daylightSavingInOffset-Eigenschaft ab.
*
* @return
* possible object is
* {@link Boolean }
*
*/
public Boolean isDaylightSavingInOffset() {
return daylightSavingInOffset;
}
/**
* Legt den Wert der daylightSavingInOffset-Eigenschaft fest.
*
* @param value
* allowed object is
* {@link Boolean }
*
*/
public void setDaylightSavingInOffset(Boolean value) {
this.daylightSavingInOffset = value;
}
/**
* Copies all state of this object to a builder. This method is used by the {@link
* #copyOf} method and should not be called directly by client code.
*
* @param _other
* A builder instance to which the state of this object will be copied.
*/
public<_B >void copyTo(final TimeZoneDataType.Builder<_B> _other) {
_other.offset = this.offset;
_other.daylightSavingInOffset = this.daylightSavingInOffset;
}
public<_B >TimeZoneDataType.Builder<_B> newCopyBuilder(final _B _parentBuilder) {
return new TimeZoneDataType.Builder<_B>(_parentBuilder, this, true);
}
public TimeZoneDataType.Builder<Void> newCopyBuilder() {
return newCopyBuilder(null);
}
public static TimeZoneDataType.Builder<Void> builder() {
return new TimeZoneDataType.Builder<Void>(null, null, false);
}
public static<_B >TimeZoneDataType.Builder<_B> copyOf(final TimeZoneDataType _other) {
final TimeZoneDataType.Builder<_B> _newBuilder = new TimeZoneDataType.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder);
return _newBuilder;
}
/**
* Copies all state of this object to a builder. This method is used by the {@link
* #copyOf} method and should not be called directly by client code.
*
* @param _other
* A builder instance to which the state of this object will be copied.
*/
public<_B >void copyTo(final TimeZoneDataType.Builder<_B> _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final PropertyTree offsetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("offset"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(offsetPropertyTree!= null):((offsetPropertyTree == null)||(!offsetPropertyTree.isLeaf())))) {
_other.offset = this.offset;
}
final PropertyTree daylightSavingInOffsetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("daylightSavingInOffset"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(daylightSavingInOffsetPropertyTree!= null):((daylightSavingInOffsetPropertyTree == null)||(!daylightSavingInOffsetPropertyTree.isLeaf())))) {
_other.daylightSavingInOffset = this.daylightSavingInOffset;
}
}
public<_B >TimeZoneDataType.Builder<_B> newCopyBuilder(final _B _parentBuilder, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return new TimeZoneDataType.Builder<_B>(_parentBuilder, this, true, _propertyTree, _propertyTreeUse);
}
public TimeZoneDataType.Builder<Void> newCopyBuilder(final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
return newCopyBuilder(null, _propertyTree, _propertyTreeUse);
}
public static<_B >TimeZoneDataType.Builder<_B> copyOf(final TimeZoneDataType _other, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
final TimeZoneDataType.Builder<_B> _newBuilder = new TimeZoneDataType.Builder<_B>(null, null, false);
_other.copyTo(_newBuilder, _propertyTree, _propertyTreeUse);
return _newBuilder;
}
public static TimeZoneDataType.Builder<Void> copyExcept(final TimeZoneDataType _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.EXCLUDE);
}
public static TimeZoneDataType.Builder<Void> copyOnly(final TimeZoneDataType _other, final PropertyTree _propertyTree) {
return copyOf(_other, _propertyTree, PropertyTreeUse.INCLUDE);
}
public static class Builder<_B >implements Buildable
{
protected final _B _parentBuilder;
protected final TimeZoneDataType _storedValue;
private Short offset;
private Boolean daylightSavingInOffset;
public Builder(final _B _parentBuilder, final TimeZoneDataType _other, final boolean _copy) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
this.offset = _other.offset;
this.daylightSavingInOffset = _other.daylightSavingInOffset;
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public Builder(final _B _parentBuilder, final TimeZoneDataType _other, final boolean _copy, final PropertyTree _propertyTree, final PropertyTreeUse _propertyTreeUse) {
this._parentBuilder = _parentBuilder;
if (_other!= null) {
if (_copy) {
_storedValue = null;
final PropertyTree offsetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("offset"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(offsetPropertyTree!= null):((offsetPropertyTree == null)||(!offsetPropertyTree.isLeaf())))) {
this.offset = _other.offset;
}
final PropertyTree daylightSavingInOffsetPropertyTree = ((_propertyTree == null)?null:_propertyTree.get("daylightSavingInOffset"));
if (((_propertyTreeUse == PropertyTreeUse.INCLUDE)?(daylightSavingInOffsetPropertyTree!= null):((daylightSavingInOffsetPropertyTree == null)||(!daylightSavingInOffsetPropertyTree.isLeaf())))) {
this.daylightSavingInOffset = _other.daylightSavingInOffset;
}
} else {
_storedValue = _other;
}
} else {
_storedValue = null;
}
}
public _B end() {
return this._parentBuilder;
}
protected<_P extends TimeZoneDataType >_P init(final _P _product) {
_product.offset = this.offset;
_product.daylightSavingInOffset = this.daylightSavingInOffset;
return _product;
}
/**
* Setzt den neuen Wert der Eigenschaft "offset" (Vorher zugewiesener Wert wird
* ersetzt)
*
* @param offset
* Neuer Wert der Eigenschaft "offset".
*/
public TimeZoneDataType.Builder<_B> withOffset(final Short offset) {
this.offset = offset;
return this;
}
/**
* Setzt den neuen Wert der Eigenschaft "daylightSavingInOffset" (Vorher
* zugewiesener Wert wird ersetzt)
*
* @param daylightSavingInOffset
* Neuer Wert der Eigenschaft "daylightSavingInOffset".
*/
public TimeZoneDataType.Builder<_B> withDaylightSavingInOffset(final Boolean daylightSavingInOffset) {
this.daylightSavingInOffset = daylightSavingInOffset;
return this;
}
@Override
public TimeZoneDataType build() {
if (_storedValue == null) {
return this.init(new TimeZoneDataType());
} else {
return ((TimeZoneDataType) _storedValue);
}
}
public TimeZoneDataType.Builder<_B> copyOf(final TimeZoneDataType _other) {
_other.copyTo(this);
return this;
}
public TimeZoneDataType.Builder<_B> copyOf(final TimeZoneDataType.Builder _other) {
return copyOf(_other.build());
}
}
public static class Select
extends TimeZoneDataType.Selector<TimeZoneDataType.Select, Void>
{
Select() {
super(null, null, null);
}
public static TimeZoneDataType.Select _root() {
return new TimeZoneDataType.Select();
}
}
public static class Selector<TRoot extends com.kscs.util.jaxb.Selector<TRoot, ?> , TParent >
extends com.kscs.util.jaxb.Selector<TRoot, TParent>
{
private com.kscs.util.jaxb.Selector<TRoot, TimeZoneDataType.Selector<TRoot, TParent>> offset = null;
private com.kscs.util.jaxb.Selector<TRoot, TimeZoneDataType.Selector<TRoot, TParent>> daylightSavingInOffset = null;
public Selector(final TRoot root, final TParent parent, final String propertyName) {
super(root, parent, propertyName);
}
@Override
public Map<String, PropertyTree> buildChildren() {
final Map<String, PropertyTree> products = new HashMap<String, PropertyTree>();
products.putAll(super.buildChildren());
if (this.offset!= null) {
products.put("offset", this.offset.init());
}
if (this.daylightSavingInOffset!= null) {
products.put("daylightSavingInOffset", this.daylightSavingInOffset.init());
}
return products;
}
public com.kscs.util.jaxb.Selector<TRoot, TimeZoneDataType.Selector<TRoot, TParent>> offset() {
return ((this.offset == null)?this.offset = new com.kscs.util.jaxb.Selector<TRoot, TimeZoneDataType.Selector<TRoot, TParent>>(this._root, this, "offset"):this.offset);
}
public com.kscs.util.jaxb.Selector<TRoot, TimeZoneDataType.Selector<TRoot, TParent>> daylightSavingInOffset() {
return ((this.daylightSavingInOffset == null)?this.daylightSavingInOffset = new com.kscs.util.jaxb.Selector<TRoot, TimeZoneDataType.Selector<TRoot, TParent>>(this._root, this, "daylightSavingInOffset"):this.daylightSavingInOffset);
}
}
}
| 38.503125 | 243 | 0.646133 |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.