servo/components/script
Jonathan Chan 92ec8f15f0 Implement CSSStyleRule.selectorText.
We parse when assigning using the namespaces of the stylesheet. It isn't
clear if the spec says to do that (Firefox doesn't support the setter at
all, Chrome does, Safari doesn't); the spec issue is here:
https://github.com/w3c/csswg-drafts/issues/1511

Also fix ToCss implementation of AttrSelectorOperator to not pad with
spaces, to conform with CSSOM. This means we have to update some unit
tests that expect operators with spaces around them in attribute
selectors to roundtrip.

See the "attribute selector" section of "Serializing Selectors" here:
https://drafts.csswg.org/cssom/#serializing-selectors

CSSStyleRule.selectorText is specified here:
https://drafts.csswg.org/cssom/#dom-cssstylerule-selectortext
2017-07-12 01:03:58 -07:00
..
docs Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
dom Implement CSSStyleRule.selectorText. 2017-07-12 01:03:58 -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 stylo: Update rust-cssparser; extract more specific error types when reporting (bug 1352669). 2017-07-10 20:46:12 -04: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 Introduce service-worker mode 2017-06-22 23:48:07 -07:00
layout_image.rs Make image cache per-document rather than global 2017-03-27 19:54:13 +02:00
layout_wrapper.rs style: Remove unused TElement::children_and_traversal_children_might_differ. 2017-06-28 11:58:50 -07:00
lib.rs Stop using the unstable optin_builtin_traits feature 2017-06-28 15:00:21 -07: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 Implemented paint worklet properties. 2017-07-11 17:28:56 -05:00
serviceworker_manager.rs
serviceworkerjob.rs
stylesheet_loader.rs stylo: Fix StyleSheetInner/Stylesheet mapping 2017-07-02 15:49:40 +02:00
test.rs
textinput.rs Bring back clipboard support 2017-06-01 16:37:29 +02:00
timers.rs Use boxed slice instead of vec for FuntionTimerCallback 2017-07-11 14:07:40 -07:00
unpremultiplytable.rs
webdriver_handlers.rs Bump euclid to 0.14. 2017-06-14 16:00:59 +02:00