/* -*- Mode: C++; tab-width: 8; indent-tabs-mode: nil; c-basic-offset: 2 -*- */ /* 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/. */
nsCOMPtr<nsINode> row = rows->Item(refIndex); if (!row) {
aError.Throw(NS_ERROR_DOM_INDEX_SIZE_ERR); return;
}
nsINode::RemoveChild(*row, aError);
}
bool HTMLTableSectionElement::ParseAttribute(
int32_t aNamespaceID, nsAtom* aAttribute, const nsAString& aValue,
nsIPrincipal* aMaybeScriptedPrincipal, nsAttrValue& aResult) { if (aNamespaceID == kNameSpaceID_None) { /* ignore these attributes, stored simply as strings ch
*/ if (aAttribute == nsGkAtoms::height) { // Per HTML spec there should be nothing special here, but all browsers // implement height mapping to style. See // <https://github.com/whatwg/html/issues/4718>. All browsers allow 0, so // keep doing that. return aResult.ParseHTMLDimension(aValue);
} if (aAttribute == nsGkAtoms::align) { return ParseTableCellHAlignValue(aValue, aResult);
} if (aAttribute == nsGkAtoms::bgcolor) { return aResult.ParseColor(aValue);
} if (aAttribute == nsGkAtoms::valign) { return ParseTableVAlignValue(aValue, aResult);
}
}
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 ist noch experimentell.