/lists.whatwg.org/pipermail/whatwg-whatwg.org/2008-October/058978.html

https://github.com/whatwg/whatwg.org · HTML · 124 lines · 100 code · 17 blank · 7 comment · 0 complexity · 084cea45b18eb233274f73282c405535 MD5 · raw file

  1. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
  2. <HTML>
  3. <HEAD>
  4. <TITLE> [whatwg] input type=hidden outside phrasing content
  5. </TITLE>
  6. <LINK REL="Index" HREF="index.html" >
  7. <LINK REL="made" HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20input%20type%3Dhidden%20outside%20phrasing%20content&In-Reply-To=%3Cop.ui4zuolu64w2qv%40annevk-t60.oslo.opera.com%3E">
  8. <META NAME="robots" CONTENT="index,nofollow">
  9. <style type="text/css">
  10. pre {
  11. white-space: pre-wrap; /* css-2.1, curent FF, Opera, Safari */
  12. }
  13. </style>
  14. <META http-equiv="Content-Type" content="text/html; charset=us-ascii">
  15. <LINK REL="Previous" HREF="058977.html">
  16. <LINK REL="Next" HREF="058980.html">
  17. </HEAD>
  18. <BODY BGCOLOR="#ffffff">
  19. <H1>[whatwg] input type=hidden outside phrasing content</H1>
  20. <!--htdig_noindex-->
  21. <B>Anne van Kesteren</B>
  22. <A HREF="mailto:whatwg%40lists.whatwg.org?Subject=Re%3A%20%5Bwhatwg%5D%20input%20type%3Dhidden%20outside%20phrasing%20content&In-Reply-To=%3Cop.ui4zuolu64w2qv%40annevk-t60.oslo.opera.com%3E"
  23. TITLE="[whatwg] input type=hidden outside phrasing content">annevk at opera.com
  24. </A><BR>
  25. <I>Thu Oct 16 14:41:02 PDT 2008</I>
  26. <P><UL>
  27. <LI>Previous message: <A HREF="058977.html">[whatwg] input type=hidden outside phrasing content
  28. </A></li>
  29. <LI>Next message: <A HREF="058980.html">[whatwg] input type=hidden outside phrasing content
  30. </A></li>
  31. <LI> <B>Messages sorted by:</B>
  32. <a href="date.html#58978">[ date ]</a>
  33. <a href="thread.html#58978">[ thread ]</a>
  34. <a href="subject.html#58978">[ subject ]</a>
  35. <a href="author.html#58978">[ author ]</a>
  36. </LI>
  37. </UL>
  38. <HR>
  39. <!--/htdig_noindex-->
  40. <!--beginarticle-->
  41. <PRE>On Thu, 16 Oct 2008 23:08:32 +0200, Mike Wilson &lt;<A HREF="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">mikewse at hotmail.com</A>&gt;
  42. wrote:
  43. &gt;<i> Yes, maybe it is? Reading the spec again, I realize I had
  44. </I>&gt;<i> missed the sentence &quot;All phrasing content is also flow
  45. </I>&gt;<i> content&quot;. (I was mainly on the lookout for DTD-like info.)
  46. </I>&gt;<i> I have included a couple of the cases I'm thinking of below
  47. </I>&gt;<i> (that are invalid in HTML4). But some of them may already be
  48. </I>&gt;<i> ok in HTML5?
  49. </I>
  50. I'd suggest playing with validator.nu. Out the top of my head:
  51. &gt;<i> &lt;form ...&gt;
  52. </I>&gt;<i> &lt;input type=&quot;hidden&quot; ...&gt;
  53. </I>&gt;<i> &lt;/form&gt;
  54. </I>
  55. Fine.
  56. &gt;<i> &lt;blockquote&gt;
  57. </I>&gt;<i> &lt;input type=&quot;hidden&quot; ...&gt;
  58. </I>&gt;<i> &lt;/blockquote&gt;
  59. </I>
  60. Fine.
  61. &gt;<i> &lt;table&gt;
  62. </I>&gt;<i> &lt;input type=&quot;hidden&quot; ...&gt;
  63. </I>&gt;<i> &lt;/table&gt;
  64. </I>
  65. Not fine.
  66. &gt;<i> &lt;table&gt;
  67. </I>&gt;<i> &lt;tr&gt;
  68. </I>&gt;<i> &lt;input type=&quot;hidden&quot; ...&gt;
  69. </I>&gt;<i> &lt;td&gt;&lt;/td&gt;
  70. </I>&gt;<i> &lt;/tr&gt;
  71. </I>&gt;<i> &lt;/table&gt;
  72. </I>
  73. Not fine.
  74. &gt;<i> &lt;ul/ol/dl&gt;
  75. </I>&gt;<i> &lt;input type=&quot;hidden&quot; ...&gt;
  76. </I>&gt;<i> &lt;/ul/ol/dl&gt;
  77. </I>
  78. Not fine.
  79. For the table and lists cases, is there a good use case for complicating
  80. their content model or could you just as well put the input either before
  81. or after the table or list?
  82. --
  83. Anne van Kesteren
  84. &lt;<A HREF="http://annevankesteren.nl/">http://annevankesteren.nl/</A>&gt;
  85. &lt;<A HREF="http://www.opera.com/">http://www.opera.com/</A>&gt;
  86. </PRE>
  87. <!--endarticle-->
  88. <!--htdig_noindex-->
  89. <HR>
  90. <P><UL>
  91. <!--threads-->
  92. <LI>Previous message: <A HREF="058977.html">[whatwg] input type=hidden outside phrasing content
  93. </A></li>
  94. <LI>Next message: <A HREF="058980.html">[whatwg] input type=hidden outside phrasing content
  95. </A></li>
  96. <LI> <B>Messages sorted by:</B>
  97. <a href="date.html#58978">[ date ]</a>
  98. <a href="thread.html#58978">[ thread ]</a>
  99. <a href="subject.html#58978">[ subject ]</a>
  100. <a href="author.html#58978">[ author ]</a>
  101. </LI>
  102. </UL>
  103. <hr>
  104. <a href="http://lists.whatwg.org/listinfo.cgi/whatwg-whatwg.org">More information about the whatwg
  105. mailing list</a><br>
  106. <!--/htdig_noindex-->
  107. </body></html>