Reviewed by John.
authorharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Aug 2006 17:28:07 +0000 (17:28 +0000)
committerharrison <harrison@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Tue, 22 Aug 2006 17:28:07 +0000 (17:28 +0000)
commit250fc934fdd6c24adccff5ef0df7795b98bf20c1
tree8dd9fe9b921ec9f56aaf95b4ab219807237122cf
parent0d72b8ea1c9c63b329345f753260a3b59bb26616
    Reviewed by John.

        <rdar://problem/4523606> Represent heading elements in AXAttributedStringForTextMarkerRange

        * bridge/mac/WebCoreAXObject.mm:
        (headingLevel):
        (-[WebCoreAXObject headingLevel]):
        (-[WebCoreAXObject isHeading]):
        New. Heading level is per the tag (h1 == 1, h2 == 2, etc.)

        (-[WebCoreAXObject role]):
        (-[WebCoreAXObject roleDescription]):
        Add role and roleDescription for headings.

        (-[WebCoreAXObject value]):
        Value is the headingLevel.

        (AXAttributeStringSetHeadingLevel):
        (AXAttributedStringAppendText):
        Put text's heading level (if applicable) in the attributes.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@15967 268f45cc-cd09-0410-ab3c-d52691b4dbfc
WebCore/ChangeLog
WebCore/bridge/mac/WebCoreAXObject.mm