1. There is a bug in element-level masking in Some browsers;
2. An element z-index is too large to be overwritten;
3. js dynamic z-index calculation, resulting in Controllable element overwrite relationships
Vc + response + jujxicj4KPGJyPgrPyL + response/response + m/9 s/response + a1xDs8YnI + response/response + 1xNSqy9iyu7LO0 + response + response + YyteO94cLbtcS7 + bShyc + jrM7Sw8fS/response/ay47y2tcSxyL3PoaM8YnI + response/response + response/T0LrsyavUssimtcSx7cq + response" http://www.2cto.com/uploadfile/Collfiles/20140321/20140321125539169.png "Alt =" \ ">
The positioning tree contains all the elements in the dom tree whose position is not staitc. Compare hierarchical relationships of non-hierarchical elements as follows:
1. Traverse up the parent node of the positioning tree until the two elements are the same level elements.
2. Make the final comparison based on the above conclusion. The higher the level, the closer the user's display and the lower the level.
Example 1: assume that the position of all marked red elements is not static, and z-index = 1, according to the above comparison rules, we can know:
1. c> (B & B *)> (a & a *) that is, all positioning element levels of Element c and c are higher than those of a and B.
2. m> h, g> k, d> m
Example 2: Assume that position of a is not static and the z-index attribute does not exist. The z-index sub-element of a in the positioning tree is 1, 2, 3, 4 at a time... other positioning elements z-index: 1:
1. conclusion 3: B> (a & a *) in IE6/7 indicates that the level of Element B is higher than that of all positioning ELEMENTS IN a and a. In other browsers: i> h> B> d