Permalink
Browse files

[] (0) WF2: The beginnings of processing models...

git-svn-id: http://svn.whatwg.org/webapps@2160 340c8d12-0b0e-0410-8428-c7bf67bfef74
  • Loading branch information...
1 parent 52bb44e commit d1e734d9be411810b727576f1ba10f7c0fa18162 @Hixie Hixie committed Sep 8, 2008
Showing with 44 additions and 20 deletions.
  1. +26 −14 index
  2. +18 −6 source
View
40 index
@@ -28,7 +28,7 @@
<h1 id=html-5>HTML 5</h1>
- <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 7
+ <h2 class="no-num no-toc" id=draft>Draft Recommendation &mdash; 8
September 2008</h2>
<p>You can take part in this work. <a
@@ -1060,9 +1060,12 @@
of controls and forms</a>
<li><a href="#processing1"><span class=secno>4.9.13 </span>Processing
- model</a>
+ models</a>
<ul class=toc>
- <li><a href="#form-submission"><span class=secno>4.9.13.1.
+ <li><a href="#constraint"><span class=secno>4.9.13.1.
+ </span>Constraint checking</a>
+
+ <li><a href="#form-submission"><span class=secno>4.9.13.2.
</span>Form submission</a>
</ul>
</ul>
@@ -27317,21 +27320,30 @@ interface <dfn id=htmloptionelement>HTMLOptionElement</dfn> : <a href="#htmlelem
getting, must return the element's <a href="#form-owner">form owner</a>,
or null if there isn't one.
- <h4 id=processing1><span class=secno>4.9.13 </span>Processing model</h4>
+ <h4 id=processing1><span class=secno>4.9.13 </span>Processing models</h4>
- <p class=big-issue>See <a
- href="http://www.whatwg.org/specs/web-forms/current-work/#extend-form-controls">WF2</a>
- for now
+ <h5 id=constraint><span class=secno>4.9.13.1. </span>Constraint checking</h5>
- <h5 id=form-submission><span class=secno>4.9.13.1. </span>Form submission</h5>
+ <p class=big-issue>...
- <p class=big-issue>See <a
- href="http://www.whatwg.org/specs/web-forms/current-work/#form-submission">WF2</a>
- for now
+ <h5 id=form-submission><span class=secno>4.9.13.2. </span>Form submission</h5>
- <p class=big-issue id=sandboxSubmitBlocked>If a form is in a browsing
- context whose <a href="#sandboxed3">sandboxed forms browsing context
- flag</a> is set, it must not be submitted.
+ <p>When a form <var title="">form</var> is <dfn id=submitted
+ title=concept-form-submit>submitted</dfn> from an element <var
+ title="">submitter</var> (typically a button), the user agent must run the
+ following steps:
+
+ <ol>
+ <li id=sandboxSubmitBlocked>
+ <p>If <var title="">form</var> is in a <code>Document</code> that has no
+ associated <a href="#browsing1">browsing context</a> or whose <a
+ href="#browsing1">browsing context</a> has its <a
+ href="#sandboxed3">sandboxed forms browsing context flag</a> set, then
+ abort these steps without doing anything.
+
+ <li>
+ <p class=big-issue>...
+ </ol>
<h3 id=scripting1><span class=secno>4.10 </span>Scripting</h3>
View
24 source
@@ -24514,18 +24514,30 @@ interface <dfn>HTMLOptionElement</dfn> : <span>HTMLElement</span> {
null if there isn't one.</p>
- <h4>Processing model</h4>
+ <h4>Processing models</h4>
- <p class="big-issue">See <a href="http://www.whatwg.org/specs/web-forms/current-work/#extend-form-controls">WF2</a> for now</p>
+ <h5>Constraint checking</h5>
+ <p class="big-issue">...</p>
<h5>Form submission</h5>
- <p class="big-issue">See <a href="http://www.whatwg.org/specs/web-forms/current-work/#form-submission">WF2</a> for now</p>
+ <p>When a form <var title="">form</var> is <dfn
+ title="concept-form-submit">submitted</dfn> from an element <var
+ title="">submitter</var> (typically a button), the user agent must
+ run the following steps:</p>
+
+ <ol>
- <p class="big-issue" id="sandboxSubmitBlocked">If a form is in a
- browsing context whose <span>sandboxed forms browsing context
- flag</span> is set, it must not be submitted.</p>
+ <li id="sandboxSubmitBlocked"><p>If <var title="">form</var> is in
+ a <code>Document</code> that has no associated <span>browsing
+ context</span> or whose <span>browsing context</span> has its
+ <span>sandboxed forms browsing context flag</span> set, then abort
+ these steps without doing anything.</p></li>
+
+ <li><p class="big-issue">...</p></li>
+
+ </ol>

0 comments on commit d1e734d

Please sign in to comment.