[Bug 29378] New: width and height attirbute should allow floating point numbers

https://www.w3.org/Bugs/Public/show_bug.cgi?id=29378

            Bug ID: 29378
           Summary: width and height attirbute should allow floating point
                    numbers
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Windows NT
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML5 spec
          Assignee: dave.null@w3.org
          Reporter: sa-takagi@kddi.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org
  Target Milestone: ---

Currnet HTML specification says that the width and height attributes on img,
iframe, embed, object, video and input element are valid non-negative INTEGERS.
https://www.w3.org/html/wg/drafts/html/master/semantics.html#attr-dim-width

On the other hand, 'width' and 'height' CSS property corresponding to them are
<number> which allows decimal point.
https://www.w3.org/TR/CSS2/visudet.html#the-width-property

I noticed it, when checking the HTML5 elements in SVG subtrees chapter of the
SVG2 draft. It will cause confusion, since width and height attribute of SVG's
graphics elements allows decimal point.
https://svgwg.org/svg2-draft/embedded.html#HTMLElements

Furthermore, I have noticed that webkit and blink handles the width and height
attribute of html as decimal point values. 
See this test: http://svg2.mbsrv.net/devinfo/devstd/embedWH/

Please take into consideration that width and height of html attribute allow
decimal point values.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Friday, 15 January 2016 07:34:35 UTC