servo/components/script
bors-servo fac0d17fd6 Auto merge of #16224 - servo:valid-fontface, r=upsuper
Make the parser accept @font-face rules without font-family or src.

Fix #16165.

Also, it turns out that the CSSFontFaceRule IDL specified in the css-fonts spec is not web-compatible. Instead browsers implement a .style attribute like in CSSStyleRule: https://github.com/w3c/csswg-drafts/issues/825

This in turn requires preserving data about which descriptors were set or not (distinguishing unset from set to a value that happens to be the initial value), so this commit also makes every field `Option<_>`.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/16224)
<!-- Reviewable:end -->
2017-04-03 03:53:09 -05:00
..
docs Make #[dom_struct] a proc_macro attribute 2017-02-24 01:50:51 +01:00
dom Make the parser accept @font-face rules without font-family or src. 2017-04-01 14:05:32 +02:00
task_source
body.rs
build.rs Fix hardcoded path to link.exe 2017-02-03 13:33:37 +01:00
Cargo.toml Update Hyper and OpenSSL 2017-03-31 16:32:21 +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 Use RootedTraceableBox for dictionaries. 2017-02-16 11:03:26 +01:00
layout_image.rs Make image cache per-document rather than global 2017-03-27 19:54:13 +02:00
layout_wrapper.rs Auto merge of #16096 - stshine:die-modify-style-die, r=emilio 2017-04-01 06:02:08 -05:00
lib.rs Replace use of rustc_serialize::base64 by base64 2017-03-26 14:15:31 +02:00
mem.rs
microtask.rs Generalize promise job queue into solitary microtask queue. 2017-02-01 12:54:33 -05:00
network_listener.rs
script_runtime.rs Update rust-mozjs to master. 2017-03-31 14:40:38 -04:00
script_thread.rs Terminate timer scheduler thread during shutdown 2017-03-30 14:27:40 +02:00
serviceworker_manager.rs
serviceworkerjob.rs Remove incorrect uses of asynchronous tasks from ServiceWorker job queue. 2017-02-01 12:54:33 -05:00
stylesheet_loader.rs Parse stylesheets without acquiring a shared lock. 2017-03-19 22:30:40 +01:00
test.rs Added compiletest to verify TrustedPromise does not implement Clone 2017-01-22 20:12:07 +00:00
textinput.rs
timers.rs Terminate timer scheduler thread during shutdown 2017-03-30 14:27:40 +02:00
unpremultiplytable.rs
webdriver_handlers.rs Update Hyper and OpenSSL 2017-03-31 16:32:21 +02:00