[Webkit-unassigned] [Bug 12290] New: SVGTextContentElement is missing all its DOM methods

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Jan 15 18:11:41 PST 2007


http://bugs.webkit.org/show_bug.cgi?id=12290

           Summary: SVGTextContentElement is missing all its DOM methods
           Product: WebKit
           Version: 420+ (nightly)
          Platform: Macintosh
        OS/Version: Mac OS X 10.4
            Status: NEW
          Severity: Enhancement
          Priority: P2
         Component: SVG
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: macdome at opendarwin.org
                CC: hyatt at apple.com, ojh16 at student.canterbury.ac.nz,
                    neumann at karto.baug.ethz.ch


SVGTextContentElement needs implementations for the following methods:

Oliver and I talked about this on IRC, we expect them all to be pretty trivial
(ignoring text-on-path or any other currently-unsupported layout for the
moment).

        long getNumberOfChars() const;
        float getComputedTextLength() const;
        float getSubStringLength(unsigned long charnum, unsigned long nchars,
ExceptionCode&) const;
        FloatPoint getStartPositionOfChar(unsigned long charnum,
ExceptionCode&) const;
        FloatPoint getEndPositionOfChar(unsigned long charnum, ExceptionCode&)
const;
        FloatRect getExtentOfChar(unsigned long charnum, ExceptionCode&) const;
        float getRotationOfChar(unsigned long charnum, ExceptionCode&) const;
        long getCharNumAtPosition(const FloatPoint&) const;
        void selectSubString(unsigned long charnum, unsigned long nchars,
ExceptionCode&) const;

Oliver agreed to add pseudo-code for each to this bug.  So I'm adding this as a
master bug. If needed, we can break of individual bugs for each, of fix a few
of them in this bug and file a second one.


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



More information about the webkit-unassigned mailing list