Open Bug 1838684 Opened 2 years ago

Custom Highlights add an extra whitespace on line breaks

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: jjaschke, Unassigned)

References

(Blocks 1 open bug)

Details

Result can be seen in this WPT. When a highlight contains a line break, an additional whitespace is painted in highlight colors.

The reason is that highlights are implemented using the selection mechanism. For Selections the whitespace before a line break is intended.

For now I see this as a minor issue and I don't think there's too much need to fix this. This may change once webapps report this as a bigger issue.

You need to log in before you can comment on or make changes to this bug.