OLD | NEW |
---|---|
(Empty) | |
1 <!DOCTYPE html> | |
2 PASS if there is no red visible. | |
3 <div style="background: white; width: 100px; height: 100px; position: relative; left: 0.7px;"> | |
chrishtr
2016/06/30 16:57:17
Unittest with fixed-pos also?
pdr.
2016/06/30 18:54:48
Added PaintPropertyTreeBuilderTest.PaintOffsetWith
| |
4 <div style="background: white; width: 70px; height: 70px; position: relative ; transform: translateZ(0);"> | |
5 <div style="background: red; width: 40px; height: 40px; position: fixed; "> | |
6 <!-- Because the first div is snapped up to (1,1), this div will sta rt with a --> | |
7 <!-- paint offset of (-0.3,-0.3) which will be added to (0.7,0.7) to get --> | |
8 <!-- (0.4,0.4) which rounds down to (0,0) and obscures the red divs. --> | |
9 <div style="width: 40px; height: 40px; background: white; position: relative; left: 0.7px;"></div> | |
10 </div> | |
11 </div> | |
12 </div> | |
OLD | NEW |