Open Bug 1263792 Opened 9 years ago Updated 2 years ago

Text frames with writing-mode: sideways-lr have doubled vertical overflow area

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

People

(Reporter: xidorn, Unassigned)

References

(Blocks 1 open bug)

Details

Attachments

(3 files, 1 obsolete file)

It seems sideways-lr text frames have a larger than normal overflow area. This additional area has the same size as the overflow area the text frame should have normally. This additional overflow area doesn't cause any observable rendering difference, so it is probably not a big deal, but we probably want to fix it at some point.
Attached patch patch for showing the overflow area (obsolete) (deleted) — Splinter Review
This patch adds code to text frame painting to render a translucent red rect covering the overflow area.
Attachment #8740222 - Attachment is obsolete: true
Attached file testcase (deleted) —
This is the testcase file for comparing the visual overflow area.
Attached image screenshot (deleted) —
Screenshot of the testcase page with a patched build.
FWIW, you can see this without needing a special patched build, if you just enable nglayout.debug.paint_flashing and then watch what gets repainted when selecting text in your testcase, for example.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: