Closed Bug 1593642 Opened 6 years ago Closed 6 years ago

Sync servo stuff.

Categories

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

task

Tracking

()

RESOLVED FIXED
mozilla72
Tracking Status
firefox72 --- fixed

People

(Reporter: emilio, Assigned: emilio)

Details

Attachments

(10 files)

47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
47 bytes, text/x-phabricator-request
Details | Review
No description provided.

This needs a lot more hooks before it'll actually be a good
implementation, but for a start it can help get some feedback on if this
is the right way to go about it.

Part of servo/servo#4577

Servo commit: b8f3e8bb2e9

The LRUCache implementation has been replaced, and no longer requires a backing store larger than its capacity.

Rect {
    start_corner: Vec2 { i: 0.0 px, b: 0.0 px },
    size: Vec2 { i: 1024.0 px, b: 20.0 px },
}

… instead of:

Rect {
    start_corner: Vec2 {
        inline: CSSPixelLength(
            0.0,
        ),
        block: CSSPixelLength(
            0.0,
        ),
    },
    size: Vec2 {
        inline: CSSPixelLength(
            1024.0,
        ),
        block: CSSPixelLength(
            0.0,
        ),
    },
}

Servo is on a newer cssparser version.

Assignee: nobody → emilio
Priority: -- → P3
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/62a3bc7b4137 Rustfmt recent changes. https://hg.mozilla.org/integration/autoland/rev/b9f29a6dad97 servo: Remove usage of opts::get() from style. https://hg.mozilla.org/integration/autoland/rev/c8685b4f6f0a servo: 2020: paint borders. https://hg.mozilla.org/integration/autoland/rev/3b2c625c9018 servo: 2020: parse `display: contents`. https://hg.mozilla.org/integration/autoland/rev/584249c337ab servo: Add simple implementation of content-security-policy on scripts / styles. https://hg.mozilla.org/integration/autoland/rev/0c22ff31f55b Remove obsolete logic for LRUCache size. https://hg.mozilla.org/integration/autoland/rev/05767a01cd42 More compact debug output for CSS values. https://hg.mozilla.org/integration/autoland/rev/f42af586cb9b servo: 2020: enable CSS parsing of properties that are (somewhat) implemented https://hg.mozilla.org/integration/autoland/rev/4d8362351723 Add a few commas that newer macros need. https://hg.mozilla.org/integration/autoland/rev/0dbda33a1347 servo: Fix Servo build.
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: