Open Bug 1479213 Opened 8 years ago Updated 3 years ago

It takes long period to finish rendering when layout.css.control-characters.visible = true

Categories

(Core :: Graphics: Text, defect, P3)

defect

Tracking

()

People

(Reporter: alice0775, Unassigned)

References

Details

(Keywords: perf, Whiteboard: [gfx-noted])

Attachments

(2 files)

Attached file em.html —
This is only nightly build for now. Because the preference is default true on nightly build, but false on release build(62beta and earlier). Steps to reproduce: 1. set layout.css.control-characters.visible = true in about:config (default on nightly, but not on release build) 2. Open attached html Actual Results: It takes long period to finish rendering. And unresponsive ui for a while Expected Results Not so. And UI should not locked
Render almost instantly if you specify correct encoding.
See Also: → 1479196
Drawing the missing-glyph hexboxes is relatively expensive, compared to drawing actual glyphs, and so a page that has huge numbers of them (usually due to encoding errors) gets slow to paint. Maybe we should create a "hexbox font" instead of using raw drawing calls to render these.
Component: Layout: Text → Graphics: Text
Priority: -- → P3
Whiteboard: [gfx-noted]
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: