Closed Bug 508254 Opened 16 years ago Closed 16 years ago

CSS doesn't apply to image output

Categories

(Core Graveyard :: XForms, defect)

x86
Windows XP
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED INVALID

People

(Reporter: tangui.lepense, Unassigned)

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) Build Identifier: Mozilla/5.0 (Windows; U; Windows NT 5.1; fr; rv:1.9.1.1) Gecko/20090715 Firefox/3.5.1 (.NET CLR 3.5.30729) CSS styles doesn't seem to apply to the ouput element when used with mediatype attribute set to image/*. Reproducible: Always Actual Results: The image is full size Expected Results: The image should be resized accordingly to CSS rules.
You are trying to use CSS incorrectly with XForms. Check out this section of the spec: http://www.w3.org/TR/xforms11/#style. To get your form to work in the Mozilla xforms processor, try using this CSS rule instead: xf|output[mediatype] .xf-value { width:30px; height:30px; } As you can see, there is a limitation with the mozilla xforms processor where we can't comply completely with the section I mentioned in the spec. Mozilla won't support our pseudo-elements, so we had to go with class attributes to achieve similar capability. More info here: https://developer.mozilla.org/en/XForms/Mozilla_XForms_Specials Returning this bug as invalid. Let me know if my suggestion doesn't help.
Status: UNCONFIRMED → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
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: