Closed Bug 484780 Opened 16 years ago Closed 16 years ago

need plugin reftest that tests alpha rendering of test plugin

Categories

(Core Graveyard :: Plug-ins, defect)

defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: ted, Assigned: ted)

Details

Attachments

(1 file, 1 obsolete file)

Attached patch plugin reftest with alpha (obsolete) — Splinter Review
The test plugin supports alpha transparency, but none of the sanity reftests I wrote actually use that. Oops. Here's a simple reftest that tests alpha.
Attachment #368890 - Flags: review?(joshmoz)
Assignee: nobody → ted.mielczarek
Status: NEW → ASSIGNED
Don't you have to add some "px"s to the positions / dimensions of the #two div?
Guess not, since the test passes. ;-)
But that's because #two is invisible in both the test and the reference, right?
No, it's partially transparent. I attached the reference page as attachment 359180 [details] over on bug 469830. (The test page is there too, if you have the test plugin.)
Attachment 359180 [details] doesn't have a doctype, so it's in quirksmode, so lengths without units work there.
Good catch. I must have missed that along the way. Of course the tests pass because I made the same mistake in both the reference and test pages, but they clearly didn't look right.
Attachment #368890 - Attachment is obsolete: true
Attachment #368916 - Flags: review?(joshmoz)
Attachment #368890 - Flags: review?(joshmoz)
Attachment #368916 - Flags: review?(joshmoz) → review+
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: