Styles styles) {
Element markerTd = domFactory.createElement(TD);
tr.addTail(markerTd);
Styles markerStyles = styles.removeNestedStyles(PseudoElements.MARKER);
if (markerStyles == null) {
markerStyles = stylingFactory.createInheritedStyles(
styles, DisplayKeywords.TABLE_CELL);
}
markerTd.setStyles(markerStyles);
MutablePropertyValues propertyValues =
markerStyles.getPropertyValues();
StyleValue content = propertyValues.getComputedValue(
StylePropertyDetails.CONTENT);
// Make sure that the display is set correctly on the td.
propertyValues.setComputedValue(StylePropertyDetails.DISPLAY,