diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-06 11:54:38 -0500 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-06-06 11:54:38 -0500 |
commit | 9fae4b18d1293101ecc17342e433bb1b0fff8398 (patch) | |
tree | e83f21edc774f4852aadeef91535daa5a6b8d5ae /python/servo | |
parent | 0dea34a89c421aceaaf7e16059ecf3670d664350 (diff) | |
parent | e6b64f0e3ca035f7e9bfcd466125100f40c2f9f5 (diff) | |
download | servo-9fae4b18d1293101ecc17342e433bb1b0fff8398.tar.gz servo-9fae4b18d1293101ecc17342e433bb1b0fff8398.zip |
Auto merge of #11639 - awestroke:anchor-element-base-url, r=nox
Use base_url instead of url in HTMLAnchorElement::set_url
<!-- Please describe your changes on the following line: -->
`script::dom::HTMLAnchorElement::set_url` now uses `document::base_url` instead of `document::url`, allowing correct parsing of relative urls on about:blank and pages with a `<base href="some_url"/>` set.
spec: https://html.spec.whatwg.org/multipage/infrastructure.html#resolving-urls
---
<!-- 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 #11628
<!-- Either: -->
- [x] There are tests for these changes: Some expected test failures have been removed.
<!-- 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="35" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/11639)
<!-- Reviewable:end -->
Diffstat (limited to 'python/servo')
0 files changed, 0 insertions, 0 deletions