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 24781 - Unclear if attributes MUST be defined in pixels
Summary: Unclear if attributes MUST be defined in pixels
Status: RESOLVED NEEDSINFO
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-24 01:35 UTC by contributor
Modified: 2014-02-25 19:34 UTC (History)
3 users (show)

See Also:


Attachments

Description contributor 2014-02-24 01:35:25 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-map-element.html
Multipage: http://www.whatwg.org/C#dimension-attributes
Complete: http://www.whatwg.org/c#dimension-attributes
Referrer: http://stackoverflow.com/questions/6874902/make-embed-behave-like-a-div

Comment:
Unclear if attributes MUST be defined in pixels

Posted from: 207.228.61.161
User agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:27.0) Gecko/20100101 Firefox/27.0
Comment 1 Ian 'Hixie' Hickson 2014-02-24 18:39:07 UTC
Why is it unclear? What else would they be expressed as?
Comment 2 Andrea Rendine 2014-02-24 21:41:31 UTC
(In reply to contributor from comment #0)

[[The width and height attributes on img, iframe, embed, object, video, and, when their type attribute is in the Image Button state, input elements may be specified to give the dimensions of the visual content of the element (the width and height respectively, relative to the nominal direction of the output medium), in *CSS pixels*. The attributes, if specified, must have values that are valid non-negative integers.]]

(WHATWG HTML spec, 4.7.16 Dimension attributes)
Comment 3 Ian 'Hixie' Hickson 2014-02-25 19:34:14 UTC
Marking NEEDSINFO since I don't know what's not clear; please reopen if you can explain what isn't clear. Thanks!