This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 14024 - using a class with prefix language- seems non-semantic to me and an abuse of classes. Why not use the data-* attribute? (data-language="")
Summary: using a class with prefix language- seems non-semantic to me and an abuse of ...
Status: RESOLVED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-04 11:11 UTC by contributor
Modified: 2011-09-04 20:45 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2011-09-04 11:11:40 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/text-level-semantics.html
Multipage: http://www.whatwg.org/C#the-code-element
Complete: http://www.whatwg.org/c#the-code-element

Comment:
using a class with prefix language- seems non-semantic to me and an abuse of
classes. Why not use the data-* attribute? (data-language="")

Posted from: 85.98.228.115
User agent: Mozilla/5.0 (Windows NT 6.1; rv:6.0.1) Gecko/20100101 Firefox/6.0.1
Comment 1 Ian 'Hixie' Hickson 2011-09-04 20:45:33 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are satisfied with this response, please change the state of this bug to CLOSED. If you have additional information and would like the editor to reconsider, please reopen this bug. If you would like to escalate the issue to the full HTML Working Group, please add the TrackerRequest keyword to this bug, and suggest title and text for the tracker issue; or you may create a tracker issue yourself, if you are able to do so. For more details, see this document:
   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: no spec change
Rationale: It's just as semantic as anything else would be. It's not an abuse of classes. data-* would be fine too, but seems no better in this case (e.g. CSS has dedicated syntax for classes which are simpler).