This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
The 'width' and 'height' content attributes for MediaElements are specified as "Dimension Attributes" (4.8.16)": http://www.w3.org/TR/html5/the-canvas-element.html#dimension-attributes "The attributes, if specified, must have values that are valid non-negative integers." This links to 2.4.4.1: http://www.w3.org/TR/html5/infrastructure.html#valid-non-negative-integer. This indicates that if the value is negative, the parsing algorithm should "return an error". Does this mean the attribute should be ignored, or it should be set to clamped to zero, or some other behavior? Clamping to 0 is probably the best solution, as these objects should have *some* defined width/height.
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 depends on what the algorithm that invokes the parsing algorithm says to do when the parser returns an error. Please don't confuse author conformance criteria ("must have values that are valid non-negative integers") with anything to do with user agent conformance criteria. They are separate.