Closed
Bug 39598
Opened 25 years ago
Closed 7 years ago
Implement show="embed" for simple XLink
Categories
(Core :: XML, defect, P3)
Core
XML
Tracking
()
RESOLVED
WONTFIX
Future
People
(Reporter: hjtoi-bugzilla, Assigned: hjtoi-bugzilla)
References
()
Details
(Keywords: helpwanted)
Currently default action is to ignore this if actuate="onLoad". Manual click
will treat this as show="replace".
Assignee | ||
Comment 1•25 years ago
|
||
Adding [NEED INFO] status. I would like to get some opinions (or hard facts if
possible) on how to treat the embed links.
Specifically: how should embedded content be styled?
a) Should the content keep the style it had at the original place?
b) Should the content get style completely from the parent that embeds it?
c) a) and b), i.e. should the content get the style from the original place but
let the embedidng parent override (cascade) its style?
I am thinking that if the parent element is styled as display:inline, then the
linked content should be styled as inline as well, regardless of what the actual
content style says. Likewise, if the parent element style says display block it
should override the content display property.
Another problem: I am thinking the content should replace what shows in place of
the linking element. The link would not change the DOM, it would act pretty much
like the styles :before and :after, except it would be something like
:replace-content. Opinions on that?
I would also need some implementation advice on where to start. Layout folks?
Status: NEW → ASSIGNED
Whiteboard: [NEED INFO]
Assignee | ||
Updated•24 years ago
|
Target Milestone: --- → M20
Assignee | ||
Comment 2•24 years ago
|
||
This bug has been marked "future" because the original netscape engineer
working on this is over-burdened. If you feel this is an error, that you or
another known resource will be working on this bug,or if it blocks your work in
some way -- please attach your concern to the bug for reconsideration.
Target Milestone: M20 → Future
Updated•24 years ago
|
QA Contact: chrisd → petersen
Comment 3•24 years ago
|
||
As a scientific user, I think that if we can use show="embed" to integrate data,
it would really allow the integration of data over the web to begin in earnest.
This is the one feature that I would really like to see show up soon in
mozilla. Unfortunately it doesn't look like this will happen for Netscape 6,
eh? Damn, I should have spoken up earlier...
Brad Marshall
bradmars@yahoo.com
bioxml.org
Comment 4•24 years ago
|
||
I'd just like to add my encouragement that xlink embedding be implemented, real
soon! Aggregating data using xlink will be a big big step forward.
Assignee | ||
Updated•24 years ago
|
Target Milestone: Future → mozilla1.2
Comment 5•24 years ago
|
||
XLINK related. Changing QA contact to bsharma@netscape.com
QA Contact: petersen → bsharma
Assignee | ||
Updated•23 years ago
|
Target Milestone: mozilla1.2 → Future
Updated•23 years ago
|
QA Contact: bsharma → rakeshmishra
I'd like to urge that this bug be regarded as a priority for Moz. WRT the
styling issue -- with some types of content you obviously won't get styles (eg
images), and with others you'll get default styles for everywhere that the
document author may be specifically overriding in this document, so taking it's
initial styles from it's source and overriding them in the document sounds good.
Updated•21 years ago
|
QA Contact: rakeshmishra → ashishbhatt
Comment 9•21 years ago
|
||
I was just thinking: if the data returned the xlink:href is an image, XLink
suggests just inserting the image, not where. But if the data returned is an
XML fragment, that means DOM modification. It's a little confusing to a simple
guy like me, at least from reading the related part of the XLink 1.0 REC.
There's been no significant work on this bug in quite a long time. I
appreciate the engineer being overburdened. Is there a volunteer willing to
take this bug over and see it through to completion?
Assignee | ||
Comment 10•21 years ago
|
||
What makes this tricky is that "embedding affects only the presentation of the
relevant resources; it does not dictate permanent transformation of the starting
resource". See Section 5.6.1, "embed".
If you want something that will change the DOM of the original document you want
XInclude.
Comment 11•21 years ago
|
||
I think that if bug 215083 is fixed, this can be implanted using CSS3 (that's
the way IMG etc. should be (re-)implanted as well).
Keywords: qawanted
Whiteboard: [NEED INFO]
Comment 12•21 years ago
|
||
So basically, <xlink show="embed"> should be treated like <object> is?
Comment 13•21 years ago
|
||
depends whom you ask, but if you ask me, yes.
Comment 14•21 years ago
|
||
So if I have:
<html:img xlink:show="embed" src="whatever" xlink:href="somethingelse" />
Or something along those lines, what should happen?
Or what if I have a <mathml:whatever> element with an xlink:show="embed" on it?
Should the element just ignore all its contents?
Comment 15•21 years ago
|
||
<img src=""> should win. But in general, parallel what we do for:
<a href="" xlink:href="" xlink:type="simple"> ... </a>
Comment 16•21 years ago
|
||
> But in general, parallel
Nothing there to parallel. See bug 211916.
Assignee | ||
Comment 17•21 years ago
|
||
I was thinking about this the other day and thought this might be doable with
XBL. Unfortunately I don't know enough about XBL to say for certain.
Comment 18•21 years ago
|
||
XBL would not be the right way to do this for many reasons.
Updated•21 years ago
|
Depends on: content-url-element
Keywords: helpwanted
Updated•15 years ago
|
QA Contact: ashshbhatt → xml
Updated•7 years ago
|
Status: ASSIGNED → RESOLVED
Closed: 7 years ago
Resolution: --- → WONTFIX
You need to log in
before you can comment on or make changes to this bug.
Description
•