[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[elpa] master 7635384 17/23: Align iframe[sandbox] checking with spec
From: |
Stefan Monnier |
Subject: |
[elpa] master 7635384 17/23: Align iframe[sandbox] checking with spec |
Date: |
Thu, 14 Jan 2016 19:22:38 +0000 |
branch: master
commit 76353846aa84173b57107ef6d917aaaf7f3da344
Author: Michael[tm] Smith <address@hidden>
Commit: Michael[tm] Smith <address@hidden>
Align iframe[sandbox] checking with spec
Fixes https://github.com/validator/validator/issues/138
---
common.rnc | 4 ++
embed.rnc | 149 +----------------------------------------------------------
2 files changed, 7 insertions(+), 146 deletions(-)
diff --git a/common.rnc b/common.rnc
index 97c09de..3352fd8 100644
--- a/common.rnc
+++ b/common.rnc
@@ -394,6 +394,10 @@ common.attrs.other =
common.data.integrity =
w:integrity-metadata
+## List of sandbox keywords
+ common.data.sandbox-allow-list =
+ w:string "" | w:sandbox-allow-list
+
## Microdata Properties
common.data.microdata-properties =
list { w:microdata-property+ }
diff --git a/embed.rnc b/embed.rnc
index 1b20ba8..27b3ab6 100644
--- a/embed.rnc
+++ b/embed.rnc
@@ -465,152 +465,9 @@ namespace local = ""
w:string "seamless" | w:string ""
} & v5only
iframe.attrs.sandbox =
- attribute sandbox
- { list
- { ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string "allow-forms" )?
- , ( w:string "allow-scripts" )?
- }
- | list
- { ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string "allow-scripts" )?
- , ( w:string "allow-forms" )?
- }
- | list
- { ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-forms" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string "allow-scripts" )?
- }
- | list
- { ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-forms" )?
- , ( w:string "allow-scripts" )?
- , ( w:string "allow-same-origin"
)?
- }
- | list
- { ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-scripts" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string "allow-forms" )?
- }
- | list
- { ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-scripts" )?
- , ( w:string "allow-forms" )?
- , ( w:string "allow-same-origin"
)?
- }
- | list
- { ( w:string "allow-same-origin"
)?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-forms" )?
- , ( w:string "allow-scripts" )?
- }
- | list
- { ( w:string "allow-same-origin"
)?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-scripts" )?
- , ( w:string "allow-forms" )?
- }
- | list
- { ( w:string "allow-forms" )?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string "allow-scripts" )?
- }
- | list
- { ( w:string "allow-forms" )?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-scripts" )?
- , ( w:string "allow-same-origin"
)?
- }
- | list
- { ( w:string "allow-scripts" )?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string "allow-forms" )?
- }
- | list
- { ( w:string "allow-scripts" )?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-forms" )?
- , ( w:string "allow-same-origin"
)?
- }
- | list
- { ( w:string "allow-same-origin"
)?
- , ( w:string "allow-forms" )?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-scripts" )?
- }
- | list
- { ( w:string "allow-same-origin"
)?
- , ( w:string "allow-scripts" )?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-forms" )?
- }
- | list
- { ( w:string "allow-forms" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-scripts" )?
- }
- | list
- { ( w:string "allow-forms" )?
- , ( w:string "allow-scripts" )?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-same-origin"
)?
- }
- | list
- { ( w:string "allow-scripts" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-forms" )?
- }
- | list
- { ( w:string "allow-scripts" )?
- , ( w:string "allow-forms" )?
- , ( w:string
"allow-top-navigation" )?
- , ( w:string "allow-same-origin"
)?
- }
- | list
- { ( w:string "allow-same-origin"
)?
- , ( w:string "allow-forms" )?
- , ( w:string "allow-scripts" )?
- , ( w:string
"allow-top-navigation" )?
- }
- | list
- { ( w:string "allow-same-origin"
)?
- , ( w:string "allow-scripts" )?
- , ( w:string "allow-forms" )?
- , ( w:string
"allow-top-navigation" )?
- }
- | list
- { ( w:string "allow-forms" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string "allow-scripts" )?
- , ( w:string
"allow-top-navigation" )?
- }
- | list
- { ( w:string "allow-forms" )?
- , ( w:string "allow-scripts" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string
"allow-top-navigation" )?
- }
- | list
- { ( w:string "allow-scripts" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string "allow-forms" )?
- , ( w:string
"allow-top-navigation" )?
- }
- | list
- { ( w:string "allow-scripts" )?
- , ( w:string "allow-forms" )?
- , ( w:string "allow-same-origin"
)?
- , ( w:string
"allow-top-navigation" )?
- }
- } & v5only
+ attribute sandbox {
+ common.data.sandbox-allow-list
+ } & v5only
iframe.attrs.allowfullscreen =
attribute allowfullscreen {
w:string "allowfullscreen" | w:string ""
- [elpa] master 103dc56 09/23: (Re)corrected content model for the ruby element., (continued)
- [elpa] master 103dc56 09/23: (Re)corrected content model for the ruby element., Stefan Monnier, 2016/01/14
- [elpa] master 76e0657 10/23: Allow ol>li[role=menuitem] & ol>li[role=tab]., Stefan Monnier, 2016/01/14
- [elpa] master c3b8596 14/23: Sync up with latest ARIA-in-HTML spec changes, Stefan Monnier, 2016/01/14
- [elpa] master 1c11a56 12/23: Add the "integrity" attribute, Stefan Monnier, 2016/01/14
- [elpa] master f1cac66 11/23: Refine some ARIA checking to sync w/ current spec, Stefan Monnier, 2016/01/14
- [elpa] master ae3a23b 19/23: Allow the "nonce" attribute, Stefan Monnier, 2016/01/14
- [elpa] master 44fe4a7 16/23: Allow "minlength", Stefan Monnier, 2016/01/14
- [elpa] master 67350aa 15/23: Allow ARIA role=switch, Stefan Monnier, 2016/01/14
- [elpa] master fec8cdf 20/23: Add CSP syntax checking for <meta> & HTTP header, Stefan Monnier, 2016/01/14
- [elpa] master 6e7c7c3 21/23: Make minlength checking behave as expected, Stefan Monnier, 2016/01/14
- [elpa] master 7635384 17/23: Align iframe[sandbox] checking with spec,
Stefan Monnier <=
- [elpa] master 1f870ab 18/23: Align event-handler-attribute checking with spec, Stefan Monnier, 2016/01/14
- [elpa] master a426434 23/23: * html5-schema: Add locating-rules.xml and setup nxml to use it, Stefan Monnier, 2016/01/14
- [elpa] master dcd917c 01/23: Consolidated all RelaxNG files into `/schema` dir., Stefan Monnier, 2016/01/14
- [elpa] master 07bcdb8 22/23: Add 'packages/html5-schema/' from commit '6e7c7c331e7f6692be6c7d39fb9485792f0d3513', Stefan Monnier, 2016/01/14