Open benoitkugler opened 1 day ago
Hi,
Thanks for the report, I don’t know how you caught this! Interested in providing a pull request?
I'm writing a port of WeasyPrint for the Go programming language. Thanks by the way for your work, it has been very interesting to dig into the depths of HTML rendering ! I've discovered the issue because the Go version of the test was failing, yet with a seemimgly correct rendering.
I can send a PR, not sure when however
Hi,
I think there is currently two issues regarding
test_borders_table_collapse
:groove
andoutset
styles render the same (as well as theinset
/ridge
pair), so that the test should not ask for different renderingsassert_different_renderings
seems broken : at tests/draw/init.py line 85, the pixels comparisonpixels_1 == pixels_2
seems to always beFalse
, since the variables are compared by reference, not by actual pixel content. A simple fix should be to change the comparison tolist(pixels_1) == list(pixels_2)
From what I understand, no change is required to the library, only to the tests.