| <!DOCTYPE html> |
| <style> |
| body { |
| margin : 0; |
| } |
| .item { |
| display: inline-block; |
| height: 100px; |
| width: 100px; |
| } |
| </style> |
| Tests paint invalidation of inline blocks following an inline-block that is removed. |
| Passes if there is only one green square at the top-left corner of the window. |
| <div style="display: flex; height: 300px; position: absolute; top: 100px"> |
| <div style="display: flex"> |
| <div style="width: 100px"> |
| <div id="inline-block-2" class="item" style="background-color: green"><br></div> |
| </div> |
| </div> |
| </div> |