Use Servo-specific pseudo element for InlineBlock fragment

This commit is contained in:
Pu Xingyu 2017-03-21 01:39:54 +08:00
parent 54e2b7b2d5
commit 836e554c30
5 changed files with 24 additions and 15 deletions

View file

@ -215,3 +215,10 @@ svg > * {
height: auto;
}
/* The outer fragment wrapper of an inline-block. */
*|*::-servo-inline-block-wrapper {
position: static;
border: none;
padding: 0;
margin: 0;
}