Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | layout: Implement ordered lists, CSS counters, and `quotes` per CSS 2.1 | Patrick Walton | 2015-03-09 | 1 | -0/+8 |
| | | | | | | | | | | | | | | § 12.3-12.5. Only simple alphabetic and numeric counter styles are supported. (This is most of them though.) Although this PR adds a sequential pass to layout, I verified that on pages that contain a reasonable number of ordered lists (Reddit `/r/rust`), the time spent in generated content resolution is dwarfed by the time spent in the parallelizable parts of layout. So I don't expect this to negatively affect our parallelism expect perhaps in pathological cases. | ||||
* | Get rid of servo_util | Dan Fox | 2015-03-05 | 1 | -10/+10 |
| | |||||
* | Merge in servo/master | Dan Fox | 2015-03-05 | 1 | -4/+8 |
|\ | |||||
| * | Remove compositor layers when iframes are removed from doc or display:none. | Glenn Watson | 2015-03-04 | 1 | -4/+8 |
| | | |||||
* | | layout/layout_data.rs -> layout/data.rs | Dan Fox | 2015-03-03 | 1 | -1/+1 |
| | | |||||
* | | Re-alphabetise imports | Dan Fox | 2015-03-03 | 1 | -3/+3 |
| | | |||||
* | | Rename util.rs -> layout_data.rs | Dan Fox | 2015-03-03 | 1 | -1/+1 |
| | | |||||
* | | Move ToGfxColor to display_list_builder.rs | Dan Fox | 2015-03-03 | 1 | -1/+2 |
| | | |||||
* | | Extract OpaqueNodeMethods to own file | Dan Fox | 2015-03-03 | 1 | -1/+2 |
|/ | |||||
* | Reap layout data whenever a node is removed from the tree. | Glenn Watson | 2015-03-03 | 1 | -6/+5 |
| | | | | | | Also introduce a clear() function to layout data which will be used to clear items such as compositor layouts. Clear the layout data when a node becomes display:none. | ||||
* | Implements a DisplayList dumper. | Adenilson Cavalcanti | 2015-02-25 | 1 | -0/+6 |
| | | | | | | | | | | | | This patch will iterate through the DisplayList after the reflow is done and print its elements (as also any sub-lists associated to a child node stacking context). It adds a new CLI parameter to trigger the function to dump the display list to console (i.e. servo --debug dump-display-list url). Using both display list and flow tree information is helpful to debug rendering issues. | ||||
* | Fixes background-color calculation for iframes. Fixes #1248 | Glenn Watson | 2015-02-16 | 1 | -1/+11 |
| | |||||
* | Import net as net rather than servo_net. | Ms2ger | 2015-02-10 | 1 | -3/+3 |
| | |||||
* | Import msg as msg rather than servo_msg. | Ms2ger | 2015-02-10 | 1 | -3/+3 |
| | |||||
* | Opt-in rather than opt-out to unsafe blocks in layout. | Ms2ger | 2015-02-08 | 1 | -0/+2 |
| | |||||
* | Using the new equality operator in LayoutTask. | Adenilson Cavalcanti | 2015-02-03 | 1 | -3/+1 |
| | |||||
* | Using the new transparent_black() in the proper places. | Adenilson Cavalcanti | 2015-02-03 | 1 | -1/+1 |
| | |||||
* | Revert "Using Color equality operators to streamline code" | Martin Robinson | 2015-02-03 | 1 | -1/+4 |
| | |||||
* | Merge pull request #4825 from Adenilson/usingColorOperators01 | Martin Robinson | 2015-02-03 | 1 | -4/+1 |
|\ | | | | | Using Color equality operators to streamline code | ||||
| * | Using Color equality operators to streamline code in | Adenilson Cavalcanti | 2015-02-03 | 1 | -4/+1 |
| | | | | | | | | PaintContext and LayoutTask. | ||||
* | | add `unwrap` to `send/recv` calls | Alexandru Cojocaru | 2015-02-03 | 1 | -6/+6 |
|/ | |||||
* | Implements 2 helper functions for Color type (white() and black()) | Adenilson Cavalcanti | 2015-02-02 | 1 | -4/+7 |
| | | | | and uses it in layout_task.rs. | ||||
* | Add LayoutJS<Node>::from_trusted_node_address() | Tetsuharu OHZEKI | 2015-02-01 | 1 | -2/+2 |
| | |||||
* | Use LayoutJS<T> in layout crate. | Tetsuharu OHZEKI | 2015-02-01 | 1 | -3/+3 |
| | |||||
* | End the libstyle 'pub use' madness. | Simon Sapin | 2015-01-30 | 1 | -3/+5 |
| | |||||
* | self import | Manish Goregaokar | 2015-01-28 | 1 | -2/+2 |
| | |||||
* | Update rustc to 00b112c45a604fa6f4b59af2a40c9deeadfdb7c6/rustc-1.0.0-dev. | Josh Matthews | 2015-01-28 | 1 | -30/+30 |
| | |||||
* | Make UntrustedNodeAddress a newtype. | Josh Matthews | 2015-01-24 | 1 | -1/+1 |
| | | | | This will allow us to make it Send after the Rust upgrade. | ||||
* | Stop calling deref() and deref_mut() explicitly. | Ms2ger | 2015-01-22 | 1 | -15/+14 |
| | |||||
* | Move to to_owned rather than into_string. | Ms2ger | 2015-01-20 | 1 | -1/+2 |
| | | | | into_string has been removed from Rust. | ||||
* | layout: Implement `mix-blend-mode` per COMPOSITING § 3.4.1. | Patrick Walton | 2015-01-12 | 1 | -1/+2 |
| | | | | | `background-blend-mode` is not yet supported because we don't support multiple backgrounds yet. | ||||
* | layout: Implement `filter` per CSS-FILTERS § 5. | Patrick Walton | 2015-01-09 | 1 | -5/+5 |
| | | | | | | `blur` and `drop-shadow` are not yet supported, because the `text-shadow` PR makes some fundamental changes to blur rendering that are needed first. | ||||
* | layout: Implement `pointer-events: none` per SVG 1.1 § 16.6. | Patrick Walton | 2015-01-08 | 1 | -1/+1 |
| | | | | SVG-only values are not yet supported. | ||||
* | Update rustc to revision 2cfb5acb5a2751c759627377e602bac4f88f2d19. | Ms2ger | 2015-01-08 | 1 | -14/+15 |
| | |||||
* | Remove the unused native argument from spawn_named_with_send_on_failure. | Ms2ger | 2015-01-05 | 1 | -1/+1 |
| | |||||
* | layout: Explicitly thread border box dimensions and relative offsets | Patrick Walton | 2015-01-04 | 1 | -21/+21 |
| | | | | | | | | | | through display list building. The old `flow_origin` concept was ill-defined (sometimes the border box plus the flow origin, sometimes including horizontal margins and sometimes not, sometimes including relative position and sometimes not), leading to brittleness and test failures. This commit reworks the logic to always pass border box origins in during display list building. | ||||
* | layout: Paint stacking contexts' overflow areas properly. | Patrick Walton | 2015-01-04 | 1 | -16/+17 |
| | | | | | This was making `box-shadow` not show up in many cases, in particular, but the effects were not limited to that. | ||||
* | auto merge of #4542 : servo/servo/pre-rustup_20141221, r=saneyuki | bors-servo | 2015-01-04 | 1 | -16/+18 |
|\ | | | | | | | In particular, this contains changes to qualify enums where rust will require it, and to stop using some features that will be removed. | ||||
| * | Rename the ConstellationControlMsg variants. | Ms2ger | 2015-01-04 | 1 | -3/+3 |
| | | |||||
| * | Rename TimeProfilerCategory variants. | Ms2ger | 2015-01-04 | 1 | -6/+6 |
| | | |||||
| * | Rename constellation_msg::Msg variants. | Ms2ger | 2015-01-04 | 1 | -4/+5 |
| | | |||||
| * | Rename paint_task::Msg variants. | Ms2ger | 2015-01-04 | 1 | -3/+4 |
| | | |||||
* | | auto merge of #4495 : MeghaGupta/servo/typeid, r=Ms2ger | bors-servo | 2015-01-04 | 1 | -2/+3 |
|\ \ | |/ |/| | |||||
| * | Add HTMLElementTypeId enum (fixes #3625) | Megha Gupta | 2015-01-02 | 1 | -2/+3 |
| | | |||||
* | | auto merge of #4535 : servo/servo/pre-rustup_20141221, r=jdm | bors-servo | 2015-01-03 | 1 | -1/+1 |
|\ \ | | | | | | | | | | This prepares for the rust upgrade currently being conducted. | ||||
| * | | Fix obsolete format traits. | Ms2ger | 2015-01-02 | 1 | -1/+1 |
| |/ | | | | | | | They are to be removed from the language in the next rust upgrade. | ||||
* / | Stall PaintTask exit until it can release all buffers | Martin Robinson | 2015-01-02 | 1 | -10/+12 |
|/ | | | | | | | | | | | | | | | | | It is possible for a PaintTask to start exiting soon after sending new buffers to the compositor. In that case, the compositor should return the now unnecessary buffers to the PaintTask so that it can properly free them. To accomplish this, the compositor now keeps a hash map of paint task channels per pipeline id. When a PaintTask exists, the constellation informs the compositor that it can forget about it. Additionally, the PaintTask should not wait for any buffers when the engine is doing a complete shutdown. In that case, the compositor is already halted and has simply let all buffers leak. We pipe through the shutdown type when destroying the pipeline to make this decision. Fixes #2641. | ||||
* | layout: to_string() -> into_string() | Manish Goregaokar | 2014-12-27 | 1 | -1/+1 |
| | |||||
* | gfx: Clip the background properly when `border-radius` is used. | Patrick Walton | 2014-12-22 | 1 | -2/+4 |
| | | | | Improves Reddit, GitHub, etc. | ||||
* | gfx: Refactor the border drawing code and split out fragment display | Patrick Walton | 2014-12-22 | 1 | -2/+1 |
| | | | | | | list building into multiple functions. This should have no functional changes; it's just code cleanup. |