mirror of
https://github.com/servo/servo.git
synced 2025-08-03 04:30:10 +01:00
HTML image map support
This commit is contained in:
parent
c784bc6944
commit
980dde7e15
7 changed files with 463 additions and 2 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue