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 21849 - Remove .style and say "HTMLElement implements ElementCSSInlineStyle;" but only if the UA supports CSS. Also see https://www.w3.org/Bugs/Public/show_bug.cgi?id=21848
Summary: Remove .style and say "HTMLElement implements ElementCSSInlineStyle;" but onl...
Status: RESOLVED FIXED
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Simon Pieters
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-04-26 12:47 UTC by contributor
Modified: 2013-06-07 08:33 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-04-26 12:47:44 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/elements.html
Multipage: http://www.whatwg.org/C#dom-style
Complete: http://www.whatwg.org/c#dom-style
Referrer: http://www.whatwg.org/specs/web-apps/current-work/multipage/semantics.html

Comment:
Remove .style and say "HTMLElement implements ElementCSSInlineStyle;" but only
if the UA supports CSS. Also see
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21848

Posted from: 90.230.217.68
User agent: Opera/9.80 (Macintosh; Intel Mac OS X 10.8.3) Presto/2.12.388 Version/12.15
Comment 1 Ian 'Hixie' Hickson 2013-06-05 23:29:27 UTC
Wouldn't it be better to just have the 'implements' line in CSSOM? That way it's obvious that you only implement it if you support CSS.

I've removed .style from HTML (except for non-normative text); let me know if you really want me refer to ElementCSSInlineStyle in HTML rather than letting you handle that on your end.
Comment 2 contributor 2013-06-05 23:31:24 UTC
Checked in as WHATWG revision r7915.
Check-in comment: Move .style to CSSOM
http://html5.org/tools/web-apps-tracker?from=7914&to=7915
Comment 3 Simon Pieters 2013-06-07 08:33:45 UTC
https://dvcs.w3.org/hg/csswg/rev/ca20cc414744