The default bug view has changed. See this FAQ.

Implement CSS pseudoelements needed for XForms

RESOLVED WONTFIX

Status

Core Graveyard
XForms
--
enhancement
RESOLVED WONTFIX
13 years ago
8 months ago

People

(Reporter: Allan Beaufour, Unassigned)

Tracking

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

Attachments

(1 attachment)

(Reporter)

Description

13 years ago
We need to support the ::value, ::repeat-item, and ::repeat-index pseudoelements. 

That will allow styling of f.x. the html:input element in an xforms:input,
without styling the label, etc. For the moment 'xforms|* input' can be used as a
CSS selector to style this, but that is not correct. The most generic and, IMHO,
smart way to do it, would be to let one (re)name the individual items in the
visual content in the XTF elements. Is that possible?

Comment 1

13 years ago
After implementing this, I think that it should be necessary to change
GetApplyDocumentStyleSheets to return false, in order to disallow this kind of
CSS rules ('xforms|* input') that exposes the element implementation. I am
assuming that retuning false will allow the page author to style the element
using the XForms pseudoelements

Comment 2

12 years ago
Created attachment 176765 [details]
Sample of table-based layout of form controls using pseudo-element ::value

This example can be haired up with ::required et al. after the elements get
moved over to being real pseudo-elements instead of attributes.  ::value is the
only one that cannot be emulated using attributes so this test case is for it.

Comment 3

12 years ago
You mean :required. (A double colon is for pseudo-elements, a single colon is
for pseudo-classes.) Also, the pseudo-element ::value is currently implemented
as an element (and matched as that with CSS), not as an attribute.

Updated

11 years ago
Blocks: 326372

Updated

11 years ago
Blocks: 326373
(Reporter)

Updated

11 years ago
Assignee: aaronr → xforms
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.