/******************************************************************************* * Copyright (c) 2008 Innoopract Informationssysteme GmbH. * All rights reserved. This program and the accompanying materials * are made available under the terms of the Eclipse Public License v1.0 * which accompanies this distribution, and is available at * http://www.eclipse.org/legal/epl-v10.html * * Contributors: * Innoopract Informationssysteme GmbH - initial API and implementation ******************************************************************************/ package org.eclipse.rwt.internal.theme.css; /** * See {@link http://www.w3.org/TR/CSS21/cascade.html#specificity} */ public interface Specific { /** * Factor for b variable in specificity algorithm, see <a * href="http://www.w3.org/TR/CSS21/cascade.html#specificity">http://www.w3.org/TR/CSS21/cascade.html#specificity</a>. */ public static int ID_SPEC = 16 << 1; /** * Factor for c variable in specificity algorithm, see <a * href="http://www.w3.org/TR/CSS21/cascade.html#specificity">http://www.w3.org/TR/CSS21/cascade.html#specificity</a>. */ public static int ATTR_SPEC = 8 << 1; /** * Factor for d variable in specificity algorithm, see <a * href="http://www.w3.org/TR/CSS21/cascade.html#specificity">http://www.w3.org/TR/CSS21/cascade.html#specificity</a>. */ public static int ELEMENT_SPEC = 1; abstract int getSpecificity(); }