1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
<!DOCTYPE html> <meta charset="utf-8"> <title>Setting composited layer position paints properly</title> <link rel="author" href="masonf@chromium.org"> <div id="box"></div> <style> div { position: absolute; top: 0; left: 0; width: 200px; height: 200px; background: green; }