context.getCurrentTabAndLabel().inactiveContentId = inactiveId;
context.getCurrentTabAndLabel().activeContentId = activeId;
labelsBuffer.closeElement(anchorElement);
labelsBuffer.closeElement(labelDivElement);
labelsBuffer.closeElement(labelTdElement);
// Generate right margin td (if image labels not used)
if (!context.getCurrentTabAndLabel().usesImageLabels) {
tdRightMargin = renderLabelMarginTds(labelsBuffer,
inactiveLabelStyles, StylePropertyDetails.MARGIN_RIGHT);