Closed Bug 1507050 Opened 7 years ago Closed 7 years ago

store MediaFeatureDescription references as an index into the MEDIA_FEATURES array

Categories

(Core :: CSS Parsing and Computation, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla65
Tracking Status
firefox65 --- fixed

People

(Reporter: heycam, Assigned: heycam)

References

Details

Attachments

(1 file)

The current use of a static reference is incompatible with sharing style sheet data across processes. I figure just storing a usize is simpler than coming up with an enum to represent each kind of media feature, especially since the usize isn't exposed out of MediaFeatureExpression.
The current use of a static reference is incompatible with sharing style sheet data across processes.
Pushed by cmccormack@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/3c32668ebbbe Store MediaFeatureDescription references as an index into the MEDIA_FEATURES array r=emilio
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla65
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: