[Bug 12834] Allow wrapping LEGEND (or new iLEGEND) in non-FIELDSET elements

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

Marat Tanalin | tanalin.com <mtanalin@yandex.ru> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|Allow LEGEND element to be  |Allow wrapping LEGEND (or
                   |wrapped in DIV              |new iLEGEND) in
                   |                            |non-FIELDSET elements

--- Comment #43 from Marat Tanalin | tanalin.com <mtanalin@yandex.ru> 2011-12-19 12:46:19 UTC ---
Another option is to introduce new iLEGEND (named from "inline legend") element
(wrappable too as it was originally proposed for LEGEND).

    <fieldset>
        <p>Please provide your <ilegend>credentials</ilegend></p>

        <input type="text" name="username" />
        <input type="password" name="password" />
    </fieldset>

Compared with LEGEND, potential benefit is that new element has no "special
rendering rules" legacy at all and therefore is fully and predictably styleable
by nature. In turn, using this inside wrapper allows markup to be in more
accordance with DRY principle.

I've reflected this in testcase 6 (the testcase itself is not subject to
discuss and is provided just for additional demonstrativeness):

http://tanalin.com/_experimentz/bugs/w3/html/wrap-legend/#t-6

-- 
Configure bugmail: https://www.w3.org/Bugs/Public/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Received on Monday, 19 December 2011 12:46:23 UTC