<!DOCTYPE html> | |
<body style='margin: 0px'> | |
<div style='background-color: green; width: 100px; height: 100px'></div> | |
<div>This tests ensures that themed scrollbars are clipped to their iframe. You should see a green box above.</div> | |
<iframe style='position: absolute; top: 100px; left: 100px;' width="1" height="1" srcdoc=' | |
<html><head><style> | |
html,body { width:200px; height:100px;} | |
::-webkit-scrollbar { height: 1px; width: 1px; } | |
::-webkit-scrollbar-corner { background-color: red; } | |
</style>'> |