Use Servo-specific pseudo element for InlineAbsolute fragment

This commit is contained in:
Pu Xingyu 2017-03-21 14:15:20 +08:00
parent 836e554c30
commit 1677d479f6
5 changed files with 25 additions and 15 deletions

View file

@ -222,3 +222,11 @@ svg > * {
padding: 0;
margin: 0;
}
/* The outer fragment wrapper of an inline absolute hypothetical fragment. */
*|*::-servo-inline-absolute {
clip: auto;
border: none;
padding: 0;
margin: 0;
}