gecko-dev/servo/components
Roman Zaynetdinov 6ee45bda3b servo: Merge #14930 - Implement support for removing stylesheets from their document (from zaynetro:remove-stylesheets); r=emilio
<!-- Please describe your changes on the following line: -->
This pull request implements removing styles from the document when

* `<link>` element with associated styles is removed
* `<style>` element is removed

Additionally, it tests that when `<style>` element is changed. Styles are being reapplied correctly.

---
<!-- Thank you for contributing to Servo! Please replace each `[ ]` by `[X]` when the step is complete, and replace `__` with appropriate data: -->
- [x] `./mach build -d` does not report any errors
- [x] `./mach test-tidy` does not report any errors
- [x] These changes fix #14886 (github issue number if applicable).

<!-- Either: -->
- [x] There are tests for these changes

<!-- Pull requests that do not address these steps are welcome, but they will require additional verification as part of the review process. -->

Source-Repo: https://github.com/servo/servo
Source-Revision: f3c102d2fe5ae2992233f5ab2de7c00f188bc8a0
2017-01-24 09:40:07 -08:00
..
atoms servo: Merge #15024 - Kill beforescriptexecute and afterscriptexecute (fixes #12446) (from nox:load-fixes); r=jdm 2017-01-14 07:17:40 -08:00
bluetooth servo: Merge #14871 - Use tinyfiledialogs from crates.io (from shssoichiro:14862-tinyfiledialogs-from-crates-io); r=jdm 2017-01-05 22:49:19 -08:00
bluetooth_traits servo: Merge #15042 - Update regex (from servo:update-regex); r=jdm 2017-01-16 05:59:18 -08:00
canvas servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
canvas_traits servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
compositing servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
config servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
constellation servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
debugger servo: Merge #14592 - Remove the util crate (from asajeffrey:util-goodbye); r=mbrubeck 2016-12-14 16:48:42 -08:00
devtools servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
devtools_traits servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
geometry servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
gfx servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
gfx_traits servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
jstraceable_derive servo: Merge #14889 - Upgrade to rustc 1.16.0-nightly (6f1ae663e 2017-01-06) (from servo:rustup); r=jdm 2017-01-07 08:18:28 -08:00
layout servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
layout_thread servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
layout_traits servo: Merge #14917 - Renaming default_features to default-features as per Cargo's Manifest Format (from fkautz:pr_out_renaming_default_features_to_default_features_as_per_cargo_s_manifest_format); r=emilio 2017-01-09 07:35:28 -08:00
msg servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
net servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
net_traits servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
plugins servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
profile servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
profile_traits servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
rand servo: Merge #15107 - convert less interesting debug! logs to traces (from DexterHaslem:15100-convert-debug-to-traces); r=cbrewster 2017-01-18 21:29:59 -08:00
range servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
remutex servo: Merge #15107 - convert less interesting debug! logs to traces (from DexterHaslem:15100-convert-debug-to-traces); r=cbrewster 2017-01-18 21:29:59 -08:00
script servo: Merge #14930 - Implement support for removing stylesheets from their document (from zaynetro:remove-stylesheets); r=emilio 2017-01-24 09:40:07 -08:00
script_layout_interface servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
script_traits servo: Merge #15129 - Refactor to send iframe resize messages directly from layout thread to constellation (from cynicaldevil:iframe-resize); r=emilio 2017-01-23 06:08:02 -08:00
servo servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
style servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
style_traits servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
url servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00
webdriver_server servo: Merge #15042 - Update regex (from servo:update-regex); r=jdm 2017-01-16 05:59:18 -08:00
webvr servo: Merge #14618 - WebVR API Implementation (from MortimerGoro:webvr_api); r=larsbergstrom,emilio,jdm,nox,asajeffrey,cvan 2017-01-09 06:39:45 -08:00
webvr_traits servo: Merge #15154 - Update rustc to 1.16.0-nightly (7821a9b99 2017-01-23) (from servo:rustup); r=SimonSapin 2017-01-24 06:11:40 -08:00