Move the placeholder visibility logic to nsTextEditorState

RESOLVED FIXED in mozilla19

Status

()

Core
DOM: Core & HTML
RESOLVED FIXED
6 years ago
6 years ago

People

(Reporter: mounir, Assigned: mounir)

Tracking

Trunk
mozilla19
Points:
---
Dependency tree / graph
Bug Flags:
in-testsuite -

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(1 attachment)

(Assignee)

Description

6 years ago
Created attachment 679317 [details] [diff] [review]
Patch

It would make stuff like bug 807613 and more generally, increase readability with nearly no perf hit. The only perf hit is when we re-frame an <input> that had an editor. In that case, we could use the value passed in ::UpdateDisplayValue() but we don't.
Attachment #679317 - Flags: review?(ehsan)
(Assignee)

Updated

6 years ago
Blocks: 809585
Attachment #679317 - Flags: review?(ehsan) → review+
(Assignee)

Updated

6 years ago
Target Milestone: --- → mozilla19
https://hg.mozilla.org/mozilla-central/rev/9d46cc58dc1a
Status: NEW → RESOLVED
Last Resolved: 6 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.