You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ant.apache.org by bu...@apache.org on 2011/05/17 18:38:35 UTC

DO NOT REPLY [Bug 51213] New: HTML anchors for individual conditions on conditions.html

https://issues.apache.org/bugzilla/show_bug.cgi?id=51213

             Bug #: 51213
           Summary: HTML anchors for individual conditions on
                    conditions.html
           Product: Ant
           Version: unspecified
          Platform: PC
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Documentation
        AssignedTo: notifications@ant.apache.org
        ReportedBy: matt@mattwildig.co.uk
    Classification: Unclassified


Created attachment 27018
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=27018
Patch adding html anchors to conditions.html

I recently wanted to link to a condition on the page at
http://ant.apache.org/manual/Tasks/conditions.html, but that page doesn't have
individual html anchors for use as the destination of links, unlike other
similar pages in the docs.

It's fairly big page, and I thought it'd be useful to be able to link to
specific conditions on it.

This patch adds the destination anchors. I've used <a name="..."></a> style
rather than adding id attributes to headers, as this style seems to be used
elsewhere in the docs (specifically, I've based this on the selectors.html
page).

(There was actually an anchor already for the `os` condition, but none of the
others).

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

DO NOT REPLY [Bug 51213] HTML anchors for individual conditions on conditions.html

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=51213

Jesse Glick <jg...@netbeans.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
                 CC|                            |jglick@netbeans.org
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.3
         OS/Version|                            |All

--- Comment #1 from Jesse Glick <jg...@netbeans.org> 2011-05-24 18:41:45 UTC ---
Committed in revision 1127211. I moved the anchors inside the headers, which
seems to work better at least in Firefox and seems more intuitive anyway.

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