History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-21658
Type: Usability Problem Usability Problem
Status: Open Open
Priority: Normal Normal
Assignee: Alexey Pegov
Reporter: Etienne Studer
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Find Usages of a selector does not include document.getElementById() usages

Created: 10 Sep 07 04:29   Updated: 26 Sep 07 15:12
Component/s: J2EE.Web
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 7,126


 Description  « Hide
In the sample below, do a Ctrl-Shift-F7 on messagePane. Depending on which occurrence of messagePane you do it on, different usages are highlighted. I would expect that in all cases all three usages are highlighted. Also, the usage in document.getElementById("messagePane") is not included when renaming the selector.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>Demo</title>
<script type="text/javascript">
function foo() { document.getElementById("messagePane").innerHTML = "Hello"; }
</script>
<style type="text/css">
div#messagePane { color: green; }
</style>
</head>
<body>
<div id="messagePane">
This is the message pane.
</div>
</body>
</html>



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.