[Bug 14706] New: The plural nature of the name for the <details> tag (the only tag in the spec with a name which takes a plural form) presents a bit of a problem for automation software (such as selenium and watir) which allows the creation of collections of tags with som

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

           Summary: The plural nature of the name for the <details> tag
                    (the only tag in the spec with a name which takes a
                    plural form) presents a bit of a problem for
                    automation software (such as selenium and watir) which
                    allows the creation of collections of tags with som
           Product: HTML WG
           Version: unspecified
          Platform: Other
               URL: http://www.whatwg.org/specs/web-apps/current-work/#top
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P3
         Component: HTML5 spec (editor: Ian Hickson)
        AssignedTo: ian@hixie.ch
        ReportedBy: contributor@whatwg.org
         QAContact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-wg-issue-tracking@w3.org,
                    public-html@w3.org


Specification: http://dev.w3.org/html5/spec/Overview.html
Multipage: http://www.whatwg.org/C#top
Complete: http://www.whatwg.org/c#top

Comment:
The plural nature of the name for the <details> tag (the only tag in the spec
with a name which takes a plural form) presents a bit of a problem for
automation software (such as selenium and watir) which allows the creation of
collections of tags with some common attribute.  The convention for this has
been to create such collections via a method with a plurel form of the
normally singular element tag names.

 e.g.
 the method to return a single table row object is .tr, while the method to
return a collection of such objects is .trs.  This paradigm breaks when you
encounter the <details> tag which is already plural, and the english language
has no notion or convention to create a plural form of something that is
already plural.

A minor concern in the grand scheme of things, but still, why have this one
tag name be an exception to the format taken for all the others?   Why not use
<detail> instead?  

Posted from: 76.104.251.42
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/535.2 (KHTML, like
Gecko) Chrome/15.0.874.106 Safari/535.2

-- 
Configure bugmail: http://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 Sunday, 6 November 2011 04:20:48 UTC