FIG. 18A is a plan view of a modification of the present embodiment, and FIG. 18B is a cross-sectional view of the pixel of FIG. 18A taken along line b-b of FIG. 18A. This modification aims at masking the domains occurring around the spacer 10 by light-blocking films 17 formed on the TFT substrate 1A so as to ensure reliability.