servo/components/layout
Emilio Cobos Álvarez cb3da24f08
style: layout: Get actual keyframes working!
There are a few shortcomings, for example:

 * We don't do the same as other browsers when some properties are not specified
   in some of the keyframes, though this is easy to work out (though a bit more
   expensive in the sense that we should apply all the previous keyframes' style
   instead of just the previous and the next.

 * To trigger the initial animation, a restyle is necessary. Should be easy to
   do an initial restyle off-hand or something like that, but for now this is
   worked-around adding a :hover rule to the node.

   Also, the animation is resetted when the node is hovered. That's a bug, but
   is probably not so difficult to test.

 * A few things, mainly animation-direction, are not supported yet, but
   shouldn't be that hard to support.

Still a lot of work to do, but I think this approach might be ok.
2016-06-28 15:09:53 +00:00
..
animation.rs style: layout: Get actual keyframes working! 2016-06-28 15:09:53 +00:00
block.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
Cargo.toml Update Rust to 1.11.0-nightly (ad7fe6521 2016-06-23) 2016-06-27 14:13:44 +02:00
construct.rs Move is_image_data to script_layout_interface. 2016-06-20 19:08:11 +02:00
context.rs Remove SharedLayoutContext::url. 2016-05-31 14:47:17 +02:00
data.rs Introduce a script_layout_interface crate and move RestyleDamage to it. 2016-06-20 19:02:36 +02:00
display_list_builder.rs Remove REPAINT damage in Fragment::build_display_list 2016-06-20 13:39:36 -07:00
flex.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
floats.rs layout: Take margins in the inline direction into account when 2016-05-10 17:11:28 -07:00
flow.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
flow_list.rs Added DoubleEndedIterator for MutFlowListIterator 2016-06-17 14:57:41 +01:00
flow_ref.rs Correct the signature of flow_ref::deref_mut. 2016-06-06 15:14:23 +02:00
fragment.rs Move LayoutNode and related traits to script_layout_interface. 2016-06-20 19:07:54 +02:00
generated_content.rs Move LayoutNode and related traits to script_layout_interface. 2016-06-20 19:07:54 +02:00
incremental.rs Introduce a script_layout_interface crate and move RestyleDamage to it. 2016-06-20 19:02:36 +02:00
inline.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
layout_debug.rs Fragment debug_id u16 only exists in debug, prod will format mem address 2016-06-04 19:19:42 +02:00
lib.rs Use our copy of RefCell for style data. 2016-06-23 16:13:49 +02:00
list_item.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
model.rs Add support for vertical alignment within table cells. 2016-04-20 14:40:02 -07:00
multicol.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
opaque_node.rs Introduce LayoutJS<Node>::opaque() to replace OpaqueNodeMethods::from_jsmanaged(). 2016-06-20 19:08:02 +02:00
parallel.rs Store SharedStyleContext in AssignISizes. 2016-06-22 15:02:06 +02:00
persistent_list.rs Move util::persistent_list to layout 2016-02-20 19:20:38 +01:00
query.rs Merge AuExtensionMethods and LocalToCss. 2016-06-23 15:39:56 +02:00
sequential.rs Store SharedStyleContext in AssignISizes. 2016-06-22 15:02:06 +02:00
table.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
table_caption.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
table_cell.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
table_colgroup.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
table_row.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
table_rowgroup.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
table_wrapper.rs Pass SharedStyleContext to assign_inline_sizes. 2016-06-22 14:50:04 +02:00
text.rs Alignment is wrong. 2016-06-18 11:49:38 -07:00
traversal.rs Make the STYLE_BLOOM global private. 2016-06-23 13:52:26 +02:00
webrender_helpers.rs script: Keep the DOM-side viewport up to date when scrolling happens in 2016-05-31 14:12:51 -07:00
wrapper.rs Use our copy of RefCell for style data. 2016-06-23 16:13:49 +02:00