diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2017-01-20 11:12:59 -0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-01-20 11:12:59 -0800 |
commit | 15c542d3a10d2764fda14f8e54054eeb113bff1a (patch) | |
tree | 9d98cb2dbb05d2a3062a6506af38e35dd6f09a23 /components/script/task_source/file_reading.rs | |
parent | 5cd04259334270daa93743aaa6a72c039082bf5e (diff) | |
parent | fd950a730961dcf71eccd1e244776897c5f945c4 (diff) | |
download | servo-15c542d3a10d2764fda14f8e54054eeb113bff1a.tar.gz servo-15c542d3a10d2764fda14f8e54054eeb113bff1a.zip |
Auto merge of #14646 - canaltinova:origin-clean, r=jdm
Support origins in CSSOM stylesheets
<!-- Please describe your changes on the following line: -->
I still need to pass the origin clean flag to constructors. `style::stylesheets::Stylesheet` has an origin field but I don't think that's relevant.
I can get href in htmllinkelement.rs like this:
```rust
let element = self.upcast::<Element>();
let href = element.get_string_attribute(&local_name!("href"));
```
But I'm not sure how to proceed after here.
@Manishearth any opinions?
---
<!-- 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 #14327 (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. -->
<!-- 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/14646)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/task_source/file_reading.rs')
0 files changed, 0 insertions, 0 deletions