mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Add support for position:sticky
This leverages the position:sticky support in WebRender to bring basic support for position:sticky in Servo. There are still some issues with nested sticky flows as well as a few other corner cases. Tests are imported from WPT and can be removed once we update to the latest version.
This commit is contained in:
parent
4725a05bfb
commit
bc455c8a1f
84 changed files with 5729 additions and 50 deletions
|
@ -204,8 +204,7 @@ ${helpers.single_keyword("-moz-top-layer", "none top",
|
|||
products="gecko", animation_value_type="none", internal=True,
|
||||
spec="Internal (not web-exposed)")}
|
||||
|
||||
${helpers.single_keyword("position", "static absolute relative fixed",
|
||||
extra_gecko_values="sticky",
|
||||
${helpers.single_keyword("position", "static absolute relative fixed sticky",
|
||||
animation_value_type="discrete",
|
||||
flags="CREATES_STACKING_CONTEXT ABSPOS_CB",
|
||||
spec="https://drafts.csswg.org/css-position/#position-property")}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue