Closed
Description
I use following Code:
element = CreateElement("button", htmlDocument);
((IHtmlElement) element).GetStyle().SetPointerEvents("auto");
((IHtmlElement) element).GetStyle().SetBorderWidth("1px");
((IHtmlElement) element).GetStyle().SetBorderStyle("solid");
((IHtmlElement) element).GetStyle().SetBorderColor("black");
wich creates following HTML:
<button style="pointer-events: auto;border-width: 1px;border-top: solid rgba(0, 0, 0, 1);border-right: solid rgba(0, 0, 0, 1);border-bottom: solid rgba(0, 0, 0, 1);border-left: solid rgba(0, 0, 0, 1);"</button>
wich is wrong in Chrome, cause then bordersize is 3px and not 1px