Closed Bug 386333 Opened 18 years ago Closed 16 years ago

Page Info knows nothing about dataURL images embeded via CSS

Categories

(Firefox :: Page Info Window, defect)

2.0 Branch
defect
Not set
normal

Tracking

()

VERIFIED FIXED
Firefox 3.7a1

People

(Reporter: sendmail.to, Assigned: whimboo)

References

Details

Attachments

(2 files, 1 obsolete file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.8.1.4) Gecko/20070515 Firefox/2.0.0.4 Reproducible: Always Steps to Reproduce: 1. load testcase 2. go to page info Actual Results: You see there are no infos like height and width. This also occurs on trunk with the new page info dialog. This problem does not occur if you embed a dataURL into <image> src attribute. This seams to be a CSS only problem. When using dataURLs like this: background-image: url("data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABQAAAA..........");
Attached file Testcase for this Bug
Status: UNCONFIRMED → NEW
Ever confirmed: true
Blocks: 426029
OS: Windows XP → All
Hardware: x86 → All
Version: unspecified → 2.0 Branch
The patch above is a follow-up from the patch created by Florian on bug 426029.
Comment on attachment 371164 [details] [diff] [review] Follow-up from bug 426029 (background images with data url) r=mano
Attachment #371164 - Flags: review?(mano) → review+
Assignee: nobody → hskupin
Attached file Testcase 2: Test edge cases. (obsolete) —
Test with a different data url format plus uppercase image mime type. See Bug 491310 Comment 24.
Ok, I will update the patch with the comments made in comment 6 by Philip.
Keywords: checkin-needed
Philip, for the given testcase there isn't shown a media tab at all. Do we miss something which is already patched for SeaMonkey?
This is Bug 494808 - Page Info > Media doesn't list background images anymore Due to: Bug 322475 - Implement support for CSS3 multiple backgrounds
Thanks Philip. Means I will to wait until bug 494808 has been fixed.
Henrik, Bug 504822 removes XBM support from trunk so your original patch in comment 3 should be good to go.
(In reply to comment #6) > Created an attachment (id=384677) [details] > Testcase 2: Test edge cases. > > Test with a different data url format plus uppercase image mime type. See Bug > 491310 Comment 24. Why is no background shown anymore in this testcase?
> Why is no background shown anymore in this testcase? Because, as I said: > Bug 504822 removes XBM support from trunk So test case 2 is invalid.
Attachment #384677 - Attachment is obsolete: true
Sorry for the delay. The already reviewed patch still applies very well and fixes the problem. Anyone who can please checkin?
Status: NEW → ASSIGNED
Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 16 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Firefox 3.7a1
Sorry, I missed that bug for a while. Now it's too late for 3.6. Verified fixed with Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10.5; en-US; rv:1.9.3a1pre) Gecko/20100115 Minefield/3.7a1pre ID:20100115050858
Status: RESOLVED → VERIFIED
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: