[Bug 12834] LEGEND should be allowed to NOT be exactly first child of FIELDSET ("The legend element" spec section)

http://www.w3.org/Bugs/Public/show_bug.cgi?id=12834

--- Comment #12 from Marat Tanalin <mtanalin@yandex.ru> 2011-08-24 18:49:32 UTC ---
(In reply to comment #11)

The code is brief example of what should be valid.

In real world, DIV, of course, is followed by actual form fields themselves:

    <fielset>
        <div>
            <ul>
                <li><a href="#">Minimize</a></li>
                <li><a href="#">Close</a></li>
            </ul>
            <legend>Example</legend>
        </div>
        <input type="text" name="something" />
        <input type="text" name="another-field" />
        ...
    </fieldset>

Here, DIV wrapper is needed only for legend and functional-links list (to style
them together), not for all contents of the fieldset.

-- 
Configure bugmail: http://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.

Received on Wednesday, 24 August 2011 18:49:35 UTC