servo/components/script
J. Ryan Stinnett 2b5c56e6a8 Move match and cascade temporaries to CurrentElementInfo
Before this change, the `ComputedStyle` struct that is part of permanent style
data per element holds 2 `StrongRuleNode`s (unvisited and visited) and 2
`Arc<ComputedValues>` (unvisited and visited).

Both rule nodes and the visited values don't actually need to be here.  This
patch moves these 3 to new temporary storage in `CascadeInputs` on
`CurrentElementInfo` during the match and cascade process.  Rule nodes are
pushed down inside the `ComputedValues` for later access after the cascade.
(Visited values were already available there.)

The permanent style data per element now has just the `Arc<ComputedValues>` for
itself and eager pseudo-elements (plus the `RestyleHint`).

MozReview-Commit-ID: 3wq52ERMpdi
2017-06-22 15:47:32 -05:00
..
docs Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
dom Auto merge of #17457 - cynicaldevil:trim-parse-node-data, r=nox 2017-06-22 09:09:07 -07:00
task_source Added Debug implementations. 2017-06-13 10:46:59 -05:00
body.rs Untry script 2017-06-18 13:21:49 +02:00
build.rs
Cargo.toml Upgrade cssparser to 0.15 2017-06-16 15:05:46 +02:00
clipboard_provider.rs
CMakeLists.txt
devtools.rs Added some same-origin-domain checks. 2017-03-14 14:36:03 -05:00
document_loader.rs Remove mutability requirement from fetch_async_background. 2017-02-28 10:23:23 -05:00
fetch.rs Remove all internal mutability from Request 2017-04-03 12:39:07 +02:00
layout_image.rs Make image cache per-document rather than global 2017-03-27 19:54:13 +02:00
layout_wrapper.rs Move match and cascade temporaries to CurrentElementInfo 2017-06-22 15:47:32 -05:00
lib.rs EventSource: decode UTF-8 code points across network packets 2017-05-27 13:34:24 +02:00
mem.rs
microtask.rs improve spec compliance of update the image data 2017-05-25 08:01:25 +08:00
network_listener.rs
script_runtime.rs Added Debug implementations. 2017-06-13 10:46:59 -05:00
script_thread.rs Bump serde to 1.0 2017-06-16 13:31:18 +02:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs Bug 1331291 part 1 - Set stylesheet url_data correctly for import rule. 2017-06-13 10:07:06 +10:00
test.rs
textinput.rs Bring back clipboard support 2017-06-01 16:37:29 +02:00
timers.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00