Bug 18403
Summary: | A link's search property cannot be changed | ||
---|---|---|---|
Product: | WebKit | Reporter: | Michiel Roding <michiel> |
Component: | JavaScriptCore | Assignee: | Nobody <webkit-unassigned> |
Status: | RESOLVED WORKSFORME | ||
Severity: | Normal | CC: | barraclough |
Priority: | P2 | ||
Version: | 525.x (Safari 3.1) | ||
Hardware: | Mac | ||
OS: | OS X 10.5 | ||
URL: | http://home.react.nl/~michiel/webkit-bug.html |
Michiel Roding
it seems a link (<a href="..">) search-property cannot be changed. Other browsers do have this ability.
Attachments | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Michiel Roding
a copy of the demo:
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN"
"http://www.w3.org/TR/html4/strict.dtd">
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>WebKit bug</title>
<meta name="author" content="Michiel Roding">
</head>
<body>
<a href="http://www.apple.com/imac?ipod=touch#macpro">demo link</a>
<script type="text/javascript" charset="utf-8">
document.links[0].search = 'test';
</script>
</body>
</html>
Gavin Barraclough
Looks like this testcase now works in ToT - please reopen if I'm misinterpreting the results.