visibility:hidden which either immediately precedes parent's end-tag or immediately follows parent's start-tag and immediately precedes parent's end-tag, prevents text-decoration values of underline and overline being applied to the line boxThere should be an underline spanning the full width of the yellow box.