ArthurHub / ArthurHub/HTML-Renderer

Tables don't behave correctly when told their height in parent element

Offen
#114 0 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
bug WPF
Vorherrschende Sprache
C#
Sterne
1.4k
Forks
550
Ø Merge
14 T. 9 Std.
Gemergte PRs (30 T.)
1

Beschreibung

[test_case.zip](https://github.com/ArthurHub/HTML-Renderer/files/1510231/test_case.zip)

In the attached test case using the test WPF renderer, only the width is obeyed (in the example, 600px), the height is completely ignored. If you render this same HTML in a browser, the height/width of the container will be set, and the child table will fill to 100%.

I will try debugging and see if I can resolve this issue myself, but in-case I can't I'm still going to post this issue here.

Beitragsleitfaden

Für dieses Repository ist kein Beitragsleitfaden indexiert

Rechercherichtung

Start by extracting and running test_case.zip with the test WPF renderer to reproduce the ignored height. Compare the WPF output with browser behavior for the container and child table, then trace the renderer's table and parent-height handling. Done means the specified container height is honored and the child table fills it as described.

Vom Indexierungsmodell aus dem Issue-Text verfasst.

Bewertung

Tech-Stack
csharp
Bereich
desktop
Issue-Typ
Bug
Schwierigkeit
4/5
Geschätzter Aufwand
3-5 Tage
Aktivitätsstatus
Veraltet
Klarheit
Größtenteils klar
Anfängerfreundlichkeit
35/100

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.