This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 22498 - Inconsistency in explanation of fragment ID resolving vs. anchor element specs
Summary: Inconsistency in explanation of fragment ID resolving vs. anchor element specs
Status: CLOSED WONTFIX
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML5 spec (show other bugs)
Version: unspecified
Hardware: All All
: P2 normal
Target Milestone: ---
Assignee: Edward O'Connor
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-06-27 20:46 UTC by Áxel Costas Pena
Modified: 2013-07-01 17:39 UTC (History)
5 users (show)

See Also:


Attachments

Description Áxel Costas Pena 2013-06-27 20:46:05 UTC
In www.w3.org/html/wg/drafts/html/master/browsers.html#scroll-to-fragid we can read:
"No decoded fragid: If there is an a element in the DOM that has a name attribute whose value is exactly equal to fragid (not decoded fragid), then the first such element in tree order is the indicated part of the document; stop the algorithm here."

That is inconsistent with anchor specs at http://www.w3.org/html/wg/drafts/html/master/text-level-semantics.html#the-a-element which doesn't define a name attribute for anchor elements.
Comment 2 Áxel Costas Pena 2013-06-29 15:28:51 UTC
> ... to discourage certain features that are only allowed in very few circumstances ... These are generally old obsolete features that have no effect, and are allowed only to distinguish between likely mistakes ... and mere vestigial markup or unusual and discouraged practices ...

This paragraph seems meaning that you should be killed if you use those features in a new HTML5 web you're building... In the other hand, the fragment resolving instructions seems being explaining a feature and encouraging you to use when you consider it matches your requirements or it fits well your design...

If both informations are kept, I'd at least include a footnote on:
> 5. If there is an element in the DOM that has an ID exactly equal to decoded fragid, then the first such element in tree order is the indicated part of the document; stop the algorithm here.
clarifying that despite the fact that this works this way, this is a vestigial feature and developers are encouraged to avoid using it...

What do you think?
Comment 3 Edward O'Connor 2013-07-01 16:55:43 UTC
EDITOR'S RESPONSE: This is an Editor's Response to your comment. If you are
satisfied with this response, please change the state of this bug to CLOSED. If
you have additional information and would like the Editor to reconsider, please
reopen this bug. If you would like to escalate the issue to the full HTML
Working Group, please add the TrackerRequest keyword to this bug, and suggest
title and text for the Tracker Issue; or you may create a Tracker Issue
yourself, if you are able to do so. For more details, see this document:

   http://dev.w3.org/html5/decision-policy/decision-policy.html

Status: Rejected
Change Description: No change.
Rationale: The spec contains hundreds of user agent implementation
requirements which relate to or are affected by obsolete features. It
would seriously harm the readability of the spec to call out each of
them.
Comment 4 Áxel Costas Pena 2013-07-01 17:39:04 UTC
Seems reasonable. Thank you Edward. Best regards.