Implement mustUnderstand attribute

RESOLVED WONTFIX

Status

Core Graveyard
XForms
RESOLVED WONTFIX
12 years ago
11 months ago

People

(Reporter: Allan Beaufour, Unassigned)

Tracking

Dependency tree / graph

Firefox Tracking Flags

(Not tracked)

Details

(URL)

(Reporter)

Description

12 years ago
The spec defines a xforms:mustUnderstand attribute that can be placed on _any_
element in _any_ namespace. Argh.

We might need some xtf-like functionality for attributes (possibly also need for
bug 280368).

Updated

12 years ago
Blocks: 326372

Updated

12 years ago
Blocks: 326373
(Reporter)

Comment 1

11 years ago
Here's a take on how it could be done: Before sending xforms-ready, we should do a 
document.evaluate("//*[@xf:mustUnderstand = 'true']",
                  document,
                  NSResolver,
                  XPathResult.ANY_TYPE,
                  null);
And then run through all the returned nodes, and figure out whether they are implemented... 

Question is what that means. I wonder if we can ask nsIContent for example whether it has a native implementation or an XBL binding. Maybe just whether it is possible to QI to a given class?
Assignee: allan → 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.