Skip to content

Instantly share code, notes, and snippets.

Painting --- after optimization:
SolidColor p=0x17d28fa18 f=0x149ece020() key=54 bounds(0,0,76800,56760) layerBounds(0,0,76800,56760) visible(0,0,76800,56760) building(0,0,76800,56760) componentAlpha(0,0,0,0) clip() asr() clipChain() uniform ref=0x149ece020 agr=0x149ece020 (opaque 0,0,76800,56760) (rgba 238,238,238,255)
CompositorHitTestInfo p=0x189dd4a40 f=0x149ece0c0( id:main-window) key=27 bounds(0,0,0,0) layerBounds(0,0,0,0) visible(0,0,76800,56760) building(0,0,76800,56760) componentAlpha(0,0,0,0) clip() asr() clipChain() ref=0x149ece020 agr=0x149ece020 hitTestInfo(0x1) hitTestArea(0,0,76800,56760)
CanvasBackgroundColor p=0x17c736020 f=0x149ece0c0( id:main-window) key=17 bounds(0,0,76800,56760) layerBounds(0,0,76800,56760) visible(0,0,76800,56760) building(0,0,76800,56760) componentAlpha(0,0,0,0) clip() asr() clipChain() uniform ref=0x149ece020 agr=0x149ece020 (rgba 0,0,0,0)
BackgroundColor p=0x17d28d3a8 f=0x1514cece8( id:tabbrowser-tabpanels class:plain) key=6 bounds(0,4440,76800,52320) layerBounds(0,44
Painting --- after optimization:
SolidColor p=0x146440618 f=0x1439a0020() key=54 bounds(0,0,76800,37320) layerBounds(0,0,76800,37320) visible(0,0,76800,37320) building(0,0,76800,37320) componentAlpha(0,0,0,0) clip() asr() clipChain() uniform ref=0x1439a0020 agr=0x1439a0020 (opaque 0,0,76800,37320) (rgba 255,255,255,255)
CompositorHitTestInfo p=0x146433f30 f=0x1439a0198( class:) key=27 bounds(0,0,0,0) layerBounds(0,0,0,0) visible(0,0,76800,37320) building(0,0,76800,37320) componentAlpha(0,0,0,0) clip() asr() clipChain() ref=0x1439a0020 agr=0x1439a0020 hitTestInfo(0x1) hitTestArea(0,0,76800,37320)
CompositorHitTestInfo p=0x146441130 f=0x1439a00c0( class:) key=283 bounds(0,0,0,0) layerBounds(0,13680,0,0) visible(0,0,76800,37320) building(0,0,76800,37320) componentAlpha(0,0,0,0) clip() asr(<0x1439a0230>) clipChain(0x146e80d20 <0,0,76800,37320> [root asr]) ref=0x1439a0020 agr=0x1439a00c0 hitTestInfo(0x1) hitTestArea(0,-13680,76800,702206)
CompositorHitTestInfo p=0x146acc460 f=0x1439a00c0( class:) key=27 bounds(0,0
@yzen
yzen / test case
Last active March 27, 2020 13:51
/* Any copyright is dedicated to the Public Domain.
* http://creativecommons.org/publicdomain/zero/1.0/ */
"use strict";
const srcURL = new URL(`http://example.net/document-builder.sjs`);
srcURL.searchParams.append(
"html",
`<html>
<head>