Skip to content

CSS某些样式无法识别导致错误 #14

@kingannly2012

Description

@kingannly2012

static void test()

{

string strHTML = "<input name="660a3525-b274-2669-591e-8bd04ded968e" title="eeee" id="660a3525-b274-2669-591e-8bd04ded968e" style="border-width: medium medium 1px; border-style: none none solid; border-color: currentColor currentColor rgb(236, 236, 236); left: 149px; top: 73px; width: 100px; height: 20px; text-align: left; color: rgb(0, 0, 0); font-size: 12px; position: absolute; z-index: auto;" type="text" value="" RightKeyGetType="text" DesignerControl="yes" mydefaultvalue="" borderColor="" borderType="1">";

var document = new SystemParser().Parse(strHTML);

string s1 = document.Render();

var inputDoms = document.Find("input");

if (inputDoms != null)

{

foreach (var dom in inputDoms)

{

dom.Style().SetValue("display", null);

}

}

string s2=document.Render();

}

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions