Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-284108: html - label for could be validated and show errors

$
0
0
Reporter mark van tilburg (mark.van.tilburg) mark van tilburg (mark.van.tilburg)
Created Nov 30, 2011 1:18:20 PM
Updated Apr 21, 2012 1:26:12 PM
Resolved Apr 21, 2012 2:27:48 AM
Priority Critical
Type Feature
Fix versions 7.0
State Fixed
Assignee Slava Trenogin (derigel)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build 7.0.21.5
E.g. for code like this:

The Label for tag is pointing to a non existing item, it could fire an error that id "gebruikersnaam3" is not found (in this example the entire id does not exist on the page).
               <table width="487" border="0" cellspacing="0" cellpadding="0">
                 <tr>
                   <td width="120" align="left" valign="top"><label for="gebruikersnaam3">Gebruikersnaam</label></td>
                   <td colspan="2" align="left" valign="top"><input name="txtUsername" type="text" id="txtUsername" size="30" style="font-family:Verdana, Geneva, sans-serif; font-size:10px; color:#000; line-height:14px; margin-bottom:5px;" /></td>
                 </tr>
</table>

I might be an improvement to R# if it detects that the tag where label for points to does not exist.

Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>