/
githubmirror
/
servo
Обзор
Документация
Войти
/
githubmirror
/
servo
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
tests/html/overflow-bug-2.html
28 строк
388 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/9309 --> <style> body { margin: 0; } .a { background: red; width: 100%; height: 100%; position: absolute; overflow: hidden; } .b { background: green; width: 40px; height: 40px; position: absolute; right: -40px; } </style> <div class="a"> <div class="b"></div> </div>