![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| ||||
| ||||
|
|
Jc wrote: Do you mean to use "_blank" instead of "_new"? AFAIK, "_new" doesn't have any special meaning _new isn't allowed as a target name |
|
and causes browsers to perform error recovery. |
|
Some may treat it as _blank, |
|
some may treat it as a name with no special features. |
#2
| |||
| |||
|
|
David Dorward wrote: Jc wrote: Do you mean to use "_blank" instead of "_new"? AFAIK, "_new" doesn't have any special meaning _new isn't allowed as a target name Pardon? |
|
and causes browsers to perform error recovery. Which browser is that badly b0rken that it does not allow for any target name? |
|
some may treat it as a name with no special features. Which is correct |
#3
| ||||
| ||||
|
|
Thomas 'PointedEars' Lahn wrote: David Dorward wrote: Jc wrote: Do you mean to use "_blank" instead of "_new"? AFAIK, "_new" doesn't have any special meaning _new isn't allowed as a target name Pardon? http://www.w3.org/TR/html4/types.html#h-6.16 |
|
!ENTITY % FrameTarget "CDATA" -- render in this frame -- [...] target %FrameTarget; #IMPLIED -- render in this frame -- |
|
and causes browsers to perform error recovery. Which browser is that badly b0rken that it does not allow for any target name? How can a browser be broken if it can't cope with a document including something expressly forbidden? And which bit of "error recovery" did you miss anyway? |
|
some may treat it as a name with no special features. Which is correct No it isn't, the browser is supposed to ignore it altogether. |
#4
| |||
| |||
|
| http://www.w3.org/TR/html4/types.html#h-6.16 Hmmm, yes, you're right. However, the HTML 4.01 Transitional DTD says |
|
!ENTITY % SpecialTarget "_blank|_self|_parent|_top" -- special targets --> <!ENTITY % FrameTarget "%SpecialTarget; | NAME" -- render in this frame -- |

#5
| |||
| |||
|
|
Thomas 'PointedEars' Lahn wrote: http://www.w3.org/TR/html4/types.html#h-6.16 Hmmm, yes, you're right. However, the HTML 4.01 Transitional DTD says DTDs can only express certain constraints, you have to read the prose for any specification. |
|
!ENTITY % SpecialTarget "_blank|_self|_parent|_top" -- special targets --> <!ENTITY % FrameTarget "%SpecialTarget; | NAME" -- render in this frame -- So "_blank", "_self", "_parent", "_top" OR a NAME token ... |
which would include "_new"? ![]() |
![]() |
| Thread Tools | |
| Display Modes | |
| |