Closed Bug 1906395 Opened 1 year ago Closed 1 year ago

Switch Servo to Gecko's alignment style representations

Categories

(Core :: CSS Parsing and Computation, task)

task

Tracking

()

RESOLVED FIXED
130 Branch
Tracking Status
firefox130 --- fixed

People

(Reporter: nico, Assigned: nico)

References

(Blocks 1 open bug)

Details

Attachments

(4 files)

Stylo currently contains source code for a separate (conditionally compiled) representation of the alignment styles ({align,justify}-{content,items,self}). This bug tracks removing that implementation in favour of Servo reusing Gecko's implementation.

This work is being upstreamed from https://github.com/servo/stylo/pull/47/commits

This functionality should be implemented in layout, which it
now is.

Assignee: nobody → nico
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true

A couple of tiny helper method to make accessing the AlignFlag values easier in Servo

Blocks: 1886376
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/16d315f26810 Remove adjust_for_alignment function (r=emilio) https://hg.mozilla.org/integration/autoland/rev/d589c5cc511a AlignFlags: Add flags method. Make value method public. (r=emilio) https://hg.mozilla.org/integration/autoland/rev/a7f111e9f518 Switch Servo to use Gecko's alignment style implementations. (r=emilio) https://hg.mozilla.org/integration/autoland/rev/427673ed0ce8 servo: unpreference alignment styles. r=emilio
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: