Commit 888954a0 authored by Glenn Adams's avatar Glenn Adams

Add initial levels 3 and 4 support.

parent a14c5421
......@@ -25,8 +25,8 @@
# specifications
SPECS = $(SPECS_L1) $(SPECS_L2)
SPECS_L1 = canvas2d cssfontload cssom cssomview custom dom3events dom4 domps ecmascript51 encoding file fullscreen html5 selectors1 sse svg12tiny touchevents typedarray url webgl webmessage websocket webstorage webworkers xhr
SPECS_L2 = css21 cssanimation cssbg csscolor cssfonts cssimage cssmulticol csstext csstransform csstransition cssui csswm
SPECS = $(SPECS_L1) $(SPECS_L2) $(SPECS_L3) $(SPECS_L4)
SPECS_L1 = canvas2d cssfontload cssom cssomview custom dom3events dom4 domps ecmascript51 encoding file fullscreen html5 selectors1 sse svg12tiny touchevents typedarray url webgl webmessage websocket webstorage webworkers xhr
SPECS_L2 = css21 cssanimation cssbg csscolor cssfonts cssimage cssmulticol csstext csstransform csstransition cssui csswm
SPECS_L3 =
SPECS_L4 =
......@@ -24,5 +24,8 @@
# THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
# tools
TOOLS_L1 = fetch extract parse index generate
TOOLS_L2 = fetch generate
TOOLS_L1 = fetch extract parse index generate
TOOLS_L2 = fetch generate
TOOLS_L3 = fetch
TOOLS_L4 = fetch
......@@ -344,11 +344,13 @@
<p><a href="http://www.w3.org/"><img alt="W3C" height="48" src="http://www.w3.org/Icons/w3c_home" width="72"></a></p>
<h1>HTML Canvas 2D Context</h1>
<p class="no-num no-toc subline">Editor's Draft 12 September 2014</p>
<p class="no-num no-toc subline">Editor's Draft 17 October 2014</p>
</header>
<dl>
<dt>Latest Published Version:</dt>
<dd><a href="http://www.w3.org/TR/2dcontext/">http://www.w3.org/TR/2dcontext/</a></dd>
<dt>Latest Version of HTML:</dt>
<dd><a href="http://www.w3.org/TR/html/">http://www.w3.org/TR/html/</a></dd>
<dt>Latest Editor's Draft:</dt>
<dd><a class="latest-link" href="http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas_CR/">http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas_CR/</a></dd>
......
Fri, 12 Sep 2014 13:10:08 GMT
\ No newline at end of file
Fri, 17 Oct 2014 01:00:09 GMT
\ No newline at end of file
This diff is collapsed.
Wed, 10 Sep 2014 00:35:03 GMT
\ No newline at end of file
Thu, 16 Oct 2014 21:30:03 GMT
\ No newline at end of file
This diff is collapsed.
Thu, 17 Apr 2014 19:35:04 GMT
\ No newline at end of file
Fri, 26 Sep 2014 21:40:03 GMT
\ No newline at end of file
This source diff could not be displayed because it is too large. You can view the blob instead.
Thu, 04 Sep 2014 15:05:03 GMT
\ No newline at end of file
Thu, 02 Oct 2014 07:55:03 GMT
\ No newline at end of file
......@@ -119,7 +119,7 @@ interface CSSStyleDeclaration {
void setPropertyPriority(DOMString property, [TreatNullAs=EmptyString] DOMString priority);
DOMString removeProperty(DOMString property);
readonly attribute CSSRule? parentRule;
attribute DOMString cssFloat;
[TreatNullAs=EmptyString] attribute DOMString cssFloat;
};
[NoInterfaceObject]
......
......@@ -1837,7 +1837,16 @@
"idlType": "DOMString"
},
"name": "cssFloat",
"extAttrs": []
"extAttrs": [
{
"name": "TreatNullAs",
"arguments": null,
"rhs": {
"type": "identifier",
"value": "EmptyString"
}
}
]
}
],
"inheritance": null,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Fri, 12 Sep 2014 07:45:03 GMT
\ No newline at end of file
Wed, 15 Oct 2014 09:55:02 GMT
\ No newline at end of file
......@@ -4,6 +4,10 @@ enum ScrollBehavior { "auto", "instant", "smooth" };
dictionary ScrollOptions {
ScrollBehavior behavior = "auto";
};
dictionary ScrollToOptions : ScrollOptions {
double left;
double top;
};
partial interface Window {
MediaQueryList matchMedia(DOMString query);
......@@ -24,9 +28,12 @@ partial interface Window {
readonly attribute double pageXOffset;
readonly attribute double scrollY;
readonly attribute double pageYOffset;
void scroll(unrestricted double x, unrestricted double y, optional ScrollOptions options);
void scrollTo(unrestricted double x, unrestricted double y, optional ScrollOptions options);
void scrollBy(unrestricted double x, unrestricted double y, optional ScrollOptions options);
void scroll(optional ScrollToOptions options);
void scroll(unrestricted double x, unrestricted double y);
void scrollTo(optional ScrollToOptions options);
void scrollTo(unrestricted double x, unrestricted double y);
void scrollBy(optional ScrollToOptions options);
void scrollBy(unrestricted double x, unrestricted double y);
// client
readonly attribute double screenX;
......@@ -76,20 +83,24 @@ interface CaretPosition {
DOMRect? getClientRect();
};
dictionary ScrollOptionsHorizontal : ScrollOptions {
double x;
};
dictionary ScrollOptionsVertical : ScrollOptions {
double y;
enum ScrollLogicalPosition { "start", "end" };
dictionary ScrollIntoViewOptions : ScrollOptions {
ScrollLogicalPosition block = "start";
};
partial interface Element {
DOMRectList getClientRects();
DOMRect getBoundingClientRect();
void scrollIntoView();
void scrollIntoView(boolean top, optional ScrollOptions options);
attribute (unrestricted double or ScrollOptionsVertical) scrollTop;
attribute (unrestricted double or ScrollOptionsHorizontal) scrollLeft;
void scrollIntoView((boolean or object) arg);
void scroll(optional ScrollToOptions options);
void scroll(unrestricted double x, unrestricted double y);
void scrollTo(optional ScrollToOptions options);
void scrollTo(unrestricted double x, unrestricted double y);
void scrollBy(optional ScrollToOptions options);
void scrollBy(unrestricted double x, unrestricted double y);
attribute unrestricted double scrollTop;
attribute unrestricted double scrollLeft;
readonly attribute double scrollWidth;
readonly attribute double scrollHeight;
readonly attribute double clientTop;
......
This diff is collapsed.
This diff is collapsed.
Wed, 09 Jul 2014 14:00:17 GMT
\ No newline at end of file
Mon, 06 Oct 2014 20:33:02 GMT
\ No newline at end of file
......@@ -103,9 +103,6 @@ interface ParentNode {
readonly attribute Element? lastElementChild;
readonly attribute unsigned long childElementCount;
void prepend((Node or DOMString)... nodes);
void append((Node or DOMString)... nodes);
Element? querySelector(DOMString selectors);
[NewObject] NodeList querySelectorAll(DOMString selectors);
};
......@@ -123,9 +120,6 @@ CharacterData implements NonDocumentTypeChildNode;
[NoInterfaceObject]
interface ChildNode {
void before((Node or DOMString)... nodes);
void after((Node or DOMString)... nodes);
void replace((Node or DOMString)... nodes);
void remove();
};
DocumentType implements ChildNode;
......@@ -233,7 +227,6 @@ interface Document : Node {
[SameObject] readonly attribute DOMImplementation implementation;
readonly attribute DOMString URL;
readonly attribute DOMString documentURI;
readonly attribute DOMString origin;
readonly attribute DOMString compatMode;
readonly attribute DOMString characterSet;
readonly attribute DOMString contentType;
......
......@@ -1352,112 +1352,6 @@
"name": "childElementCount",
"extAttrs": []
},
{
"type": "operation",
"getter": false,
"setter": false,
"creator": false,
"deleter": false,
"legacycaller": false,
"static": false,
"stringifier": false,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "void"
},
"name": "prepend",
"arguments": [
{
"optional": false,
"variadic": true,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": true,
"idlType": [
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "Node"
},
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
}
]
},
"name": "nodes"
}
],
"extAttrs": []
},
{
"type": "operation",
"getter": false,
"setter": false,
"creator": false,
"deleter": false,
"legacycaller": false,
"static": false,
"stringifier": false,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "void"
},
"name": "append",
"arguments": [
{
"optional": false,
"variadic": true,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": true,
"idlType": [
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "Node"
},
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
}
]
},
"name": "nodes"
}
],
"extAttrs": []
},
{
"type": "operation",
"getter": false,
......@@ -1627,165 +1521,6 @@
"name": "ChildNode",
"partial": false,
"members": [
{
"type": "operation",
"getter": false,
"setter": false,
"creator": false,
"deleter": false,
"legacycaller": false,
"static": false,
"stringifier": false,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "void"
},
"name": "before",
"arguments": [
{
"optional": false,
"variadic": true,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": true,
"idlType": [
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "Node"
},
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
}
]
},
"name": "nodes"
}
],
"extAttrs": []
},
{
"type": "operation",
"getter": false,
"setter": false,
"creator": false,
"deleter": false,
"legacycaller": false,
"static": false,
"stringifier": false,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "void"
},
"name": "after",
"arguments": [
{
"optional": false,
"variadic": true,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": true,
"idlType": [
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "Node"
},
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
}
]
},
"name": "nodes"
}
],
"extAttrs": []
},
{
"type": "operation",
"getter": false,
"setter": false,
"creator": false,
"deleter": false,
"legacycaller": false,
"static": false,
"stringifier": false,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "void"
},
"name": "replace",
"arguments": [
{
"optional": false,
"variadic": true,
"extAttrs": [],
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": true,
"idlType": [
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "Node"
},
{
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
}
]
},
"name": "nodes"
}
],
"extAttrs": []
},
{
"type": "operation",
"getter": false,
......@@ -3423,23 +3158,6 @@
"name": "documentURI",
"extAttrs": []
},
{
"type": "attribute",
"static": false,
"stringifier": false,
"inherit": false,
"readonly": true,
"idlType": {
"sequence": false,
"generic": null,
"nullable": false,
"array": false,
"union": false,
"idlType": "DOMString"
},
"name": "origin",
"extAttrs": []
},
{
"type": "attribute",
"static": false,
......
This source diff could not be displayed because it is too large. You can view the blob instead.
Fri, 12 Sep 2014 13:12:28 GMT
\ No newline at end of file
Fri, 17 Oct 2014 01:02:29 GMT
\ No newline at end of file
This diff is collapsed.
Sun, 14 Sep 2014 07:44:26 GMT
\ No newline at end of file
Fri, 17 Oct 2014 01:15:11 GMT
\ No newline at end of file
......@@ -7,7 +7,7 @@
<script src='/resources/testharnessreport.js'></script>
<script src='/tools/common/level1.js'></script>
<script type='text/plain' id='idlDef'>
[{"type":"implements","target":"CharacterData","implements":"ChildNode","extAttrs":[]},{"type":"interface","name":"ChildNode","partial":false,"members":[{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"before","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name":"nodes"}],"extAttrs":[]},{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"after","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name":"nodes"}],"extAttrs":[]},{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"replace","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name":"nodes"}],"extAttrs":[]},{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"remove","arguments":[],"extAttrs":[]}],"inheritance":null,"extAttrs":[{"name":"NoInterfaceObject","arguments":null}]}]
[{"type":"implements","target":"CharacterData","implements":"ChildNode","extAttrs":[]},{"type":"interface","name":"ChildNode","partial":false,"members":[{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"remove","arguments":[],"extAttrs":[]}],"inheritance":null,"extAttrs":[{"name":"NoInterfaceObject","arguments":null}]}]
</script>
<h1>Test CharacterData Implements ChildNode Signature</h1>
<div id='log'></div>
......
......@@ -7,7 +7,7 @@
<script src='/resources/testharnessreport.js'></script>
<script src='/tools/common/level1.js'></script>
<script type='text/plain' id='idlDef'>
[{"type":"implements","target":"DocumentType","implements":"ChildNode","extAttrs":[]},{"type":"interface","name":"ChildNode","partial":false,"members":[{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"before","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name":"nodes"}],"extAttrs":[]},{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"after","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name":"nodes"}],"extAttrs":[]},{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"replace","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name":"nodes"}],"extAttrs":[]},{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"remove","arguments":[],"extAttrs":[]}],"inheritance":null,"extAttrs":[{"name":"NoInterfaceObject","arguments":null}]}]
[{"type":"implements","target":"DocumentType","implements":"ChildNode","extAttrs":[]},{"type":"interface","name":"ChildNode","partial":false,"members":[{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"remove","arguments":[],"extAttrs":[]}],"inheritance":null,"extAttrs":[{"name":"NoInterfaceObject","arguments":null}]}]
</script>
<h1>Test DocumentType Implements ChildNode Signature</h1>
<div id='log'></div>
......
......@@ -7,7 +7,7 @@
<script src='/resources/testharnessreport.js'></script>
<script src='/tools/common/level1.js'></script>
<script type='text/plain' id='idlDef'>
[{"type":"implements","target":"Element","implements":"ChildNode","extAttrs":[]},{"type":"interface","name":"ChildNode","partial":false,"members":[{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"before","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name":"nodes"}],"extAttrs":[]},{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"after","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name":"nodes"}],"extAttrs":[]},{"type":"operation","getter":false,"setter":false,"creator":false,"deleter":false,"legacycaller":false,"static":false,"stringifier":false,"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"void"},"name":"replace","arguments":[{"optional":false,"variadic":true,"extAttrs":[],"idlType":{"sequence":false,"generic":null,"nullable":false,"array":false,"union":true,"idlType":[{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"Node"},{"sequence":false,"generic":null,"nullable":false,"array":false,"union":false,"idlType":"DOMString"}]},"name