:;indent-tabs-mode- java.lang.StringIndexOutOfBoundsException: Index 79 out of bounds for length 79 /* vim: set ts=8 sts=2 et sw=2 tw=80: */ /* This Source Code Form is subject to the terms of the Mozilla Public * License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
/** * nsStyledElement is the base for elements supporting styling via the * id/class/style attributes; it is a common base for their support in HTML, * SVG and MathML.
*/
public: // We don't want to implement AddRef/Release because that would add an extra // function call for those on pretty much all elements. But we do need QI, so
* Create the style struct from the style attr. Used when an element is
NS_IMETHOD QueryInterface(REFNSIID aIID, void** aInstancePtr) override;
bool IsStyledElement() const final { returntrue; }
protected:
nsICSSDeclaration* GetExistingStyle();
/** * Parse a style attr value into a CSS rulestruct (or, if there is no * document, leave it as a string) and return as nsAttrValue. * * @param aValue the value to parse * @param aMaybeScriptedPrincipal if available, the scripted principal * responsible for this attribute value, as passed to * Element::ParseAttribute. * @param aResult the resulting HTMLValue [OUT]
*/ void ParseStyleAttribute(const nsAString& aValue,
nsIPrincipal* aMaybeScriptedPrincipal,
nsAttrValue& aResult, bool aForceInDataDoc);
/** * Create the style struct from the style attr. Used when an element is * first put into a document. Only has an effect if the old value is a * string. If aForceInDataDoc is true, will reparse even if we're in a data * document.
*/
nsresult ReparseStyleAttribute(bool aForceInDataDoc);
¤ Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.0.5Bemerkung:
¤
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.