Closed Bug 1271579 Opened 8 years ago Closed 8 years ago

Integrate GtkTextDirection/GtkStateFlags to ClaimStyleContext

Categories

(Core :: Widget: Gtk, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla49
Tracking Status
firefox49 --- fixed

People

(Reporter: stransky, Unassigned)

References

(Depends on 1 open bug)

Details

Attachments

(2 files)

Follow up from Bug 1234158 comment 82

It implements GtkTextDirection/GtkStateFlags as a part of ClaimStyleContext
Attached patch patchSplinter Review
I wonder if we need to set the GTK_STATE_FLAG_NORMAL state in ReleaseStyleContext(), as we do for menus when we don't call style save/restore.

IMHO we don't need that because the GTK_STATE_FLAG_NORMAL state is automatically passed to ClaimStyleContext(). It may cause problems when the style for particular widget is get from both widget and ClaimStyleContext - but that's no our case.
Attachment #8750713 - Flags: review?(karlt)
Attachment #8750713 - Flags: review?(karlt) → review+
https://hg.mozilla.org/mozilla-central/rev/3de4044b57f4
Status: NEW → RESOLVED
Closed: 8 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla49
No longer blocks: 1234158
Depends on: 1234158
Depends on: 1301194
Depends on: 1304850
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: