layout/reftests/css-mediaqueries/scoped-mq-update-helper.html

Fri, 16 Jan 2015 18:13:44 +0100

author
Michael Schloh von Bennewitz <michael@schloh.com>
date
Fri, 16 Jan 2015 18:13:44 +0100
branch
TOR_BUG_9701
changeset 14
925c144e1f1f
permissions
-rw-r--r--

Integrate suggestion from review to improve consistency with existing code.

     1 <!DOCTYPE html>
     2 <body>
     3 <style>
     4 body { width: 100%; height: 100%; background-color: red; }
     5 </style>
     6 <style scoped>
     7 @media (max-width: 200px) {
     8   body { background-color: green; }
     9 }
    10 </style>

mercurial