Closed Bug 1015128 Opened 10 years ago Closed 10 years ago

Textarea doesn't redraw properly when adding a newline to break a line (with RTL text in sibling element)

Categories

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

29 Branch
defect

Tracking

()

RESOLVED FIXED
mozilla33

People

(Reporter: MatsPalmgren_bugz, Assigned: smontagu)

References

Details

(Keywords: perf, rtl, testcase)

Attachments

(1 file, 1 obsolete file)

Backout the wallpaper in bug 1007067 and fix it properly.
Flags: in-testsuite?
Assignee: nobody → smontagu
Mats, have you had any success in making automated tests for bugs like this? I tried in the past with mochitests using snapshotWindow, and was never able to capture the problem.
Flags: needinfo?(matspal)
This was pretty straightforward to test actually.  I've attached a reftest
in bug 1007067.  But yeah, I think some invalidation bugs and such are
impossible to test with the reftest framework.  I imagine we would need to
take native screenshots to capture such bugs.
Flags: needinfo?(matspal)
Attached file Patch (obsolete) —
I want to check this doesn't regress performance before asking review (I suspect that with one fix and another we may have lost all the gains from bug 646359 by now)
There doesn't seem to be any measurable performance regression from this
Attachment #8430562 - Attachment is obsolete: true
Attachment #8436866 - Flags: review?(matspal)
Comment on attachment 8436866 [details] [diff] [review]
Patch including backout

Nit: please end the sentence in the comments with a full stop.
Attachment #8436866 - Flags: review?(matspal) → review+
(FTR: a reftest was added in bug 1007067)
Flags: in-testsuite? → in-testsuite+
https://hg.mozilla.org/mozilla-central/rev/e5616a2e176c
Status: NEW → RESOLVED
Closed: 10 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla33
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: