servo/components/script
bors-servo 09e6f4ac54 Auto merge of #11428 - g-k:csstext, r=SimonSapin
csstext

- [x] These changes fix #4431.
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy --faster` reports one error for the `css_properties_accessors!` macro not having a spec link

```
$ git log -1 --format=oneline
91fb9bf1d3 fixup! implement cssText
$ ./mach build -d
   Compiling style v0.0.1 (file:///Users/greg/servo/components/style)
   Compiling gfx v0.0.1 (file:///Users/greg/servo/components/gfx)
   Compiling script v0.0.1 (file:///Users/greg/servo/components/script)
   Compiling layout_traits v0.0.1 (file:///Users/greg/servo/components/layout_traits)
   Compiling compositing v0.0.1 (file:///Users/greg/servo/components/compositing)
   Compiling glutin_app v0.0.1 (file:///Users/greg/servo/ports/glutin)
   Compiling constellation v0.0.1 (file:///Users/greg/servo/components/constellation)
   Compiling layout v0.0.1 (file:///Users/greg/servo/components/layout)
   Compiling servo v0.0.1 (file:///Users/greg/servo/components/servo)
Build completed in 0:05:11.475584
$ ./mach test-tidy --faster
Checking files for tidiness...
./components/script/dom/cssstyledeclaration.rs:386: method declared in webidl is missing a comment with a specification link
  Progress: 100% (12/12)
```

- [x] There are tests for these changes.  More CSSOM tests pass, but others fail that probably shouldn't:

* `./mach test-css tests/wpt/css-tests/cssom-1_dev/html/index-002.htm` and a bunch of the other tests in `/css-tests/cssom-1_dev/html/ crash when run individually
* `./mach test-css tests/wpt/css-tests/cssom-1_dev/html/cssom-cssText-serialize.htm` fails to strip a trailing semicolon (`left: 10px` vs `left: 10px;`)
* `./mach test-css tests/wpt/css-tests/cssom-1_dev/html/index-001.htm` shared shorthand values aren't coalesced (`margin: 20px` vs. `margin: 20px 20px 20px 20px`)
* `./mach test-css tests/wpt/css-tests/cssom-1_dev/html/cssstyledeclaration-csstext.htm` also crashes and fails for `color: red;` vs. `color: RED;`,  preserving declaration insertion order, whitespace in the value, and setting an unknown style property.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11428)
<!-- Reviewable:end -->
2016-06-01 01:59:12 -05:00
..
docs
dom Auto merge of #11428 - g-k:csstext, r=SimonSapin 2016-06-01 01:59:12 -05:00
parse Move DOMString back to script 2016-05-24 10:54:57 +02:00
task_source Removed unused imports 2016-05-15 22:24:26 +03:00
bluetooth_blacklist.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
build.rs
Cargo.toml Implement window.openURLInDefaultBrowser() (fixes #11292) 2016-05-27 16:16:02 +02:00
clipboard_provider.rs Remove ConstellationChan. 2016-05-19 17:13:44 +02:00
cors.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
devtools.rs Use JSautoCompartment in devtools handle_evaluate_js to avoid segfault 2016-05-27 15:12:27 +05:30
document_loader.rs adding interface for custom responses 2016-05-20 12:11:56 +05:30
layout_interface.rs script: Keep the DOM-side viewport up to date when scrolling happens in 2016-05-31 14:12:51 -07:00
lib.rs Add WebBluetooth Blacklist support 2016-05-31 17:05:45 +02:00
makefile.cargo
mem.rs
network_listener.rs
origin.rs Make script origins sendable and immutable. 2016-05-27 17:16:13 +02:00
reporter.rs
script_runtime.rs script: Keep the DOM-side viewport up to date when scrolling happens in 2016-05-31 14:12:51 -07:00
script_thread.rs Auto merge of #11480 - rafaqtro:local_b, r=emilio 2016-06-01 00:15:51 -05:00
textinput.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00
timers.rs Remove empty lines following braces. 2016-05-27 13:32:05 -04:00
unpremultiplytable.rs
webdriver_handlers.rs Move DOMString back to script 2016-05-24 10:54:57 +02:00