Gitweb links:

...log 
http://git.netsurf-browser.org/netsurf-test.git/shortlog/844c811ad74da93f56e8b63d193e983e602dbf3e
...commit 
http://git.netsurf-browser.org/netsurf-test.git/commit/844c811ad74da93f56e8b63d193e983e602dbf3e
...tree 
http://git.netsurf-browser.org/netsurf-test.git/tree/844c811ad74da93f56e8b63d193e983e602dbf3e

The branch, master has been updated
       via  844c811ad74da93f56e8b63d193e983e602dbf3e (commit)
      from  d7cdf833478a2d1a526bda3afbe51af9e1c6f707 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commitdiff 
http://git.netsurf-browser.org/netsurf-test.git/commit/?id=844c811ad74da93f56e8b63d193e983e602dbf3e
commit 844c811ad74da93f56e8b63d193e983e602dbf3e
Author: Michael Drake <[email protected]>
Commit: Michael Drake <[email protected]>

    HTML: Add test page for media queries.

diff --git a/html/mq.test.html b/html/mq.test.html
new file mode 100644
index 0000000..74f7f93
--- /dev/null
+++ b/html/mq.test.html
@@ -0,0 +1,34 @@
+<html>
+<head>
+<style>
+p {
+       font-size: 300%;
+       display: none;
+}
+
+@media (max-width: 512px) {
+       p.small {
+               display: block;
+       }
+}
+
+@media (512px < width < 1024px) {
+       p.medium {
+               display: block;
+       }
+}
+
+@media (min-width: 1024px) {
+       p.large {
+               display: block;
+       }
+}
+</style>
+</head>
+<body>
+<p class="small">small</p>
+<p class="medium">medium</p>
+<p class="large">large</p>
+</body>
+</html>
+


-----------------------------------------------------------------------

Summary of changes:
 html/mq.test.html |   34 ++++++++++++++++++++++++++++++++++
 1 file changed, 34 insertions(+)
 create mode 100644 html/mq.test.html

diff --git a/html/mq.test.html b/html/mq.test.html
new file mode 100644
index 0000000..74f7f93
--- /dev/null
+++ b/html/mq.test.html
@@ -0,0 +1,34 @@
+<html>
+<head>
+<style>
+p {
+       font-size: 300%;
+       display: none;
+}
+
+@media (max-width: 512px) {
+       p.small {
+               display: block;
+       }
+}
+
+@media (512px < width < 1024px) {
+       p.medium {
+               display: block;
+       }
+}
+
+@media (min-width: 1024px) {
+       p.large {
+               display: block;
+       }
+}
+</style>
+</head>
+<body>
+<p class="small">small</p>
+<p class="medium">medium</p>
+<p class="large">large</p>
+</body>
+</html>
+


-- 
NetSurf test cases

_______________________________________________
netsurf-commits mailing list
[email protected]
http://listmaster.pepperfish.net/cgi-bin/mailman/listinfo/netsurf-commits-netsurf-browser.org

Reply via email to