[Webkit-unassigned] [Bug 80392] New: [Forms] Introduce LabelableElement to share "labels" attribute implementation

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Mar 6 00:08:56 PST 2012


           Summary: [Forms] Introduce LabelableElement to share "labels"
                    attribute implementation
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
        OS/Version: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Forms
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: yosin at chromium.org
            Blocks: 80240,80380

This bug is part of HTMLFormControlElement re-factoring (https://bugs.webkit.org/show_bug.cgi?id=80381).

At this time, "labels" attribute is implemented in HTMLFormControlElement. However, meter, and progress will be derived from HTMLElement instead of HTMLFormControlElement.

To share code of "labels" attribute implementation among HTMLFormControlElement, HTMLMeterElement and HTMLProgressElement, we introduce new base class LabeledElement as below:

class LabelableElement : public HTMLElement { ... PassRefPtr<NodeList> labels(); ... };
class HTMLFormControlElement : public LabelableElement, public FormAssociateElement { ... };
class HTMLMeterElement : public LabelableElement { ... };
class HTMLProgressElement : public LabelableElement { ... };

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

More information about the webkit-unassigned mailing list