Skip to content

Commit 12a6a6a

Browse files
committed
Tentative HTML “Stories” test
See Description.md for details.
1 parent 032f503 commit 12a6a6a

14 files changed

+642
-0
lines changed

MotionMark/resources/debug-runner/tests.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -456,3 +456,12 @@ Suites.push(new Suite("Basic canvas path suite",
456456
}
457457
]
458458
));
459+
460+
Suites.push(new Suite("Dev suite",
461+
[
462+
{
463+
url: "dev/stories/stories.html",
464+
name: "Stories"
465+
}
466+
]
467+
));
Lines changed: 47 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,47 @@
1+
# Stories HTML Test
2+
3+
Goals
4+
-----
5+
6+
Measure HTML/CSS workloads that are common on social media sites.
7+
8+
9+
Design
10+
------
11+
12+
An HTML/CSS test that replicates a "story" placard on a social media site. A unit of work is one story element;
13+
more elements are placed randomly.
14+
15+
16+
Features tested
17+
---------------
18+
19+
* international text drawing
20+
* image drawing
21+
* border-radius, overflow:clip
22+
* CSS gradients
23+
* text-shadow
24+
* drop-shadow
25+
* CSS variables
26+
27+
28+
Work per measured frame
29+
----------------------
30+
31+
Style update in response to CSS variable change.
32+
Redraw of each element triggered by a scale change on an image element which is z-ordered at the back.
33+
34+
35+
Licensing requirements
36+
----------------------
37+
38+
Free-to-use images from https://unsplash.com (https://unsplash.com/license)
39+
No attribution required (but is appreciated)
40+
41+
42+
Remaining work
43+
--------------
44+
45+
* Decide is there's a nicer layout. Grid layout would be nice but it's hard to shrink things and maintain linear complexity.
46+
* Add some more HTML/CSS features?
47+
* Maybe use an animaiton of background-position/background-size?
503 KB
Loading
268 KB
Loading
446 KB
Loading
479 KB
Loading
1.06 MB
Loading
709 KB
Loading
319 KB
Loading
383 KB
Loading

0 commit comments

Comments
 (0)