def test_outline_and_border(assert_pixels):
    assert_pixels('''
        __________
        _BBBBBBBB_
        _BRRRRRRB_
        _BR____RB_
        _BRRRRRRB_
        _BBBBBBBB_
        __________
    ''', '''
      <style>
        @page {
          size: 10px 7px;
        }
        div {
          border: 1px solid red;
          outline: 1px solid blue;
          height: 1px;
          margin: 2px;
          min-height: auto;
          min-width: auto;
          width: 4px;
        }
      </style>
      <div></div>
    ''')
,
tests/draw/test_box.py