mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
Implemented paint worklets invoking worklet scripts.
This commit is contained in:
parent
9a13cf6bda
commit
3db4761767
20 changed files with 575 additions and 19 deletions
10
components/script/dom/webidls/PaintSize.webidl
Normal file
10
components/script/dom/webidls/PaintSize.webidl
Normal file
|
@ -0,0 +1,10 @@
|
|||
/* This Source Code Form is subject to the terms of the Mozilla Public
|
||||
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://drafts.css-houdini.org/css-paint-api/#paintsize
|
||||
[Exposed=PaintWorklet]
|
||||
interface PaintSize {
|
||||
readonly attribute double width;
|
||||
readonly attribute double height;
|
||||
};
|
Loading…
Add table
Add a link
Reference in a new issue