Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Correctly gets and sets rel content attributes in linkelement #13311

Merged
merged 1 commit into from Sep 23, 2016
Merged
Changes from all commits
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

use .set_tokenlist_attribute to set rel content attribute in SetRel

Removed .ini files expecting crashes
  • Loading branch information
cynicaldevil committed Sep 23, 2016
commit 9d378ceb74e85b8489fced2244c93c78f27536a4
@@ -368,7 +368,9 @@ impl HTMLLinkElementMethods for HTMLLinkElement {
make_getter!(Rel, "rel");

// https://html.spec.whatwg.org/multipage/#dom-link-rel
make_setter!(SetRel, "rel");
fn SetRel(&self, rel: DOMString) {
self.upcast::<Element>().set_tokenlist_attribute(&atom!("rel"), rel);
}

// https://html.spec.whatwg.org/multipage/#dom-link-media
make_getter!(Media, "media");

This file was deleted.

This file was deleted.

ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.