Patent attributes
An electronic device may be provided with a display. The display may have an active area with an array of display pixels and an inactive border region containing metal lines and other support circuitry. The array of display pixels may be formed from organic light-emitting diode structures in an organic-light-emitting diode layer. The display may also include an encapsulant layer on the organic light-emitting diode layer and a substrate layer. An opaque masking layer may be formed in the inactive border region. The opaque masking layer may overlap structures in the inactive border region such as the support circuitry, thereby blocking the support circuitry from view. The opaque masking layer may be formed a glass layer in the display, in part of a polarizer in a display, under a planarization layer, or between other layers in the display.