Skip to content

Commit 4ee3fde

Browse files
committed
Merge remote-tracking branch 'upstream/master' into valueTypes
2 parents 246f75d + cccaca5 commit 4ee3fde

File tree

2 files changed

+11
-8
lines changed

2 files changed

+11
-8
lines changed

css-paint-api/Overview.bs

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,9 +20,11 @@ spec:css-break-3; type:dfn; text:fragment
2020
urlPrefix: https://heycam.github.io/webidl/; type: dfn;
2121
text: NotSupportedError
2222
urlPrefix: #dfn-;
23+
text: callback this value
2324
text: exception
2425
text: throw
2526
url: throw; text: thrown
27+
url: es-invoking-callback-functions; text: Invoke
2628
urlPrefix: https://html.spec.whatwg.org/multipage/scripting.html; type: dfn;
2729
text: reset the rendering context to its default state
2830
text: output bitmap
@@ -31,7 +33,6 @@ urlPrefix: https://html.spec.whatwg.org/multipage/scripting.html; type: dfn;
3133
urlPrefix: https://tc39.github.io/ecma262/#sec-; type: dfn;
3234
text: constructor
3335
text: Construct
34-
text: Invoke
3536
text: IsArray
3637
text: IsCallable
3738
text: IsConstructor
@@ -400,14 +401,16 @@ following steps:
400401
10. Let |paintSize| be a new {{PaintSize}} initialized to the width and height defined by
401402
|concreteObjectSize|.
402403

403-
11. Perform <a>Invoke</a>(|paintInstance|, "paint", «|renderingContext|, |paintSize|,
404-
|styleMap|»).
404+
11. Let |paintFunction| be |definition|'s <a>paint function</a>.
405405

406-
12. The image output is to be produced from the |renderingContext| given to the method.
406+
12. <a>Invoke</a> |paintFunction| with arguments «|renderingContext|, |paintSize|, |styleMap|»,
407+
and with |paintInstance| as the <a>callback this value</a>.
408+
409+
13. The image output is to be produced from the |renderingContext| given to the method.
407410

408411
If an exception is <a>thrown</a> the let the image output be an <a>invalid image</a>.
409412

410-
13. Set the <a>paint valid flag</a> for the |paintFunction| to <a>paint-valid</a>.
413+
14. Set the <a>paint valid flag</a> for the |paintFunction| to <a>paint-valid</a>.
411414

412415
Note: The user agent <em>should</em> consider long running paint functions similar to long running
413416
script in the main execution context. For example, they <em>should</em> show a "unresponsive

css-typed-om/Overview.bs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -462,13 +462,13 @@ interface CSSTranslation : CSSTransformComponent {
462462

463463
[Constructor(double degrees),
464464
Constructor(CSSAngleValue angle),
465-
Constructor(double degrees, double x, double y, double z),
466-
Constructor(CSSAngleValue angle, double x, double y, double z)]
465+
Constructor(double x, double y, double z, double degrees),
466+
Constructor(double x, double y, double z, CSSAngleValue angle)]
467467
interface CSSRotation : CSSTransformComponent {
468-
readonly attribute double angle;
469468
readonly attribute double x;
470469
readonly attribute double y;
471470
readonly attribute double z;
471+
readonly attribute double angle;
472472
};
473473

474474
[Constructor(double x, double y),

0 commit comments

Comments
 (0)