Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Strict import formatting (grouping and granularity) (#30325) | Samson | 2023-09-11 | 1 | -3/+5 |
| | | | | | * strict imports formatting * Reformat all imports | ||||
* | Implement concept of dirty root | Anthony Ramine | 2020-05-19 | 1 | -2/+8 |
| | |||||
* | Replace OpaqueStyleAndLayoutData by StyleAndOpaqueLayoutData | Anthony Ramine | 2020-04-06 | 1 | -7/+10 |
| | |||||
* | Rename a bunch of style/layout data items | Anthony Ramine | 2020-04-06 | 1 | -11/+13 |
| | | | | | | | | | | | | | GetLayoutData::get_style_and_layout_data becomes GetOpaqueStyleAndLayoutData::get_opaque_style_and_layout_data. GetRawData::get_raw_data becomes GetStyleAndLayoutData::get_style_and_layout_data. LayoutNode::init_style_and_layout_data becomes LayoutNode::init_opaque_style_and_layout_data. LayoutNode::take_style_and_layout_data becomes LayoutNode::take_opaque_style_and_layout_data. | ||||
* | Make DOM own the style and layout data, in an UnsafeCell | Anthony Ramine | 2020-04-04 | 1 | -15/+13 |
| | | | | The previous Cell was a lie. | ||||
* | Make OpaqueLayoutAndStyleData just a bit less opaque | Anthony Ramine | 2020-04-04 | 1 | -9/+7 |
| | | | | It now stores a NonNull<dyn Any>. | ||||
* | Make LayoutNodeHelpers::text_content return a cow | Anthony Ramine | 2020-03-31 | 1 | -1/+1 |
| | |||||
* | Add a 'dom lifetime to GetLayoutData | Anthony Ramine | 2020-03-26 | 1 | -3/+12 |
| | |||||
* | Rustfmt has changed its default style :/ | Simon Sapin | 2018-12-28 | 1 | -1/+1 |
| | |||||
* | Update MPL license to https (part 4) | Jan Andre Ikenmeyer | 2018-11-19 | 1 | -1/+1 |
| | |||||
* | Reorder imports | Pyfisch | 2018-11-06 | 1 | -1/+1 |
| | |||||
* | `cargo fix --edition` | Simon Sapin | 2018-11-06 | 1 | -2/+2 |
| | |||||
* | Rustfmt layout crate | Pyfisch | 2018-09-01 | 1 | -9/+12 |
| | |||||
* | Fix Servo build. | Emilio Cobos Álvarez | 2018-05-19 | 1 | -6/+7 |
| | |||||
* | style: Move content property out of mako. | Igor Gutorov | 2018-02-07 | 1 | -5/+5 |
| | |||||
* | Replace NonZero<*{const,mut} _> with std::ptr::NonNull | Simon Sapin | 2018-01-22 | 1 | -1/+1 |
| | |||||
* | layout: Fixup indentation of ThreadSafeLayoutNodeHelpers::flags. | Emilio Cobos Álvarez | 2017-11-10 | 1 | -1/+1 |
| | | | | Signed-off-by: Emilio Cobos Álvarez <emilio@crisal.io> | ||||
* | Bump bitflags to 1.0 in every servo crate | Bastien Orivel | 2017-10-30 | 1 | -1/+1 |
| | |||||
* | Backed out changeset e64e659c077d: servo PR #18809 and revendor for reftest ↵ | Gecko Backout | 2017-10-19 | 1 | -1/+1 |
| | | | | | | failures, e.g. in layout/reftests/bugs/392435-1.html. r=backout on a CLOSED TREE Backs out https://github.com/servo/servo/pull/18809 | ||||
* | Update bitflags to 1.0 in every servo crate | Bastien Orivel | 2017-10-19 | 1 | -1/+1 |
| | | | | | It still needs dependencies update to remove all the other bitflags versions. | ||||
* | Rename LayoutJS<T> to LayoutDom<T> | Anthony Ramine | 2017-09-26 | 1 | -1/+1 |
| | |||||
* | Eliminate RestyleData entirely. | Bobby Holley | 2017-09-12 | 1 | -1/+1 |
| | | | | | | Without this change, the previous commit increases the size of ElementData. MozReview-Commit-ID: 87BZuXINiT9 | ||||
* | script: Move the layout_wrapper outside of script. | Emilio Cobos Álvarez | 2017-07-15 | 1 | -33/+1 |
| | | | | | | | | This allows us to have ensure_data() and clear_data() functions on the TElement trait, instead of hacking around it adding methods in random traits. This also allows us to do some further cleanup, which I'd rather do in a followup. | ||||
* | style: Inline RestyleData. | Emilio Cobos Álvarez | 2017-06-16 | 1 | -8/+3 |
| | | | | | Bug: 1368236 MozReview-Commit-ID: 49s3SO0PMHf | ||||
* | layout: Stop doing unsafe transmutes between refcell references. | Emilio Cobos Álvarez | 2017-05-25 | 1 | -34/+36 |
| | | | | | | | | | This commit splits the style and layout data in two separate refcells. These transmutes have been a source of trouble (for example on Android), and they feel like a hack anyway. Fixes #16982 | ||||
* | Parse -moz-alt-content as a whole content value (fixes #15726) | Anthony Ramine | 2017-05-22 | 1 | -1/+1 |
| | |||||
* | Upgrade to rustc 1.19.0-nightly (ced823e26 2017-05-07) | Simon Sapin | 2017-05-08 | 1 | -2/+2 |
| | |||||
* | Bug 1325734 - Simplify ElementData and eliminate the concept of consuming ↵ | Bobby Holley | 2017-01-09 | 1 | -1/+1 |
| | | | | styles. r=emilio | ||||
* | Bug 1325734 - Remove Servo Layout's dependency on the initial-ness of the ↵ | Bobby Holley | 2017-01-09 | 1 | -0/+39 |
| | | | | style. r=emilio | ||||
* | Switch to crates.io for atomic_refcell. | Bobby Holley | 2017-01-03 | 1 | -1/+1 |
| | |||||
* | Bug 1317016 - Basic infrastructure for RestyleHint-driven traversal. | Bobby Holley | 2016-11-24 | 1 | -5/+0 |
| | | | | MozReview-Commit-ID: 7wH5XcILVmX | ||||
* | Drop style data from descendants on display:none. | Bobby Holley | 2016-11-01 | 1 | -0/+13 |
| | | | | MozReview-Commit-ID: 8ls43oAGWRg | ||||
* | Replace begin_styling with a centralized mechanism to set a node up for ↵ | Bobby Holley | 2016-11-01 | 1 | -11/+21 |
| | | | | | | | | | either styling or restyling. We also make sure that an element never has an ElementData with ElementDataStyles::Uninitialized, and eagerly call prepare_for_styling whenever an ElementData is instantiated. MozReview-Commit-ID: 9YP6eSmdMt0 | ||||
* | Rename NodeData and associated data structures to Element*. | Bobby Holley | 2016-10-29 | 1 | -1/+1 |
| | | | | MozReview-Commit-ID: 96VsmsoZtjZ | ||||
* | Hoist most styling functionality from TNode to TElement. | Bobby Holley | 2016-10-29 | 1 | -20/+18 |
| | | | | MozReview-Commit-ID: DZ8ZrsZIiAU | ||||
* | Move core pseudo-element handling to ThreadSafeLayoutElement. | Bobby Holley | 2016-10-28 | 1 | -44/+14 |
| | |||||
* | Rearrange some data structures in preparation for the new incremental ↵ | Bobby Holley | 2016-10-21 | 1 | -1/+1 |
| | | | | | | restyle algorithm. MozReview-Commit-ID: 8iOALQylOuK | ||||
* | Remove borrow_data and mutate_data from TNode. | Bobby Holley | 2016-10-10 | 1 | -1/+1 |
| | | | | | The new restyle architecture doesn't store these things in consistent places, so we need a more abstract API. | ||||
* | Rename PrivateStyleData to PersistentStyleData and use AtomicRefCell instead ↵ | Bobby Holley | 2016-10-02 | 1 | -37/+18 |
| | | | | | | | | of RefCell as a container. This allows us to eliminate the unsafe borrows. \o/ MozReview-Commit-ID: 29hpGaWUFQz | ||||
* | Reorder `use` statements | UK992 | 2016-09-09 | 1 | -1/+1 |
| | |||||
* | Remove the ComputedValue traits and style_struct_traits | Simon Sapin | 2016-07-20 | 1 | -1/+0 |
| | |||||
* | Use our copy of RefCell for style data. | Simon Sapin | 2016-06-23 | 1 | -1/+1 |
| | | | | | This allows removing `#![feature(as_unsafe_cell)]` in geckolib and make progress towards #11815. | ||||
* | Remove the layout_wrapper re-exports from layout::wrapper. | Ms2ger | 2016-06-20 | 1 | -2/+0 |
| | |||||
* | Move ServoLayoutNode and related structs to script. | Ms2ger | 2016-06-20 | 1 | -965/+5 |
| | |||||
* | Make ServoLayoutNode::debug_id() less convoluted. | Ms2ger | 2016-06-20 | 1 | -2/+1 |
| | |||||
* | Introduce LayoutJS<Node>::opaque() to replace ↵ | Ms2ger | 2016-06-20 | 1 | -2/+2 |
| | | | | OpaqueNodeMethods::from_jsmanaged(). | ||||
* | Move LayoutNode and related traits to script_layout_interface. | Ms2ger | 2016-06-20 | 1 | -348/+3 |
| | |||||
* | Move HTMLCanvasData to script_layout_interface. | Ms2ger | 2016-06-20 | 1 | -2/+2 |
| | |||||
* | Introduce LayoutNodeType and LayoutElementType enums. | Ms2ger | 2016-06-20 | 1 | -17/+22 |
| | |||||
* | Introduce a ThreadSafeLayoutNodeHelpers trait for methods to stay in layout. | Ms2ger | 2016-06-20 | 1 | -86/+93 |
| |