Skip to content

side-by-side diff is broken in Firefox #475

@kuzjka

Description

@kuzjka

Environment

  • OS: Windows 10
  • Browser: Firefox 108.0.2 (64-bit)
  • diff2html version: 3.4.24
  • Using diff2html directly or using diff2html-ui helper: directly

Observed with any diff in side-by-side view

Observed Results:

Side-by-side is rendered wrongly, see screenshot from the demo below:

image

Expected Results:

Side-by-side diff is rendered side-by-side :)

Relevant Code:

After reloading demo page 5 minutes later the issue was gone. I found following differences in the CSS:
image
left is buggy, right is ok

Looks like the diff2html version on the demo page was changed.

I encountered the issue in my project after migrating from 3.4.17 to 3.4.24, so the issue was introduced somewhere in between.

Sorry for the bitmaps. I can construct specific reproducible example if needed.

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