Closed Bug 1253919 Opened 8 years ago Closed 7 years ago

enable support for logical keywords (inline-start, inline-end) for 'float' and 'clear' properties


(Core :: CSS Parsing and Computation, defect)

Not set



Tracking Status
firefox55 --- fixed


(Reporter: jfkthame, Assigned: jfkthame)


(Blocks 1 open bug)


(Keywords: dev-doc-complete)


(1 file)

In bug 1122918, we implemented these keywords, but they're preffed off for release channels (except on B2G) because it wasn't clear how stable the spec is... in particular, should the values be 'inline-start' and 'inline-end' or simply 'start' and 'end'?

Attempts to ask the CSSWG for clarification led to extensive discussion, but I don't recall a clear resolution emerging. Both [1] and [2] currently have the 'inline-*' forms, matching what we landed in bug 1122918, but it's also still flagged as an open issue in [1].

Elika (as one of the editors of logical-props), do you have any sense of where this stands?
Flags: needinfo?(fantasai.bugs)
Discussed a little at this week's CSS WG teleconference, but will try to revisit more seriously next week.
See Also: → 1289155
Since I've landed few patches to Firefox that use these keywords, and there doesn't seems to be any progress in the last half a year, is there any progress? If not, is it possible to implement this as a prefixed -moz- keywords even if restricted to the browser chrome?
The CSS WG just made a decision on this, noted at

The spec[1] will no doubt be updated soon to resolve the open issue, and as this decision matches what we implemented, I think we can now move forward with shipping these values across all channels.

This just makes the pref default to enabled everywhere; once we've done this, assuming nothing unexpectedly breaks, we can follow up fairly soon with a patch to remove the pref completely.
Attachment #8860346 - Flags: review?(dbaron)
Assignee: nobody → jfkthame
Blocks: 1358450
Filed bug 1358450 about removing the pref. By keeping this bug to the minimal pref-flipping patch, rather than the actual code removal, perhaps we can even consider uplifting it to ship sooner, so that front-end code will be free to start using these values (as per comment 3).
Flags: needinfo?(fantasai.bugs)
Attachment #8860346 - Flags: review?(dbaron) → review+
Bug 1253919 - Enable support for the logical values of CSS 'float' and 'clear' properties for all channels. r=dbaron
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla55
Blocks: 1358012
I've updated the browser supporting information on the ref pages:

Removed the entry from the experimental features page:

And added an entry to the Fx55 release notes:

I think that covers it; let me know if you think anything else is needed. Thanks!
You need to log in before you can comment on or make changes to this bug.