Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(433)

Side by Side Diff: LayoutTests/fast/media/mq-relative-constraints-10.html

Issue 22258007: [CSSMQ] Use initial values as base for relative units. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: --no-find-copies upload Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | LayoutTests/fast/media/mq-relative-constraints-10-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <html>
3 <head>
4 <title>REM lengths in media queries relative to initial value</title>
5 <style>
6 html { font-size: 10000px }
7 body { font-size: 16px }
8 @media (min-width: 2rem) {
9 #t1 { color: green }
10 }
11 @media (min-height: 2rem) {
12 #t2 { color: green }
13 }
14 @media (min-device-width: 2rem) {
15 #t3 { color: green }
16 }
17 @media (min-device-height: 2rem) {
18 #t4 { color: green }
19 }
20 </style>
21 </head>
22 <body>
23 <p><span id="t1">This</span> <span id="t2">text</span> <span id="t3">should< span> <span id="t4">be green.</span></p>
24 </body>
25 </html>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/media/mq-relative-constraints-10-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698