diff --git a/Base/res/html/misc/border-radius.html b/Base/res/html/misc/border-radius.html new file mode 100644 index 00000000000..afa82235093 --- /dev/null +++ b/Base/res/html/misc/border-radius.html @@ -0,0 +1,230 @@ + + + + + + + + +

Border-radius

+

The boxes are 50x50px and have a background-color

+ All round 10px +
+
+ All round 25,50,75,100px +
+
+ All round 100,75,50,25px +
+
+ All round 20px +
+
+ All round 15px 5px thick +
+
+ top-left 10px +
+
+ top-right 10px +
+
+ bottom-right 10px +
+
+ bottom-left 10px +
+
+
+ +

The boxes are 50x50px

+ All round 10px +
+
+ All round 5,10,15,20px +
+
+ All round 20px +
+
+ All round 20px, border widths 1px 5px 10px 12px +
+
+ All round 15px 5px thick +
+
+ All round 10px 20px thick +
+
+ All round 10px 20px thick inset +
+
+ All round 10px 20px thick outset +
+
+ top-left 10px +
+
+ top-right 10px +
+
+ bottom-right 10px +
+
+ bottom-left 10px +
+
+
+ +

200px box, 75px radius

+
+
+
+ +

Test truncation:

+ Box is 50x50, border-radius is 500px +
+
+
+
+ + + + diff --git a/Base/res/html/misc/custom-properties.html b/Base/res/html/misc/custom-properties.html new file mode 100644 index 00000000000..87c341e85cc --- /dev/null +++ b/Base/res/html/misc/custom-properties.html @@ -0,0 +1,68 @@ + + + + + Custom Properties + + + + +

CSS Custom Properties

+
+        :root {
+            --my-color: purple;
+        }
+
+        .test {
+            background: var(--my-color);
+        }
+
+        .test-parent {
+            --my-color: pink;
+        }
+
+    
+
+
+            .test
+        
+ This should be purple +
+ +
+
+            .test-parent
+        
+
+
+                .test
+            
+ This should be pink +
+
+ + + diff --git a/Base/res/html/misc/flex.html b/Base/res/html/misc/flex.html new file mode 100644 index 00000000000..33b380f43fc --- /dev/null +++ b/Base/res/html/misc/flex.html @@ -0,0 +1,159 @@ + + + + + Flex + + + + +

FlexBox Tests

+

The boxes are width and height 100px.

+

Row

+

Width unconstrained

+

Default

+
+
1
+
2
+
3
+
+

Width 250px

+

Default

+
+
1
+
2
+
3
+
+

Flex-wrap: nowrap

+
+
1
+
2
+
3
+
+

Flex-wrap: wrap

+
+
1
+
2
+
3
+
+

Flex-wrap: wrap-reverse

+
+
1
+
2
+
3
+
+ +

Flex-flow shorthand

+ +

flex-flow: row nowrap;

+
+
1
+
2
+
3
+
+ +

flex-flow: row wrap;

+
+
1
+
2
+
3
+
+ +

Column

+

Height/Width unconstrained

+

Default

+
+
1
+
2
+
3
+
+

Height 250px

+

Default

+
+
1
+
2
+
3
+
+

Also Width 250px

+

Default

+
+
1
+
2
+
3
+
+

Flex-wrap: nowrap

+
+
1
+
2
+
3
+
+

Flex-wrap: wrap

+
+
1
+
2
+
3
+
+

Flex-wrap: wrap-reverse

+
+
1
+
2
+
3
+
+ +

Flex-flow shorthand

+ +

flex-flow: column nowrap;

+
+
1
+
2
+
3
+
+ +

flex-flow: column wrap;

+
+
1
+
2
+
3
+
+ +

Grow/Shrink

+

Container has width of 500px

+

flex-grow: 4/2/0

+
+
1 I grow the most
+
2 I grow
+
3 I don't
+
+

Container has width of 250px

+

flex-shrink: 4/1/0

+
+
1 I shrink the most
+
2 I shrink
+
3 I don't
+
+ + + diff --git a/Base/res/html/misc/welcome.html b/Base/res/html/misc/welcome.html index 26ed468e6f7..ef7ce95b87f 100644 --- a/Base/res/html/misc/welcome.html +++ b/Base/res/html/misc/welcome.html @@ -1,36 +1,44 @@ + -Welcome! - - - + h1 { + color: #a00; + } + + a { + color: #ae7250; + } + + a:hover { + color: #f4cca0; + } + + span#ua { + color: red; + } + + span#loadtime { + color: yellow; + } + + +

Welcome to the Serenity Browser!

This is a very simple browser built on the LibWeb and LibJS engines.

@@ -38,6 +46,9 @@ span#loadtime {

This page loaded in ms

Some small test pages: