Re: Incorrect checking for HTML5 <IFRAME> WIDTH as percent
"David Dorward" <[email protected]>
| Newsgroups | gmane.org.w3c.validator |
|---|---|
| Message-ID | <[email protected]> |
On 18 Sep 2014, at 18:52, Harvey Partridge wrote: > Bad value 95% for attribute width on element iframe: Expected a digit > but saw % instead. > …me/N151.12061,6.11309,-3.06282,48.19144/Z8/" width="95%" > height="200"></iframe> > This conflicts with the information on > http://www.w3schools.com/html/html_iframe.asp where it says ... W3Schools (which is not affiliated wight he W3C) is wrong, or describing HTML 4, it is unclear. See [the spec][1]: > The attributes, if specified, must have values that are valid > non-negative integers. [1]: http://www.w3.org/TR/html5/embedded-content-0.html#attr-dim-width -- David Dorward http://dorward.co.uk/