Bug 1461039 - Inlinify display:list-item to display:inline for now, until we support 'display:inline list-item' properly. r=xidorn

This commit is contained in:
Mats Palmgren 2018-05-17 17:30:35 +02:00
parent 4fc82257aa
commit e818007e69
3 changed files with 18 additions and 0 deletions

View File

@ -0,0 +1,15 @@
<style>
.cl {
overflow-y: auto;
text-overflow: ellipsis;
}
</style>
<script>
function go() {
a.appendChild(b);
}
</script>
<body onload=go()>
<li id="b">
<li class="cl">
<ruby id="a">)

View File

@ -686,3 +686,4 @@ load 1459697.html
load 1460158-1.html
load 1460158-2.html
load 1460158-3.html
load 1461039.html

View File

@ -212,6 +212,8 @@ impl Display {
Display::Table => Display::InlineTable,
Display::Flex => Display::InlineFlex,
Display::Grid => Display::InlineGrid,
// XXX bug 1105868 this should probably be InlineListItem:
Display::ListItem => Display::Inline,
Display::MozBox => Display::MozInlineBox,
Display::MozStack => Display::MozInlineStack,
Display::WebkitBox => Display::WebkitInlineBox,