Sync servo stuff.
Categories
(Core :: CSS Parsing and Computation, defect)
Tracking
()
Tracking | Status | |
---|---|---|
firefox79 | --- | fixed |
People
(Reporter: emilio, Assigned: emilio)
Details
Attachments
(19 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 | |
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 |
Assignee | ||
Comment 1•7 months ago
|
||
Assignee | ||
Comment 2•7 months ago
|
||
Depends on D80231
Assignee | ||
Comment 3•7 months ago
|
||
Instead of recalculating the animation style every tick of an animation,
cache the computed values when animations change. In addition to being
more efficient, this will allow us to return animation rules as property
declarations because we don't need to consult the final style to produce
them.
Depends on D80232
Assignee | ||
Comment 4•7 months ago
|
||
This begins to address #26625 by properly applying CSS variables during
keyframe computation and no longer using apply_declarations
. Instead,
walk the declarations, combining them into IntermediateComputedKeyframe,
maintaining declarations that modify CSS custom properties. Then compute
a set of AnimationValues for each keyframe and use those to produce
interpolated animation values.
Depends on D80233
Assignee | ||
Comment 5•7 months ago
|
||
Instead of applying animations and transitions to styled elements,
include them in the cascade. This allows them to interact properly with
things like font-size and !important rules.
Depends on D80234
Assignee | ||
Comment 6•7 months ago
|
||
Depends on D80235
Assignee | ||
Comment 7•7 months ago
|
||
When animations and transitions change don't always re-resolve node
style, just replace the animation and transition rules and re-cascade.
Depends on D80236
Assignee | ||
Comment 8•7 months ago
|
||
Depends on D80237
Assignee | ||
Comment 9•7 months ago
|
||
Depends on D80238
Assignee | ||
Comment 10•7 months ago
|
||
Depends on D80239
Assignee | ||
Comment 11•7 months ago
|
||
Depends on D80240
Assignee | ||
Comment 12•7 months ago
|
||
This will be used in order to hold animations for pseudo elements in the
DocumentAnimationSet. Also no longer store the OpaqueNode in the
animation and transition data structures. This is already part of the
DocumentAnimationSet key.
Depends on D80241
Assignee | ||
Comment 13•7 months ago
|
||
This change extends the DocumentAnimationSet to hold animations for
pseudo-elements. Since pseudo-elements in Servo are not in the DOM like
in Gecko, they need to be handled a bit carefully in stylo. When a
pseudo-element has an animation, recascade the style. Finally, this
change passes the pseudo-element string properly to animation events.
Fixes: #10316
Depends on D80242
Assignee | ||
Comment 14•7 months ago
|
||
These two structs are very similar, so we can combine them.
Depends on D80243
Assignee | ||
Comment 15•7 months ago
|
||
Depends on D80244
Assignee | ||
Comment 16•7 months ago
|
||
Depends on D80245
Assignee | ||
Comment 17•7 months ago
|
||
No good reason to have this IMO, and helps remove some #[cfg] blocks.
Depends on D80246
Assignee | ||
Comment 18•7 months ago
|
||
This avoids some warnings.
Depends on D80247
Assignee | ||
Comment 19•7 months ago
|
||
Depends on D80248
Comment 20•7 months ago
|
||
Pushed by ealvarez@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/d7a1aeb69518 servo: Gate layout 2020 flex implementation behind a pref. https://hg.mozilla.org/integration/autoland/rev/1743d20e0d02 Enable `order` in layout-2020. https://hg.mozilla.org/integration/autoland/rev/400228984077 servo: Cache animation computed values when animations change. https://hg.mozilla.org/integration/autoland/rev/f6e4935b184b servo: Better computation of animation keyframes. https://hg.mozilla.org/integration/autoland/rev/bdbb1eb6acf1 servo: Include animations and transitions in the cascade. https://hg.mozilla.org/integration/autoland/rev/08aa02d53ba5 servo: Enable parsing of `flex-*` properties for layout-2020. https://hg.mozilla.org/integration/autoland/rev/023935dbbdd6 servo: animations: Don't always re-resolve the node style. https://hg.mozilla.org/integration/autoland/rev/366e36da6a7a servo: Implement CanvasRenderingContext2D.font property. https://hg.mozilla.org/integration/autoland/rev/086c24ae5689 servo: Enable textAlign, textBaseline and direction attributes for canvas. https://hg.mozilla.org/integration/autoland/rev/82715114ac5b servo: Derive Serialize and Deserialize traits for font styles. https://hg.mozilla.org/integration/autoland/rev/cb3a0bb7571a servo: Implement visibility for layout_2020. https://hg.mozilla.org/integration/autoland/rev/04f8394b23bb servo: Add DocumentAnimationSet and AnimationSetKey. https://hg.mozilla.org/integration/autoland/rev/0da5430c2b2e servo: Add animation and transition support for pseudo-elements. https://hg.mozilla.org/integration/autoland/rev/e6d0a75ce395 servo: Combine AnimationAndTransitionDeclarations and AnimationRules. https://hg.mozilla.org/integration/autoland/rev/61bedf23521b Sync some comment changes from servo. https://hg.mozilla.org/integration/autoland/rev/0023edce297c Fix servo build. https://hg.mozilla.org/integration/autoland/rev/0c86a4e35a8e servo: Remove the dependency on font-kit from style. https://hg.mozilla.org/integration/autoland/rev/a3dfa01e1721 Remove some unused extern crate declarations now that style is in rust 2018. https://hg.mozilla.org/integration/autoland/rev/206011a5cc20 Fix gecko build.
Comment 21•7 months ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/d7a1aeb69518
https://hg.mozilla.org/mozilla-central/rev/1743d20e0d02
https://hg.mozilla.org/mozilla-central/rev/400228984077
https://hg.mozilla.org/mozilla-central/rev/f6e4935b184b
https://hg.mozilla.org/mozilla-central/rev/bdbb1eb6acf1
https://hg.mozilla.org/mozilla-central/rev/08aa02d53ba5
https://hg.mozilla.org/mozilla-central/rev/023935dbbdd6
https://hg.mozilla.org/mozilla-central/rev/366e36da6a7a
https://hg.mozilla.org/mozilla-central/rev/086c24ae5689
https://hg.mozilla.org/mozilla-central/rev/82715114ac5b
https://hg.mozilla.org/mozilla-central/rev/cb3a0bb7571a
https://hg.mozilla.org/mozilla-central/rev/04f8394b23bb
https://hg.mozilla.org/mozilla-central/rev/0da5430c2b2e
https://hg.mozilla.org/mozilla-central/rev/e6d0a75ce395
https://hg.mozilla.org/mozilla-central/rev/61bedf23521b
https://hg.mozilla.org/mozilla-central/rev/0023edce297c
https://hg.mozilla.org/mozilla-central/rev/0c86a4e35a8e
https://hg.mozilla.org/mozilla-central/rev/a3dfa01e1721
https://hg.mozilla.org/mozilla-central/rev/206011a5cc20
Description
•