- From: <bugzilla@jessica.w3.org>
- Date: Tue, 16 Apr 2013 13:55:04 +0000
- To: public-css-bugzilla@w3.org
https://www.w3.org/Bugs/Public/show_bug.cgi?id=21718
Bug ID: 21718
Summary: xrefs are broken
Classification: Unclassified
Product: CSS
Version: unspecified
Hardware: PC
OS: All
Status: NEW
Severity: normal
Priority: P2
Component: CSSOM View
Assignee: dave.null@w3.org
Reporter: simonp@opera.com
QA Contact: public-css-bugzilla@w3.org
https://dvcs.w3.org/hg/csswg/raw-file/tip/cssom-view/Overview.html#widl-Window-scrollTo-void-long-x-long-y
[[
When the scrollTo operation is invoked, the user agent must act as if the
scroll() method was invoked with the same arguments.
]]
The "scroll()" part is intended to be a link to the definition of scroll().
However, the build script does two things wrong that causes Anolis to not
create an xref for it:
cssom-generate.js
var IDL_ID_PREFIX = 'widl';
should be
var IDL_ID_PREFIX = 'dom';
(to match the old style of IDs that the references use)
Second, the generated markup for a definition is:
<dt class="method" id="widl-Window-scroll-void-long-x-long-y">
<code>scroll</code> (....
Anolis needs a <dfn> element to make xrefs, so it should be something like:
<dt class="method">
<dfn id="dom-Window-scroll"><code>scroll</code></dfn> (...
I'm not sure how overloads are currently handled, maybe we should include the
arguments in the ID though I personally prefer having a single definition of an
overloaded method...
--
You are receiving this mail because:
You are the QA Contact for the bug.
Received on Tuesday, 16 April 2013 13:55:09 UTC