Login
Page 1 of 2

CSS-TAG Houdini Editor Drafts

History for css-paint-api/Overview.html:

UploadedRevisedByComment
2024-08-24
18:12:14 PDT2024-08-24 18:12:03 PDTtabatkinsEditorial: Update use of WebIDL "invoke a callback function" (#1127) * Editorial: Update use of WebIDL "invoke a callback function" Rethrowing is no longer implicit (since reporting is frequently what's desired). Here handling the exception is intended, so this is a very small change. Also included are the various changes required to make these specs build and fixes to some places nearby where a clearly incorrect definition was linked to. Part of whatwg/webidl#1425. * Use link-defaults rather than a manual anchor --------- Co-authored-by: Tab Atkins Jr. <jackalmage@gmail.com>
2020-12-15
15:05:01 PST2020-12-15 15:04:46 PSTtabatkins[various][editorial] Fix references to 'intrinsic sizes' of images/etc to be 'natural', per w3c/csswg-drafts/issues/4961
2017-04-12
21:50:00 PDT2017-04-12 21:48:43 PDTikilpatrick[worklets] Adds hook for downstream spec to set the destination. Fixes #378.
2020-10-16
09:48:11 PDT2020-10-16 09:47:58 PDTdomenic_denicolaReflect worklets moving to HTML (#1011) See #1000.
2020-08-18
12:53:57 PDT2020-08-18 12:53:46 PDTautokagami[css-paint-api-1] Align with Web IDL specification (#1001)
2020-07-07
19:47:00 PDT2020-07-07 19:46:48 PDTikilpatrick[worklets] Adds hook for downstream spec to set the destination. (#388) Fixes #378.
2019-10-31
05:48:05 PDT2019-10-31 05:47:55 PDTroman_dvornov[css-paint-api-1] Fix typo (#971) execption -> exception
2019-10-25
11:51:24 PDT2019-10-25 11:06:19 PDTtabatkins[css-paint-api] Link to issue about html integration.
11:05:11 PDT2019-10-25 11:03:59 PDTtabatkins[css-paint-api] Add a Privacy Consideration about Paint API being a high-bandwidth :visited leak. Fixes #791.
10:52:24 PDT2019-10-25 10:52:10 PDTtabatkins[css-paint-api] Add defaults for some unexported HTML terms, so we don't have to wait for them to be exported.
2019-07-23
13:59:36 PDT2019-07-23 13:59:26 PDTtabatkins[css-paint-api] Lean on "syntax definition" concept. (#885) * [css-paint-api] Lean on "syntax descriptor" concept. The css-properties-values-api now describes in detail how to produce a "syntax descriptor" from a string, so it's better to link to that rather than linking to a section in the spec. * Update after rename from descriptor -> definition.
2018-08-27
16:42:28 PDT2018-08-27 16:42:13 PDTtabatkins[css-paint-api] Nothing to do with fragments, this is about concrete object size.
16:23:20 PDT2018-08-27 16:23:03 PDTtabatkins[css-paint-api] Switch all dfn autolinks to the dfn shorthand.
16:16:07 PDT2018-08-27 16:15:45 PDTtabatkins[css-paint-api] Build cleanly.
2018-07-23
11:37:50 PDT2018-07-23 11:37:40 PDTtabatkins[css-layout-api][css-paint-api][css-properties-values-api] Use partial namespace CSS (#784) CSSOM and other CSS specs were updated in https://github.com/w3c/csswg-drafts/pull/437. Fixes https://www.w3.org/Bugs/Public/show_bug.cgi?id=29623.
2018-07-01
22:46:04 PDT2018-07-01 22:45:41 PDTikilpatrick[css-paint-api] Link to DOC.
20:58:48 PDT2018-07-01 20:58:19 PDTikilpatrick[css-paint-api] Added changes list.
2018-06-22
08:29:32 PDT2018-06-22 08:28:01 PDTikilpatrick[css-paint-api] Filter out unsupported properties from inputProperties. Fixes #523.
2018-06-21
16:08:46 PDT2018-06-21 16:06:42 PDTikilpatrick[css-paint-api] Convert the paint function to the correct WebIDL type. This fixes #743.
2018-06-06
08:16:46 PDT2018-06-06 08:16:36 PDTluke_bjerringFix mixin keyword in IDL (#765) While adding a test in https://github.com/web-platform-tests/wpt/pull/9773 it highlighted the incorrect IDL. `CanvasState` etc are `interface mixin`s, not interfaces, so are to be `includes` not `implements`.
2018-04-18
07:31:32 PDT2018-04-18 07:30:31 PDTspietersMove Shane and Elliot to former editor
2018-04-11
05:39:23 PDT2018-04-11 05:39:01 PDTtabatkins[css-paint-api] Add the newly-published Previous Version.
2018-04-10
02:06:23 PDT2018-04-10 02:04:31 PDTikilpatrick[css-paint-api] Remove paint invalidation section of the spec. Fixes: #447.
2018-04-09
08:02:27 PDT2018-04-09 08:02:14 PDTdbaron[css-paint-api] Fix bad TR link.
2018-04-07
03:41:58 PDT2018-04-07 03:40:43 PDTikilpatrick[css-paint-api] Monkey patch CSSImageValue into the CanvasImageSource typedef. Fixes #416.
02:18:53 PDT2018-04-07 02:18:16 PDTikilpatrick[css-paint-api] Add in global scope selection rules, i.e. not reusing the same GS more than 1000 times in a row.
2018-04-06
01:44:31 PDT2018-04-06 01:43:19 PDTikilpatrick[css-paint-api] Fix bikeshed errors/warnings.
2018-04-05
09:07:02 PDT2018-04-05 09:06:52 PDTxidachen[CSS Paint API] Pass snapped concrete size to paint function (#518) Fixes #508
2017-04-18
21:03:47 PDT2017-04-18 21:03:39 PDTikilpatrickMerge branch 'master' into css-paint-api-sizing
21:26:45 PDT2017-04-18 21:22:32 PDTikilpatrick[worklets] Rename import to addModule for worklets. \o/ This fixes #374. This didn't have as many text edits as I thought it would.
21:04:46 PDT2017-04-18 21:04:35 PDTikilpatrick[css-paint-api] Removes invalidation based on size, and allows user-a? (#390) * [css-paint-api] Removes invalidation based on size, and allows user-agents to cache. Fixes #326. I realized that explicitly placing an invalidation based on size here was wrong, e.g. if a box changes size it has to run the "object size negotiation" algorithm, which makes invalidating the paint() function off size redundant. Additionally allows user-agents to cache results from previous invocations, and re-use. This allows UAs to re-use images between instances if they have the same input style, concrete object size, and input arguments.
19:31:51 PDT2017-04-18 19:30:20 PDTikilpatrickAddress dbaron comment "is expected" -> "must".
2018-01-28
15:04:34 PST2018-01-28 15:04:23 PSTtabatkins[css-paint-api] Typo in registerProperty: inherit -> inherits (#515)
2017-11-09
13:07:02 PST2017-11-09 13:05:45 PSTdbaronAdd w3cid metadata for all editors. I got the uids from the "Edit status" links in https://www.w3.org/2000/09/dbwg/details?group=32061 This also updates Tab Atkins-Bittner name to current preference (since drafts disagreed).
08:52:59 PST2017-11-09 08:52:38 PSTikilpatrick[css-paint-api] Fix text wrapping.
08:51:13 PST2017-11-09 08:51:02 PSTalan_jeffreyAllow speculative evaluation (#439) Added text allowing speculative evaluation. Fixes #406.
08:43:59 PST2017-11-09 08:42:26 PSTikilpatrick[css-paint-api] Add a note pointing to the css images concrete object size examples. See issue #417.
08:36:22 PST2017-11-09 08:35:10 PSTikilpatrick[css-paint-api] Replace "the PaintWorkletGlobalScope" with "a PaintWorkletGlobalScope" Fixes #469.
2017-10-26
08:30:29 PDT2017-10-26 08:30:18 PDTxidachen[PaintWorklet] Explicitly state the PaintSize could be fractional
2017-09-08
10:13:02 PDT2017-09-08 10:12:53 PDTxidachen[css-paint-api] Replace alpha flag with a PaintRenderingContext2DSettings object (#448) This replaces the single "alpha" flag with a "contextOptions" dictionary. This just has alpha at the moment, but can be extended to other options in the future.
09:31:17 PDT2017-09-08 09:31:07 PDTxidachen[css-paint-api] Add devicePixelRatio property to PaintRenderingContext2D (#446) Adds the devicePixelRatio property to PaintWorkletGlobalScope, which is the same as the Window version.
2017-08-15
09:16:35 PDT2017-08-15 09:16:01 PDTikilpatrick[css-paint-api] Add overdraw exmaple using border-image.
2017-07-25
14:52:43 PDT2017-07-25 14:37:35 PDTikilpatrick[css-layout-api] Add contentSize callback algorithms.
2017-07-24
15:49:03 PDT2017-07-24 15:48:42 PDTikilpatrick[css-layout-api] Rework of registerLayout, document/non-document definitions.
2017-04-28
11:29:04 PDT2017-04-28 03:06:16 PDTSurmaFix image placeholder example
2017-04-16
00:16:35 PDT2017-04-16 00:12:30 PDTikilpatrick[css-paint-api] Removes invalidation based on size, and allows user-agents to cache. Fixes #326. I realized that explicitly placing an invalidation based on size here was wrong, e.g. if a box changes size it has to run the "object size negotiation" algorithm, which makes invalidating the paint() function off size redundant. Additionally allows user-agents to cache results from previous invocations, and re-use. This allows UAs to re-use images between instances if they have the same input style, concrete object size, and input arguments.
04:30:21 PDT2017-04-16 04:28:38 PDTikilpatrick[css-paint-api] Normatively require at least two PaintWorkletGlobalScopes. Fixes #327.
00:36:37 PDT2017-04-16 00:34:00 PDTikilpatrick[css-paint-api] For "long running scripts" optionally produce an invalid image. Fixes #236.
2017-04-15
23:06:54 PDT2017-04-15 23:05:08 PDTikilpatrick[css-paint-api] Adds additional text in example 1 about animations. Fixes #196. We don't need any normative text here (as it is already covered by the rest of css), but adding as some example text.
22:38:14 PDT2017-04-15 22:37:42 PDTikilpatrick[css-paint-api] Remove normative words from notes.
22:19:53 PDT2017-04-15 22:18:46 PDTikilpatrick[css-paint-api] Rewords part of the "Drawing Images" section. Fixes #195.
2017-04-14
21:01:21 PDT2017-04-14 20:58:58 PDTikilpatrick[css-paint-api] Add arcs example. Going to use a simpler arcs example instead of the conic-gradient. Also partially addresses #340.
2017-04-11
11:19:40 PDT2017-04-11 11:18:49 PDTikilpatrick[worklets][css-paint-api] Add TR link for worklets and paint API. Addresses #314 for above.
2017-04-10
19:40:54 PDT2017-04-10 16:36:52 PDTikilpatrick[css-paint-api] Move circle demo into circle/ folder. Begins to address #340.
13:08:52 PDT2017-04-10 13:07:37 PDTikilpatrick[css-paint-api] Add EXPLAINER to spec. Fixes #339.
12:11:05 PDT2017-04-10 12:08:29 PDTikilpatrick[css-paint-api] Finalize plubming for input arguments. Fixes #219, fixes #100.
10:32:14 PDT2017-04-10 10:28:33 PDTikilpatrick[css-paint-api] Adds plumbing for passing input arguments into the paint callback. Addresses part of #100.
2017-04-08
17:00:41 PDT2017-04-08 16:58:48 PDTikilpatrick[css-paint-api] Adds registration of inputArguments to registerPaint(). Addresses part of #100. A later commit will have the use of inputArguments.
2017-04-07
15:21:44 PDT2017-04-07 15:20:41 PDTikilpatrick[css-paint-api] Small editorial cleanup of names.
2017-04-06
16:58:20 PDT2017-04-06 16:57:48 PDTikilpatrick[css-paint-api] Small editorial nit fixes.
15:58:12 PDT2017-04-06 15:54:15 PDTikilpatrick[css-paint-api] A UA should log an error to the console if it reaches an invalid state. For example if a class was registered with different input properties, or if a class wasn't registered in all PaintWorkletGlobalScopes. Fixes #342.
15:05:52 PDT2017-04-06 15:05:17 PDTikilpatrick[css-paint-api] Change document.registerProperty to CSS.registerProperty.
15:04:11 PDT2017-04-06 14:31:01 PDTikilpatrick[css-paint-api] Move paintWorklet attribute to the CSS interface. Fixes: #330.
13:44:45 PDT2017-04-06 13:42:11 PDTikilpatrick[css-paint-api] Change registration NotSupportedError to InvalidModificationError. Fixes #362.
12:10:04 PDT2017-04-06 12:09:30 PDTikilpatrick[worklets] Fix up anchors for spec.
2017-01-10
10:52:53 PST2017-01-10 10:52:40 PSTdbaron[css-paint-api] Spell check.
2017-01-09
14:41:43 PST2017-01-09 14:34:53 PSTikilpatrick[css-paint-api] Removes potential thread hopping from registerPaint and "draw a paint image". This patch queues a task when registerPaint is called to update its map of paint name to input properties. It handles multiple calls by marking the name "invalid" if it recevies different inputProperties with the same key. "draw a paint image" is now split up into two functions. 1) "draw a paint image" which is the entry level function, performs the checking if required, and 2) "invoke a paint callback" which is on the (potential) thread. Fixes: #231, #232, #233.
12:28:47 PST2017-01-09 12:27:09 PSTikilpatrickRevert "Merge remote-tracking branch 'origin/paint-arguments' and address comments." This reverts commit 9d70d321c21b7010d93e39c1faff5954d3f21ca2, reversing changes made to 1d186e58df344a0a2f4b12c215482e9710ea61d7.
12:25:11 PST2017-01-09 12:23:57 PSTikilpatrickMerge remote-tracking branch 'origin/paint-arguments' and address comments.
2017-01-08
10:24:47 PST2017-01-08 10:23:13 PSTikilpatrick[css-paint-api] Convert spec to using whatwg infra maps.
2017-01-05
03:34:48 PST2017-01-05 03:30:55 PSTikilpatrick[css-paint-api] Adds paint function arguments. E.g. registerPaint('foo', class { static get inputArguments() { return ['<length>']; } paint(ctx, size, styleMap, arguments) { } }); Fixes #100.
22:50:12 PST2017-01-05 22:48:18 PSTikilpatrick[css-paint-api] Add importing code into paintWorklet for examples. Fixes #331.
2017-01-03
22:44:25 PST2017-01-03 22:43:36 PSTikilpatrick[css-paint-api] Adds "alpha" option to paint class. Fixes #220.
15:52:55 PST2017-01-03 15:51:12 PSTikilpatrick[css-paint-api] Change "class constructor valid flag" to "paint constructor valid flag". Fix missing link in "draw a paint image" where the flag was set. Fixes #329.
15:34:20 PST2017-01-03 15:33:16 PSTikilpatrick[css-paint-api] Changes |constructor| variable to |paintCtor| in registerPaint algorithm. Fixes #328.
15:31:11 PST2017-01-03 15:30:15 PSTikilpatrick[css-paint-api] Remove VoidFunction.
2016-06-28
22:01:15 PDT2016-06-28 21:59:25 PDTplinssFix extremely important article use before 'box' I am pedantic and I can't handle it.
2016-06-23
11:43:51 PDT2016-06-23 11:42:01 PDTikilpatrick[css-paint-api] Fix invoking a paint function.
09:26:26 PDT2016-06-23 09:25:35 PDTikilpatrick[css-paint-api] Define variable 'paint' in 'registerPaint' algorithm. Fixes #234
2016-06-22
16:02:11 PDT2016-06-22 15:56:50 PDTikilpatrick[css-paint-api] Use ?? instead of [] for array syntax.
2016-06-20
14:13:06 PDT2016-06-20 14:12:38 PDTikilpatrick[css-paint-api] Remove un-prefixed property restriction
13:59:36 PDT2016-06-20 13:58:27 PDTikilpatrick[css-paint-api] s/Geometry/PaintSize
2016-06-12
06:42:49 PDT2016-06-12 06:38:23 PDTdbaronPost-publication edits for June 7 publication: add Previous version link, and change status from DREAM (!) to ED.
2016-06-07
15:34:55 PDT2016-06-07 14:58:11 PDTdholberts/scratch bitmap/output bitmap/ to fix broken link The spec uses the term "scratch bitmap", which links to https://html.spec.whatwg.org/multipage/scripting.html#scratch-bitmap which is a broken link. I believe this is meant to point to the definition of "output bitmap" in that HTML spec, i.e. it should be pointing to: https://html.spec.whatwg.org/multipage/scripting.html#output-bitmap ...and it should be using the consistent term (with the word "output" instead of "scratch"). Not sure if the HTML spec changed out from under us or what, but anyway, this should get us back to a state with working links.
08:50:08 PDT2016-06-07 05:53:19 PDTtabatkinsfixing typo
2016-05-04
12:04:54 PDT2016-05-04 10:44:35 PDTikilpatrick[css-paint-api] Add that PaintRenderingContext2D is transparent by default.
10:46:20 PDT2016-05-04 10:44:35 PDTikilpatrick[css-paint-api] Firm up wording on valid inputProperties
2016-05-02
16:02:35 PDT2016-05-02 16:01:12 PDTikilpatrick[css-paint-api] Introduce css paint image definition concept.
2016-03-23
21:25:19 PDT2016-03-23 21:23:36 PDTikilpatrick[css-paint-api] Change a bunch of errors in registerPaint to better versions.
2016-02-02
06:11:08 PST2016-02-02 06:09:28 PSTikilpatrick[worklets][css-paint-api] Correct exposed and global annotations.
05:53:43 PST2016-02-02 05:52:56 PSTikilpatrick[css-paint-api] Fix issue.
04:28:16 PST2016-02-02 04:27:39 PSTikilpatrick[css-paint-api] Updated issue about allowing paint function arguments.
01:04:38 PST2016-02-02 01:04:09 PSTikilpatrick[css-paint-api] Added note about the initial state of the PRC2D.
00:39:52 PST2016-02-02 00:36:44 PSTikilpatrick[css-paint-api] Add heading example.
00:18:51 PST2016-02-02 00:16:01 PSTikilpatrick[css-paint-api] Specify that we have no intrinsic dimensions at the moment, will be added in a future level of the spec.
2016-02-01
06:23:56 PST2016-02-01 06:23:07 PSTikilpatrick[css-paint-api] Add placeholder example and fix other examples.
05:53:02 PST2016-02-01 05:50:33 PSTikilpatrick[css-paint-api] Move creating classes to "draw a paint image" time. General large cleanup.
03:18:10 PST2016-02-01 03:17:25 PSTikilpatrick[css-paint-api] Specify that for 'cursor' paint() should be treated as an invalid image.
2016-01-31
03:12:33 PST2016-01-30 23:46:24 PSTikilpatrick[worklets][css-paint-api] Fix invoking methods on classes.
2016-01-30
22:51:10 PST2016-01-30 22:48:45 PSTikilpatrick[worklets][css-paint-api] Remove renderWorker, and add paintWorklet specifically for paint.