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
/
paint
/
invalidation
/
spv2
/
box-sizing-padding-keeping-size-expected.html
blob
c48c8a147dbb2877fcbddedce4a08120273eb769
1
<!DOCTYPE
HTML
>
2
<style>
3
body {
4
margin:
0
;
5
}
6
div {
7
position: absolute;
8
background-color: green;
9
}
10
.border-box {
11
width:
100
px;
12
height:
100
px;
13
box-sizing: border-box;
14
}
15
.content-box {
16
width:
60
px;
17
height:
60
px;
18
box-sizing: content-box;
19
padding:
20
px;
20
}
21
</style>
22
<div
id
=
"target1"
class
=
"content-box"
style
=
"top: 0px"
></div>
23
<div
id
=
"target2"
class
=
"border-box"
style
=
"top: 200px"
></div>