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 22530 - You say srcdoc must start with an html element, but the example below starts with a paragraph element.
Summary: You say srcdoc must start with an html element, but the example below starts ...
Status: RESOLVED FIXED
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: 2013-07-01 17:53 UTC by contributor
Modified: 2013-07-09 20:03 UTC (History)
2 users (show)

See Also:


Attachments

Description contributor 2013-07-01 17:53:22 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/the-iframe-element.html
Multipage: http://www.whatwg.org/C#the-iframe-element
Complete: http://www.whatwg.org/c#the-iframe-element
Referrer: 

Comment:
You say srcdoc must start with an html element, but the example below starts
with a paragraph element.

Posted from: 63.245.220.240
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:25.0) Gecko/20130701 Firefox/25.0
Comment 1 Ian 'Hixie' Hickson 2013-07-03 21:38:11 UTC
The _element_ is required, but the element's start tag is optional (and implied if omitted). I've tried to make this clearer.
Comment 2 contributor 2013-07-03 21:39:32 UTC
Checked in as WHATWG revision r8030.
Check-in comment: Elaborate on srcdoc='' syntax.
http://html5.org/tools/web-apps-tracker?from=8029&to=8030