[Webkit-unassigned] [Bug 100841] New: Allow CSS selectors as fragment identifiers

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 31 04:23:16 PDT 2012


https://bugs.webkit.org/show_bug.cgi?id=100841

           Summary: Allow CSS selectors as fragment identifiers
           Product: WebKit
           Version: 528+ (Nightly build)
          Platform: Unspecified
               URL: http://simonstl.com/articles/cssFragID.html
        OS/Version: Unspecified
            Status: NEW
          Severity: Enhancement
          Priority: P3
         Component: CSS
        AssignedTo: webkit-unassigned at lists.webkit.org
        ReportedBy: johnme at chromium.org
                CC: sam at webkit.org, koivisto at iki.fi, tony at chromium.org,
                    abarth at webkit.org, kenneth at webkit.org,
                    peter at chromium.org


It would be nice to allow using CSS selectors as fragment identifiers, so that you can link to things which don't have an id or name attribute. For example:

http://example.com/lorem.html#css(.content:nth-child(2))

There's an unofficial draft spec: http://simonstl.com/articles/cssFragID.html
And a community group: http://www.w3.org/community/cssselfrags/

The main downside I can see is that such fragments may be brittle and break if the structure of the page is changed, but this is often still preferable to not being able to use a fragment at all.

-- 
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