servo/components/script
J. Ryan Stinnett e3a256803d Look for relevant links while matching
Adjust the matching process to look for a "relevant link" while matching.  A
"relevant link" is the element being matched if it is a link or the nearest
ancestor link.

Matching for links now depends on the `VisitedHandlingMode`, which determines
whether all links match as if they are unvisited (the default) or if the
relevant link matches as visited (and all others remain unvisited).

If a relevant link is ever found for any selector, track this as part of the
`MatchingContext` object.  This is used in the next patch to determine if an
additional match and cascade should be performed to compute the styles when
visited.

MozReview-Commit-ID: 3xUbRo7vpuD
2017-05-24 18:07:24 -05:00
..
docs Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
dom Look for relevant links while matching 2017-05-24 18:07:24 -05:00
task_source Properly implement TaskSource for NetworkingTaskSource 2016-11-11 14:50:42 -08:00
body.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
build.rs Fix hardcoded path to link.exe 2017-02-03 13:33:37 +01:00
Cargo.toml Update app_units to 0.4.1 2017-05-19 20:33:02 -07: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 Look for relevant links while matching 2017-05-24 18:07:24 -05:00
lib.rs Implement WebGL extensions. 2017-05-18 18:44:07 +02:00
mem.rs Rename Reflectable to DomObject. 2016-12-08 08:50:35 -10:00
microtask.rs use microtasks to await a stable state 2017-05-19 17:29:16 +08:00
network_listener.rs Separate the async bluetooth handling from networking code. 2016-12-21 14:52:39 +01:00
script_runtime.rs Implemented Houdini worklets. 2017-05-17 09:01:05 -05:00
script_thread.rs Added a TopLevelBrowsingContextId type. 2017-05-22 09:27:07 -05:00
serviceworker_manager.rs Removed util. 2016-12-14 18:04:37 -06:00
serviceworkerjob.rs Remove incorrect uses of asynchronous tasks from ServiceWorker job queue. 2017-02-01 12:54:33 -05:00
stylesheet_loader.rs Fix up script and layout. 2017-05-02 17:35:45 -07:00
test.rs Added compiletest to verify TrustedPromise does not implement Clone 2017-01-22 20:12:07 +00:00
textinput.rs [script/textinput] Fix warning: unreachable pattern 2017-05-24 01:42:10 -05:00
timers.rs Terminate timer scheduler thread during shutdown 2017-03-30 14:27:40 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Renamed constellation::Frame to constellation::BrowsingContext. 2017-05-15 21:03:11 -05:00