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

Implement <font> 'face' attribute #7619

Merged
merged 2 commits into from Sep 15, 2015
Merged
Changes from 1 commit
Commits
File filter...
Filter file types
Jump to…
Jump to file
Failed to load files.

Always

Just for now

Next

Fix incorrect indentation

  • Loading branch information
frewsxcv committed Sep 14, 2015
commit 768993f03f338171e58ba7214bcdb6da75df6b26
@@ -66,7 +66,7 @@ impl VirtualMethods for HTMLFontElement {
fn attribute_mutated(&self, attr: &Attr, mutation: AttributeMutation) {
self.super_type().unwrap().attribute_mutated(attr, mutation);
match attr.local_name() {
&atom!(color) => {
&atom!(color) => {
self.color.set(mutation.new_value(attr).and_then(|value| {
str::parse_legacy_color(&value).ok()
}));
ProTip! Use n and p to navigate between commits in a pull request.
You can’t perform that action at this time.