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 23800 - [Shadow]: Needs a similar tool to ReSpec, which resolves 'Definitions and Linking' for external definitions.
Summary: [Shadow]: Needs a similar tool to ReSpec, which resolves 'Definitions and Lin...
Status: RESOLVED FIXED
Alias: None
Product: WebAppsWG
Classification: Unclassified
Component: HISTORICAL - Component Model (show other bugs)
Version: unspecified
Hardware: PC All
: P2 normal
Target Milestone: ---
Assignee: Hayato Ito
QA Contact: public-webapps-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 22716
  Show dependency treegraph
 
Reported: 2013-11-12 09:22 UTC by Hayato Ito
Modified: 2013-11-13 05:24 UTC (History)
0 users

See Also:


Attachments

Description Hayato Ito 2013-11-12 09:22:48 UTC
Managing linking to external definitions is painful. That also decreases readability and edit-ability of the spec.

For example, can you read and edit the following easily? :)


<p>At the time of event dispatch:</p>
<ul>
    <li>The <a href="http://www.w3.org/TR/domcore/#event"><code>Event</code></a> <a href="http://www.w3.org/TR/domcore/#dom-event-target"><code>target</code></a> and <a href="http://www.w3.org/TR/domcore/#dom-event-currenttarget"><code>currentTarget</code></a> attributes <strong>must</strong> return the <a>relative target</a> for the <a href="http://www.w3.org/TR/domcore/#concept-node">node</a> on which event listeners are <a href="http://www.w3.org/TR/domcore/#concept-event-listener-invoke">invoked</a></li>
    <li>The <a href="http://www.w3.org/TR/DOM-Level-3-Events/#events-MouseEvent"><code>MouseEvent</code></a> <a href="http://www.w3.org/TR/DOM-Level-3-Events/#events-MouseEvent-relatedTarget"><code>relatedTarget</code></a> attribute <strong>must</strong> return the <a>adjusted related target</a></li>
    <li>The <a href="http://www.w3.org/TR/DOM-Level-3-Events/#events-MouseEvent"><code>MouseEvent</code></a> <a href="http://dev.w3.org/csswg/cssom-view/#widl-MouseEvent-offsetX"><code>offsetX</code></a> and <a href="http://dev.w3.org/csswg/cssom-view/#widl-MouseEvent-offsetY"><code>offsetY</code></a> attributes <strong>must</strong> return the coordinates relative to the origin of the <a href="http://dev.w3.org/csswg/cssom-view/#padding-edge">padding edge</a> of the <a>relative target</a></li>
    ....



ReSpec has the feature for resoling local definitions and linking.

http://www.w3.org/respec/guide.html#definitions-and-linking

I need a similar tool for links to external definitions.
Comment 1 Hayato Ito 2013-11-13 05:24:16 UTC
I've developed a tiny tool, called 'autolink', to manage links to external definitions.

Committed in: https://github.com/w3c/webcomponents/commit/49fe95dad3e742b93b7e78e7dc93ce7a707c4978