From a6f99093cbc1e22112b0d36ae368438d268f2376 Mon Sep 17 00:00:00 2001 From: Jinho Bang Date: Fri, 5 Jan 2018 08:23:47 +0900 Subject: [PATCH] Fix misuse of mixin syntax (#2575) Introduced `interface mixin` syntax in #2566 but it's incorrect. A `interface mixin` SHOULD NOT includes another mixin. This fixes #2566. --- specs/latest/2.0/index.html | 2 +- specs/latest/2.0/webgl2.idl | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/specs/latest/2.0/index.html b/specs/latest/2.0/index.html index fbab074438..6c6d3112c8 100644 --- a/specs/latest/2.0/index.html +++ b/specs/latest/2.0/index.html @@ -967,11 +967,11 @@

The WebGL context

[WebGLHandlesContextLoss] GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); void bindVertexArray(WebGLVertexArrayObject? array); }; -WebGL2RenderingContextBase includes WebGLRenderingContextBase; interface WebGL2RenderingContext { }; +WebGL2RenderingContext includes WebGLRenderingContextBase; WebGL2RenderingContext includes WebGL2RenderingContextBase; diff --git a/specs/latest/2.0/webgl2.idl b/specs/latest/2.0/webgl2.idl index f36289fbca..f3ee86b7c5 100644 --- a/specs/latest/2.0/webgl2.idl +++ b/specs/latest/2.0/webgl2.idl @@ -570,11 +570,11 @@ interface mixin WebGL2RenderingContextBase [WebGLHandlesContextLoss] GLboolean isVertexArray(WebGLVertexArrayObject? vertexArray); void bindVertexArray(WebGLVertexArrayObject? array); }; -WebGL2RenderingContextBase includes WebGLRenderingContextBase; interface WebGL2RenderingContext { }; +WebGL2RenderingContext includes WebGLRenderingContextBase; WebGL2RenderingContext includes WebGL2RenderingContextBase;