[Bug 12948] New feature request: GROUP tag What I'd like to achieve in HTML is to easily access a group of elements via Javascript using a single parent element (GROUP). The GROUP element would not under any circumstance affect the layout of the page, and would not b

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

Andreas Baitis <abaitis@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |abaitis@gmail.com

--- Comment #2 from Andreas Baitis <abaitis@gmail.com> 2011-06-14 02:53:50 UTC ---
We are using DIVs now, one problem with this method is the content is
arbitrary, sometimes containing only block elements, sometimes only inline,
sometimes both. So this complicates things in that the CMS needs to decide on
what sort of wrapper to use, block or inline. Also the group or wrapper
elements can be accessed by designers through CSS which is not desirable, we
want them to style the content based on the semantics of the content, not the
CMS.

Adding classes and using document.getElementsByClassName() or similar works but
is not without issues, it adds to the file size when pages are complex with
multiple widgets being used, and makes replacing the nodes with the updated
content a little messier, although it's probably the way we'll go as these
issues are easier to deal with than the issues mentioned above.

Many web-sites are now data driven, and constructed by ever more sophisticated
CMS, it'd be nice to help CMS developers create clean standards based semantic
markup, so I would've thought that it's worth considering.



Thanks for your time anyway.

Regards

Andreas Baitis

-- 
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 Tuesday, 14 June 2011 02:53:57 UTC