Closed Bug 527455 Opened 16 years ago Closed 16 years ago

gradients on <body> with defined height are repeated

Categories

(Core :: Layout: Images, Video, and HTML Frames, defect)

x86
Windows 7
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 283825

People

(Reporter: nikita.ppv, Unassigned)

Details

Attachments

(2 files)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091109 Minefield/3.7a1pre (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 6.1; en-US; rv:1.9.3a1pre) Gecko/20091109 Minefield/3.7a1pre (.NET CLR 3.5.30729) If I specify: body { background-image: -moz-linear-gradient(blue, red); height: 200px; } the gradient will be rendered like this: first a gradient having a height of 200px (from blue to red), as expected. But this gradient is repeated to fill the whole window, even though body has only 200px height. If I specify background-repeat: no-repeat; everything's okay. Is this how it should be? I don't think so. (At least I haven't found anything like this in the spec...) Reproducible: Always
Attachment #411192 - Attachment mime type: text/html → image/png
(In reply to comment #0) > Is this how it should be? Yes. See bug 195933 and bug 283825 or take a look at the CSS spec: http://www.w3.org/TR/CSS21/colors.html#background
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → DUPLICATE
Product: Core → Core Graveyard
Product: Core Graveyard → Core
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: