HTML image map support

This commit is contained in:
bachar 2016-12-01 21:23:22 -05:00 committed by Manish Goregaokar
parent c784bc6944
commit 980dde7e15
7 changed files with 463 additions and 2 deletions

View file

@ -576,7 +576,7 @@ fn is_current_browsing_context(target: DOMString) -> bool {
}
/// https://html.spec.whatwg.org/multipage/#following-hyperlinks-2
fn follow_hyperlink(subject: &Element, hyperlink_suffix: Option<String>, referrer_policy: Option<ReferrerPolicy>) {
pub fn follow_hyperlink(subject: &Element, hyperlink_suffix: Option<String>, referrer_policy: Option<ReferrerPolicy>) {
// Step 1: replace.
// Step 2: source browsing context.
// Step 3: target browsing context.