Skip to content

Commit d734d95

Browse files
committed
Quirks: Apply percentage height quirk to position: sticky
See whatwg/quirks#88
1 parent e24289f commit d734d95

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

quirks/percentage-height-calculation.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -62,6 +62,7 @@
6262
{style:'#foo { height:100px } #flex { display:inline-flex } #test { height:100% }', body:'<div id=foo><div id=flex><div id=test></div></div></div>', q:0, s:0},
6363
{style:'#foo { position:absolute } #test { height:100% }', body:'<div id=foo><div><div id=test></div></div></div>', q:0, s:0},
6464
{style:'#foo { position:relative } #test { height:100% }', body:'<div id=foo><div><div id=test></div></div></div>', q:184, s:0},
65+
{style:'#foo { position:sticky } #test { height:100% }', body:'<div id=foo><div><div id=test></div></div></div>', q:184, s:0},
6566
{style:'#foo { height:100px } #test { height:100%; position:absolute }', body:'<div id=foo><div><div id=test></div></div></div>', q:200, s:200},
6667
{style:'#foo { height:100px } #test { height:100%; position:fixed }', body:'<div id=foo><div><div id=test></div></div></div>', q:200, s:200},
6768
{style:'#foo { height:100px } #test { height:100%; position:relative }', body:'<div id=foo><div><div id=test></div></div></div>', q:100, s:0},

0 commit comments

Comments
 (0)