/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/html/overflow-bug-1.html
29 строк
422 B
Patrick Walton
layout: Remove some bogus code that tried to handle
25 янв 2016, 21:52
25 янв 2016, 21:52
9c7b9fa
Код
Авторство
О чём код?
<!DOCTYPE html> <!-- https://github.com/servo/servo/issues/9306 --> <style> body { margin: 0; } .green { background: #0F0; height: 40px; width: 400px; top: 40px; left: 50%; margin-left: -300px; position: absolute; padding: 0px 100px; } .red { background: #F00; position: absolute; right: 0; } </style> <div class="green"> <span class="red">x</span> </div>