The default bug view has changed. See this FAQ.

Support non-text Label attribute types

RESOLVED WONTFIX

Status

Core Graveyard
XForms
RESOLVED WONTFIX
12 years ago
8 months ago

People

(Reporter: jhp (no longer active), Unassigned)

Tracking

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(Reporter)

Description

12 years ago
Currently, the Label code only supports text attributes, but we should support
other types, such as image or SVG labels.  From
https://bugzilla.mozilla.org/show_bug.cgi?id=291501#c8:

> Maybe the correct thing would be to do this in XBL (when our XBL patch
> is in) and then insert different anonymous content based on the mime type of
> the external document.

Updated

11 years ago
Blocks: 326372

Updated

11 years ago
Blocks: 326373

Updated

11 years ago
Assignee: aaronr → xforms

Comment 1

10 years ago
This is what currently happens.  We start loading an external resource for xf:label if it has @src on it.  When the stream starts coming back, we check to see what the content type is.  If it is not "text/plain", we throw an error and quit out.  This bug is to add support for more types (like images or SVG).

Comment 2

10 years ago
Is text/html or application/xhtml+xml also planned?

Comment 3

10 years ago
(In reply to comment #2)
> Is text/html or application/xhtml+xml also planned?
> 

As planned as imgages and SVG :-)  They'll all *probably* work right now.  Just need to take the time to test them to make sure.
RIP xforms
Status: NEW → RESOLVED
Last Resolved: a year ago
Resolution: --- → WONTFIX
Product: Core → Core Graveyard
You need to log in before you can comment on or make changes to this bug.