repo.or.cz
/
chromium-blink-merge.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Merge Chromium + Blink git repositories
[chromium-blink-merge.git]
/
third_party
/
WebKit
/
LayoutTests
/
fast
/
media
/
mq-width-pagezoom.html
blob
e817388be41e78c0d96c5ca637d0f867eb1efe23
1
<!DOCTYPE
html
>
2
<script>
3
eventSender
.
zoomPageIn
();
4
eventSender
.
zoomPageIn
();
5
</script>
6
<style>
7
body {
8
background: red;
9
}
10
@media (max-width:
700
px) {
11
body {
12
background: green;
13
}
14
}
15
</style>
16
<p>
17
This page should have
144
% full page zoom, hence the viewport width should
18
be
800
/
1.44
=
555.6
px, which is less than
700
so the background should
19
go green.
20
</p>