diff --git a/html/document/draw_test.go b/html/document/draw_test.go index 4746d7d..2bf7cbc 100644 --- a/html/document/draw_test.go +++ b/html/document/draw_test.go @@ -1,7 +1,6 @@ package document import ( - "fmt" "io" "os" "testing" @@ -190,15 +189,25 @@ func TestLeaderCrash(t *testing.T) { } func TestDebug(t *testing.T) { - // baseUrl, _ := utils.PathToURL("../../resources_test/") - - input := fmt.Sprintf(` + input := ` -
abc | `, "inset") + AaA` + doc, err := tree.NewHTML(utils.InputString(input), baseUrl, nil, "") if err != nil { t.Fatal(err) diff --git a/resources_test/weasyprint.otb_fixed b/resources_test/weasyprint.otb_fixed new file mode 100755 index 0000000..3ac426b Binary files /dev/null and b/resources_test/weasyprint.otb_fixed differ