NOTE: The current preferred location for bug reports is the GitHub issue tracker.
Bug 728 - Error incorrectly reported for iframe with 0 width and height
Error incorrectly reported for iframe with 0 width and height
Status: RESOLVED FIXED
Product: Validator.nu
Classification: Unclassified
Component: HTML5 schema
HEAD
All All
: P2 normal
Assigned To: Michael[tm] Smith
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2010-03-29 00:34 CEST by Maciej Stachowiak
Modified: 2010-03-30 12:32 CEST (History)
1 user (show)

See Also:


Attachments
patch (2.05 KB, patch)
2010-03-30 12:27 CEST, Michael[tm] Smith
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maciej Stachowiak 2010-03-29 00:34:45 CEST
HTML5 allows both width and height to be 0 for elements that allow dimension attributes:

http://dev.w3.org/html5/spec/Overview.html#attr-dim-width

But the validator complains about iframes with 0 width and height, for instance:

http://validator.nu/?doc=http%3A%2F%2Fwww.myspace.com%2F&schema=http%3A%2F%2Fs.validator.nu%2Fhtml5%2Fhtml5full-aria.rnc+http%3A%2F%2Fs.validator.nu%2Fhtml5%2Fassertions.sch+http%3A%2F%2Fc.validator.nu%2Fall%2F&parser=html5
Comment 1 Michael[tm] Smith 2010-03-30 12:27:45 CEST
Created attachment 151 [details]
patch
Comment 2 Michael[tm] Smith 2010-03-30 12:32:04 CEST
syntax 544