ISSUE-2120: Minor inconsistency in Linking section

fragid inconsistency

Minor inconsistency in Linking section

State:
CLOSED
Product:
SVG 1.2 Tiny: Last Call
Raised by:
Doug Schepers
Opened on:
2008-10-13
Description:
Helder Magalhães
<http://lists.w3.org/Archives/Public/www-svg/2008Oct/0107.html>:
[[
7. Minor inconsistency in Linking section [LINKING]

In subsection "14.3.2 SVG fragment identifiers", there's reference to
a situation already discarded by the previous premise. It is suggested
to remove the "is not found, or ".

Current wording:

If the SVG fragment identifier addresses any element (e.g., #rectId
or someDrawing.svg#rectId) and the element indicated by the fragment
identifier is found, then the current translation of the SVG
document's coordinate system shall be adjusted such that the
centerpoint of the decorated bounding box of the identified element is
positioned in the center of the viewport. If the element's decorated
bounding box is too large to fit within the current viewport, and the
'zoomAndPan' attribute of the rootmost 'svg' element is not set to
'disable', then the viewport shall not only reposition but also have
the current scale expanded to accommodate the entire width and height
of the element's decorated bounding box. By contrast, if the bounding
box of the target element is smaller than the viewport, the viewport
shall remain at the preestablished values (i.e., it will not
automatically zoom in on the element). If the specified element is not
found, or does not have a decorated bounding box, then the current
translate and current scale are not changed from the established
values. Regardless of changes to the current translation or scale of
the viewport, the current rotation of the current coordinate system
shall be preserved (that is, the centerpoint of the target decorated
bounding box shall be the centerpoint of the rotation, with a constant
rotation angle), and the existing aspect ratio shall not be altered.
In the case of traversal from an external link, the viewport shall be
established by the values specified in the rootmost 'svg' element, and
in the case of an internal link, the initial viewport shall
additionally be adjusted by any previous zooming operations (e.g.
previously navigated links, user zooming, script alterations of the
current coordinate system, etc.) such that any translation or scaling
that happens as a result of the traversal shall use the existing
coordinate system as a starting state. If the element is not found, or
does not have a decorated bounding box, then the viewport does not
move or zoom. In all cases of traversal, the view shall be established
instantly, with no animated panning or other enhanced transition
toward the target element. The viewbox shall not be continually
animated to match the animations of a target element's decorated
bounding box. Future specifications may allow more customizable
behavior for traversal through another mechanism.

Proposed change:

If the SVG fragment identifier addresses any element (e.g., #rectId
or someDrawing.svg#rectId) and the element indicated by the fragment
identifier is found, then the current translation of the SVG
document's coordinate system shall be adjusted such that the
centerpoint of the decorated bounding box of the identified element is
positioned in the center of the viewport. If the element's decorated
bounding box is too large to fit within the current viewport, and the
'zoomAndPan' attribute of the rootmost 'svg' element is not set to
'disable', then the viewport shall not only reposition but also have
the current scale expanded to accommodate the entire width and height
of the element's decorated bounding box. By contrast, if the bounding
box of the target element is smaller than the viewport, the viewport
shall remain at the preestablished values (i.e., it will not
automatically zoom in on the element). If the specified element is not
found, or does not have a decorated bounding box, then the current
translate and current scale are not changed from the established
values. Regardless of changes to the current translation or scale of
the viewport, the current rotation of the current coordinate system
shall be preserved (that is, the centerpoint of the target decorated
bounding box shall be the centerpoint of the rotation, with a constant
rotation angle), and the existing aspect ratio shall not be altered.
In the case of traversal from an external link, the viewport shall be
established by the values specified in the rootmost 'svg' element, and
in the case of an internal link, the initial viewport shall
additionally be adjusted by any previous zooming operations (e.g.
previously navigated links, user zooming, script alterations of the
current coordinate system, etc.) such that any translation or scaling
that happens as a result of the traversal shall use the existing
coordinate system as a starting state. If the element does not have a
decorated bounding box, then the viewport does not move or zoom. In
all cases of traversal, the view shall be established instantly, with
no animated panning or other enhanced transition toward the target
element. The viewbox shall not be continually animated to match the
animations of a target element's decorated bounding box. Future
specifications may allow more customizable behavior for traversal
through another mechanism.

I'd further suggest to try breaking this lengthy list item (possibly)
into several nested list items.

[LINKING] http://www.w3.org/TR/SVGMobile12/linking.html
]]
Related Actions Items:
No related actions
Related emails:
  1. SVG/profiles/1.2T doc-svgt12.html,NONE,1.1 (from cvsmail@w3.org on 2008-10-28)
  2. Re: [1.2T-LC] Comments and suggestions, mainly regarding the Linking section (ISSUE-2116, ISSUE-2117, ISSUE-2118, ISSUE-2119, ISSUE-2120) (from helder.magalhaes@gmail.com on 2008-10-14)
  3. Re: [1.2T-LC] Comments and suggestions, mainly regarding the Linking section (ISSUE-2116, ISSUE-2117, ISSUE-2118, ISSUE-2119, ISSUE-2120) (from schepers@w3.org on 2008-10-13)
  4. SVG/profiles/1.2T/publish index.html,1.102,1.103 linking.html,1.93,1.94 single-page.html,1.102,1.103 (from cvsmail@w3.org on 2008-10-13)
  5. SVG/profiles/1.2T/publish/examples 17_01.svg,1.2,1.3 (from cvsmail@w3.org on 2008-10-13)
  6. SVG/profiles/1.2T/master index.html,1.51,1.52 linking.html,1.113,1.114 (from cvsmail@w3.org on 2008-10-13)
  7. Re: [1.2T-LC] Comments and suggestions, mainly regarding the Linking section (from schepers@w3.org on 2008-10-13)
  8. ISSUE-2120 (fragid inconsistency): Minor inconsistency in Linking section [Last Call: SVG 1.2 Tiny ] (from sysbot+tracker@w3.org on 2008-10-13)

Related notes:

Corrected as suggested.

May break down list item into sublist items in SVG 1.2 Tiny or SVG 2.0 Core.

Doug Schepers, 13 Oct 2008, 20:31:42

Changed as requested. Commenter satisfied: http://lists.w3.org/Archives/Public/www-svg/2008Oct/0141.html, http://lists.w3.org/Archives/Public/www-svg/2008Oct/0158.html

Doug Schepers, 16 Oct 2008, 21:08:04

Display change log ATOM feed


Dirk Schulze <dschulze@adobe.com>, Chair, Chris Lilley <chris@w3.org>, Staff Contact
Tracker: documentation, (configuration for this group), originally developed by Dean Jackson, is developed and maintained by the Systems Team <w3t-sys@w3.org>.
$Id: 2120.html,v 1.1 2020/01/17 13:19:44 carcone Exp $