-
Notifications
You must be signed in to change notification settings - Fork 62
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Does/should EPUB support HTML <base>? #1699
Comments
I think we should support <base>
…--
Ori Idan CEO Helicon Books
http://www.heliconbooks.com
On Fri, Jun 11, 2021 at 3:51 AM Dan Lazin ***@***.***> wrote:
In today's WG meeting, while discussing #1681
<#1681> (root-relative URLs) and
#1456 <#1456> (xml:base), I asked
whether reading systems do or should support the <base> tag
<https://developer.mozilla.org/en-US/docs/Web/HTML/Element/base>.
IMO, whether we support <base> affects whether root-relative URLs should
be supported.
—
You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
<#1699>, or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAB43QG25BNUC7JA4XDOG5LTSFMZFANCNFSM46PVFCTA>
.
|
The I could see a value for hand-edited EPUBs to have a |
Seems kind of indiscriminate to disallow absolute URLs that are easy to understand where the resolved relative paths are going but allow relative URLs that are more likely to lead to weird outcomes like resources seemingly appearing outside the container. It's not really a "base" tag anymore, in the sense it makes relative paths absolute. More of a thing you stick in front of relative paths and then see if they're still relative paths in which case you don't use this thing again but find the actual base of the document and add that on, too. Are there any known uses of base in epubs, though? Even for packaging web pages this seems problematic, as it's more likely you'd have to remove any base tags to to get working relative paths. It might be better to simply recommend authors not use the tag. |
Just a bit worried about saying there are HTML elements that we shouldn't use in EPUB. |
We tepidly crossed that bridge when we started "discouraging" things... https://w3c.github.io/epub-specs/epub33/core/#sec-xhtml-deviations-discouraged Could be the place for this, too? |
The issue was discussed in a meeting on 2021-06-18 List of resolutions:
View the transcript1. Does/should EPUB support the
|
In today's WG meeting, while discussing #1681 (root-relative URLs) and #1456 (xml:base), I asked whether reading systems do or should support the
<base>
tag.IMO, whether we support
<base>
affects whether root-relative URLs should be supported.The text was updated successfully, but these errors were encountered: