So I want to write a lightweight CSS layout rendering library, but a bit confused: it is said that the IE browser to render elements from top to bottom, but if the back of the position of the element to run to the above, and at the back of the elements of the z order is less than the previous elements (such as the position attribute is absolute, the specified coordinates to the above), that will be in front of the cover element, how to deal with this kind of circumstance, is the elements of the picture again, by the element in the cover element again, or iterate over all elements, z first order small elements, in short in some cases there are two methods efficiency, is there any better solution? Don't know how various rendering engine did it? For help * * * *
CodePudding user response:
All the layout of the heavyweight, actually comes from lightweight development change,