Skip to content

Error in HTML after upgrade to 0.10 #16

Closed
@jogibear9988

Description

@jogibear9988

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions