Last Comment Bug 271724 - Implement CSS pseudoelements needed for XForms
: Implement CSS pseudoelements needed for XForms
Status: RESOLVED WONTFIX
:
Product: Core
Classification: Components
Component: XForms (show other bugs)
: Trunk
: All All
: -- enhancement with 7 votes (vote)
: ---
Assigned To: xforms
: Stephen Pride
Mentors:
http://www.w3.org/TR/xforms/sliceF.ht...
Depends on:
Blocks: 326372 326373
  Show dependency treegraph
 
Reported: 2004-11-25 06:16 PST by Allan Beaufour
Modified: 2016-02-04 12:21 PST (History)
15 users (show)
See Also:
Crash Signature:
(edit)
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Attachments
Sample of table-based layout of form controls using pseudo-element ::value (5.08 KB, application/xml+xhtml)
2005-03-08 12:32 PST, Leigh L. Klotz, Jr.
no flags Details

Description Allan Beaufour 2004-11-25 06:16:47 PST
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 Robert Marcano 2004-11-25 06:54:46 PST
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 Leigh L. Klotz, Jr. 2005-03-08 12:32:58 PST
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 Anne (:annevk) 2005-03-08 12:42:48 PST
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.
Comment 4 David Bolter [:davidb] 2016-02-04 12:21:25 PST
RIP xforms

Note You need to log in before you can comment on or make changes to this bug.