|
| <prev next> |
[ tidy-Bugs-1820496 ] button inside label throws a warning: msg#00011web.html-tidy.tracker
Bugs item #1820496, was opened at 2007-10-26 00:42 Message generated for change (Comment added) made by nobody You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1820496&group_id=27659 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: HTML/XHTML Parser Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: button inside label throws a warning Initial Comment: ---snip--- <label for="d_id" accesskey="d">Sen<span style="text-decoration:underline;"><button id="d_id" name="d" value="send" type="submit" title="Click to send your message">d</span></button></label> ---snip--- throws a warning - placing label inside button fixes this, but w3c validator throws error... dave@xxxxxxxxxx ---------------------------------------------------------------------- Comment By: Nobody/Anonymous (nobody) Date: 2008-02-28 08:20 Message: Logged In: NO Am I blind of this is invalid html ? You open span then button then close span inside button... How is that possible to post such weird code and request anything ?! But warning really happens if wrap button into ANY inline tag like SPAN or A or any other. Next html will generate 3 warnings: <p><span><button type="button">Test</button></span></p> - Warning: inserting implicit <span> - Warning: replacing unexpected button by </button> - Warning: missing </button> I terribly hate this bug... ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=390963&aid=1820496&group_id=27659 ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ |
|
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| Previous by Date: | [ tidy-Bugs-1636028 ] Tidy API function tidyNodeGetText escapes output: 00011, SourceForge.net |
|---|---|
| Previous by Thread: | [ tidy-Bugs-1636028 ] Tidy API function tidyNodeGetText escapes outputi: 00011, SourceForge.net |
| Indexes: | [Date] [Thread] [Top] [All Lists] |
| News | FAQ | advertise |