<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <title>Bug 994418</title>
  <style>
    ol {
      display: inline-block;
      list-style: upper-roman inside;
      padding: 0; margin: 0;
    }
  </style>
</head>
<body>
  <ol start="3999"><li></ol>sometext
</body>
</html>